Everything About ___
Live briefing

Everything about Duplicate code

Repeated fragment of computer source code

In computer programming, duplicate code is multiple occurrences of equivalent source code in a codebase. A duplicate code fragment is also known as a code clone, and the process of finding clones in source code is called clone detection. Duplicate code has multiple undesirable aspects. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Duplicate codeA 5-minute orientation
  2. Skim a recent paper: A new thread-level speculative automatic parallelization model and library based on duplicate code executionInfluential work since 2022
  3. Pick up a classic book: BibleThe most-reprinted book on the subject
  4. Read the landmark paper: Studying Duplicate Logging Statements and Their Relationships With Code ClonesCited 21 times
  5. Go sideways: Programming styleA closely related topic
  6. Go sideways: Code refactoringA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Cost
  2. Emergence
  3. Fixing
  4. Detecting

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics