Sonar

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s