virhetiheys
Virhetiheys is a Finnish term that translates as error density or defect density. It denotes the number of detected faults, errors or defects in a product or process normalized by a size measure, and is used as a quantitative indicator of quality or reliability. In software engineering virhetiheys is commonly expressed as defects per thousand lines of code (defects/KLOC) or per function point; in manufacturing it may be defects per million opportunities or per unit produced.
Purpose and use: virhetiheys supports benchmarking, trend analysis and risk assessment by enabling comparisons across modules,
Limitations: the metric depends on how defects are defined, detected and recorded, and on choice of size
Best practices: accompany virhetiheys with contextual data (severity breakdown, detection phase, test coverage), use consistent counting