How to work with duplicate code under Linux?

I am looking for the best approach to working with duplicate code in an outdated PHP project with approximately 150 thousand lines of code.

Is this something best suited manually or are there standalone duplicate code detectors that will ease the pain?

+5
source share
4 answers

As mentioned in other answers, this has to be approached manually, because you can change other things as you go, to clear the code base. Perhaps the actual call is already superfluous, or similar fragments can be combined.

, , , . , c & p .

, , , ( ). Google " php", , , IDE.

+2

CloneDR , , , , langauge. , .

, PHP. PHP Joomla ( PHP) .

+2

, !

, , , , .

, , , , .

, !

+1
0

All Articles