DevLens

← Home

About DevLens

DevLens is a free, open-source tool that scores any public GitHub repository across 9 health dimensions — README quality, commit activity, freshness, documentation, CI/CD setup, issue response, community signal, PR velocity, and security.

Every score is computed live from the GitHub API. Scores without custom weights are cached for 15 minutes in Upstash Redis. Historical snapshots are stored per-repo to power the trend chart over time. No account is required to analyze a public repo.

The project was built by SamoTech as an open-source contribution to the developer community. The full source code is available on GitHub under the MIT license.

The 9 Dimensions

DimensionWeightWhat it measures
📝 README Quality20%Evaluates length, keyword coverage (install, usage, license, etc.), code blocks, images, headings, checklists, and DevLens marker.
Commit Activity20%Counts commits to the default branch in the last 90 days. 30+ commits = 100.
🌿 Repo Freshness15%Days since last push. Repos pushed within 7 days score 100.
📚 Documentation15%Checks for LICENSE, CONTRIBUTING.md, CHANGELOG.md, CODE_OF_CONDUCT.md, SECURITY.md, and a docs/ folder — 16 pts each.
⚙️ CI/CD Setup10%Detects GitHub Actions workflows. 3+ = 100, 1+ = 60, 0 = 0.
🎯 Issue Response10%Ratio of closed to total issues × 100. No issues at all = 100.
Community Signal5%Logarithmic score from stars and forks: log1p(stars)×15 + log1p(forks)×10, capped at 100.
🔀 PR Velocity3%Average time to merge a pull request across the last 20 closed PRs. <1 day = 100 down to >30 days = 10.
🔒 Security2%Detects SECURITY.md (+30), Dependabot config (+35), and CodeQL / Trivy / Snyk workflows (+35).

Weights sum to 100%. You can adjust them using the weight sliders on the home page before analyzing. Custom-weight runs bypass the cache and always return a fresh score.