Abstract | ||
---|---|---|
In the last decade, several researchers have investigated techniques to automatically detect duplicated code in programs exceeding hundreds of thousands lines of code. All of these techniques have known merits and deficiencies, but as of today, little is known on how these techniques fit into the refactoring process of object-oriented systems. This paper compares three representative detection techniques (simple line matching, parameterized matching, and metric fingerprints) by means of five small to medium sized cases and analyses the differences between the reported matches. Based on this comparison, we conclude that (1) simple line matching is best suited for a partial, yet advanced restructuring with little effort; (2) metric fingerprints work best for refactoring a system with minimal effort; (3) parameterized matching demands more effort yet allows a more profound, less obvious restructuring of the code. |
Year | DOI | Venue |
---|---|---|
2004 | 10.1109/ASE.2004.34 | ASE |
Keywords | Field | DocType |
advanced restructuring,minimal effort,refactoring process,thousands line,obvious restructuring,metric fingerprint,parameterized matching demand,refactoring perspective,parameterized matching,last decade,clone detection techniques,simple line matching,lines of code,software maintenance,software metrics,object oriented programming | Static program analysis,Parameterized complexity,Programming language,Object-oriented programming,Computer science,Theoretical computer science,Line matching,Software metric,Code refactoring,Source lines of code,Restructuring | Conference |
ISBN | Citations | PageRank |
0-7695-2131-2 | 27 | 1.52 |
References | Authors | |
12 | 2 |
Name | Order | Citations | PageRank |
---|---|---|---|
Filip Van Rysselberghe | 1 | 183 | 13.97 |
Serge Demeyer | 2 | 2250 | 291.74 |