ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Code Improvement Through Cyclomatic Complexity
Subject:   code complexity
Date:   2004-06-19 17:05:13
From:   swing_developer
Well it's a poor measurement of complexity on the face of it, because it assigns a point for entering a method.


This means that if I refactor that 200-line mess of a method into the 25 calls to specialized methods it should have been in the first place, I am adding *complexity*. Come on. Just the opposite; I am reducing complexity and increasing comprehensiblity.



1 to 1 of 1
  1. code complexity
    2004-06-19 18:09:42  aglover [View]

1 to 1 of 1