Paste your weekly defect counts to see whether the software is ready to release: defects remaining, current MTBF and the test time still needed, with confidence ranges. No test data yet? Estimate defects from size, team and process instead.
One line per test period (a week or sprint). Columns: period, defects found, and optionally test hours. For severity, use Critical, Major and Minor columns instead of one count. Paste straight from Excel or a CSV.
Test hours give a truer failure rate when test effort varies week to week.
In hours of test time between defects.
A typical continuous run in use, for the no-failure chance.
Helps most early in testing, when the data alone are thin. Applies to the two finite models.
Dots: your cumulative defects. Line: Goel-Okumoto fit, projected forward.
Trend test (Laplace) u = -5.74: defects are arriving significantly less often, so reliability is growing. Models are ranked by AIC; a difference under 2 means the fits are about equally good.
| Use | Model | ΔAIC | Remaining | What it assumes |
|---|---|---|---|---|
| Goel-Okumotobest fit | 0.0 | 13.6 | Defect discovery falls steadily from the start. Finite number of defects. | |
| Musa-Okumoto | 0.5 | unbounded | Later fixes matter less and less (logarithmic). No upper limit on defects. | |
| Crow-AMSAA | 4.9 | unbounded | Power-law growth, the hardware standard. No upper limit on defects. | |
| Yamada S-shaped | 27.7 | 2.52 | Discovery ramps up, peaks, then falls (learning curve). Finite number of defects. |
Each severity is fitted on its own (best finite model), so a few critical defects are not hidden by many minor ones.
| Severity | Found | Remaining | Rate per hour | Model |
|---|---|---|---|---|
| Critical | 10 | 0.171 | 0.00111 | Goel-Okumoto |
| Major | 31 | 4.25 | 0.0143 | Goel-Okumoto |
| Minor | 60 | 10.7 | 0.0321 | Goel-Okumoto |
Thousands of source lines, new or changed in this release.
Before any review or test. Use your own history if you have it; 3 to 10 is a common planning range.
Typical cyclomatic complexity per function: Low under 10, Moderate 10–20, High over 20.
With this code base and domain. Low: mostly new to it. High: most have shipped it before.
1: ad hoc. 3: defined process that is followed. 5: measured and continuously improved.
Your release goal for latent defects of any severity.
Share of changed code that gets a real review. Removes 36% of defects.
Code coverage of the full test suite. Removes 77% of what reviews miss.
Defects avoided if you change only that one thing.