Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro Lines of Code (a.k.a. Not the Beancounters!?!?)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00025005
Message ID:
00025086
Vues:
33
>>>>The software metrics folks are at it again! They want a Lines of Code count from FoxPro. Any suggestions on an easy way to determine this?
>>>>
>>>>Loyd
>>>
>>>Loyd
>>>
>>>If it's FPD or FPW, use FoxDoc. Ask for the System Report. That will go through and count the lines of code for you. VFP is gonna be a bit of a pain, since FoxDoc no longer exists for it and the 'Documenting Wizard' is a joke as far as I can tell. You can set up a program that will open your forms as a database and then count the lines of code in the Memos. but that can also be a bit of a pain. Last time we had to come up with a count, it was for that happy 'Year 2000' bit.
>>
>>
>>how would you count lines of code in objects that use inheritance and other OO methods?
>
>Personally, I'd do it the same way, and include those counts on systems that used the particular object. It wouldn't take too much to dump those numbers into a .dbf and then reference that table during the count (Form XYZ calls class ABC (120 lines from linecnt.dbf) and then adds 10 more lines).
>
>My next step would be to sit those Lovely people down and explain to them that the concept of "lines of code" is becoming outdated and borderline impossible to do. If that fails, I figure a good, solid closet, stout rope and some ceiling hooks will handle the problem (Tie 'em up, hang 'em up, close and lock the door).

Yes! A Tejas women -- Alright! (g).

The alternative is to sit them down & spend hours using words they won't understand. Out of sheer boredom & the thought of you wasteing their time they will give up & accept your explanations.

Or else you can download stacks of White Papers & put a 1' tall stack of paper on their desk & say -- that's why I can't. (g)

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform