> Run it through the code counter I talked about in the "Software > Maintenance" session years ago. That often red-flags issues right > there. Audit the code: using forms derived from DevGuide, we pick out > a percentage of forms, classes, menus, programs and determine the > level of code and obfuscation involved. Picking a random set of codes > has unearthed fascinating issues. Code and forms can be found on > http://www.tedroche.com/papers.php, top of the right column, iirc.
This isn't an audit to see what kind of mess is potentially going to land on my desk, as much as a "I've already got it and just have to figure it out" thing. The "rebuild a brand new project file" is good for filtering out cruft. I create a new dir and just put the project file and the main program. Of course, this doesn't help when you have do form (m.lcHiddenNameOfForm) lines, but it's a start... > Run the database design through xCase and map it out as cleanly as > possible. Use the xCase reports and color ERD printouts to show the > client what they have. This is great stuff if you need to do the upfront with the customer. I did the code counter with a customer a year ago to show him 12,000 lines of code and less than 100 lines of comments.... he understood what I was up against, but when the previous developer refused to answer any questions about the non-normalized data structures (some of you may remember my "Stupid Developer Tricks", with the adjective modifying the middle word...), well, it went downhill quickly. <s> In the end, the customer just wanted a miracle. Fortunately, with a couple of projects I'm working on now, the code is pretty good - just no comments, which means in a class with 75 methods, there's a lot of wiggly lines going back and forth... Whil _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

