Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
List of tools for static code analysis

This is a list of notable tools for static program analysis (program analysis is a synonym for code analysis).

Static code analysis tools

ToolLatest releaseFree softwareSupported languagesNotes
AdaC, C++, C#, Objective-CJVMJavaScript, TypeScript.NET, VB.NETPythonOther languages
Astrée2024-10 (24.10)No; proprietaryC, C++Finds all potential runtime errors and data races by abstract interpretation, can prove their absence, and can prove functional assertions; tailored towards safety-critical C/C++ code (e.g. avionics and automotive). Includes MISRA checker.
Axivion Suite2025-05-19

(7.10)

No; proprietaryC, C++, C#QML, Axivion CUDAStatic code analysis suite designed for safety-critical and security-focused software development with certification support for ISO 26262, IEC 61508, IEC 62304, EN 50128, and EN 50657. Comprehensive analysis includes coding standards compliance (MISRA C/C++, AUTOSAR, CERT, CWE), clone detection, dead code analysis, architecture verification, cycle detection, and metrics monitoring. Includes qualification kit for regulated environments such as automotive, aerospace, medical devices, and security applications.
BLAST (retired)2015-10-30 (2.7.3)Yes; ASL 2CAn open-source software model checker for C programs based on lazy abstraction (follow-on project is CPAchecker.1).
Clang2025-06-27 (20.1.0-rc3)Yes; ASL 2 with LLVM ExceptionsC, C++, Objective-CAn open-source compiler that includes a static analyzer. As of version 3.2, this analyzer is included in Xcode.23
Coccinelle2021-09-06 (1.1.1)Yes; GPLv2CAn open-source source code pattern matching and transformation.
Code Dx (Defunct 2021)2015-01-15No; proprietaryC, C++, C#Java, JSP, ScalaJavaScriptVB.NETPythonPHP, Rails, Ruby, XML4Software application vulnerability correlation and management system that uses multiple SAST and DAST tools, as well as the results of manual code reviews. Can calculate cyclomatic complexity.
CodePeer2021-05-07 (21)No; proprietaryAdaAn advanced static analysis tool that detects potential run-time logic errors in Ada programs.
CodeScene2023-10-13

(6.3.5)

No; proprietaryC, C++, C#, Objective-CJava, Groovy, ScalaJavaScript, TypeScriptVB.NETPythonSwift, Go, PHP, RubyBehavioral analysis of code. Helps identify, prioritize, and manage technical debt. Measures organizational aspects of developer teams. Automated pull request integrations.
CodeQL2023-02-07 (CLI: 2.12.2)No; proprietaryC, C++, C#Java, KotlinJavaScript, TypeScript.NETPythonGo, RubyA code searching tool with an emphasis on finding software bugs. Search patterns are written in a query language which can search the AST and graphs (CFG, DFG, etc.) of supported languages. A plugin is available for Visual Studio.
ConQAT (retired)2015-02-01Yes; ASL 2AdaC#, C++JavaJavaScriptABAPContinuous quality assessment toolkit that allows flexible configuration of quality analyses (architecture conformance, clone detection, quality metrics, etc.) and dashboards.
Coverity2023-04-29 (2022.12)5No; proprietaryC, C++, C#, Objective-CJavaJavaScript, TypeScriptPythonRuby, PHPMulti-language tool for security and quality issues. Supports compliance standards (MISRA, ISO 26262 and others). Free to use for open-source projects.
ECLAIR2021-07-15 (3.11)6No; proprietaryC, C++Multi-language tool for software verification. Applications range from coding rule validation, to automatic generation of testcases, to the proof of absence of run-time errors or generation of counterexamples, and to the specification of code matchers and rewriters based both syntactic and semantic conditions. Supports compliance standards (MISRA, Embedded C Coding Standard and others).
CPAchecker2022-01-24 (2.1.1)Yes; ASL 2CA configurable software verification tool for execution path checking of C.
Cppcheck2023-09-10 (2.12)Yes; GPLv3C, C++Open-source tool that checks for several types of errors, including use of STL. MISRA support is being added.
Cppdepend2023-03-01 (2023.1)7No; proprietaryC, C++Simplifies managing a complex C/C++ code base by analyzing and visualizing code dependencies, by defining design rules, by doing impact analysis, and comparing different versions of the code.
Cpplint2020-07-29Yes; CC-BY-3.08C++An open-source tool that checks for compliance with Google's style guide for C++ coding.
Fluctuat2001No; proprietaryAda95CAbstract interpreter for the validation of numerical properties of programs.
Frama-C2022-06-21Yes; LGPL v2.1, BSD, QPLCAn open-source extensible analysis framework for C with several analyzers and a specification language common to all of them. Includes analyses based on abstract interpretation, deductive verification and runtime monitoring.
GrammaTech CodeSonar2020-06-01 (5.3)No; proprietaryC, C++, Objective-CJavaDefect detection (buffer overruns, memory leaks, etc.), concurrency and security checks, architecture visualization and software metrics.
GCC2023-4-26 (13.1)Yes; GPLv3+ with GCC Runtime Library ExceptionCCompiling with -fanalyzer flag (available from GCC 10) enables the static analyzer functionality9
HCL Security AppScan Source2020-12-01 (10.0.3)No; proprietaryC, C++Java, JSPJavaScript.NETPythonColdFusion, ASP, PHP, Perl, Visual Basic 6, PL/SQL, T-SQL, COBOLAnalyzes source code to identify security vulnerabilities while integrating security testing with software development processes and systems.
Helix QAC2023-04 (2023.1)No; proprietaryC, C++Formerly PRQA QA·C and QA·C++, deep static analysis of C/C++ for quality assurance and guideline/coding standard enforcement with MISRA support.
Infer Static Analyzer2024-06-21 (1.2.0)Yes; MITC, C++, Objective-CJavaTargets null pointer problems, leaks, concurrency issues and API usage for Facebook's mobile apps. Available as open source on GitHub. Sometimes referred as Facebook Infer.
Imagix 4D2020-10-01 (10.1.0)No; proprietaryC, C++JavaWindows and Linux versions.
Kiuwan2020-07-22No; proprietaryC, C++, C#, Objective-CJava, JSPJavaScriptVB.NETABAP, COBOL, PHP, PL/SQL, T-SQL, SQL, Visual Basic, AndroidSoftware Analytics end-to-end platform for static code analysis and automated code review. It covers defect detection, application security & IT Risk Management, with enhanced life cycle and application governance features. Support for over 20 languages.
Klocwork2023-04-04 (2023.1)No; proprietaryC, C++, C#JavaJavaScriptPythonKotlinProvides security vulnerability, standards compliance (MISRA, ISO 26262 and others), defect detection and build-over-build trend analysis
LDRA Testbed2021-05-07 (v9.8.6)No; proprietaryAda83, Ada95C, C++Assembler (Intel, Freescale, Texas Instruments)A software analysis and testing tool suite, that performs static analysis, standards enforcement (eg. MISRA C/C++), dynamic analysis, unit testing and requirements traceability.
Lint1978-07-26Yes; permissive BSD-like10CThe original, from 1978, static code analyzer for C.
MALPASNo; proprietaryAdaCPascal, Assembler (Intel, PowerPC and Motorola)A software static analysis toolset for a variety of languages. Used primarily for safety critical applications in Nuclear and Aerospace industries.
Moose2021-01-21 (7.0.3)Yes; MITC, C++Java.NETSmalltalkMoose started as a software analysis platform with many tools to manipulate, assess or visualize software. It can evolve to a more generic data analysis platform.
NDepend2022-03-16 (2022.1)11No; proprietaryC#VB.NET .NETSimplifies managing a complex .NET code base by analyzing and visualizing code dependencies, by defining design rules, by doing impact analysis, and by comparing different versions. Integrates into Visual Studio.
.NET Compiler Platform (Roslyn)2020-12-08 (3.8.0)Yes; MITC#VB.NETOpen-source compiler framework for C# and Visual Basic .NET developed by Microsoft .NET. Provides an API for analyzing and manipulating syntax. FxCop rules were implemented into Roslyn.
Parasoft C/C++test2024-12-03 (2024.2)No; proprietaryC, C++A C/C++ tool with AI that does static analysis, unit testing, code review, and runtime error detection along with enforcement of safety and security standards; plugins available for Visual Studio, Visual Studio Code and Eclipse-based IDEs as well as Github integration.
Parasoft Jtest2024-12-03 (2024.2)No; proprietaryJavaA Java tool with AI that does static analysis and unit testing as well as enforcement of safety and security standards; plugins available for IntelliJ IDEA, Visual Studio Code and Eclipse-based IDEs as well as Github integration.
PC-lint Plus2022-08-02 (2.0 Beta 2)No; proprietaryC, C++A static analysis tool used to detect a wide range of defects, identify suspicious code, enforce various coding standards (MISRA/AUTOSAR/etc), calculate and report complex metrics, and implement user-defined checks.
PMD2023-2-25 (6.55.0)Yes; BSD-likeC, C++Java, JSPJavaScriptColdFusion, PHPduplicate code detection (e.g.)12 code.
Polyspace2022-09-15No; proprietaryAdaC, C++Uses abstract interpretation to detect and prove the absence of certain run time errors and dead code in source code as well as used to check all MISRA (2004, 2012) rules (directives, non directives).
Pretty Diff2019-04-21 (101.0.0)Yes; CC0JavaScript, TypeScriptMarkup, script and style languages (like XML, CSS)A language-specific code comparison tool that features language-specific analysis reporting in addition to language-specific minification and beautification algorithms.
PVS-Studio2024-08-16 (7.32)No; proprietaryC, C++, C++/CLI, C++/CX, C#JavaA software analysis tool.
Qodana2023-07-23 (2023.2)No; proprietaryC#Java, KotlinJavaScript, TypeScriptVB.NETPythonGo, HTML, PHP, CSS, Android, Vue.jsA code quality analysis tool that uses static code analysis.
RIPS2020-02-17 (3.4)No; proprietaryJavaPHPA static code analysis solution with many integration options for the automated detection of complex security vulnerabilities.
SAST Online2022-03-07 (1.1.0)No; proprietaryJavaKotlin, APKCheck the Android Source code thoroughly to uncover and address potential security concerns and vulnerabilities. Static application security testing (Static Code Analysis) tool Online
Semgrep2025-06-12 (1.125.0)Yes; LGPL v2.1JavaJavaScript, TypeScriptPythonGo, JSON, PHP, Ruby, language-agnostic modeA static analysis tool that helps expressing code standards and surfacing bugs early. It also has experimental support for eleven other languages. A CI service and a rule library is also available.
Sider2021-02-02No; proprietaryJavaScript, CoffeeScriptPythonRuby, PHP, GoStatic code analysis based automated code review tool working on GitHub and GitLab. Checks style, quality, dependencies, security and bugs. It integrates a number of open source static analysis tools.
SLAM project2010-07-14No; proprietaryCA project of Microsoft Research for checking that software (drivers) satisfies critical behavioral properties of the interfaces it uses.
SofCheck Inspector, Codepeer2020-08-24 (21.x)No; proprietaryAdaJavaStatic detection of logic errors, race conditions, and redundant code. automatically extracts pre-postconditions from code.
SonarQube2024-02-05 (10.4)Partly; framework is LGPL v3.0, but some features can be proprietaryC, C#, C++, Objective-CJava, Kotlin, ScalaJavaScript, TypeScriptVB.NETPythonABAP, Apex, CSS, COBOL, Flex, Go, HTML, PHP, PLI, PL/SQL, Ruby, Swift, TSQL, Visual Basic 6, XMLA continuous inspection engine that finds vulnerabilities, bugs and code smells. Also tracks code complexity, unit test coverage and duplication. Offers branch analysis and C/C++/Objective-C support via commercial licenses.
SourceMeter2016-12-16 (8.2)No; proprietaryC, C++JavaPythonRPG IV (AS/400)A platform-independent, command-line static source code analyzer. Integrates with PMD and SpotBugs.
Sourcetrail (retired)2021-04 (2021.4.19)Yes; GPLC, C++JavaPythonPerlAn open-source source code explorer that provides interactive dependency graphs and supports multiple programming languages.
Sparse2021-09-06 (0.6.4)Yes; MITCGCC extensionsAn open-source tool designed to find faults in the Linux kernel.
Splint2007-07-12 (3.1.2)Yes; GPLv2CAn open-source tool statically checking C programs for security vulnerabilities and coding mistakes.
StyleCop2016-05-02 (2016.1.0)Yes; Ms-PLC#.NETAnalyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Microsoft Visual Studio or integrated into an MSBuild project.
Squore2020-11-27 (20.1)No; proprietaryAdaC, C++, C#, Objective-CJavaJavaScript, TypeScriptVB.NETPythonFortran, PHP, PL/SQL, Swift, T-SQL, XAMLA multi-purpose and multi-language monitoring tool for software projects. It integrates with other scanners.
Understand2023-01-19 (6.3)No; proprietaryAdaC, C++, C#, Objective-CJavaJavaScriptPythonFORTRAN, Jovial, Pascal, VHDL, HTML, PHP, XMLA multi-platform tool for code analysis and comprehension of large code bases. Can recognize multiple dialects of C, C++ and C# like ANSI, K&R and Objective C++.
Visual Expert2021-09-10No; proprietaryPowerBuilder, Oracle PL/SQL, SQL Server Transact-SQL (T-SQL)Continuous Code inspection, reports on quality and security issues, helps understand complex code (cross-references, source code documentation, code comparison, code performance analysis).
Visual Studio2021-10-12 (16.11)No; proprietaryC, C++, C#VB.NETAn IDE that provides static code analysis for C/C++ both in the editor environment and from the compiler command line. Also includes the .NET Compiler Platform (Roslyn) which provides C# and VB.NET analysis.
Yasca (retired)2010-11-01 (2.21)Yes; multiple licensesC, C++JavaJavaScriptASP, PHP, HTML, CSS, ColdFusion, COBOLYet Another Source Code Analyzer, a plugin-based framework to scan arbitrary file types, with plugins. It integrates with other scanners, including FindBugs, PMD, and Pixy.
ToolReleaseFree softwareSupported languagesNotes

Languages

Ada

This section is a sublist. Links here will take you to the full list on the top of this article.

  • CodePeer
  • ConQAT
  • Fluctuat
  • LDRA Testbed
  • MALPAS
  • Polyspace
  • SofCheck Inspector
  • Squore
  • Understand

C, C++

This section is a sublist. Links here will take you to the full list on the top of this article.

  • Astree
  • Axivion Suite (Bauhaus)
  • BLAST
  • Clang
  • Coccinelle
  • Coverity
  • CPAchecker
  • Cppcheck
  • Cppdepend
  • Cpplint
  • ECLAIR
  • Eclipse
  • Fluctuat
  • Frama-C
  • GCC
  • Helix QAC
  • Facebook Infer
  • Klocwork
  • Lint
  • LDRA Testbed
  • Parasoft C/C++test
  • PC-lint Plus
  • Polyspace
  • PVS-Studio
  • SLAM project
  • Sparse
  • SonarQube
  • Splint
  • Understand
  • Visual Studio

C#

This section is a sublist. Links here will take you to the full list on the top of this article.

  • Axivion Suite (Bauhaus)
  • Code Dx
  • CodeScene
  • CodeQL
  • Coverity
  • Kiuwan
  • Klocwork
  • .NET Compiler Platform
  • PVS-Studio
  • SonarQube
  • Sotoarc
  • StyleCop
  • Squore
  • Understand
  • Visual Studio

IEC 61131-3

  • CODESYS Static Analysis – integrated add-on for CODESYS (application code realized e.g. in ST, FBD, LD)

Java

ToolLatest releaseFree softwareDuplicatecodeNotes
Checkstyle2020-01-26Yes; LGPLNoBesides some static code analysis, it can be used to show violations of a configured coding standard. Duplicate code detection was removed13 from Checkstyle.
Eclipse2017-06-28Yes; EPLNoCross-platform IDE with own set of several hundred code inspections available for analyzing code on-the-fly in the editor and bulk analysis of the whole project. Plugins for Checkstyle, FindBugs, and PMD.
FindBugs2015-03-06Yes; LGPLBased on Jakarta BCEL from the University of Maryland. SpotBugs is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community.
IntelliJ IDEA2021-04-06Yes; ASL 2YesA leading Java IDE with built-in code inspection and analysis. Plugins for Checkstyle, FindBugs, and PMD.
JArchitect2017-06-11No; proprietarySimplifies managing a complex code base by analyzing and visualizing code dependencies, defining design rules, doing impact analysis, and by comparing different versions of the code.
Jtest2024-11-01 (2024.2)No; proprietaryYesTesting and static code analysis product by Parasoft.
Soot2020-10-28Yes; LGPLA language manipulation and optimization framework consisting of intermediate languages.
PMD2021-01-30Yes; BSD LicenseYesStatic code analyzer with support for plugins, including CPD. PMD supports checking of several languages.
Squale2011-05-26Yes; LGPLA platform to manage software quality.
ThreadSafe2014-03-28No; proprietaryA static analysis tool focused on finding concurrency bugs.

This section is a sublist. Links here will take you to the full list on the top of this article.

  • Coverity
  • Facebook Infer
  • Klocwork
  • LDRA Testbed
  • PMD
  • RIPS
  • Semgrep
  • SourceMeter
  • Understand

JavaScript

  • ESLint – JavaScript syntax checker and formatter.
  • Google's Closure Compiler – JavaScript optimizer that rewrites code to be faster and smaller, and checks use of native JavaScript functions.
  • CodeScene – Behavioral analysis of code.
  • JSHint – A community driven fork of JSLint.
  • JSLint – JavaScript syntax checker and validator.
  • Klocwork
  • Semgrep – A static analysis tool that helps expressing code standards and surfacing bugs early. A CI service and a rule library is also available.
  • Understand

Objective-C, Objective-C++

  • Clang – The free Clang project includes a static analyzer. As of version 3.2, this analyzer is included in Xcode.14
  • Infer – Developed by an engineering team at Facebook with open-source contributors. Targets null pointers, leaks, API usage and other lint checks. Available as open source on github.
  • Understand

Opa

  • Opa includes its own static analyzer. As the language is intended for web application development, the strongly statically typed compiler checks the validity of high-level types for web data, and prevents by default many vulnerabilities such as XSS attacks and database code injections.

Packaging

  • Lintian – Checks Debian software packages for common inconsistencies and errors.
  • Rpmlint – Checks for common problems in rpm packages.

Perl

PL/SQL

PowerBuilder, PowerScript

Python

  • PyCharm – Cross-platform Python IDE with code inspections available for analyzing code on-the-fly in the editor and bulk analysis of the whole project.
  • PyDev – Eclipse-based Python IDE with code analysis available on-the-fly in the editor or at save time.
  • Pylint – Static code analyzer. Quite stringent; includes many stylistic warnings as well.
  • Klocwork
  • Semgrep – Static code analyzer that helps expressing code standards and surfacing bugs early. A CI service and a rule library is also available.
  • Understand

Transact-SQL

  • Visual Expert – A SQLServer code analysis tool16 that reports on programming issues and helps understand and maintain complex code (Impact Analysis, source code documentation, call trees, CRUD matrix, etc.).

Tools with duplicate code detection

For broader coverage of this topic, see Duplicate code.

This section is a sublist. Links here will take you to the full list on the top of this article.

  • Axivion Suite (Bauhaus)
  • Code Dx
  • CodeScene
  • PMD
  • SofCheck Inspector
  • SonarQube
  • SourceMeter
  • Understand

Formal methods tools

Tools that use sound, i.e. over-approximating a rigorous model, formal methods approach to static analysis (e.g., using static program assertions). Sound methods contain no false negatives for bug-free programs, at least with regards to the idealized mathematical model they are based on (there is no "unconditional" soundness). Note that there is no guarantee they will report all bugs for buggy programs, they will report at least one.

See also

References

  1. "CPAchecker". 2015-02-08. http://cpachecker.sosy-lab.org/

  2. "Static Analysis in Xcode". Apple. Archived from the original on 2009-09-05. Retrieved 2009-09-03. https://web.archive.org/web/20090905192610/http://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html

  3. "Running the analyzer within Xcode". Archived from the original on 5 December 2021. Retrieved 14 January 2022. https://web.archive.org/web/20211205091824/https://clang-analyzer.llvm.org/xcode.html

  4. "Supported Application Security Testing Tools and Languages". codedx.com. Retrieved Apr 25, 2017. https://codedx.com/supported-tools/

  5. "Coverity Scan website". Retrieved 2023-08-23. https://scan.coverity.com

  6. "ECLAIR website". Retrieved 2021-10-07. https://www.bugseng.com/eclair

  7. "CppDepend what's new". cppdepend.com. Retrieved 1 March 2023. https://www.cppdepend.com/cppdepend-version-2023

  8. "Readme.md of Google Style Guides". GitHub. Retrieved 8 November 2021. https://github.com/google/styleguide/blob/gh-pages/README.md

  9. Malcolm, David (2020-03-26). "Static analysis in GCC 10". Red Hat Developer. Retrieved 2022-04-13. https://developers.redhat.com/blog/2020/03/26/static-analysis-in-gcc-10

  10. "UNIX is free!". lemis.com. 2002-01-24. http://www.lemis.com/grog/UNIX/

  11. "NDepend what's new". ndepend.com. Retrieved 15 June 2022. https://www.ndepend.com/whatsnew

  12. "PMD - Browse /pmd/5.0.0 at SourceForge.net". Retrieved Dec 9, 2012. http://sourceforge.net/projects/pmd/files/pmd/5.0.0/

  13. "Remove StrictDuplicateCodeCheck and whole package · Issue #523 · checkstyle/Checkstyle". GitHub. https://github.com/checkstyle/checkstyle/issues/523

  14. "Static Analysis in Xcode". Apple. Retrieved 2009-09-03. https://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html

  15. "Visual Expert for Oracle - PL/SQL Code Analyzer". www.visual-expert.com. 2017-08-24. http://www.visual-expert.com/EN/stored-procedure-pl-sql-oracle-plsql/code-function-analysis-impact-source_wpcodeanalysis.html

  16. "Visual Expert for SQL Server - Transact SQL Code Analyzer". www.visual-expert.com. 2017-08-24. http://www.visual-expert.com/EN/stored-procedure-t-sql-server-mssql-tsql/sqlserver-code-function-impact-analysis-source_wpcodeanalysis.html

  17. Cousot, Patrick (2007). "The Role of Abstract Interpretation in Formal Methods". Fifth IEEE International Conference on Software Engineering and Formal Methods (SEFM 2007). IEEE International Conference on Software Engineering and Formal Methods. pp. 135–140. doi:10.1109/SEFM.2007.42. ISBN 978-0-7695-2884-7. S2CID 67212. 978-0-7695-2884-7