Reliatools

Bayesian Software Reliability Predictor

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.

Results

Not yet
The best estimate does not meet the target yet.
Current MTBF (hours)
21.8
0.0459 defects per hour. 90% range 15.3 to 37.7
Defects remaining
13.6
101 found so far. 90% range 6.06 to 26.3
More test time to reach target (hours)
245
90% range 62.3 to 476
Chance of a 8-hour mission with no failure
69.3%
At today's failure rate, with no more fixes. 90% range 59.3% to 80.9%

Your test data

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.

16 periods, 101 defects, with severity, with test hours
Measure time in

Test hours give a truer failure rate when test effort varies week to week.

Release target

In hours of test time between defects.

A typical continuous run in use, for the no-failure chance.

Bayesian prior

Helps most early in testing, when the data alone are thin. Applies to the two finite models.

Defects found over time

Dots: your cumulative defects. Line: Goel-Okumoto fit, projected forward.

Model comparison

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.

UseModelΔAICRemainingWhat it assumes
Goel-Okumotobest fit0.013.6Defect discovery falls steadily from the start. Finite number of defects.
Musa-Okumoto0.5unboundedLater fixes matter less and less (logarithmic). No upper limit on defects.
Crow-AMSAA4.9unboundedPower-law growth, the hardware standard. No upper limit on defects.
Yamada S-shaped27.72.52Discovery ramps up, peaks, then falls (learning curve). Finite number of defects.

By severity

Each severity is fitted on its own (best finite model), so a few critical defects are not hidden by many minor ones.

SeverityFoundRemainingRate per hourModel
Critical100.1710.00111Goel-Okumoto
Major314.250.0143Goel-Okumoto
Minor6010.70.0321Goel-Okumoto
How it works

From test data

Before testing

Nremaining=KLOC×d0×Mc×Me×Mp×(1−Ereview)(1−Etest)N_{\text{remaining}} = \text{KLOC}\times d_0 \times M_c \times M_e \times M_p \times (1-E_{\text{review}})(1-E_{\text{test}})
Need help applying this to a real validation program? Contact Reliatools.