What PHPMD does is: It takes a given PHP source code base and look for several potential problems within that source. These problems can be things like: Possible bugs, Suboptimal code, Overcomplicated expressions, Unused parameters, methods, properties