What is cyclomatic complexity used to measure ?
2026
What is cyclomatic complexity used to measure ?
- A.
Code size
- B.
Code complexity and number of independent paths
- C.
Execution time
- D.
Memory usage
Attempted by 95 students.
Show answer & explanation
Correct answer: B
Cyclomatic complexity is used to measure the number of independent paths through a program's source code, indicating its logical complexity and testing requirements.