Cyclometric complexity: Difference between revisions

Content deleted Content added
No edit summary
 
Taxman (talk | contribs)
merge content into the correctly named article at Cyclomatic complexity. Leave history here for reference
 
(11 intermediate revisions by 6 users not shown)
Line 1:
#REDIRECT [[Cyclomatic_complexity]]
Cyclometric complexity ("M") is one larger than the number of decision points (IFs, UNTILs, ENDs...)in a module (function, procedure...).
McCabe's rule of thumb is that "modules" with M of ten or more are error-prone.
CASE structures are an exception. They can have more than ten decisions without increasing the likelihood of errors.