Which metric best reflects software maintainability ?

2026

Which metric best reflects software maintainability ?

  1. A.

    Cyclomatic complexity

  2. B.

    Halstead volume

  3. C.

    Lines of code

  4. D.

    Function points

Attempted by 31 students.

Show answer & explanation

Correct answer: A

Cyclomatic complexity is the best metric for software maintainability as it measures code structure and testability.

Explore the full course: Niacl Ao It Specialist