Title :
Aiding comprehension of cloning through categorization
Author :
Kapser, Cory ; Godfrey, Michael W.
Author_Institution :
Sch. of Comput. Sci., Waterloo Univ., Ont., Canada
Abstract :
Management of duplicated code in software systems is important in ensuring its graceful evolution. Commonly clone detection tools return large numbers of detected clones with little or no information about them, making clone management impractical and unscalable. We have used taxonomy of clones to augment current clone detection tools in order to increase the user comprehension of duplication of code within software systems and filter false positives from the clone set. We support our arguments by means of 2 case studies, where we found that as much as 53% of clones can be grouped to form function clones or partial function clones and we were able to filter out as many as 65% of clones as false positives from the reported clone pairs.
Keywords :
program compilers; program diagnostics; software maintenance; software prototyping; software tools; clone categorization; clone detection tools; clone management; cloning comprehension; duplicated code management; partial function clones; software evolution; software systems; Cloning; Computer bugs; Computer science; Graphical user interfaces; Information filtering; Information filters; Software architecture; Software systems; Software tools; Taxonomy;
Conference_Titel :
Software Evolution, 2004. Proceedings. 7th International Workshop on Principles of
Print_ISBN :
0-7695-2211-4
DOI :
10.1109/IWPSE.2004.1334772