Cyclomatic complexity metric provides information regarding?
-
Cycles in Program
-
Program Errors
-
Independent Paths
-
Statements
C
Correct answer
Explanation
Cyclomatic complexity is a metric that quantifies the number of independent paths through a program's source code. It is calculated using control flow graph analysis and helps determine the minimum number of test cases needed for complete path coverage. Higher complexity indicates more potential execution paths and potentially greater maintenance difficulty.