Answer the question
In order to leave comments, you need to log in
Is there a PHP unused code analyzer?
Hello. I got a project in which the developers did not remove the old code and did not mark it as depricated. It's hard to figure out what's really relevant and what's not.
Is there a good code analyzer to detect unnecessary code? There is a wonderful Find Usage in phpStorm, but it does not give a picture as a whole: when deleting some method, you have to go through all the others again.
Maybe there is some such analyzer?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
PHP Dead Code Detector : https://github.com/sebastianbergmann/phpdcd
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question