Ranked awesome lists, all in one place
This list is a copy of mre/awesome-static-analysis with ranks
Static program analysis is the analysis of computer software that is performed without actually executing programs — Wikipedia
This is a collection of static analysis tools and code quality checkers. Pull requests are very welcome!
Note: stands for proprietary software. All other tools are Open Source.
Also check out the sister project, awesome-dynamic-analysis ★27.
Table of Contents
Programming Languages
Ada
- Codepeer - detects run-time and logic errors
- Polyspace for Ada - provide code verification that proves the absence of overflow, divide-by-zero, out-of-bounds array access, and certain other run-time errors in source code.
- SPARK - Static analysis and formal verification toolset for Ada
- Understand - IDE that provides code analysis, standards testing, metrics, graphing, dependency analysis and more for Ada and VHDL.
Awk
- gawk –lint - warns about constructs that are dubious or nonportable to other awk implementations.
C/C++
- CBMC - bounded model-checker for C programs, user-defined assertions, standard assertions, several coverage metric analyses
- clang-tidy - clang static analyser
- CMetrics ★24 ⏳3Y - Measures size and complexity for C files
- CodeSonar from GrammaTech - Advanced, whole program, deep path, static analysis of C and C++ with easy-to-understand explanations and code and path visualization.
- Corrode ★1796 - Semi-automatic translation from C to Rust. Could reveal bugs in the original implementation by showing Rust compiler warnings and errors.
- cppcheck ★1708 - static analysis of C/C++ code
- CppDepend - Measure, query and visualize your code and avoid unexpected issues, technical debt and complexity.
- cpplint - automated C++ checker that follows Google’s style guide
- cqmetrics ★23 ⏳1Y - quality metrics for C code
- CScout - complexity and quality metrics for for C and C preprocessor code
- flawfinder - finds possible security weaknesses
- flint++ - cross-platform, zero-dependency port of flint, a lint program for C++ developed and used at Facebook.
- Frama-C - a sound and extensible static analyzer for C code
- IKOS ★34 - a sound static analyzer for C/C++ code based on LLVM
- oclint - static analysis of C/C++ code
- Polyspace Bug Finder - identifies run-time errors, concurrency issues, security vulnerabilities, and other defects in C and C++ embedded software.
- Polyspace Code Prover - provide code verification that proves the absence of overflow, divide-by-zero, out-of-bounds array access, and certain other run-time errors in C and C++ source code.
- scan-build - Analyzes C/C++ code using LLVM at compile-time
- splint ★60 ⏳1Y - Annotation-assisted static program checker
- vera++ - Vera++ is a programmable tool for verification, analysis and transformation of C++ source code.
C#
- .NET Analyzers - An organization for the development of analyzers (diagnostics and code fixes) using the .NET Compiler Platform.
- Code Analysis Rule Collection - Contains a set of diagnostics, code fixes and refactorings built on the Microsoft .NET Compiler Platform “Roslyn”.
- code-cracker ★880 - An analyzer library for C# and VB that uses Roslyn to produce refactorings, code analysis, and other niceties.
- CodeRush - Code creation, debugging, navigation, refactoring, analysis and visualization tools that use the Roslyn engine in Visual Studio 2015 and up.
- CSharpEssentials ★151 ⏳2Y - C# Essentials is a collection of Roslyn diagnostic analyzers, code fixes and refactorings that make it easy to work with C# 6 language features.
- Designite - Designite is a software design quality assessment tool. It supports detection of implementation and design smells, computation of various code quality metrics, and trend analysis.
- Gendarme - Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET).
- NDepend - Measure, query and visualize your code and avoid unexpected issues, technical debt and complexity.
- Puma Scan ★169 - Puma Scan provides real time secure code analysis for common vulnerabilities (XSS, SQLi, CSRF, LDAPi, crypto, deserialization, etc.) as development teams write code in Visual Studio.
- Refactoring Essentials - The free Visual Studio 2015 extension for C# and VB.NET refactorings, including code best practice analyzers.
- ReSharper - Extends Visual Studio with on-the-fly code inspections for C#, VB.NET, ASP.NET, JavaScript, TypeScript and other technologies.
- Roslyn Security Guard - Project that focus on the identification of potential vulnerabilities such as SQL injection, cross-site scripting (XSS), CSRF, cryptography weaknesses, hardcoded passwords and many more.
- Roslynator ★737 - A collection of 190+ analyzers and 190+ refactorings for C#, powered by Roslyn.
- Security Code Scan - Security code analyzer for C# and VB.NET. Detects various security vulnerability patterns: SQLi, XSS, CSRF, XXE, Open Redirect, etc.
- SonarLint for Visual Studio - SonarLint is an extension for Visual Studio 2015 and 2017 that provides on-the-fly feedback to developers on new bugs and quality issues injected into .NET code.
- VSDiagnostics ★55 - A collection of static analyzers based on Roslyn that integrate with VS.
- Wintellect.Analyzers ★74 ⏳1Y - .NET Compiler Platform (“Roslyn”) diagnostic analyzers and code fixes.
Crystal
- ameba ★108 - A static code analysis tool for Crystal
- crystal - The Crystal compiler has built-in linting functionality.
Dlang
- D-scanner ★168 - D-Scanner is a tool for analyzing D source code
Elixir
- credo ★2499 - A static code analysis tool with a focus on code consistency and teaching.
- sobelow ★515 - Security-focused static analysis for the Phoenix Framework
Erlang
- elvis ★303 - Erlang Style Reviewer
F#
- FSharpLint ★129 - Lint tool for F#
Fortran
- i-Code CNES for Fortran ★17 - An open source static code analysis tool for Fortran 77, Fortran 90 and Shell.
Go
- deadcode ★25 - Finds unused code.
- dingo-hunter ★200 - Static analyser for finding deadlocks in Go.
- dupl ★108 - Reports potentially duplicated code.
- errcheck ★1057 - Check that error return values are used.
- flen ★41 - Get info on length of functions in a Go package.
- gas ★874 - Inspects source code for security problems by scanning the Go AST.
- Go Meta Linter ★2762 - Concurrently run Go lint tools and normalise their output.
- go tool vet –shadow - Reports variables that may have been unintentionally shadowed.
- go vet - Examines Go source code and reports suspicious.
- go-critic ★53 - Go source code linter that maintains checks which are currently not implemented in other linters.
- go-staticcheck - go vet on steroids, similar to ReSharper for C#.
- go/ast - Package ast declares the types used to represent syntax trees for Go packages.
- goconst ★100 ⏳1Y - Finds repeated strings that could be replaced by a constant.
- gocyclo ★400 - Calculate cyclomatic complexities of functions in Go source code.
- gofmt -s - Checks if the code is properly formatted and could not be further simplified.
- goimports - Checks missing or unreferenced package imports.
- golint ★2561 - Prints out coding style mistakes in Go source code.
- goreporter - concurrently runs many linters and normalises their output to a report.
- goroutine-inspect ★196 - An interactive tool to analyze Golang goroutine dump.
- gosimple - Report simplifications in code.
- gotype - Syntactic and semantic analysis similar to the Go compiler.
- ineffassign ★162 - Detect ineffectual assignments in Go code
- interfacer ★707 - Suggest narrower interfaces that can be used.
- lll ★18 - Report long lines.
- maligned ★151 - Detect structs that would take less memory if their fields were sorted.
- megacheck - Run staticcheck, gosimple and unused, sharing work.
- misspell ★412 - Finds commonly misspelled English words.
- nakedret ★27 - Finds naked returns.
- prealloc ★316 - Finds slice declarations that could potentially be preallocated.
- safesql ★360 - Static analysis tool for Golang that protects against SQL injections.
- structcheck ★212 - Find unused struct fields.
- test - Show location of test failures from the stdlib testing module.
- testify ★5221 - Show location of failed testify assertions.
- unconvert ★214 - Detect redundant type conversions.
- unimport ★52 - Finds unnecessary import aliases
- unparam ★208 - Find unused function parameters.
- unused - Find unused variables.
- varcheck ★212 - Find unused global variables and constants.
Groovy
- CodeNarc ★171 - a static analysis tool for Groovy source code, enabling monitoring and enforcement of many coding standards and best practices
Haskell
- HLint ★634 - HLint is a tool for suggesting possible improvements to Haskell code.
Haxe
- Haxe Checkstyle ★86 - A static analysis tool to help developers write Haxe code that adheres to a coding standard.
Java
- ArchUnit - Unit test your Java architecture
- Checker Framework ★379 - Pluggable type-checking for Java http://checkerframework.org/
- checkstyle ★3708 - checking Java source code for adherence to a Code Standard or set of validation rules (best practices)
- ckjm - calculates Chidamber and Kemerer object-oriented metrics by processing the bytecode of compiled Java files
- Error-prone ★3744 - Catch common Java mistakes as compile-time errors
- fb-contrib ★72 - A plugin for FindBugs with additional bug detectors
- Find Security Bugs - IDE/SonarQube plugin for security audits of Java web applications.
- Hopper ★40 ⏳2Y - A static analysis tool written in scala for languages that run on JVM
- HuntBugs ★279 - Bytecode static analyzer tool based on Procyon Compiler Tools aimed to supersede FindBugs.
- JArchitect - Measure, query and visualize your code and avoid unexpected issues, technical debt and complexity.
- JBMC - bounded model-checker for Java (bytecode), verifies user-defined assertions, standard assertions, several coverage metric analyses
- NullAway ★2133 - Type-based null-pointer checker with low build-time overhead; an Error Prone plugin
- OWASP Dependency Check - Checks dependencies for known, publicly disclosed, vulnerabilities.
- Spoon ★521 - Library to write your own static analyses and architectural rule checkers for Java. Can be integrated in Maven and Gradle.
- SpotBugs - SpotBugs is FindBugs’ successor. A tool for static analysis to look for bugs in Java code.
JavaScript
- aether ★151 ⏳1Y - Lint, analyze, normalize, transform, sandbox, run, step through, and visualize user JavaScript, in node or the browser.
- ClosureLinter ★95 ⏳1Y - ensures that all of your project’s JavaScript code follows the guidelines in the Google JavaScript Style Guide. It can also automatically fix many common errors
- coffeelint ★1003 - A style checker that helps keep CoffeeScript code clean and consistent.
- complexity-report - Software complexity analysis for JavaScript projects
- DeepScan - An analyzer for JavaScript which targets runtime errors and quality issues rather than coding conventions.
- escomplex - Software complexity analysis of JavaScript-family abstract syntax trees.
- eslint ★11721 - A fully pluggable tool for identifying and reporting on patterns in JavaScript
- Esprima ★4526 - ECMAScript parsing infrastructure for multipurpose analysis
- flow - A static type checker for JavaScript.
- jshint ★7945 - detect errors and potential problems in JavaScript code and enforce your team’s coding conventions
- JSLint ★3168 - The JavaScript Code Quality Tool
- JSPrime ★402 ⏳3Y - static security analysis tool
- NodeJSScan ★329 - NodeJsScan is a static security code scanner for Node.js applications.
- plato ★4232 - Visualize JavaScript source complexity
- Prettier ★25686 - An opinionated code formatter.
- quality - zero configuration code and module linting
- retire.js ★1707 - Scanner detecting the use of JavaScript libraries with known vulnerabilities
- standard - An npm module that checks for Javascript Styleguide issues
- XO - Enforce strict code style. Never discuss code style on a pull request again!
- yardstick ★23 ⏳1Y - Javascript code metrics
Kotlin
- detekt ★1176 - Static code analysis for Kotlin code.
- ktlint ★1228 - An anti-bikeshedding Kotlin linter with built-in formatter
Lua
- luacheck ★748 - A tool for linting and static analysis of Lua code.
MATLAB
- mlint - Check MATLAB code files for possible problems.
Perl
- Perl::Critic - Critique Perl source code for best-practices.
PHP
- dephpend ★251 - Dependency analysis tool
- deprecation-detector ★341 - Finds usages of deprecated (Symfony) code
- deptrac ★692 - Enforce rules for dependencies between software layers.
- DesignPatternDetector ★87 ⏳1Y - detection of design patterns in PHP code
- EasyCodingStandard - combine PHP_CodeSniffer and PHP-CS-Fixer ★6047
- exakat ★156 - An automated code reviewing engine for PHP
- GrumPHP ★2328 - checks code on every commit
- Mondrian ★348 ⏳2Y - a set of static analysis and refactoring tools which use graph theory
- parallel-lint ★417 - This tool checks syntax of PHP files faster than serial check with a fancier output.
- Parse ★196 - A Static Security Scanner
- pdepend - Calculates software metrics like cyclomatic complexity for PHP code.
- phan - a modern static analyzer from etsy
- PHP Assumptions ★80 - Checks for weak assumptions
- PHP Coding Standards Fixer - Fixes your code according to standards like PSR-1, PSR-2, and the Symfony standard.
- Php Inspections (EA Extended) ★689 - A Static Code Analyzer for PHP.
- PHP Refactoring Browser ★556 - Refactoring helper
- PHP Semantic Versioning Checker ★386 - Suggests a next version according to semantic versioning
- PHP-Parser ★6597 - A PHP parser written in PHP
- PHP-Token-Reflection ★186 ⏳1Y - Library emulating the PHP internal reflection
- php7cc ★1376 - PHP 7 Compatibility Checker
- php7mar ★551 - assist developers in porting their code quickly to PHP 7
- PHP_CodeSniffer ★4975 - detects violations of a defined set of coding standards
- phpca ★64 - Finds usage of non-built-in extensions
- phpcf - Finds usage of deprecated PHP features
- phpcpd ★1505 - Copy/Paste Detector for PHP code.
- phpdcd ★363 ⏳2Y - Dead Code Detector (DCD) for PHP code.
- PhpDependencyAnalysis ★321 - builds a dependency graph for a project
- phpdoc-to-typehint ★215 - Add scalar type hints and return types to existing PHP projects using PHPDoc annotations
- phpDocumentor - Analyzes PHP source code to generate documentation
- PHPMD - finds possible bugs in your code
- PhpMetrics - Calculates and visualizes various code quality metrics
- phpmnd ★220 - Helps to detect magic numbers
- PHPQA ★252 - A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics)
- phpqa - jakzal ★415 - Many tools for PHP static analysis in one container
- phpqa - jmolivas ★336 - PHPQA all-in-one Analyzer CLI tool
- phpsa ★631 - Static analysis tool for PHP.
- PHPStan ★3832 - PHP Static Analysis Tool - discover bugs in your code without running it!
- Progpilot ★33 - A static analysis tool for security purposes
- Psalm - Static analysis tool for finding type errors in PHP applications
- Qafoo Quality Analyzer ★433 - Visualizes metrics and source code
- RIPS ★163 ⏳2Y - A static source code analyser for vulnerabilities in PHP scripts
- Tuli ★172 ⏳2Y - A static analysis engine
- twig-lint ★84 - twig-lint is a lint tool for your twig files.
- WAP - Tool to detect and correct input validation vulnerabilities in PHP (4.0 or higher) web applications and predicts false positives by combining static analysis and data mining.
Python
- bandit ★148 - a tool to find common security issues in Python code
- jedi ★3331 - autocompletion/static analysis library for Python
- linty fresh ★158 - parse lint errors and report them to Github as comments on a pull request
- mccabe ★162 - check McCabe complexity
- mypy - a static type checker that aims to combine the benefits of duck typing and static typing, frequently used with MonkeyType ★1673
- py-find-injection ★58 - find SQL injection vulnerabilities in Python code
-
pycodestyle ★3314 - (formerly
pep8
) check Python code against some of the style conventions in PEP 8 - pydocstyle ★427 - check compliance with Python docstring conventions
- pyflakes - check Python source files for errors
-
pylint ★1247 - looks for programming errors, helps enforcing a coding standard and sniffs for some code smells. It additionally includes
pyreverse
(an UML diagram generator) andsymilar
(a similarities checker). - pyre-check ★1658 - A fast, scalable type checker for large Python codebases
- pyroma ★45 - rate how well a Python project complies with the best practices of the Python packaging ecosystem, and list issues that could be improved
- PyT - Python Taint ★1408 - A static analysis tool for detecting security vulnerabilities in Python web applications.
- radon ★806 - a Python tool that computes various metrics from the source code
- vulture ★235 - find unused classes, functions and variables in Python code
-
xenon - monitor code complexity using
radon
★806
Python wrappers
-
ciocheck ★16 - linter, formatter and test suite helper. As a linter, it is a wrapper around
pep8
,pydocstyle
,flake8
, andpylint
. -
flake8 ★360 - a wrapper around
pyflakes
,pycodestyle
andmccabe
-
prospector - a wrapper around
pylint
,pep8
,mccabe
and others
R
- lintr ★458 - Static Code Analysis for R
RPG
- SourceMeter - Static Code Analysis for RPG III and RPG IV versions (including free-form)
Ruby
- brakeman ★4845 - A static analysis security vulnerability scanner for Ruby on Rails applications
- cane ★1331 - Code quality threshold checking as part of your build
- dawnscanner ★528 - a static analysis security scanner for ruby written web applications. It supports Sinatra, Padrino and Ruby on Rails frameworks.
- flay ★534 - Flay analyzes code for structural similarities.
- flog ★610 - Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
- laser ★389 ⏳6Y - Static analysis and style linter for Ruby code.
- pelusa ★448 ⏳3Y - Static analysis Lint-type tool to improve your OO Ruby code
- quality ★134 - Runs quality checks on your code using community tools, and makes sure your numbers don’t get any worse over time.
- reek ★2753 - Code smell detector for Ruby
- RuboCop ★9164 - A Ruby static code analyzer, based on the community Ruby style guide.
- Rubrowser - Ruby classes interactive dependency graph generator.
- ruby-lint ★730 ⏳1Y - Static code analysis for Ruby
- rubycritic ★2100 - A Ruby code quality reporter
- SandiMeter ★713 - Static analysis tool for checking Ruby code for Sandi Metz’ rules.
Rust
- clippy - a code linter to catch common mistakes and improve your Rust code
- electrolysis ★162 ⏳1Y - A tool for formally verifying Rust programs by transpiling them into definitions in the Lean theorem prover.
- herbie ★138 ⏳1Y - Adds warnings or errors to your crate when using a numerically unstable floating point expression.
- linter-rust ★38 - Linting your Rust-files in Atom, using rustc and cargo
- Rust Language Server ★1590 - Supports functionality such as ‘goto definition’, symbol search, reformatting, and code completion, and enables renaming and refactorings.
- rustfix ★0 - read and apply the suggestions made by rustc (and third-party lints, like those offered by clippy).
Scala
- linter ★253 ⏳1Y - Linter is a Scala static analysis compiler plugin which adds compile-time checks for various possible bugs, inefficiencies, and style problems.
- Scalastyle - Scalastyle examines your Scala code and indicates potential problems with it.
- scapegoat ★258 - Scala compiler plugin for static code analysis
- WartRemover - a flexible Scala code linting tool.
Shell
- i-Code CNES for Shell ★17 - An open source static code analysis tool for Shell and Fortran (77 and 90).
- shellcheck ★11463 - ShellCheck, a static analysis tool that gives warnings and suggestions for bash/sh shell scripts
Solidity
- solium ★470 - Solium is a linter to identify and fix style and security issues in Solidity smart contracts
SQL
- sqlcheck ★1569 - Automatically identify anti-patterns in SQL queries
- sqlint ★187 - Simple SQL linter
- tsqllint ★36 - T-SQL-specific linter
- TSqlRules ★4 ⏳1Y - TSQL Static Code Analysis Rules for SQL Server
Swift
- SwiftFormat ★2044 - A library and command-line formatting tool for reformatting Swift code
- SwiftLint ★9610 - A tool to enforce Swift style and conventions
- Tailor ★1210 - A static analysis and lint tool for source code written in Apple’s Swift programming language.
TypeScript
- Codelyzer ★1685 - A set of tslint rules for static code analysis of Angular 2 TypeScript projects.
- TSLint ★3451 - An extensible linter for the TypeScript language.
- tslint-clean-code ★30 - A set of TSLint rules inspired by the Clean Code handbook.
- tslint-microsoft-contrib ★348 - A set of tslint rules for static code analysis of TypeScript projects maintained by Microsoft.
VBScript
- Test Design Studio - A full IDE with static code analysis for Micro Focus Unified Funtional Testing VBScript-based automated tests.
Multiple languages
- AppChecker - Static analysis for C/C++/C#, PHP and Java
- Application Inspector - Combined SAST, DAST, IAST security scanner for C#, PHP, Java, SQL languages
- AppScan - Commercial Static Code Analysis. Supports: Microsoft .NET Framework (C#, ASP.NET, VB.NET), ASP (JavaScript/VBScript), C/C++, COBOL, ColdFusion, JavaScript, JavaServer Pages (JSP), Java™ (including support for Android APIs), Perl, PHP, PL/SQL, T-SQL, Visual Basic 6
- APPscreener - Static code analysis for binary and source code - Java/Scala, PHP, Javascript, C#, PL/SQL, Python, T-SQL, C/C++, ObjectiveC/Swift, Visual Basic 6.0, Ruby, Delphi, ABAP, HTML5 and Solidity
- Axivion Bauhaus Suite - Tracks down error-prone code locations, style violations, cloned or dead code, cyclic dependencies and more for C/C++, C#/.NET, Java and Ada 83/Ada 95
- Checkmarx - Commercial Static Code Analysis which doesn’t require pre-compilation. Supports: Android (Java), Apex and VisualForce, ASP, C#, C/C++, Go, Groovy, HTML5, Java, JavaScript, Node.js, Objective C, Perl, PhoneGap, PHP, Python, Ruby, Scala, Swift, VB.NET, VB6, VBScript
- coala - Language independent framework for creating code analysis - supports over 60 languages by default
- Cobra - Structural source code analyzer by NASA’s Jet Propulsion Laboratory. Supports C, C++, Ada, and Python.
- codeburner ★65 - Provides a unified interface to sort and act on the issues it finds
- CodeFactor - Static Code Analysis for C#, C, C++, CoffeeScript, CSS, Groovy, GO, JAVA, JavaScript, Less, Python, Ruby, Scala, SCSS, TypeScript.
- CodeIt.Right - CodeIt.Right™ provides a fast, automated way to ensure that your source code adheres to (your) predefined design and style guidelines as well as best coding practices. Supported languages: C#, VB.NET.
- cqc ★247 - Check your code quality for js, jsx, vue, css, less, scss, sass and styl files.
- DevSkim ★188 - Regex-based static analysis tool for Visual Studio, VS Code, and Sublime Text - C/C++, C#, PHP, ASP, Python, Ruby, Java, and others.
- Fortify A commercial static analysis platform that supports the scanning of C/C++, C#, VB.NET, VB6, ABAP/BSP, ActionScript, Apex, ASP.NET, Classic ASP, VB Script, Cobol, ColdFusion, HTML, Java, JS, JSP, MXML/Flex, Objective-C, PHP, PL/SQL, T-SQL, Python (2.6, 2.7), Ruby (1.9.3), Swift, Scala, VB, and XML.
- Goodcheck ★15 - Regexp based customizable linter
- graudit ★293 - Grep rough audit - source code auditing tool - C/C++, PHP, ASP, C#, Java, Perl, Python, Ruby
- Hound CI - Comments on style violations in GitHub pull requests. Supports Coffeescript, Go, HAML, JavaScript, Ruby, SCSS and Swift.
- imhotep ★205 - Comment on commits coming into your repository and check for syntactic errors and general lint warnings.
- Infer ★8598 - A static analyzer for Java, C and Objective-C
- Klocwork - Quality and Security Static analysis for C/C++, Java and C#
- Kiuwan - Identify and remediate cyber threats in a blazingly fast, collaborative environment, with seamlessly integration in your SDLC. Python, C\C++, Java, C#, PHP and more
- oclint ★2666 - A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
- pfff ★2226 ⏳1Y - Facebook’s tools for code analysis, visualizations, or style-preserving source transformation for many languages
- PMD - A source code analyzer for Java, Javascript, PLSQL, XML, XSL and others
- pre-commit ★1981 - A framework for managing and maintaining multi-language pre-commit hooks.
- PVS-Studio - a (conditionaly free for FOSS) static analysis of C/C++ and C# code. For advertising purposes you can propose a large FOSS project for analysis by PVS employees ★16.
- Security Code Scan - Security code analyzer for C# and VB.NET. Detects various security vulnerability patterns: SQLi, XSS, CSRF, XXE, Open Redirect, etc.
- shipshape ★190 ⏳1Y - Static program analysis platform that allows custom analyzers to plug in through a common interface
- SonarQube - SonarQube is an open platform to manage code quality.
- STOKE ★282 - a programming-language agnostic stochastic optimizer for the x86_64 instruction set. It uses random search to explore the extremely high-dimensional space of all possible program transformations
- Synopsys - A commercial static analysis platform that allows for scanning of multiple languages (C/C++, Android, C#, Java, JS, PHP, Python, Node.JS, Ruby, Fortran, and Swift)
- TscanCode ★382 - A fast and accurate static analysis solution for C/C++, C#, Lua codes provided by Tencent. Using GPLv3 license.
- Undebt ★1513 - Language-independent tool for massive, automatic, programmable refactoring based on simple pattern definitions
- Veracode - Find flaws in binaries and bytecode without requiring source. Support all major programming languages: Java, .NET, JavaScript, Swift, Objective-C, C, C++ and more.
- WALA - static analysis capabilities for Java bytecode and related languages and for JavaScript
- Wotan ★30 - Pluggable TypeScript and JavaScript linter
- XCode - XCode provides a pretty decent UI for Clang’s static code analyzer (C/C++, Obj-C)
Other
Build tools
- checkmake ★152 - Linter / Analyzer for Makefiles
- codechecker ★449 - a defect database and viewer extension for the Clang Static Analyzer
Binaries
- BinSkim ★282 - A binary static analysis tool that provides security and correctness results for Windows portable executables.
- Jakstab ★67 - Jakstab is an Abstract Interpretation-based, integrated disassembly and static analysis framework for designing analyses on executables and recovering reliable control flow graphs.
- Manalyze ★392 - A static analyzer, which checks portable executables for malicious content.
- Twiggy ★135 - Analyzes a binary’s call graph to profile code size. The goal is to slim down binaries.
Containers
- anchore - Discover, analyze, and certify container images
- clair ★3687 - Vulnerability Static Analysis for Containers
- collector ★192 ⏳1Y - Run arbitrary scripts inside containers, and gather useful information
- dagda ★371 - Perform static analysis of known vulnerabilities in docker images/containers.
- Docker Label Inspector ★70 ⏳2Y - Lint and validate Dockerfile labels
- Haskell Dockerfile Linter - A smarter Dockerfile linter that helps you build best practice Docker images
Config Files
- gixy ★5264 - a tool to analyze Nginx configuration. The main goal is to prevent misconfiguration and automate flaw detection.
Configuration Management
- ansible-lint ★1075 - Checks playbooks for practices and behaviour that could potentially be improved
- cfn_nag ★241 - A linter for AWS CloudFormation templates.
- foodcritic - A lint tool that checks Chef cookbooks for common problems.
- Puppet Lint ★706 - Check that your Puppet manifests conform to the style guide.
CSS
- CSS Stats ★2114 - Potentially interesting stats on stylesheets
- CSScomb ★2640 - a coding style formatter for CSS. Supports own configurations to make style sheets beautiful and consistent
- CSSLint ★4262 - Does basic syntax checking and finds problematic patterns or signs of inefficiency
- Parker ★2341 - Stylesheet analysis tool
- sass-lint ★1470 - A Node-only Sass linter for both sass and scss syntax.
- scsslint ★3223 - Linter for SCSS files
- Specificity Graph ★612 ⏳2Y - CSS Specificity Graph Generator
- Stylelint - Linter for SCSS/CSS files
Gherkin
- gherkin-lint ★44 - A linter for the Gherkin-Syntax written in Javascript.
HTML
- HTML Inspector ★2345 - HTML Inspector is a code quality tool to help you and your team write better markup.
- HTML Tidy - Corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards.
- HTMLHint ★1895 - A Static Code Analysis Tool for HTML
- Polymer-analyzer ★168 - A static analysis framework for Web Components.
IDE Plugins
- ale ★5071 - Asynchronous Lint Engine for Vim and NeoVim with support for many languages
- Attackflow Extension - Attackflow plugin for Visual Studio, which enables developers to find critical security bugs at real time in the source code without any prior knowledge.
- DevSkim ★188 - Inline, realtime security analysis. Works with multiple programming languages and IDEs (VS, VS Code, Sublime Text, …).
- Puma Scan ★169 - Puma Scan provides real time secure code analysis for common vulnerabilities (XSS, SQLi, CSRF, LDAPi, crypto, deserialization, etc.) as development teams write code in Visual Studio.
- Security Code Scan - Security code analyzer for C# and VB.NET that integrates into Visual Studio 2015 and newer. Detects various security vulnerability patterns: SQLi, XSS, CSRF, XXE, Open Redirect, etc.
- vint ★395 - Fast and Highly Extensible Vim script Language Lint implemented by Python.
LaTeX
- ChkTeX - A linter for LaTex which catches some typographic errors LaTeX oversees.
- lacheck - A tool for finding common mistakes in LaTeX documents.
Makefiles
- portlint - A verifier for FreeBSD and DragonFlyBSD port directories
Markdown
- mdl - A tool to check markdown files and flag style issues.
Mobile
- android-lint-summary ★171 - Combines lint errors of multiple projects into one output, check lint results of multiple sub-projects at once.
- FlowDroid ★208 - static taint analysis tool for Android applications
- paprika ★37 - A toolkit to detect some code smells in analyzed Android applications.
- qark ★1668 - Tool to look for several security related Android application vulnerabilities
Packages
- lintian ★26 - Static analysis tool for Debian packages
- rpmlint ★33 - Tool for checking common errors in rpm packages
Supporting Tools
- LibVCS4j ★3 - A Java library that allows existing tools to analyse the evolution of software systems by providing a common API for different version control systems and issue trackers.
Template-Languages
- ember-template-lint - Linter for Ember or Handlebars templates.
- haml-lint ★190 - Tool for writing clean and consistent HAML
- slim-lint ★104 - Configurable tool for analyzing Slim templates
- yamllint ★421 - Checks YAML files for syntax validity, key repetition and cosmetic problems such as lines length, trailing spaces, and indentation.
Translation
- dennis ★38 ⏳1Y - A set of utilities for working with PO files to ease development and improve quality.
Writing
- misspell-fixer ★90 - Quick tool for fixing common misspellings, typos in source code
- proselint ★2811 - a linter for English prose with a focus on writing style instead of grammar.
- vale - A customizable, syntax-aware linter for prose.
- write-good ★3357 - A linter with a focus on eliminating “weasel words”.
Web services
- Attackflow - Application security testing tool with rules grouped into nine classes including Authorization, Injection, Cryptography, Authentication and Code Quality.
- Bithound - Code Analysis beyond Lint, specifically for Node.js.
- Codacy - Code Analysis to ship Better Code, Faster.
- Code Climate - The open and extensible static analysis platform, for everyone.
- CodeFactor - Automated Code Analysis for repos on GitHub or BitBucket.
- Functor Prevent - Static code analysis for C code.
- Gamma - An intelligent software analytics platform that identifies issues from multiple lenses: Design issues, code issues, duplication and metrics. Available for Java, C, C++ and C#.
- kiuwan - Software Analytics in the Cloud supporting more than 22 programming languages.
- Landscape - Static code analysis for Python
- Layered Insight - Container native application protection to provide visibility and control of containerized applications.
- Nitpick CI - Automated PHP code review
- Node Security Platform - Continuous Security monitoring for your node apps (free for Open Source Projects)
- QuantifiedCode - Automated code review & repair
- Scrutinizer - A proprietery code quality checker that can be integrated with GitHub
- SensioLabs Insight - Detect security risks, find bugs and provide actionable metrics for PHP projects
- Sider - An automated code reviewing tool. Improving developers’ productivity.
- Snyk - Vulnerability scanner for dependencies of node.js apps (free for Open Source Projects)
- Teamscale - Static and dynamic analysis tool supporting more than 25 languages and direct IDE integration. Free hosting for Open Source projects available on request. Free academic licenses available.
- Upsource - Code review tool with static code analysis and code-aware navigation for Java, PHP, JavaScript and Kotlin.
More collections
- go-tools ★1654 - A collection of tools and libraries for working with Go code, including linters and static analysis
- linters ★227 - An introduction to static code analysis
- php-static-analysis-tools ★1536 - A reviewed list of useful PHP static analysis tools
- Tools for C/C++ - A list of static analysis tools for C/C++
- Wikipedia - A list of tools for static code analysis.
License
To the extent possible under law, Matthias Endler has waived all copyright and related or neighboring rights to this work. Title image Designed by Freepik. —
This list is a copy of mre/awesome-static-analysis with ranks