S3M - Software Maintenance Maturity Model

Tuesday, May 13, 2008

Evolution all the time - an opportunity to improve it

Code evolves constantly during the initial development. When you look at the TRAC project (trac.edgewall.org)  you can see all the tickets raised during the development stage of a project. Soon I will be posting a software maintenance version of TRAC that we are developing currently. I will place it in the S3M WIKI so you can take it and try it. We also have developed a script to install TRAC easily. I will place it there too ! Lets get back to our topic. 

When you open up the code to make a change you have an opportunity to make a small improvement. I like this approach instead of creating a reengineering project. What to look for:

- A loop that is too long or too deep.
- A class that has no cohesion
- An interface that does not give a coherent abstraction level
- Too many parameters
- Classes that do not do anything meaningful

Steve McConnell's book 'Code complete' tells you some more 

No comments: