Sciweavers

WCRE
1995
IEEE

On Finding Duplication and Near-Duplication in Large Software Systems

14 years 3 months ago
On Finding Duplication and Near-Duplication in Large Software Systems
This paper describes how a program called dup can be used to locate instances of duplication or nearduplication in a software system. D u p reports both textually identical sections of code and sections that are the same textually except for systematic substitution of one set of variable names and constants for another. Further processing locates longer sections of code that are the same except for other small modifications. Experimental results from running dup on millions of lines from two large software systems show dup to be both effective at locating duplication and fast. Applications could include identifying sections of code that should be replaced by procedures, elimination of duplication during reengineering of the system, redocumentation to include references to copies, and debugging.
Brenda S. Baker
Added 26 Aug 2010
Updated 26 Aug 2010
Type Conference
Year 1995
Where WCRE
Authors Brenda S. Baker
Comments (0)