Number of defects per line of code

Software quality assuranceMinimizeNumber

Definition

Number of defects detected in the software divided by the total lines of code (LOC). The most common definition of LOC seems to count any line that is not a blank or comment line, regardless of the number of statements per line.

Formula

Register or log in to view the calculation formula. Sign up or log in.

Tags

application, software, line of code, defect, issue, bug, comment

Metadata

Category: Software quality assurance · Added: May 17, 2026

No ratings yet
Comments (0)

Log in to rate and comment.

Be the first to comment on this KPI.