Cyclomatic Complexity


Cyclomatic complexity is software metric that provides a quantitative measure of the logical complexity of a program. When used in the context of the basis parthu testing method, the value computed for cyclomatic complexity defines the number of independent paths in the basis set of a program, and provides as with an upper bond for the number of tests that must be conducted to ensure that all statements have been executed at least once.

An independent path must move along at least one edge that has not been traversed before the path is defined.

Leave a Reply

Your email address will not be published. Required fields are marked *