Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cleaning up the project and source code
Message
 
 
À
11/09/2008 20:41:27
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01346920
Message ID:
01347081
Vues:
24
>This is something that has been put off a long time. We have many files that are no longer used. What is the best plan of attack to get as clean of a project as we can, where the code that is in it, and in the supporting directories, is only the code we need/use? We have a table driven menu, so some things will have to be looked at manually to see if they are needed. We can create an empty project, add the main program, and rebuild, but won't that also pickup up stuff that's not used if there is any reference to it in other code? How should we proceed? I'm tired of having useless files, references, a large EXE and bad code reference searches in this application. Any help appreciated.

Yes, I would probably start from the empty project and main program. When try to run it and this way try to find what references are missing.

The other way would be to pull all the class names (programs, etc.) from your current project and then run Code Reference to see where it's used or not used. Also sounds like a complex task, but may be partially automated.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform