Mantis - Mascot
Erweiterte Problemanzeige
71 general Feature-Wunsch N/A 2011-01-25 11:06 2011-07-12 05:00
anonymous  
xclerc  
normal  
erledigt  
erledigt  
keine    
keine 1.0-beta  
0000071: detect codeduplication
Hello,

it would be useful if Mascot could be detect ranges where code is duplicated and will be candidate for refactoring. See http://pmd.sourceforge.net/cpd.html [^] for solutions. Thanks :)
Problem-Historie
2011-01-25 11:06 anonymous Neues Problem
2011-01-26 20:17 xclerc Problemnotiz hinzugefügt: 0000235
2011-01-26 20:17 xclerc Bearbeitung durch => xclerc
2011-01-26 20:17 xclerc Status neu => anerkannt
2011-07-12 05:00 xclerc Status anerkannt => erledigt
2011-07-12 05:00 xclerc Behoben in Version => 1.0-beta
2011-07-12 05:00 xclerc Lösung offen => erledigt

Notiz
(0000235)
xclerc   
2011-01-26 20:17   
You are right, this feature is a must-have for style-checking tools.
It will require some modification to the Mascot engine, but will be done
for the next version.

Thanks for the pointer, I will probably directly implement a (variant of ?)
the Karp-Rabin algorithm (*).


(*) see http://en.wikipedia.org/wiki/Rabin [^]–Karp_string_search_algorithm
for an overview