4. PHP Mess Detector ( PHP MD )
Trying to be equivalent of Java Tool PMD Looks for
potential problems such as :
• if your function is too long
• if your function has too many
parameters
• variable names too long or too short
• too many nested cycles
• Use of eval()
• Name of covention
consistency
• Unused methodes or
variables
6. PHP MD
Usage
phpmd [directory name] [format] [rule]
directory name = php directory
format = xml, text, html
rules = any of the available rules
http://phpmd.org/rules/index.html