Software Quality, Defect Density and Test Progress
Track software quality progress with consistent measurement units and denominators for one release.
Keep size-measurement conventions, defect deduplication and reopening rules, and planned test scope consistent for the same release and reporting date.
Do not use defect density or pass rate alone to decide on release readiness or evaluate a team.
Results
—
—%
—%
- Pass rate among executed tests
- —%
- Pass rate across the full test plan
- —%
- —%
- —%
- Unresolved carryover defects
- —defects
- Planned tests not yet executed
- —defects
- Executed tests without a passing result
- —defects
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
Defect density=total detected defects÷size, reported per 1000 lines for LOC, per KLOC, or per FP. Effective removals=defects fixed at least once−currently reopened defects. Removal rate=effective removals÷total detected defects×100. Unresolved carryover=total detected defects−effective removals. Pre-release detection percentage=(total detected−escaped)÷total detected×100. Test execution rate=executed cases÷planned cases×100. Pass rate among executed tests=passed cases÷executed cases×100. Pass rate across the plan=passed cases÷planned cases×100. Percentages with a denominator of 0 are not calculated or displayed as 0%.
Worked example (hypothetical values)
Illustrative example: release v1, size 10 KLOC, 20 detected defects, 0 escaped, 15 fixed, 0 reopened, and 100 planned tests with 80 executed and 60 passed. Defect density is 2 defects/KLOC, removal rate 75%, unresolved defects 5, execution rate 80%, pass rate among executed tests 75%, and pass rate across the plan 60%.
Applicability and limitations
Counts with a consistent measurement scope and duplicate-removal rules for defect IDs and test cases within the same release. Excludes ranking individuals or teams, assessing defect severity, release decisions, estimating DRE across pre- and post-release removal, and counting repeated test runs as separate events.
Method and sources
Method: B103 software quality arithmetic v1.0 (2026-11-13). Data recorded: 2026-11-13.