Pipeline Health Score Calculator
Generate an overall health score for a CI/CD pipeline from speed, stability and success.
Inputs
Percentage of builds that pass without failure.
Average end-to-end pipeline duration.
Desired maximum build duration.
Percentage of tests that are flaky (non-deterministic).
Pipeline Health Score
90.3/100
Health Category
Excellent
Success Component
92.0/100
Speed Component
83.3/100
Step by step
Success score (40% weight)
92.0%
= 92.0
Speed score (30% weight)
min(100, 10 / 12 × 100)
= 83.3
Stability score (30% weight)
100 − 5%
= 95.0
Overall health
92.0×0.4 + 83.3×0.3 + 95.0×0.3
= 90.3 / 100
How it works
Pipeline health combines three dimensions: success rate (40% weight — do builds pass?), speed (30% — are they fast enough?), and stability (30% — are results deterministic?). Score = successRate×0.4 + speedScore×0.3 + (100−flakyRate)×0.3.
Formula
Health Score
score = successRate × 0.4 + speedScore × 0.3 + stabilityScore × 0.3
- successRate
- Build success percentage
- speedScore
- target/actual × 100, capped at 100
- stabilityScore
- 100 minus flaky test percentage
Frequently Asked Questions
Why weight success rate highest?
A failing pipeline blocks all deployments — even a fast, stable pipeline is useless if builds don't pass. Success rate has the most direct impact on developer experience and delivery throughput.
How do I fix flaky tests?
Quarantine known flaky tests (run them separately, don't block the pipeline), then fix root causes: race conditions, time-dependent logic, external service dependencies, and shared mutable state.