[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
pmccabe
has changed the scoring of switch
statements because they seemed too high. switch
statements
are now “free” in this new analysis. That’s wrong, too.
The code length needs to be counted and the code within a switch
statement adds more to the difficulty of comprehension than code at
a shallower logic level.
This program will multiply the score of the switch
statement
content by the See section nesting score factor.
This document was generated by Bruce Korb on May 15, 2011 using texi2html 1.82.