What is cyclomatic complexity?
Cyclomatic complexity is software metric that provides the quantitative measure of logical difficulty of the program.
The Cyclomatic complexity explains the number of independent paths in the basis set of the program that gives the upper bound for the number of tests that must be conducted to make sure that all the statements have been implemented at least once.