Testability analysis for PHP
Is there any tool that reports on the testability of a PHP codebase?
I'm familiarised with what makes the code unit-testable, but I need a way to visualize it so I can easily find which classes can already be tested, and which ones will need some refactoring (and how much of it).
I'm pretty sure there are several tools for the job for other languages, but I can't find anything for PHP.
How about the PHP Mess Detector, it generates all kinds of metrics about the code.
Although its focus is not test-ability I think cleaning up the "mess" will lead to much better testable code. Since its a rules based system and open-source you could add more rules that are test-ability specific, maybe its possible to borrow rules from other products.