File | Settings | Languages and Frameworks | PHP | Mess Detector
The page is available only when the PHP plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If not, enable it as described in Enabling and Disabling Plugins.
|PHP Mess Detector (phpmd) Path||
In this text box, specify the location of the Mess Detector executable file
To check that the specified path to
|Maximum number of messages per file||
In this text box, set the upper limit for the total number of messages to be reported for a file. All the messages above this limit will be rejected.
PhpStorm will display the following warning right in the code:
|Tool process timeout||In this text box, specify how long you want PhpStorm to wait for a result from PHP Mess Detector, whereupon the process is killed to prevent excessive CPU and memory usage. This gives you the capability to fine tune the PHP Mess Detector process behavior depending on the configuration of your computer and the rule sets used.|
This area displays a list of files that Mess Detector skips. PhpStorm suggests adding a new file to the list during inspection when waiting for response from the Mess Detector exceeds the limit specified in the Tool process timeout field.
This is done to prevent slowing down processing. For each file, PhpStorm displays its name and location.