Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tool to count lines of code?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00125475
Message ID:
00127247
Vues:
37
Thank you guys,

I ended up running the documentation wizard and counting the lines on my myprojectname.lst file. It gave me a rough idea of many lines I've created. It'll still show you those lines needed to generate the objects on the forms and such, but hey, it's still better than nothing.

Have a good one,

Gil


>>Is there any way to know how many lines of code we've written in a VFP app?
>>
>>Thanks,
>>

>>Gil
>
>
>Gil,
>
>You could use the Documentation Wizard to produce a text file sort of like the .SPR files we used to get for screens (forms now) in FPW2.6. You have to select "All files" and then select the .scx file, not the .sct. Then you get some choices for formatting (tabs and such) and then you select what to include. I usually just do a source code output. It creates a file with a .lst extension. I use this file to compare old and new versions, using MS Word's Revision/Compare routine (under the Tools menu). It's nice for documenting changes. You load the new file first, then the older version. After printing the changes, then I copy the new version to the production development server where the application is built.
>
>Anyway, once you've done this for your forms, (and you could do this for your menus, and your classes too, I believe) you can get the line counts.
>
>Dana
For every bug fixed, there is a bigger bug not yet discovered.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform