Multiple choice technology testing

The cyclomatic complexity metric provides the designer with information regarding the number of?

  1. cycles in the program

  2. errors in the program

  3. independent logic paths in the program

  4. statements in the program

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Cyclomatic complexity is a software metric that measures the number of independent linear paths through a program's source code. It quantifies decision logic complexity by counting branching points. This metric helps identify areas needing thorough testing, as higher complexity indicates more paths to verify.