Multiple choice technology testing

Cyclomatic complexity metric provides information regarding?

  1. Cycles in Program

  2. Program Errors

  3. Independent Paths

  4. Statements

Reveal answer Fill a bubble to check yourself
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.