Health Score Explained
The Health Score in LFX Insights is a single, unified metric (0–100) that reflects the overall health of an open source project. It's designed to give developers a quick, high-confidence signal about whether a project is actively maintained, widely used, secure, and well-governed.
⚠️ Please note
While the Health Score provides a useful, data-driven snapshot of a project's overall state, no single score can capture all the nuance of an open source project. Different projects serve different goals—some are mature and stable, others are experimental or niche by design. This scoring model is meant to highlight potential signals and risks, not to make final judgments. Always consider context and use your own judgment alongside the score.
Insights Health Score Formula
The Insights Health Score is calculated as the sum of four equally weighted categories:
Health Score (0-100 pts) = Contributors (0–25 pts) + Popularity (0–25 pts) + Development (0–25 pts) + Security & Best Practices (0–25 pts)
The aggregated score is evaluated as follows:
- > 80 pts: Excellent
- 60 - 79 pts: Healthy
- 40 - 59 pts: Stable
- 20 - 39 pts: Unsteady
- < 20 pts: Critical
Scoring Criteria
Each of the following metrics is scored on a 0–5 point scale, and grouped into four categories: Contributors, Popularity, Development, and Security & Best Practices. Each category can reach up to 25 points.
1. Contributors (0–25 pts)
1.1 Contributor Dependency
- 0 pts: 1 contributor accounts for 51%+ of contributions
- 1 pt: 2 contributors account for 51%+ of contributions
- 2 pts: 3–4 contributors account for 51%+ of contributions
- 3 pts: 5–6 contributors account for 51%+ of contributions
- 4 pts: 7–9 contributors account for 51%+ of contributions
- 5 pts: 10 or more contributors account for 51%+ of contributions
1.2 Organization Dependency
- 0 pts: 1 organization accounts for 51%+ of contributions
- 1 pt: 2 organizations account for 51%+ of contributions
- 2 pts: 3 organizations account for 51%+ of contributions
- 3 pts: 4–5 organizations account for 51%+ of contributions
- 4 pts: 6–7 organizations account for 51%+ of contributions
- 5 pts: 8 or more organizations account for 51%+ of contributions
1.3 Quarterly Active Contributors
- 0 pts: 0–1 active contributors in the last quarter
- 1 pt: 2–3 active contributors in the last quarter
- 2 pts: 4–6 active contributors in the last quarter
- 3 pts: 7–10 active contributors in the last quarter
- 4 pts: 11–20 active contributors in the last quarter
- 5 pts: 21 or more active contributors in the last quarter
1.4 Quarterly Contributor Retention Rate
- 0 pts: Less than 2% of contributors are contributing quarter over quarter
- 1 pt: 3–5% of contributors are contributing quarter over quarter
- 2 pts: 6–9% of contributors are contributing quarter over quarter
- 3 pts: 10–14% of contributors are contributing quarter over quarter
- 4 pts: 15–19% of contributors are contributing quarter over quarter
- 5 pts: 20% or more of contributors are contributing quarter over quarter
2. Popularity (0–25 pts)
⚠️ If a project does not have data for all popularity metrics, Insights will calculate the popularity score using only the available metrics.
2.1 GitHub Stars
- 0 pts: 0–9 GitHub stars
- 1 pt: 10–49 GitHub stars
- 2 pts: 50–199 GitHub stars
- 3 pts: 200–499 GitHub stars
- 4 pts: 500–999 GitHub stars
- 5 pts: 1,000+ GitHub stars
2.2 GitHub Forks
- 0 pts: 0–4 forks
- 1 pt: 5–9 forks
- 2 pts: 10–19 forks
- 3 pts: 20–39 forks
- 4 pts: 40–79 forks
- 5 pts: 80+ forks
2.3 Google Search Queries per Month
- 0 pts: <10 queries
- 1 pt: 10–49 queries
- 2 pts: 50–199 queries
- 3 pts: 200–499 queries
- 4 pts: 500–999 queries
- 5 pts: 1,000+ queries
2.4 Social Mentions per Month (Coming Soon)
- 0 pts: 0–4 social mentions
- 1 pt: 5–9 social mentions
- 2 pts: 10–24 social mentions
- 3 pts: 25–49 social mentions
- 4 pts: 50–99 social mentions
- 5 pts: 100+ social mentions
2.5 GitHub Mentions (Coming Soon)
- 0 pts: 0–9 GitHub mentions
- 1 pt: 10–29 GitHub mentions
- 2 pts: 30–99 GitHub mentions
- 3 pts: 100–249 GitHub mentions
- 4 pts: 250–499 GitHub mentions
- 5 pts: 500+ GitHub mentions
3. Development (0-25 pts)
3.1 New Pull Requests per Month
- 0 pts: 0–1 new pull requests
- 1 pt: 2–3 new pull requests
- 2 pts: 4–7 new pull requests
- 3 pts: 8–15 new pull requests
- 4 pts: 16–30 new pull requests
- 5 pts: 31+ new pull requests
3.2 Issue Resolution Time
- 0 pts: Average resolution time > 60 days
- 1 pt: 51–60 days
- 2 pts: 36–50 days
- 3 pts: 22–35 days
- 4 pts: 8–21 days
- 5 pts: < 8 days
3.3 Merge Lead Time
- 0 pts: > 30 days
- 1 pt: 21–30 days
- 2 pts: 15–20 days
- 3 pts: 7–14 days
- 4 pts: 3–6 days
- 5 pts: < 3 days
3.4 Active Days (Last 30 Days)
- 0 pts: Active on 0–5 days
- 1 pt: Active on 6–10 days
- 2 pts: Active on 11–15 days
- 3 pts: Active on 16–20 days
- 4 pts: Active on 21–26 days
- 5 pts: Active on 27–30 days
3.5 Contributions Outside Work Hours
- 0 pts: 75%+ outside work hours
- 1 pt: 50–74% outside work hours
- 2 pts: 40–49% outside work hours
- 3 pts: 30–39% outside work hours
- 4 pts: 20–29% outside work hours
- 5 pts: <20% outside work hours
4. Security & Best Practices (0-25 pts)
We run a set of control assessments for all available repositories of a project, powered by the Open Source Project Security Baseline by OpenSSF.
The Security & Best Practices dimension is evaluated with an equally weighted score from all applicable control assessments. We only consider control assessments that worked without privileged access to the project's codebase and ignore those that are not applicable (e.g., controls that cannot be evaluated due to repository limitations or project structure).
Where supported (currently, only GitHub and Gitlab), we also ignore repositories that are archived, meaning they won't affect the final score.
Additionally, some repositories may be marked as excluded, even if they are not archived. One example of this are .github
repositories, which are automatically marked as excluded, but not archived. Repositories marked as excluded are also ignored in the health score calculations.
The formula used is: Security & Best Practices Score = Passed Control Assessments / (Passed + Failed Control Assessments)
This percentage is then converted to a 0-25 point scale for the final Health Score.