Bug Density
Number
Indicates the number of bugs per a certain amount of lines of code, providing insight into the overall quality of the code.
Formula
(Number of Bugs / Lines of Code)
Example
For 50 bugs in 10,000 lines of code, the bug density is 50/10,000.