 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
dpk Guest
|
Posted: Fri Jan 19, 2007 11:59 pm Post subject: code Maintainance-Understanding legacy code |
|
|
I am(team) working with a huge delphi application having 3500+ stored
proc and 700+ pas files and it is neither well document in code or
externally.Although Visual form inhertiance and dynamic tab(using
registerclass) is in code and some coding conventions are
followed.Please suggest
a) a way to understand this code... (ie audit)
b) to make it more object oriented (ie applying
oops,refactoring,patterns etc)
c)to make it more maintainable |
|
| Back to top |
|
 |
Peter Below (TeamB) Guest
|
Posted: Sat Jan 20, 2007 6:13 pm Post subject: Re: code Maintainance-Understanding legacy code |
|
|
dpk wrote:
| Quote: | I am(team) working with a huge delphi application having 3500+ stored
proc and 700+ pas files and it is neither well document in code or
externally.Although Visual form inhertiance and dynamic tab(using
registerclass) is in code and some coding conventions are
followed.Please suggest
a) a way to understand this code... (ie audit)
b) to make it more object oriented (ie applying
oops,refactoring,patterns etc)
c)to make it more maintainable
|
My condolences <g>.
The first step when faced with such a monster is analysis. There are
tools to help with that. One that got a favourable review in the April
2006 issue of The Delphi Magazine was "Understand for Delphi"
(www.scitools.com). You may also want to take a look at tools like
CodeHealer and CodeFactor (not sure of the name, just google).
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be |
|
| Back to top |
|
 |
Gerrit Beuze Guest
|
|
| Back to top |
|
 |
Stephen Quinn Guest
|
Posted: Mon Jan 29, 2007 9:12 am Post subject: Re: code Maintainance-Understanding legacy code |
|
|
As well as what Peter said
| Quote: | I am(team) working with a huge delphi application having 3500+ stored
proc and 700+ pas files and it is neither well document in code or
externally.Although Visual form inhertiance and dynamic tab(using
registerclass) is in code and some coding conventions are
followed.Please suggest
a) a way to understand this code... (ie audit)
|
Pascal Analyser - http://www.peganza.com
ClassViz - http://www.toolsfactory.com/classviz.html
| Quote: | b) to make it more object oriented (ie applying
oops,refactoring,patterns etc)
MMX - see Gerrits post |
CodeHealer - http://www.socksoftware.com
HTH
Steve |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|