I just attended the Sonar presentation given by Olivier Gaudin of sonarsource. Some impressions.
A good definition of quality:
A well-written program is a program where the cost of implementing a feature is constant throughout the program’s lifetime
— Itay Maman
In Martin Fowler’s “Technical Debt Quadrant“, Sonar is in the upper right corner: It doesn’t solve your problems, it just helps you know what they are. Or as the guys at sonarsource put it: Sonar puts your technical debt under control.
A good book which you may want to read in this area is “Clean Code – A Handbook of Agile Software Craftsmanship” by Robert C. Martin.
List of the 7 Deadly Sins:
- Code duplication (cut&paste)
- Bad distribution of complexity
- Spaghetti design
- Lack of unit tests
- No coding standards
- Potential bugs
- Not enough or too many comments