Multiple choice technology testing

Cyclomatic complexity is also known as ______

  1. Mcaffee Number

  2. McCabe Number

  3. Test complexity value

  4. Defect density

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

Cyclomatic complexity was developed by Thomas McCabe and is commonly called McCabe's number or McCabe's complexity metric. It's a measure of code complexity based on control flow. McAffee is unrelated, 'Test complexity value' is not a standard term, and 'Defect density' measures bugs per unit size, not structural complexity.

AI explanation

To answer this question, you need to understand the concept of cyclomatic complexity.

Cyclomatic complexity is a software metric used to measure the complexity of a program. It quantifies the number of independent paths in the program's source code, which helps in estimating the number of test cases required for complete coverage.

The correct answer is B) McCabe Number. Cyclomatic complexity is also known as the McCabe Number, named after Thomas J. McCabe, who developed this metric in 1976.