Cyclometric complexity: Difference between revisions

Content deleted Content added
Taxman (talk | contribs)
m added stub notice, proper link to McCabe's Rule? What is this even about?
Taxman (talk | contribs)
added link to complexity theory, delinked McCabe's rule, and attempted to generalize.
Line 1:
'''Cyclometric complexity''' is a concept in [[Complexity theory]]. Its magnitude is denoted by the letter ("M"). "M" is defined to be one larger than the number of decision points (IFs, UNTILs, ENDs...) in a module ([[function]], [[procedure..]], chart node, etc.), or more generally a [[system]].
 
[[McCabe's rule]] of thumb is that "modules" with M of ten or more are error-prone.
CASE structures are an exception. TheyDue to their structure, they can have more than ten decisions without increasing the likelihood of errors.
 
{{msg:stub}}