PHP Static Analysis

Compare tools | Try tools now

This table lets you compare the major features of each static analysis tool. Another good way to compare tools is with the live demo.

Tool Checks code complexity / risk Checks code style: whitespace, etc. Checks code style: good variable names, etc. Checks code for bugs Provides code metrics
PHP_CodeSniffer Yes
PHP Mess Detector Yes Yes
PhpMetrics Yes Yes (HTML report)