Multiple choice

Which of the following software metrics measures the number of linearly independent paths through a program's source code?

  1. Source lines of code (SLOC)

  2. Balanced scorecard

  3. Cyclomatic complexity

  4. Halstead complexity

  5. Function point

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

Cyclomatic complexity (or conditional complexity) is a software metric (measurement). It is used to indicate the complexity of a program. It directly measures the number of linearly independent paths through a program's source code.