Jump to content

List of tools for static code analysis

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 62.180.118.126 (talk) at 12:08, 5 July 2006 (added PMD's Copy/Paste Detector for PHP). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is a list of software tools that perform various kinds of static code analysis, grouped by programming language and in alphabetical order:

C and/or C++

Tool License Version Details
FxCop commercial 1.35
Lattix LDM commercial 2.7 Architecture Management using dependency analysis
Visual_Studio commercial 2005 Visual Studio 2005 Team Suite or Team Edition for Software Developers only, has integrated FxCop and PREFast functionality.
  • JSLint - An online tool which you can also download and run from command line
  • Javascript Lint - A lint like tool for javascript written in C/C++ and based on JavaScript engine for the Firefox browser.
  • PHP executes a built-in basic Lint check when invoked with the -l switch. Example usage: for i in `find . -name \*.php`; do php -l $i | grep -v "No syntax errors"; done
  • PMD's Copy/Paste Detector
  • Zend Studio IDE includes static code analysis for PHP, called the "Code Analyzer".

Not language-specific

  • PAG and PAG/WWW - The Program Analyzer Generator, not for a specific language, but for building analyzers.
  • StackAnalyzer - Stack Usage Analysis.

Unknown language

See also

  • The Introspector page lists more software programs of this type.