|PHP Mess Detector (phpmd) Path||
In this text box, specify the location of the Mess Detector executable file phpmd.bat.
Type the path manually or click the Browse button and select the path in the dialog box, that opens.
If you installed the tool through Composer, the default location is <project root folder>\vendor\bin\phpmd.bat.
To check that the specified path to phpmd.bat ensures interaction between PhpStorm and Mess Detector, that is, the tool can be launched from PhpStorm and PhpStorm will receive problem reports from it, click the Validate button. This validation is equal to running the phpmd --version command. If validation passes successfully, PhpStorm displays the information on the detected Mess Detector version.
|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: Too many PHP Mess Detector messages and suggest adding the file to the Ignored files list.|
|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 possibility 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 the amount of messages reported in the file exceeds the limit specified in the Maximum number of messages per file field,
thus slowing down PhpStorm. For each file, PhpStorm displays its name and location.