Which software engineering metric is commonly used to measure the size of a software program?

Options

  • A. Lines of Code (LOC)
  • B. Defect Density
  • C. Mean Time to Failure
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Lines of Code (LOC)

Detailed Explanation

Explanation: Lines of Code (LOC) is a software size metric that measures the number of source code lines in a program. Other measures include Function Points, which estimate software size based on functionality delivered.