Student or educator? Sign up with your school email and get 6 months of Pro free.
Cited by 717

The DOI matches its Crossref record.

On finding duplication and near-duplication in large software systems

Baker, B.S.·2002·Proceedings of 2nd Working Conference on Reverse Engineering

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.

Overview

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/wcre.1995.514697

Cites

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

No references could be resolved yet.

Research works printed but not linked: 19

  1. johnson, 1991, Personal communication
  2. kernighan, 1984, The Unix Programming Environment
  3. malmi, 1992, Detecting plagiarism in Pascal and C programs
  4. manber, 1994, Finding similar files in a large file system, Proc 1994 Winter USENIX Technical Conference, 1
  5. mccabe, 1990, Reverse engineering, reusability, redundancy: the connection, American Programmer, 3, 8
  6. 10.1145/321941.321946 · DOI · Paper page
  7. 10.1109/52.210605 · doi:10.1109/52.210605
  8. 10.1145/322234.322237 · doi:10.1145/322234.322237
  9. scheifler, 1986, The X window system, ACM Transactions on Graphics, 5, 79, 10.1145/22949.24053 · DOI · Paper page
  10. 10.1109/TIT.1977.1055714 · DOI · Paper page
  11. baker, 1995, Parameterized pattern matching via boyer-moore-type algorithms, Proc Sixth Ann ACM-SIAM Symp Discrete Algorithms, 541
  12. 10.1006/jcss.1996.0003 · DOI · Paper page
  13. 10.2307/1390697 · doi:10.2307/1390697
  14. 10.1145/988241.988245 · DOI
  15. 10.1093/comjnl/31.1.1 · DOI
  16. 10.1145/93542.93574 · doi:10.1145/93542.93574
  17. baker, 1993, A theory of parameterized pattern matching: algorithms and applications (extended abstract), Proc The 19th Annual ACM Symposium on Theory of Computing, 71
  18. 10.1145/73560.73561 · doi:10.1145/73560.73561
  19. 10.1109/ICSM.1994.336783 · DOI

Cited by

See all 717

Metadata

Authors
Baker, B. S.
Venue
Proceedings of 2nd Working Conference on Reverse Engineering
Published
2002-11-19
Pages
86-95
OpenAlex
W2109943392
Cited by
717
References
0
FWCI
24.24
Type
conference paper
Language
en
Open access
closed

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: On finding duplication and near-duplication in large software systems. https://app.cochat.ai/papers/10.1109/wcre.1995.514697
The paper
Baker, B. S. (2002). On finding duplication and near-duplication in large software systems. Proceedings of 2nd Working Conference on Reverse Engineering. https://doi.org/10.1109/wcre.1995.514697

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.