On finding duplication and near-duplication in large software systems

492Citations
Citations of this article
170Readers
Mendeley users who have this article in their library.
Get full text

Abstract

This paper describes how a program called dup can be used to locate instances of duplication or near-duplication in a software system. Dup 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.

Cite

CITATION STYLE

APA

Baker, B. S. (1995). On finding duplication and near-duplication in large software systems. In Reverse Engineering - Working Conference Proceedings (pp. 86–95). IEEE. https://doi.org/10.1109/wcre.1995.514697

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free