Suggest a tool

Open-source code quality and static analysis tools: 21 compared

Linters, static analysers and mutation testing tools used for quality gates.

21 tools are listed here, 1 of them with this as a secondary category. Each one is open source under an OSI-approved license and meets the inclusion rules. The table is sorted by GitHub stars, descending, on the fetch date. Select a column heading to sort by another column.

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

Code quality and static analysis tools. Sorted by GitHub stars, descending. Select a column heading to change the sort.
Ruff49,73112026-09-1610.16.82026-09-221MITRustactive
ShellCheck40,06712025-08-041v0.11.02026-09-211GPL-3.0Haskellactive
ESLint27,51612026-09-181v10.11.02026-09-221MITJavaScriptactive
mypy20,64812026-08-151v2.3.12026-09-221MITPythonactive
golangci-lint19,39412026-08-271v2.13.22026-09-201GPL-3.0Goactive
Semgrep16,72512026-09-101v1.177.02026-09-221LGPL-2.1Cactive
Infer15,70612026-05-121v1.3.02026-09-181MITOCamlactive
PHPStan14,10612026-09-1212.2.142026-09-221MITPHPactive
RuboCop12,90512026-09-101v1.91.02026-09-221MITRubyactive
Hadolint12,42512026-07-311v2.15.12026-08-241GPL-3.0Haskellactive
SonarQube11,01012026-09-02126.9.0.1293882026-09-211LGPL-3.0Javaactive
Checkstyle9,57112026-08-301checkstyle-14.1.02026-09-221LGPL-2.1Javaactive
Bandit8,27812026-02-2511.9.42026-09-211Apache-2.0Pythonactive
Cppcheck6,75512026-09-1912.22.02026-09-221GPL-3.0C++active
Pylint5,72512026-08-291v4.0.82026-09-221GPL-2.0Pythonactive
SpotBugs3,94612026-08-2014.10.42026-09-191LGPL-2.1Javaactive
Flake83,82312025-06-2017.3.02026-08-171MITPythonactive
StrykerJS3,14212026-08-141v10.0.02026-09-111Apache-2.0TypeScriptactive
Infection2,24312026-09-0210.35.42026-09-221BSD-3-ClausePHPactive
Stryker.NET2,08612026-09-111dotnet-stryker@5.0.02026-09-221Apache-2.0C#active
mutmut1,44812026-09-1213.8.02026-09-121BSD-3-ClausePythonactive

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Comparisons in this category

Guide

Open-source static analysis tools: how the list is sorted and what each covers