Hannes Pavelka
It isn't rocket science. Well, unless of course you're NASA

February 2007 Entries

How to manage and handle complexity using code metrics

Managing and reducing the complexity of your software is important. Complexity makes your software more error prone and harder to maintain. I believe in this tenet and I am a disciple of the KISS (Keep it Simple, Stupid aka Keep it super simple) principle. However, the obvious question at hand is: How to measure complexity and thus identify where the KISS principle is violated ? One popular method to identify complexity is to calculate the Cyclomatic Complexity (CC). Before talking about the tools...