Topics / #static-code-analysis
Static-code-analysis projects on GitHub
Linters and analyzers that inspect code without running it.
As of , the most-starred Static-code-analysis projects on GitHub are ruff (51.3K stars), shellcheck (40.4K stars) and eslint (27.6K stars). GitHub.Locker tracks 17 Static-code-analysis repositories with 330.2K stars combined. The fastest-growing on November 30 was ruff, with +38 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
ruff
astral-sh/ruff · ★ 51.3KRuff is an extremely fast Python linter and code formatter written in Rust, built to replace tools like Flake8, Black, isort, pydocstyle, pyupgrade, and autoflake with a single command-line tool.
semgrep
semgrep/semgrep · ★ 18KSemgrep is a fast, open-source static analysis tool that scans source code to find bugs, security issues, and enforce coding standards using rules that look like ordinary code rather than abstract syntax trees or regex.
ast-grep
ast-grep/ast-grep · ★ 16.6Kast-grep (sg) is a CLI tool for structural search, linting and rewriting of source code — like grep, but matching the abstract syntax tree instead of raw text.
+17biome
biomejs/biome · ★ 26.2KBiome is a toolchain for web projects: one fast tool that both formats and lints JavaScript, TypeScript, JSX, JSON, CSS and GraphQL, run from the CLI or your editor via LSP.
The all-time top
17 projects · by stars
- 51.3K
#1 · astral-sh/ruff
ruff
Ruff is an extremely fast Python linter and code formatter written in Rust, built to replace tools like Flake8, Black, isort, pydocstyle, pyupgrade, and autoflake with a single command-line tool.
- 40.4K
#2 · koalaman/shellcheckshellcheck
ShellCheck is a free static analysis tool for shell scripts: it reads your bash/sh code and reports warnings and suggestions for problems in it.
- 27.6K
#3 · eslint/eslinteslint
ESLint is a linter for JavaScript: a tool that identifies and reports on patterns found in ECMAScript/JavaScript code, so problems get caught before they ship.
- 4

biome
26.2Kbiomejs/biome · RustBiome is a toolchain for web projects: one fast tool that both formats and lints JavaScript, TypeScript, JSX, JSON, CSS and GraphQL, run from the CLI or your editor via LSP.
- 5
mypy
20.7Kpython/mypy · PythonMypy is a static type checker for Python: you add type hints (PEP 484) to your code and it warns you when you use those types incorrectly, catching bugs without even running the program.
- 6
semgrep
18Ksemgrep/semgrep · CSemgrep is a fast, open-source static analysis tool that scans source code to find bugs, security issues, and enforce coding standards using rules that look like ordinary code rather than abstract syntax trees or regex.
- 7

PHP-Parser
17.5Knikic/PHP-Parser · PHPA parser written in PHP that turns PHP code into an abstract syntax tree (AST). Its purpose is to simplify static code analysis and manipulation of PHP code.
- 8
ast-grep
16.6Kast-grep/ast-grep · Rustast-grep (sg) is a CLI tool for structural search, linting and rewriting of source code — like grep, but matching the abstract syntax tree instead of raw text.
- 9

typescript-eslint
16.5Ktypescript-eslint/typescript-eslint · TypeScripttypescript-eslint is the monorepo that provides the tooling enabling ESLint to understand and lint TypeScript code, including the parser and plugin rules.
- 10

infer
15.8Kmeta/infer · OCamlInfer is a static analysis tool that finds bugs in Java, C, C++, and Objective-C code by analyzing it without running it. It lives under Facebook's GitHub and is written in OCaml.
- 11

pyright
15.8Kmicrosoft/pyright · PythonPyright is a full-featured, standards-based static type checker for Python, built by Microsoft for speed on large codebases.
- 12

static-analysis
14.9Kanalysis-tools-dev/static-analysis · RustA curated list of static analysis (SAST) tools, linters and formatters for all programming languages, config files and build tools, focused on tools that improve code quality.
- 13

phpstan
14.2Kphpstan/phpstan · PHPPHPStan is a static analysis tool for PHP that finds bugs in your code without actually running it, catching whole classes of errors before you even write tests.
- 14

rubocop
12.9Krubocop/rubocop · RubyRuboCop is a static code analyzer (linter) and code formatter for Ruby that enforces the community Ruby Style Guide out of the box, and it is also configurable to enforce your own style.
- 15

rector
10.5Krectorphp/rector · PHPRector is a PHP tool that instantly upgrades and refactors PHP codebases: it automates upgrades from PHP 5.3 up to 8.5 plus framework migrations, and can keep code quality high continuously via CI.
- 16
psalm
5.9Kvimeo/psalm · PHPPsalm is a static analysis tool that scans PHP code to find errors and security vulnerabilities without running the application.
- 17
fallow
5.4Kfallow-rs/fallow · RustFallow is a Rust-based codebase intelligence tool for TypeScript/JavaScript that builds one dependency graph of a repository and reports unused code, circular dependencies, duplication, complexity hotspots, architecture boundary violations, and design-system styling drift.
Related topics
Often tagged together
- code-quality90
- developer-tools2,879
- open-source5,461
- cli2,316
- static-analysis134
- linux4,256
- macos3,658
- mit3,173
- windows3,581
- command-line-tool739
- cross-platform2,653
- linter46
- tool1,369
- typescript1,887
- cli-tool242
- developers357
- javascript1,557
- code-analysis41
- code-review110
- python2,386
- rust797
- command-line368
- devops413
- docker1,643