Cyclomatic Complexity
I'm taking CodeRush
& Refactor! Pro
for a spin, and so far it's nice (except the Smart Cut, which I hate because
I'm used to having the entire line being cut when I use Ctrl+X without
selecting anything). One thing that I like is the Metrics view, and I like it
for two reasons, the first is that it is a really nice way to look at the
methods in the current file; the second is that it's both cool and useful to
see the complexity of the methods. One thing I really like is the ability to
see both the line count of a method and its complexity, like this:
Can you see the 32 on the side? This is the line count of the method, and
the metrics window shows the complexity of the methods. I made a mistake and
set it to line count without noticing, and I just couldn't believe that I had a method with a Cyclomatic
Complexity of 32. I was about to get a Cyclomatic Apoplexy from the shock.
Comments
Comment preview