
40 ◾ Software Metrics
of course not the same measurement mapping), faults found per thousand
lines of code (KLOC), is used in examples 6, 7, and 8.
How good a measure is faults per KLOC? e answer depends entirely
on the entity–attribute pair connected by the mapping. Intuitively, most
of us would accept that faults per KLOC is a good measure of the rate at
which faults are found for the testing process (example 6). However, it is
not such a good measure of eciency of the tester (example 7), because
intuitively we feel that we should also take into account the diculty of
understanding and testing the program under scrutiny. is measure ...