Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get project statistics?
Message
De
28/06/2007 02:39:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01235559
Message ID:
01236196
Vues:
24
When I click the Source link for this session, the download dialog pops up for a zip file.

Tamar

>Tamar
>
>Sadly the source code was on the conference CD
>
>Thanks for your help
>
>Colin
>
>
>>>Hi
>>>
>>>I want to produce some stats about a couple of large projects
>>>
>>>No of forms
>>>No of prg
>>>No of reports
>>>
>>>Lines of code
>>>
>>>Is there any easy way to do this?
>>
>>Open the project and use the Project object:
>>
>>
>>FOR EACH oFile IN This.Files
>>   DO CASE
>>   CASE oFile.Type = "K"
>>      nForms = nForms + 1
>>   CASE oFile.Type = "V"
>>      nClassLibs = nClassLibs + 1
>>   ...
>>ENDFOR
>>
>>
>>Counting lines of code is a little tougher because of comments, but you can do it. Check out the source code for the paper Software Maintenance at http://www.tedroche.com/papers.php
>>
>>Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform