Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get project statistics?
Message
 
To
28/06/2007 02:39:44
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235559
Message ID:
01236723
Views:
23
Must be my mistake then - thanks anyway

Eventually went with Bruce Kuyper's own code which produced the goods

Thanks

Colin


>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
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform