anonym | Anmelden | Neues Konto anmelden | 2022-07-02 16:53 UTC |
Startseite | Übersicht | Probleme anzeigen | Änderungsprotokoll | Roadmap | Dokumentation | Konto |
Erweiterte Problemanzeige [ Zu Notizen wechseln ] | [ einfache Anzeige ] [ Problem-Historie ] [ Drucken ] | ||||||
ID | Kategorie | Auswirkung | Reproduzierbar | Meldungsdatum | Letzte Aktualisierung | ||
0000071 | [Mascot] general | Feature-Wunsch | N/A | 2011-01-25 11:06 | 2011-07-12 05:00 | ||
Reporter | anonymous | Anzeigestatus | öffentlich | ||||
Bearbeitung durch | xclerc | ||||||
Priorität | normal | Lösung | erledigt | Rechnertyp | |||
Status | erledigt | Betriebssystem | |||||
Projektion | keine | BS-Version | |||||
Aufwand | keine | Behoben in Version | 1.0-beta | Produktversion | |||
Zielversion | Produkt-Build | ||||||
Zusammenfassung | 0000071: detect codeduplication | ||||||
Beschreibung |
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 :) |
||||||
Schritte zur Reproduktion | |||||||
Zusätzliche Information | |||||||
Tags | Keine Tags zugeordnet. | ||||||
Angehängte Dateien | |||||||
|
![]() |
|
(0000235) xclerc (Administrator) 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 |
Mantis 1.1.7[^] Copyright © 2000 - 2008 Mantis Group |