{
 "article": "https://w.n14n.dev/code-duplication/",
 "title": "Code duplication",
 "how_to_cite": "Cite the source of a claim, not this article. The article is an AI-written summary.",
 "how_claims_link": "A section lists the claims of the sources it cites, so a claim supports the section, not one sentence.",
 "verified_values": {
  "verified": "a verifier found the quote on the source page",
  "rejected": "a verifier read the source page and did not find the quote, or found it does not support the claim",
  "blocked": "a verifier could not open the source page, so the quote is unconfirmed",
  "unchecked": "never put to a verifier"
 },
 "read_values": {
  "raw": "the full text was read",
  "extracted": "large parts of the text were read",
  "abstract": "only the abstract was read",
  "snippet": "only a search snippet or summary was read",
  "blocked": "the page could not be opened"
 },
 "grade_values": {
  "solid": "the research rated the source highly trustworthy, and a verifier found every passage taken from it",
  "weak": "the research rated the source low, or a verifier did not find a passage taken from it",
  "medium": "the research rated the source medium; neither weak nor solid",
  "unchecked": "the research rated the source high, but a verifier could not check every passage taken from it (page blocked or not checked)",
  "retracted": "the work was retracted or withdrawn after publication; the article cites it only to say so"
 },
 "evidence_values": {
  "contested": "studies disagree on this",
  "weak": "few or small studies support this",
  "failed-replication": "when the study was repeated, the original result did not appear",
  "strong": "many studies agree on this",
  "replicated": "when other teams repeated the study, the original result appeared again",
  "null": "no note: the article does not single out the section's evidence"
 },
 "sections": [
  {
   "title": "Lead",
   "anchor": "lead",
   "evidence": null,
   "claims": [
    "yagni-dry-wet:C-w5-6",
    "yagni-dry-wet:C-w5-7",
    "yagni-dry-wet:C-w5-8",
    "yagni-dry-wet:C-w3-13",
    "yagni-dry-wet:C-w3-14",
    "yagni-dry-wet:C-w3-15",
    "yagni-dry-wet:C-w5-13",
    "yagni-dry-wet:C-w5-14",
    "yagni-dry-wet:C-w2-14",
    "yagni-dry-wet:C-w2-15",
    "yagni-dry-wet:C-w2-11",
    "yagni-dry-wet:C-w2-12",
    "yagni-dry-wet:C-w2-13",
    "yagni-dry-wet:C-w3-5",
    "yagni-dry-wet:C-w3-6",
    "yagni-dry-wet:C-w3-7",
    "yagni-dry-wet:C-w4-1",
    "yagni-dry-wet:C-w4-2",
    "yagni-dry-wet:C-w4-3",
    "yagni-dry-wet:C-w4-4",
    "yagni-dry-wet:C-w5-15"
   ]
  },
  {
   "title": "DRY, WET and the rule of three",
   "anchor": "dry-wet-and-the-rule-of-three",
   "evidence": null,
   "claims": [
    "yagni-dry-wet:C-w6-10",
    "yagni-dry-wet:C-w6-11",
    "yagni-dry-wet:C-w6-12",
    "yagni-dry-wet:C-w6-13",
    "yagni-dry-wet:C-w5-6",
    "yagni-dry-wet:C-w5-7",
    "yagni-dry-wet:C-w5-8",
    "yagni-dry-wet:C-w3-20",
    "yagni-dry-wet:C-w6-14",
    "yagni-dry-wet:C-w5-10",
    "yagni-dry-wet:C-w5-11",
    "yagni-dry-wet:C-w5-9",
    "yagni-dry-wet:C-w5-12",
    "yagni-dry-wet:C-w3-13",
    "yagni-dry-wet:C-w3-14",
    "yagni-dry-wet:C-w3-15",
    "yagni-dry-wet:C-w5-13",
    "yagni-dry-wet:C-w5-14",
    "yagni-dry-wet:C-w5-16",
    "yagni-dry-wet:C-w5-17",
    "yagni-dry-wet:C-w5-18",
    "yagni-dry-wet:C-w4-13"
   ]
  },
  {
   "title": "How common duplication is, and why programmers copy",
   "anchor": "how-common-duplication-is-and-why-programmers-copy",
   "evidence": null,
   "claims": [
    "yagni-dry-wet:C-w2-11",
    "yagni-dry-wet:C-w2-12",
    "yagni-dry-wet:C-w2-13",
    "yagni-dry-wet:C-w7-26",
    "yagni-dry-wet:C-w7-27",
    "yagni-dry-wet:C-w7-28",
    "yagni-dry-wet:C-w7-29",
    "yagni-dry-wet:C-w7-30",
    "yagni-dry-wet:C-w2-18",
    "yagni-dry-wet:C-w2-19",
    "yagni-dry-wet:C-w4-10",
    "yagni-dry-wet:C-w4-11",
    "yagni-dry-wet:C-w4-12",
    "yagni-dry-wet:C-w4-14",
    "yagni-dry-wet:C-w4-15",
    "yagni-dry-wet:C-w4-18",
    "yagni-dry-wet:C-w7-1",
    "yagni-dry-wet:C-w7-2"
   ]
  },
  {
   "title": "Do clones cause faults?",
   "anchor": "do-clones-cause-faults",
   "evidence": "contested",
   "claims": [
    "yagni-dry-wet:C-w2-14",
    "yagni-dry-wet:C-w2-15",
    "yagni-dry-wet:C-w2-1",
    "yagni-dry-wet:C-w2-2",
    "yagni-dry-wet:C-w2-3",
    "yagni-dry-wet:C-w2-4",
    "yagni-dry-wet:C-w2-5",
    "yagni-dry-wet:C-w7-1",
    "yagni-dry-wet:C-w7-2",
    "yagni-dry-wet:C-w2-6",
    "yagni-dry-wet:C-w2-7",
    "yagni-dry-wet:C-w2-8",
    "yagni-dry-wet:C-w2-10",
    "yagni-dry-wet:C-w2-9",
    "yagni-dry-wet:C-w2-11",
    "yagni-dry-wet:C-w2-12",
    "yagni-dry-wet:C-w2-13",
    "yagni-dry-wet:C-w6-6",
    "yagni-dry-wet:C-w6-7",
    "yagni-dry-wet:C-w7-33",
    "yagni-dry-wet:C-w7-34",
    "yagni-dry-wet:C-w1-19",
    "yagni-dry-wet:C-w12-16",
    "yagni-dry-wet:C-w12-15"
   ]
  },
  {
   "title": "Is cloned code more or less stable?",
   "anchor": "is-cloned-code-more-or-less-stable",
   "evidence": "contested",
   "claims": [
    "yagni-dry-wet:C-w6-1",
    "yagni-dry-wet:C-w6-2",
    "yagni-dry-wet:C-w6-3",
    "yagni-dry-wet:C-w6-4",
    "yagni-dry-wet:C-w6-5",
    "yagni-dry-wet:C-w7-18",
    "yagni-dry-wet:C-w7-19",
    "yagni-dry-wet:C-w7-20",
    "yagni-dry-wet:C-w7-21",
    "yagni-dry-wet:C-w7-22",
    "yagni-dry-wet:C-w7-23",
    "yagni-dry-wet:C-w7-24",
    "yagni-dry-wet:C-w1-15",
    "yagni-dry-wet:C-w1-21",
    "yagni-dry-wet:C-w1-14",
    "yagni-dry-wet:C-w12-12",
    "yagni-dry-wet:C-w1-20",
    "yagni-dry-wet:C-w2-16",
    "yagni-dry-wet:C-w2-17",
    "yagni-dry-wet:C-w12-14",
    "yagni-dry-wet:C-w1-13",
    "yagni-dry-wet:C-w6-8",
    "yagni-dry-wet:C-w6-9",
    "yagni-dry-wet:C-w7-25"
   ]
  },
  {
   "title": "Duplication or the wrong abstraction",
   "anchor": "duplication-or-the-wrong-abstraction",
   "evidence": "contested",
   "claims": [
    "yagni-dry-wet:C-w3-5",
    "yagni-dry-wet:C-w3-6",
    "yagni-dry-wet:C-w3-7",
    "yagni-dry-wet:C-w4-1",
    "yagni-dry-wet:C-w4-2",
    "yagni-dry-wet:C-w4-3",
    "yagni-dry-wet:C-w4-4",
    "yagni-dry-wet:C-w5-15",
    "yagni-dry-wet:C-w7-7",
    "yagni-dry-wet:C-w7-8",
    "yagni-dry-wet:C-w7-9",
    "yagni-dry-wet:C-w3-72",
    "yagni-dry-wet:C-w7-1",
    "yagni-dry-wet:C-w7-2",
    "yagni-dry-wet:C-w7-3",
    "yagni-dry-wet:C-w7-4",
    "yagni-dry-wet:C-w7-5",
    "yagni-dry-wet:C-w7-6",
    "yagni-dry-wet:C-w7-10"
   ]
  },
  {
   "title": "Experiments on indirection",
   "anchor": "experiments-on-indirection",
   "evidence": "weak",
   "claims": [
    "yagni-dry-wet:C-w13-3",
    "yagni-dry-wet:C-w13-1",
    "yagni-dry-wet:C-w13-2",
    "yagni-dry-wet:C-w13-4",
    "yagni-dry-wet:C-w4-5",
    "yagni-dry-wet:C-w4-6",
    "yagni-dry-wet:C-w4-7",
    "yagni-dry-wet:C-w4-8",
    "yagni-dry-wet:C-w4-9"
   ]
  },
  {
   "title": "Managing clones instead of removing them",
   "anchor": "managing-clones-instead-of-removing-them",
   "evidence": "weak",
   "claims": [
    "yagni-dry-wet:C-w7-26",
    "yagni-dry-wet:C-w7-27",
    "yagni-dry-wet:C-w7-28",
    "yagni-dry-wet:C-w7-29",
    "yagni-dry-wet:C-w7-30",
    "yagni-dry-wet:C-w7-31",
    "yagni-dry-wet:C-w7-32"
   ]
  },
  {
   "title": "Shared code across services",
   "anchor": "shared-code-across-services",
   "evidence": null,
   "claims": [
    "yagni-dry-wet:C-w3-16",
    "yagni-dry-wet:C-w3-17",
    "yagni-dry-wet:C-w10-10",
    "yagni-dry-wet:C-w10-11",
    "yagni-dry-wet:C-w10-12",
    "yagni-dry-wet:C-w10-13"
   ]
  },
  {
   "title": "What developers say about duplication",
   "anchor": "what-developers-say-about-duplication",
   "evidence": "weak",
   "claims": [
    "yagni-dry-wet:C-w6-28",
    "yagni-dry-wet:C-w6-29",
    "yagni-dry-wet:C-w6-30"
   ]
  },
  {
   "title": "When DRY and WET are said to apply",
   "anchor": "when-dry-and-wet-are-said-to-apply",
   "evidence": "weak",
   "claims": [
    "yagni-dry-wet:C-w3-5",
    "yagni-dry-wet:C-w3-6",
    "yagni-dry-wet:C-w3-7",
    "yagni-dry-wet:C-w4-1",
    "yagni-dry-wet:C-w4-2",
    "yagni-dry-wet:C-w4-3",
    "yagni-dry-wet:C-w4-4",
    "yagni-dry-wet:C-w5-15",
    "yagni-dry-wet:C-w3-16",
    "yagni-dry-wet:C-w3-17",
    "yagni-dry-wet:C-w3-72"
   ]
  },
  {
   "title": "Duplication in AI-written code",
   "anchor": "duplication-in-ai-written-code",
   "evidence": "contested",
   "claims": [
    "yagni-dry-wet:C-w5-20",
    "yagni-dry-wet:C-w5-21",
    "yagni-dry-wet:C-w5-22",
    "yagni-dry-wet:C-w6-23",
    "yagni-dry-wet:C-w5-27",
    "yagni-dry-wet:C-w5-28",
    "yagni-dry-wet:C-w6-24",
    "yagni-dry-wet:C-w6-25",
    "yagni-dry-wet:C-w6-26",
    "yagni-dry-wet:C-w6-27",
    "yagni-dry-wet:C-w5-23",
    "yagni-dry-wet:C-w11-10",
    "yagni-dry-wet:C-w11-9",
    "yagni-dry-wet:C-w5-29",
    "yagni-dry-wet:C-w5-24",
    "yagni-dry-wet:C-w5-25",
    "yagni-dry-wet:C-w5-26"
   ]
  },
  {
   "title": "Further reading",
   "anchor": "further-reading",
   "evidence": null,
   "claims": [
    "yagni-dry-wet:C-w5-6",
    "yagni-dry-wet:C-w5-7",
    "yagni-dry-wet:C-w5-8",
    "yagni-dry-wet:C-w3-5",
    "yagni-dry-wet:C-w3-6",
    "yagni-dry-wet:C-w3-7",
    "yagni-dry-wet:C-w4-1",
    "yagni-dry-wet:C-w4-2",
    "yagni-dry-wet:C-w4-3",
    "yagni-dry-wet:C-w4-4",
    "yagni-dry-wet:C-w5-15",
    "yagni-dry-wet:C-w2-18",
    "yagni-dry-wet:C-w2-19",
    "yagni-dry-wet:C-w4-10",
    "yagni-dry-wet:C-w4-11",
    "yagni-dry-wet:C-w4-12",
    "yagni-dry-wet:C-w2-1",
    "yagni-dry-wet:C-w2-2",
    "yagni-dry-wet:C-w2-3",
    "yagni-dry-wet:C-w2-4",
    "yagni-dry-wet:C-w2-5",
    "yagni-dry-wet:C-w6-1",
    "yagni-dry-wet:C-w6-2",
    "yagni-dry-wet:C-w6-3",
    "yagni-dry-wet:C-w6-4",
    "yagni-dry-wet:C-w6-5",
    "yagni-dry-wet:C-w7-18",
    "yagni-dry-wet:C-w7-19",
    "yagni-dry-wet:C-w7-20",
    "yagni-dry-wet:C-w7-21",
    "yagni-dry-wet:C-w7-22",
    "yagni-dry-wet:C-w7-23",
    "yagni-dry-wet:C-w7-24"
   ]
  }
 ],
 "claims": [
  {
   "id": "yagni-dry-wet:C-w5-6",
   "claim": "Dave Thomas, in an interview with Andy Hunt, says DRY means every piece of system knowledge should have one authoritative, unambiguous representation, and that it is not about avoiding duplicated code.",
   "quote": "DRY says that every piece of system knowledge should have one authoritative, unambiguous representation.",
   "source": {
    "id": "yagni-dry-wet:S-w5-2",
    "key": "venners2003c",
    "author": "Venners, Bill",
    "year": "2003a",
    "title": "Orthogonality and the DRY principle: A conversation with Andy Hunt and Dave Thomas",
    "publisher": "Artima Developer",
    "url": "https://www.artima.com/articles/orthogonality-and-the-dry-principle",
    "in_text": "Venners (2003a)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "interview giving the interviewees' opinions and advice; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-7",
   "claim": "Dave Thomas says DRY is not only about duplicated code.",
   "quote": "Most people take DRY to mean you shouldn't duplicate code. That's not its intention.",
   "source": {
    "id": "yagni-dry-wet:S-w5-2",
    "key": "venners2003c",
    "author": "Venners, Bill",
    "year": "2003a",
    "title": "Orthogonality and the DRY principle: A conversation with Andy Hunt and Dave Thomas",
    "publisher": "Artima Developer",
    "url": "https://www.artima.com/articles/orthogonality-and-the-dry-principle",
    "in_text": "Venners (2003a)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "interview giving the interviewees' opinions and advice; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-8",
   "claim": "Thomas says a system's knowledge is broader than its code.",
   "quote": "A system's knowledge is far broader than just its code.",
   "source": {
    "id": "yagni-dry-wet:S-w5-2",
    "key": "venners2003c",
    "author": "Venners, Bill",
    "year": "2003a",
    "title": "Orthogonality and the DRY principle: A conversation with Andy Hunt and Dave Thomas",
    "publisher": "Artima Developer",
    "url": "https://www.artima.com/articles/orthogonality-and-the-dry-principle",
    "in_text": "Venners (2003a)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "interview giving the interviewees' opinions and advice; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-13",
   "claim": "Dodds credits Sandi Metz with the idea behind AHA, 'prefer duplication over the wrong abstraction', and Cher Scarlett with the acronym.",
   "quote": "prefer duplication over the wrong abstraction",
   "source": {
    "id": "yagni-dry-wet:S-w5-3",
    "key": "dodds2020",
    "author": "Dodds, Kent C.",
    "year": "2020",
    "title": "AHA programming",
    "publisher": "kentcdodds.com",
    "url": "https://kentcdodds.com/blog/aha-programming",
    "in_text": "Dodds (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal opinion and anecdote, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-14",
   "claim": "Dodds subscribes to DRY but less dogmatically than its definition seems to encourage, and calls WET similarly dogmatic.",
   "quote": "You can ask yourself \"Haven't I written this before?\" two times, but never three.",
   "source": {
    "id": "yagni-dry-wet:S-w5-3",
    "key": "dodds2020",
    "author": "Dodds, Kent C.",
    "year": "2020",
    "title": "AHA programming",
    "publisher": "kentcdodds.com",
    "url": "https://kentcdodds.com/blog/aha-programming",
    "in_text": "Dodds (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal opinion and anecdote, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-15",
   "claim": "Dodds advises writing the abstraction when it feels right and optimising for change first.",
   "quote": "write the abstraction when it *feels* right and don't be afraid to duplicate code until you get there",
   "source": {
    "id": "yagni-dry-wet:S-w5-3",
    "key": "dodds2020",
    "author": "Dodds, Kent C.",
    "year": "2020",
    "title": "AHA programming",
    "publisher": "kentcdodds.com",
    "url": "https://kentcdodds.com/blog/aha-programming",
    "in_text": "Dodds (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal opinion and anecdote, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-13",
   "claim": "Dodds defines AHA as Avoid Hasty Abstractions and credits Cher Scarlett.",
   "quote": "Avoid Hasty Abstractions",
   "source": {
    "id": "yagni-dry-wet:S-w5-3",
    "key": "dodds2020",
    "author": "Dodds, Kent C.",
    "year": "2020",
    "title": "AHA programming",
    "publisher": "kentcdodds.com",
    "url": "https://kentcdodds.com/blog/aha-programming",
    "in_text": "Dodds (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal opinion and anecdote, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-14",
   "claim": "Dodds describes WET (Write Everything Twice) as a dogmatic counterpart to DRY.",
   "quote": "Write Everything Twice",
   "source": {
    "id": "yagni-dry-wet:S-w5-3",
    "key": "dodds2020",
    "author": "Dodds, Kent C.",
    "year": "2020",
    "title": "AHA programming",
    "publisher": "kentcdodds.com",
    "url": "https://kentcdodds.com/blog/aha-programming",
    "in_text": "Dodds (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal opinion and anecdote, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-14",
   "claim": "Hordijk et al.: surprisingly little is known empirically about the harmfulness of duplication.",
   "quote": "Therefore surprisingly little is known empirically about the harmfulness of duplication.",
   "source": {
    "id": "yagni-dry-wet:S-w2-5",
    "key": "hordijk2009",
    "author": "Hordijk, Wiebe and Ponisio, Maria Laura and Wieringa, Roel",
    "year": "2009",
    "title": "Harmfulness of code duplication: A structured review of the evidence",
    "publisher": "Evaluation and Assessment in Software Engineering (EASE 2009), BCS eWiC",
    "url": "https://ris.utwente.nl/ws/files/5447631/ewic_ea09_s4paper2.pdf",
    "in_text": "Hordijk et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "structured review reporting others' studies; method section shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-15",
   "claim": "Hordijk et al. found positive though inconclusive evidence for the assumption that duplication is harmful.",
   "quote": "Fortunately we have found positive though inconclusive evidence for this assumption.",
   "source": {
    "id": "yagni-dry-wet:S-w2-5",
    "key": "hordijk2009",
    "author": "Hordijk, Wiebe and Ponisio, Maria Laura and Wieringa, Roel",
    "year": "2009",
    "title": "Harmfulness of code duplication: A structured review of the evidence",
    "publisher": "Evaluation and Assessment in Software Engineering (EASE 2009), BCS eWiC",
    "url": "https://ris.utwente.nl/ws/files/5447631/ewic_ea09_s4paper2.pdf",
    "in_text": "Hordijk et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "structured review reporting others' studies; method section shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-11",
   "claim": "Wagner et al. found 17% of type-3 (inconsistent) clones contained faults and developers fixed half of those faults consistently.",
   "quote": "Of the type-3 clones, 17 % contain faults. Developers modified most of the type-3 clones simultaneously and thereby fixed half of the faults in type-3 clones consistently.",
   "source": {
    "id": "yagni-dry-wet:S-w2-4",
    "key": "wagner2016",
    "author": "Wagner, Stefan and Abdulkhaleq, Asim and Kaya, Kamer and Paar, Alexander",
    "year": "2016",
    "title": "On the relationship of inconsistent software clones and faults: An empirical study",
    "publisher": "23rd IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER 2016)",
    "url": "https://arxiv.org/pdf/1611.08005",
    "in_text": "Wagner et al. (2016)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; three systems and three interviews, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "how-common-duplication-is-and-why-programmers-copy",
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-12",
   "claim": "Wagner et al. note contradictory results on the connection of cloning and faults and suggest developer awareness of clones may explain the weak relationship.",
   "quote": "there are contradictory results regarding the connection of cloning and faults.",
   "source": {
    "id": "yagni-dry-wet:S-w2-4",
    "key": "wagner2016",
    "author": "Wagner, Stefan and Abdulkhaleq, Asim and Kaya, Kamer and Paar, Alexander",
    "year": "2016",
    "title": "On the relationship of inconsistent software clones and faults: An empirical study",
    "publisher": "23rd IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER 2016)",
    "url": "https://arxiv.org/pdf/1611.08005",
    "in_text": "Wagner et al. (2016)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; three systems and three interviews, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "how-common-duplication-is-and-why-programmers-copy",
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-13",
   "claim": "Wagner et al. report that clones are often 20% to 30% of a system in practice.",
   "quote": "We often see rates of 20 % to 30 % of a system to be clones in practice",
   "source": {
    "id": "yagni-dry-wet:S-w2-4",
    "key": "wagner2016",
    "author": "Wagner, Stefan and Abdulkhaleq, Asim and Kaya, Kamer and Paar, Alexander",
    "year": "2016",
    "title": "On the relationship of inconsistent software clones and faults: An empirical study",
    "publisher": "23rd IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER 2016)",
    "url": "https://arxiv.org/pdf/1611.08005",
    "in_text": "Wagner et al. (2016)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; three systems and three interviews, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "how-common-duplication-is-and-why-programmers-copy",
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-5",
   "claim": "Metz holds that duplication costs less than the wrong abstraction.",
   "quote": "duplication is far cheaper than the wrong abstraction",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-6",
   "claim": "Metz gives a sign that an abstraction is wrong: callers pass parameters and add conditional paths through shared code.",
   "quote": "If you find yourself passing parameters and adding conditional paths through shared code, the abstraction is incorrect.",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-7",
   "claim": "Metz recommends inlining the wrong abstraction back into callers and re-extracting from what remains.",
   "quote": "the fastest way forward is back",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-1",
   "claim": "Metz asserted in a 2014 talk that duplication is far cheaper than the wrong abstraction, and advised preferring duplication over it.",
   "quote": "duplication is far cheaper than the wrong abstraction",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-2",
   "claim": "Metz describes a sequence in which a shared abstraction accumulates parameters and conditionals as new requirements arrive.",
   "quote": "Programmer B feels honor-bound to retain the existing abstraction, but since isn't exactly the same for every case, they alter the code to take a parameter, and then add logic to conditionally do the right thing based on the value of that parameter.",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-3",
   "claim": "Metz claims sunk-cost pressure makes developers keep a wrong abstraction.",
   "quote": "the more complicated and incomprehensible the code, i.e. the deeper the investment in creating it, the more we feel pressure to retain it",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-4",
   "claim": "Metz's remedy is to inline the abstraction back into each caller and re-derive what is needed.",
   "quote": "When dealing with the wrong abstraction, the fastest way forward is back.",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-15",
   "claim": "Metz wrote that duplication is far cheaper than the wrong abstraction.",
   "quote": "duplication is far cheaper than the wrong abstraction",
   "source": {
    "id": "yagni-dry-wet:S-w4-1",
    "key": "metz2016",
    "author": "Metz, Sandi",
    "year": "2016",
    "title": "The wrong abstraction",
    "publisher": "sandimetz.com",
    "url": "https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction",
    "in_text": "Metz (2016)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-10",
   "claim": "The 1999 edition of The Pragmatic Programmer states DRY as: every piece of knowledge must have a single, unambiguous, authoritative representation within a system (as quoted by Portebois).",
   "quote": "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.",
   "source": {
    "id": "yagni-dry-wet:S-w6-4",
    "key": "portebois2022",
    "author": "Portebois, Sébastien",
    "year": "2022",
    "title": "DRY, where did we get it wrong?",
    "publisher": "DEV Community",
    "url": "https://dev.to/sportebois/dry-where-did-we-get-it-wrong-40kd",
    "in_text": "Portebois (2022)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay from experience; no results; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-11",
   "claim": "In the 20th anniversary edition, Hunt and Thomas say the first edition explained DRY poorly (as quoted by Portebois).",
   "quote": "In the first edition of this book, we did a poor job of explaining just what we meant by Don't Repeat Yourself.",
   "source": {
    "id": "yagni-dry-wet:S-w6-4",
    "key": "portebois2022",
    "author": "Portebois, Sébastien",
    "year": "2022",
    "title": "DRY, where did we get it wrong?",
    "publisher": "DEV Community",
    "url": "https://dev.to/sportebois/dry-where-did-we-get-it-wrong-40kd",
    "in_text": "Portebois (2022)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay from experience; no results; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-12",
   "claim": "The 20th anniversary edition says many readers took DRY to refer to code only, that avoiding copy-pasted source lines is part of DRY but a tiny and fairly trivial part (as quoted by Portebois).",
   "quote": "This _is_ part of DRY, but it's a tiny and fairly trivial part.",
   "source": {
    "id": "yagni-dry-wet:S-w6-4",
    "key": "portebois2022",
    "author": "Portebois, Sébastien",
    "year": "2022",
    "title": "DRY, where did we get it wrong?",
    "publisher": "DEV Community",
    "url": "https://dev.to/sportebois/dry-where-did-we-get-it-wrong-40kd",
    "in_text": "Portebois (2022)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay from experience; no results; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-13",
   "claim": "The 20th anniversary edition restates DRY as being about the duplication of knowledge and intent (as quoted by Portebois).",
   "quote": "DRY is about the duplication of _knowledge_, of _intent_.",
   "source": {
    "id": "yagni-dry-wet:S-w6-4",
    "key": "portebois2022",
    "author": "Portebois, Sébastien",
    "year": "2022",
    "title": "DRY, where did we get it wrong?",
    "publisher": "DEV Community",
    "url": "https://dev.to/sportebois/dry-where-did-we-get-it-wrong-40kd",
    "in_text": "Portebois (2022)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay from experience; no results; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-20",
   "claim": "Per a Hunt and Thomas interview reported by Changelog, DRY has come to mean 'don't cut and paste' although the original concerned knowledge, not code.",
   "quote": "the original “Don’t repeat yourself” was nothing to do with code, it was to do with knowledge",
   "source": {
    "id": "yagni-dry-wet:S-w3-8",
    "key": "santo2020",
    "author": "Santo, Jerod",
    "year": "2020",
    "title": "Why do so many developers get DRY wrong?",
    "publisher": "Changelog",
    "url": "https://changelog.com/posts/why-do-so-many-developers-get-dry-wrong",
    "in_text": "Santo (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay, no data of its own; cites sources by name; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-14",
   "claim": "Dave Thomas says DRY has come to mean 'Don't cut and paste' and that the original principle had nothing to do with code but with knowledge.",
   "quote": "the original \"Don't repeat yourself\" was nothing to do with code, it was to do with knowledge.",
   "source": {
    "id": "yagni-dry-wet:S-w3-8",
    "key": "santo2020",
    "author": "Santo, Jerod",
    "year": "2020",
    "title": "Why do so many developers get DRY wrong?",
    "publisher": "Changelog",
    "url": "https://changelog.com/posts/why-do-so-many-developers-get-dry-wrong",
    "in_text": "Santo (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay, no data of its own; cites sources by name; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-10",
   "claim": "Wikipedia says WET has been in use since at least 2002 in the Java world and that the coiner is unknown.",
   "quote": "has been around since at least 2002 in the Java world, though it is not known who coined the term",
   "source": {
    "id": "yagni-dry-wet:S-w5-7",
    "key": "wikipedia-dry",
    "author": "{Wikipedia contributors}",
    "year": "n.d.i",
    "title": "Don't repeat yourself",
    "publisher": "Wikipedia",
    "url": "https://en.wikipedia.org/wiki/Don%27t_repeat_yourself",
    "in_text": "contributors (n.d.i)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "secondary source that cites its references; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-11",
   "claim": "Wikipedia lists several expansions of WET.",
   "quote": "write every time",
   "source": {
    "id": "yagni-dry-wet:S-w5-7",
    "key": "wikipedia-dry",
    "author": "{Wikipedia contributors}",
    "year": "n.d.i",
    "title": "Don't repeat yourself",
    "publisher": "Wikipedia",
    "url": "https://en.wikipedia.org/wiki/Don%27t_repeat_yourself",
    "in_text": "contributors (n.d.i)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "secondary source that cites its references; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-9",
   "claim": "Wikipedia states DRY as one authoritative representation of every piece of knowledge, credited to Hunt and Thomas.",
   "quote": "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.",
   "source": {
    "id": "yagni-dry-wet:S-w5-7",
    "key": "wikipedia-dry",
    "author": "{Wikipedia contributors}",
    "year": "n.d.i",
    "title": "Don't repeat yourself",
    "publisher": "Wikipedia",
    "url": "https://en.wikipedia.org/wiki/Don%27t_repeat_yourself",
    "in_text": "contributors (n.d.i)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "secondary source that cites its references; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-12",
   "claim": "Abramov quotes Wikipedia: violations of DRY are typically referred to as WET solutions.",
   "quote": "Violations of DRY are typically referred to as WET solutions.",
   "source": {
    "id": "yagni-dry-wet:S-w5-6",
    "key": "abramov2020",
    "author": "Abramov, Dan",
    "year": "2020",
    "title": "The WET codebase",
    "publisher": "overreacted.io",
    "url": "https://overreacted.io/the-wet-codebase/",
    "in_text": "Abramov (2020)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal post presenting a conference talk; opinion, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-16",
   "claim": "Wikipedia attributes the rule of three to Don Roberts, popularised by Fowler in Refactoring.",
   "quote": "The rule was popularised by Martin Fowler in Refactoring and attributed to Don Roberts.",
   "source": {
    "id": "yagni-dry-wet:S-w5-8",
    "key": "wikipedia-rule-of-three",
    "author": "{Wikipedia contributors}",
    "year": "n.d.aa",
    "title": "Rule of three (computer programming)",
    "publisher": "Wikipedia",
    "url": "https://en.wikipedia.org/wiki/Rule_of_three_(computer_programming)",
    "in_text": "contributors (n.d.aa)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "secondary source naming Fowler and Metz; guideline/opinion, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-17",
   "claim": "Refactoring, as quoted by a reader, gives Don Roberts's rule of three: the third time you do something similar, you refactor.",
   "quote": "The third time you do something similar, you refactor.",
   "source": {
    "id": "yagni-dry-wet:S-w5-9",
    "key": "nicologies",
    "author": "{nicologies}",
    "year": "n.d.",
    "title": "The rule of three (quote from Refactoring: Improving the design of existing code)",
    "publisher": "GitBook",
    "url": "https://nicologies.gitbook.io/awesome-programming-knowledge/writing-better-code/books/refactoring-improving-the-design-of-existing-code/quotes/the-rule-of-three",
    "in_text": "nicologies (n.d.)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal notes quoting a book guideline; names the book but not the page; secondary, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-18",
   "claim": "Same quote: the second time you wince at the duplication but do it anyway.",
   "quote": "The second time you do something similar, you wince at the duplication, but you do the duplicate thing anyway.",
   "source": {
    "id": "yagni-dry-wet:S-w5-9",
    "key": "nicologies",
    "author": "{nicologies}",
    "year": "n.d.",
    "title": "The rule of three (quote from Refactoring: Improving the design of existing code)",
    "publisher": "GitBook",
    "url": "https://nicologies.gitbook.io/awesome-programming-knowledge/writing-better-code/books/refactoring-improving-the-design-of-existing-code/quotes/the-rule-of-three",
    "in_text": "nicologies (n.d.)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "personal notes quoting a book guideline; names the book but not the page; secondary, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-13",
   "claim": "The Go proverbs list includes 'A little copying is better than a little dependency.'",
   "quote": "A little copying is better than a little dependency.",
   "source": {
    "id": "yagni-dry-wet:S-w4-6",
    "key": "pike2015",
    "author": "Pike, Rob",
    "year": "2015",
    "title": "Go proverbs",
    "publisher": "go-proverbs.github.io (Gopherfest SV 2015)",
    "url": "https://go-proverbs.github.io/",
    "in_text": "Pike (2015)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "list of proverbs from a talk; opinion, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "dry-wet-and-the-rule-of-three"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-26",
   "claim": "Toomim et al. argue that abstractions such as functions and macros have inherent cognitive costs that lead programmers to copy and paste chronically.",
   "quote": "We argue that the use of programming abstractions like functions and macros—the traditional solution to duplicated code—has inherent cognitive costs, leading programmers to chronically copy and paste code instead.",
   "source": {
    "id": "yagni-dry-wet:S-w7-12",
    "key": "toomim2004",
    "author": "Toomim, Michael and Begel, Andrew and Graham, Susan L.",
    "year": "2004",
    "title": "Managing duplicated code with linked editing",
    "publisher": "IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2004)",
    "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/toomim-linked-editing.pdf",
    "in_text": "Toomim et al. (2004)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own user study of authors' own tool; method shown; n=13, small; authors evaluate own tool"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-27",
   "claim": "In a within-subjects study of 13 students, creating a functional abstraction took 13 min 6 s on average and linking clones with Codelink took 22 s.",
   "quote": "whereas functional abstractions took 13:06 minutes to create on average, the mean time to link code with Codelink was 22 seconds.",
   "source": {
    "id": "yagni-dry-wet:S-w7-12",
    "key": "toomim2004",
    "author": "Toomim, Michael and Begel, Andrew and Graham, Susan L.",
    "year": "2004",
    "title": "Managing duplicated code with linked editing",
    "publisher": "IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2004)",
    "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/toomim-linked-editing.pdf",
    "in_text": "Toomim et al. (2004)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own user study of authors' own tool; method shown; n=13, small; authors evaluate own tool"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-28",
   "claim": "Subjects rated Codelink higher than functional abstraction on all questionnaire metrics, significantly so for understandability and changeability.",
   "quote": "This difference was statistically significant for understandability and changeability (paired two-tailed t-test, p < 0.05).",
   "source": {
    "id": "yagni-dry-wet:S-w7-12",
    "key": "toomim2004",
    "author": "Toomim, Michael and Begel, Andrew and Graham, Susan L.",
    "year": "2004",
    "title": "Managing duplicated code with linked editing",
    "publisher": "IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2004)",
    "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/toomim-linked-editing.pdf",
    "in_text": "Toomim et al. (2004)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own user study of authors' own tool; method shown; n=13, small; authors evaluate own tool"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-29",
   "claim": "The Codelink study was run with 13 students in the Scheme language, which the authors expect to transfer to other languages.",
   "quote": "We paid 13 students from U.C. Berkeley to participate in the study.",
   "source": {
    "id": "yagni-dry-wet:S-w7-12",
    "key": "toomim2004",
    "author": "Toomim, Michael and Begel, Andrew and Graham, Susan L.",
    "year": "2004",
    "title": "Managing duplicated code with linked editing",
    "publisher": "IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2004)",
    "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/toomim-linked-editing.pdf",
    "in_text": "Toomim et al. (2004)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own user study of authors' own tool; method shown; n=13, small; authors evaluate own tool"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-30",
   "claim": "Toomim et al. report that duplicated code remains common: the Linux kernel (2002) was 15 to 25% duplicated and the X Window System (1995) about 19%.",
   "quote": "the Linux kernel (as of 2002) is 15–25% duplicated [1]",
   "source": {
    "id": "yagni-dry-wet:S-w7-12",
    "key": "toomim2004",
    "author": "Toomim, Michael and Begel, Andrew and Graham, Susan L.",
    "year": "2004",
    "title": "Managing duplicated code with linked editing",
    "publisher": "IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2004)",
    "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/toomim-linked-editing.pdf",
    "in_text": "Toomim et al. (2004)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own user study of authors' own tool; method shown; n=13, small; authors evaluate own tool"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-18",
   "claim": "Kapser and Godfrey found cloning is often used as a principled engineering tool, and that as many as 71% of clones in two systems could be considered to have a positive impact on maintainability.",
   "quote": "we have found significant evidence that cloning is often used in a variety of ways as a principled engineering tool.",
   "source": {
    "id": "yagni-dry-wet:S-w2-7",
    "key": "kapser2008",
    "author": "Kapser, Cory J. and Godfrey, Michael W.",
    "year": "2008",
    "title": "Cloning considered harmful considered harmful: Patterns of cloning in software",
    "publisher": "Empirical Software Engineering, 13",
    "url": "https://cormack.uwaterloo.ca/~migod/papers/2008/emse08-ClonePatterns.pdf",
    "in_text": "Kapser & Godfrey (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; two systems, manual classification of 230 and 100 sampled clones; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-19",
   "claim": "Kapser and Godfrey: as many as 71% of the clones in Apache and Gnumeric could be considered to have a positive impact on maintainability.",
   "quote": "In this study, we found that as many as 71% of the clones could be considered to have a positive impact on the maintainability of the software system.",
   "source": {
    "id": "yagni-dry-wet:S-w2-7",
    "key": "kapser2008",
    "author": "Kapser, Cory J. and Godfrey, Michael W.",
    "year": "2008",
    "title": "Cloning considered harmful considered harmful: Patterns of cloning in software",
    "publisher": "Empirical Software Engineering, 13",
    "url": "https://cormack.uwaterloo.ca/~migod/papers/2008/emse08-ClonePatterns.pdf",
    "in_text": "Kapser & Godfrey (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; two systems, manual classification of 230 and 100 sampled clones; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-10",
   "claim": "Kapser and Godfrey found cloning is often used as a deliberate engineering tool, and as many as 71% of clones in two open source systems could be considered to have a positive impact on maintainability.",
   "quote": "In this study, we found that as many as 71% of the clones could be considered to have a positive impact on the maintainability of the software system.",
   "source": {
    "id": "yagni-dry-wet:S-w2-7",
    "key": "kapser2008",
    "author": "Kapser, Cory J. and Godfrey, Michael W.",
    "year": "2008",
    "title": "Cloning considered harmful considered harmful: Patterns of cloning in software",
    "publisher": "Empirical Software Engineering, 13",
    "url": "https://cormack.uwaterloo.ca/~migod/papers/2008/emse08-ClonePatterns.pdf",
    "in_text": "Kapser & Godfrey (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; two systems, manual classification of 230 and 100 sampled clones; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-11",
   "claim": "Kapser and Godfrey list cloning to avoid complex abstractions as improving maintainability, with long-term propagation costs as a drawback.",
   "quote": "Maintainability is improved when used to avoid complex abstractions that may have a high cognitive cost during development and maintenance",
   "source": {
    "id": "yagni-dry-wet:S-w2-7",
    "key": "kapser2008",
    "author": "Kapser, Cory J. and Godfrey, Michael W.",
    "year": "2008",
    "title": "Cloning considered harmful considered harmful: Patterns of cloning in software",
    "publisher": "Empirical Software Engineering, 13",
    "url": "https://cormack.uwaterloo.ca/~migod/papers/2008/emse08-ClonePatterns.pdf",
    "in_text": "Kapser & Godfrey (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; two systems, manual classification of 230 and 100 sampled clones; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-12",
   "claim": "The same paper notes long-term costs of finding and maintaining duplicates could outweigh short-term gains.",
   "quote": "Long term costs of finding and maintaining these duplicates could outweigh the short term gains.",
   "source": {
    "id": "yagni-dry-wet:S-w2-7",
    "key": "kapser2008",
    "author": "Kapser, Cory J. and Godfrey, Michael W.",
    "year": "2008",
    "title": "Cloning considered harmful considered harmful: Patterns of cloning in software",
    "publisher": "Empirical Software Engineering, 13",
    "url": "https://cormack.uwaterloo.ca/~migod/papers/2008/emse08-ClonePatterns.pdf",
    "in_text": "Kapser & Godfrey (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; two systems, manual classification of 230 and 100 sampled clones; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-14",
   "claim": "Interviewed Microsoft developers reported several kinds of duplication, not mainly pasted snippets.",
   "quote": "Contrary to expectations that code duplication involves the copy and paste of code snippets, developers reported several types of duplication.",
   "source": {
    "id": "yagni-dry-wet:S-w4-7",
    "key": "latoza2006",
    "author": "LaToza, Thomas D. and Venolia, Gina and DeLine, Robert",
    "year": "2006",
    "title": "Maintaining mental models: A study of developer work habits",
    "publisher": "28th International Conference on Software Engineering (ICSE 2006)",
    "url": "https://www.st.cs.uni-saarland.de/edu/empirical-se/2006/PDFs/latoza06.pdf",
    "in_text": "LaToza et al. (2006)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own two surveys (157 and 187 responses) plus 11 interviews; self-reports, self-selection unmeasured; Microsoft authors studying Microsoft staff"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-15",
   "claim": "Interviewees agreed forking code should be avoided but said it is often better than reimplementing from scratch.",
   "quote": "Interviewees, when asked, all agreed that it was best to avoid forked code whenever possible. Yet, when faced with the alternative of reimplementing the functionality from scratch, forking is frequently a better alternative.",
   "source": {
    "id": "yagni-dry-wet:S-w4-7",
    "key": "latoza2006",
    "author": "LaToza, Thomas D. and Venolia, Gina and DeLine, Robert",
    "year": "2006",
    "title": "Maintaining mental models: A study of developer work habits",
    "publisher": "28th International Conference on Software Engineering (ICSE 2006)",
    "url": "https://www.st.cs.uni-saarland.de/edu/empirical-se/2006/PDFs/latoza06.pdf",
    "in_text": "LaToza et al. (2006)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own two surveys (157 and 187 responses) plus 11 interviews; self-reports, self-selection unmeasured; Microsoft authors studying Microsoft staff"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-18",
   "claim": "A survey of developers on copy-based reuse found developers had various reasons for reuse and were generally positive about package managers.",
   "quote": "Developers had various reasons for reuse but were generally positive about using a package manager.",
   "source": {
    "id": "yagni-dry-wet:S-w4-9",
    "key": "jahanshahi2024",
    "author": "Jahanshahi, Mahmoud and Reid, David and Mockus, Audris",
    "year": "2024",
    "title": "Beyond dependencies: The role of copy-based reuse in open source software development",
    "publisher": "arXiv 2409.04830",
    "url": "https://arxiv.org/abs/2409.04830",
    "in_text": "Jahanshahi et al. (2024)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own repository measurement plus survey; method shown; 374 developers; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-1",
   "claim": "Li et al. report that copy-pasted code is prone to introducing errors; in a single Linux source file under drivers/i2o, 34 of 35 errors found by Chou et al. were caused by copy-paste.",
   "quote": "Copy-pasted code is prone to introducing errors. For example, Chou et al. [10] found that in a single source file under the Linux drivers/i2o directory, 34 out of 35 errors were caused by copy-paste.",
   "source": {
    "id": "yagni-dry-wet:S-w7-1",
    "key": "li2004",
    "author": "Li, Zhenmin and Lu, Shan and Myagmar, Suvda and Zhou, Yuanyuan",
    "year": "2004",
    "title": "CP-Miner: A tool for finding copy-paste and related bugs in operating system code",
    "publisher": "6th USENIX Symposium on Operating Systems Design and Implementation (OSDI 2004)",
    "url": "https://static.usenix.org/event/osdi04/tech/full_papers/li_z/li_z.pdf",
    "in_text": "Li et al. (2004)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own tool and its results on Linux and FreeBSD; method shown; 28 and 23 bugs found, large code base; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "do-clones-cause-faults",
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-2",
   "claim": "Li et al. say duplication will likely remain after abstraction because changes are usually necessary and copy-paste is faster than abstraction.",
   "quote": "First, some changes are usually necessary, and copy-paste is much easier and faster than abstraction.",
   "source": {
    "id": "yagni-dry-wet:S-w7-1",
    "key": "li2004",
    "author": "Li, Zhenmin and Lu, Shan and Myagmar, Suvda and Zhou, Yuanyuan",
    "year": "2004",
    "title": "CP-Miner: A tool for finding copy-paste and related bugs in operating system code",
    "publisher": "6th USENIX Symposium on Operating Systems Design and Implementation (OSDI 2004)",
    "url": "https://static.usenix.org/event/osdi04/tech/full_papers/li_z/li_z.pdf",
    "in_text": "Li et al. (2004)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own tool and its results on Linux and FreeBSD; method shown; 28 and 23 bugs found, large code base; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-common-duplication-is-and-why-programmers-copy",
    "do-clones-cause-faults",
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-1",
   "claim": "In a case study of five systems, 107 faults confirmed by developers were found in inconsistently changed clone groups.",
   "quote": "The study lead to the identification of 107 faults that have been confirmed by the systems’ developers.",
   "source": {
    "id": "yagni-dry-wet:S-w2-1",
    "key": "juergens2009",
    "author": "Juergens, Elmar and Deissenboeck, Florian and Hummel, Benjamin and Wagner, Stefan",
    "year": "2009",
    "title": "Do code clones matter?",
    "publisher": "Proceedings of the 31st International Conference on Software Engineering (ICSE 2009)",
    "url": "https://arxiv.org/pdf/1701.05472",
    "in_text": "Juergens et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own large-scale case study on commercial and open source systems; tool open source; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-2",
   "claim": "Juergens et al. state that clones do not directly cause faults; inconsistent changes to clones can.",
   "quote": "clones do not directly cause faults but inconsistent changes to clones can lead to unexpected program behavior",
   "source": {
    "id": "yagni-dry-wet:S-w2-1",
    "key": "juergens2009",
    "author": "Juergens, Elmar and Deissenboeck, Florian and Hummel, Benjamin and Wagner, Stefan",
    "year": "2009",
    "title": "Do code clones matter?",
    "publisher": "Proceedings of the 31st International Conference on Software Engineering (ICSE 2009)",
    "url": "https://arxiv.org/pdf/1701.05472",
    "in_text": "Juergens et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own large-scale case study on commercial and open source systems; tool open source; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-3",
   "claim": "In Juergens et al., about every second to third unintentional change to a clone led to a fault.",
   "quote": "From our results it seems that about every second to third unintentional change to a clone leads to a fault.",
   "source": {
    "id": "yagni-dry-wet:S-w2-1",
    "key": "juergens2009",
    "author": "Juergens, Elmar and Deissenboeck, Florian and Hummel, Benjamin and Wagner, Stefan",
    "year": "2009",
    "title": "Do code clones matter?",
    "publisher": "Proceedings of the 31st International Conference on Software Engineering (ICSE 2009)",
    "url": "https://arxiv.org/pdf/1701.05472",
    "in_text": "Juergens et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own large-scale case study on commercial and open source systems; tool open source; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-4",
   "claim": "Juergens et al. conclude that inconsistent clones are a major source of faults.",
   "quote": "In this paper we provide strong evidence that inconsistent clones constitute a major source of faults",
   "source": {
    "id": "yagni-dry-wet:S-w2-1",
    "key": "juergens2009",
    "author": "Juergens, Elmar and Deissenboeck, Florian and Hummel, Benjamin and Wagner, Stefan",
    "year": "2009",
    "title": "Do code clones matter?",
    "publisher": "Proceedings of the 31st International Conference on Software Engineering (ICSE 2009)",
    "url": "https://arxiv.org/pdf/1701.05472",
    "in_text": "Juergens et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own large-scale case study on commercial and open source systems; tool open source; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-5",
   "claim": "Juergens et al. could not compare fault density in clones with random code because actual fault densities were not available.",
   "quote": "The comparison with average fault probability is not perfect to determine whether the inconsistencies are really more fault-prone than a random piece of code.",
   "source": {
    "id": "yagni-dry-wet:S-w2-1",
    "key": "juergens2009",
    "author": "Juergens, Elmar and Deissenboeck, Florian and Hummel, Benjamin and Wagner, Stefan",
    "year": "2009",
    "title": "Do code clones matter?",
    "publisher": "Proceedings of the 31st International Conference on Software Engineering (ICSE 2009)",
    "url": "https://arxiv.org/pdf/1701.05472",
    "in_text": "Juergens et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own large-scale case study on commercial and open source systems; tool open source; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-6",
   "claim": "Bettenburg et al. found at release level that only 1% to 3% of inconsistent clone changes introduced defects.",
   "quote": "we observe that only 1% to 3% of inconsistent changes to clones introduce software defects, as opposed to substantially higher percentages reported by other studies.",
   "source": {
    "id": "yagni-dry-wet:S-w2-2",
    "key": "bettenburg2009",
    "author": "Bettenburg, Nicolas and Shang, Weyi and Ibrahim, Walid and Adams, Bram and Zou, Ying and Hassan, Ahmed E.",
    "year": "2009",
    "title": "An empirical study on inconsistent changes to code clones at release level",
    "publisher": "16th Working Conference on Reverse Engineering (WCRE 2009)",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/bettenburg-wcre09.pdf",
    "in_text": "Bettenburg et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; only two systems, small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-7",
   "claim": "Bettenburg et al. argue revision-level studies exaggerate the ill effects of inconsistent changes because clones are short-lived and fluctuating.",
   "quote": "Conclusions drawn from the inspection of highly fluctuating and short-lived clones are likely to exaggerate the ill effects of inconsistent changes.",
   "source": {
    "id": "yagni-dry-wet:S-w2-2",
    "key": "bettenburg2009",
    "author": "Bettenburg, Nicolas and Shang, Weyi and Ibrahim, Walid and Adams, Bram and Zou, Ying and Hassan, Ahmed E.",
    "year": "2009",
    "title": "An empirical study on inconsistent changes to code clones at release level",
    "publisher": "16th Working Conference on Reverse Engineering (WCRE 2009)",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/bettenburg-wcre09.pdf",
    "in_text": "Bettenburg et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; only two systems, small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-8",
   "claim": "Bettenburg et al.: the defect rate ranged from 1.26% (6 of 462 inconsistent changes) to 3.23% (2 of 62).",
   "quote": "The percentage of inconsistent changes that lead to software defects ranges between 1.26% (6 defects out of 462 inconsistent changes) and 3.23% (2 defects out of 62 inconsistent changes).",
   "source": {
    "id": "yagni-dry-wet:S-w2-2",
    "key": "bettenburg2009",
    "author": "Bettenburg, Nicolas and Shang, Weyi and Ibrahim, Walid and Adams, Bram and Zou, Ying and Hassan, Ahmed E.",
    "year": "2009",
    "title": "An empirical study on inconsistent changes to code clones at release level",
    "publisher": "16th Working Conference on Reverse Engineering (WCRE 2009)",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/bettenburg-wcre09.pdf",
    "in_text": "Bettenburg et al. (2009)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own case study; method shown; only two systems, small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-10",
   "claim": "Rahman et al. found little evidence that clones with more copies are more error prone, and say their findings do not support the \"bad smell\" claim.",
   "quote": "Finally, we find little evidence that clones with more copies are actually more error prone. Our findings do not support the claim that clones are really a “bad smell”.",
   "source": {
    "id": "yagni-dry-wet:S-w2-3",
    "key": "rahman2010",
    "author": "Rahman, Foyzur and Bird, Christian and Devanbu, Premkumar",
    "year": "2010",
    "title": "Clones: What is that smell?",
    "publisher": "7th IEEE Working Conference on Mining Software Repositories (MSR 2010)",
    "url": "https://microsoft.com/en-us/research/wp-content/uploads/2016/02/rahman2010cws.pdf",
    "in_text": "Rahman et al. (2010)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own empirical study; method shown; only four projects, small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-9",
   "claim": "Rahman et al. found most bugs not significantly associated with clones and clones possibly less defect-prone than non-cloned code.",
   "quote": "We find that, first, the great majority of bugs are not significantly associated with clones. Second, we find that clones may be less defect prone than non-cloned code.",
   "source": {
    "id": "yagni-dry-wet:S-w2-3",
    "key": "rahman2010",
    "author": "Rahman, Foyzur and Bird, Christian and Devanbu, Premkumar",
    "year": "2010",
    "title": "Clones: What is that smell?",
    "publisher": "7th IEEE Working Conference on Mining Software Repositories (MSR 2010)",
    "url": "https://microsoft.com/en-us/research/wp-content/uploads/2016/02/rahman2010cws.pdf",
    "in_text": "Rahman et al. (2010)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own empirical study; method shown; only four projects, small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-6",
   "claim": "In a survival analysis of two systems with two detectors, Selim et al. found that the defect-proneness of cloned methods is specific to the system under study.",
   "quote": "We determine that the defect-proneness of cloned methods is specific to the system under study",
   "source": {
    "id": "yagni-dry-wet:S-w6-2",
    "key": "selim2010",
    "author": "Selim, Gehan M. K. and Barbour, Liliane and Shang, Weiyi and Adams, Bram and Hassan, Ahmed E. and Zou, Ying",
    "year": "2010",
    "title": "Studying the impact of clones on software defects",
    "publisher": "17th Working Conference on Reverse Engineering (WCRE 2010), IEEE",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/wcre2010_shang.pdf",
    "in_text": "Selim et al. (2010)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own survival analysis of two large Java systems; method shown; no stake; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-7",
   "claim": "Selim et al. found cloned code is not always riskier than non-cloned code: it was riskier in ArgoUML but not in Ant.",
   "quote": "we found that cloned code is not always more risky than non-cloned code; the risk seems to be system dependent. For example, our study showed that cloned code is more risky than non-cloned code in ArgoUML, unlike in Ant.",
   "source": {
    "id": "yagni-dry-wet:S-w6-2",
    "key": "selim2010",
    "author": "Selim, Gehan M. K. and Barbour, Liliane and Shang, Weiyi and Adams, Bram and Hassan, Ahmed E. and Zou, Ying",
    "year": "2010",
    "title": "Studying the impact of clones on software defects",
    "publisher": "17th Working Conference on Reverse Engineering (WCRE 2010), IEEE",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/wcre2010_shang.pdf",
    "in_text": "Selim et al. (2010)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own survival analysis of two large Java systems; method shown; no stake; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-33",
   "claim": "Selim et al., using survival analysis of two large systems and two clone detectors, found that the defect-proneness of cloned methods is specific to the system under study.",
   "quote": "We determine that the defect-proneness of cloned methods is specific to the system under study",
   "source": {
    "id": "yagni-dry-wet:S-w6-2",
    "key": "selim2010",
    "author": "Selim, Gehan M. K. and Barbour, Liliane and Shang, Weiyi and Adams, Bram and Hassan, Ahmed E. and Zou, Ying",
    "year": "2010",
    "title": "Studying the impact of clones on software defects",
    "publisher": "17th Working Conference on Reverse Engineering (WCRE 2010), IEEE",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/wcre2010_shang.pdf",
    "in_text": "Selim et al. (2010)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own survival analysis of two large Java systems; method shown; no stake; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-34",
   "claim": "Selim et al. say few studies examine which characteristics of cloned code lead to defects, though many examine whether cloned code is harmful.",
   "quote": "There are numerous studies that examine whether or not cloned code is harmful to software systems. Yet, few of them study which characteristics of cloned code in particular lead to software defects.",
   "source": {
    "id": "yagni-dry-wet:S-w6-2",
    "key": "selim2010",
    "author": "Selim, Gehan M. K. and Barbour, Liliane and Shang, Weiyi and Adams, Bram and Hassan, Ahmed E. and Zou, Ying",
    "year": "2010",
    "title": "Studying the impact of clones on software defects",
    "publisher": "17th Working Conference on Reverse Engineering (WCRE 2010), IEEE",
    "url": "https://ece.uwaterloo.ca/~wshang/pubs/wcre2010_shang.pdf",
    "in_text": "Selim et al. (2010)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own survival analysis of two large Java systems; method shown; no stake; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w1-19",
   "claim": "Islam et al. found bug-fix commits changed a significantly higher share of clone code than non-clone code in seven systems.",
   "quote": "the percentage of changed files due to bug-fix commits is significantly higher in clone code compared with non-clone code.",
   "source": {
    "id": "yagni-dry-wet:S-w1-13",
    "key": "islam2017",
    "author": "Islam, Judith F. and Mondal, Manishankar and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2017",
    "title": "A comparative study of software bugs in clone and non-clone code",
    "publisher": "SEKE 2017",
    "url": "https://doi.org/10.18293/seke2017-056",
    "in_text": "Islam et al. (2017)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own commit-log study; method and MWW test shown; only seven systems, small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w12-16",
   "claim": "Hu et al. found that the spread of clone instances, the number of instances and the number of developers correlate non-trivially with clone harmfulness levels.",
   "quote": "several factors, such as spread of clone instances, number of clone instances, and number of developers, have non-trivial correlation with clone harmfulness levels",
   "source": {
    "id": "yagni-dry-wet:S-w12-7",
    "key": "hu2021b",
    "author": "Hu, Bin and Wu, Yijian and Peng, Xin and Sun, Jun and Zhan, Nanjie and Wu, Jun",
    "year": "2021a",
    "title": "Assessing code clone harmfulness: Indicators, factors, and counter measures",
    "publisher": "IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER 2021)",
    "url": "https://doi.org/10.1109/saner50967.2021.00029",
    "in_text": "Hu et al. (2021a)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; only the abstract was read (publisher and repository pages blocked), taken from the OpenAlex record of the abstract."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w12-15",
   "claim": "In a study of five open-source and three industry systems, 61.0-84.7% of clones were not harmful in terms of consistent maintenance overhead.",
   "quote": "find that 61.0-84.7% of the clones are not harmful in terms of consistent maintenance overhead",
   "source": {
    "id": "yagni-dry-wet:S-w12-7",
    "key": "hu2021b",
    "author": "Hu, Bin and Wu, Yijian and Peng, Xin and Sun, Jun and Zhan, Nanjie and Wu, Jun",
    "year": "2021a",
    "title": "Assessing code clone harmfulness: Indicators, factors, and counter measures",
    "publisher": "IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER 2021)",
    "url": "https://doi.org/10.1109/saner50967.2021.00029",
    "in_text": "Hu et al. (2021a)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; only the abstract was read (publisher and repository pages blocked), taken from the OpenAlex record of the abstract."
   },
   "verified": "blocked",
   "captured": null,
   "cited_in": [
    "do-clones-cause-faults"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-1",
   "claim": "Studies of whether cloned code is more stable (less changed) than non-cloned code have not reached a consensus; some find clones more stable, others find them less stable.",
   "quote": "While some studies show that code clones are more stable than non-cloned code, the other studies provide empirical evidence of higher instability of code clones.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-2",
   "claim": "Mondal et al. name differences in aspects of stability measured, clone detection tools, subject systems and experimental setups as possible reasons for the contradictory stability findings.",
   "quote": "The possible reasons behind these contradictory findings are that different studies investigated different aspects of stability using different clone detection tools on different subject systems using different experimental setups.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-3",
   "claim": "Across 12 systems in three languages, two detectors (NiCad and CCFinderX) and 8 stability metrics, Mondal et al. report that cloned code is often more unstable (change-prone) than non-cloned code during maintenance.",
   "quote": "(i) cloned code is often more unstable (change-prone) than non-cloned code in the maintenance phase",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-4",
   "claim": "Replicating the original stability studies with their original settings gave mostly equivalent results, but with a uniform setup three of the eight metrics contradicted the original finding, and Mondal et al. conclude that clone detection tool and its settings play an important role in determining comparative stability.",
   "quote": "the clone detection tool as well as the tool settings play an important role in determining the comparative stability",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-5",
   "claim": "Mondal et al.'s replication of Lozano and Wermelinger's study with the original systems, detector and parameters disagreed with the original and indicated that cloned code is more stable than non-cloned code.",
   "quote": "Our replicated study disagrees with the finding from the original study and indicates that cloned code is more stable than non-cloned code.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-18",
   "claim": "Mondal et al. say studies of clone stability did not reach a consensus: some find clones more stable than non-cloned code, others find them less stable.",
   "quote": "While some studies show that code clones are more stable than non-cloned code, the other studies provide empirical evidence of higher instability of code clones.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-19",
   "claim": "Mondal et al. give as possible reasons for the contradictory findings that studies examined different aspects of stability with different clone detection tools, subject systems and setups.",
   "quote": "The possible reasons behind these contradictory findings are that different studies investigated different aspects of stability using different clone detection tools on different subject systems using different experimental setups.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-20",
   "claim": "Mondal et al. implemented seven existing methods with two detectors (NiCad and CCFinderX) on 12 systems in Java, C and C# and found cloned code often more unstable (change-prone) than non-cloned code in the maintenance phase.",
   "quote": "cloned code is often more unstable (change-prone) than non-cloned code in the maintenance phase",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-21",
   "claim": "Mondal et al. report that clones in Java and C are more change-prone than clones in C#.",
   "quote": "clones in Java and C programming languages are more change-prone than the clones in C#",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-22",
   "claim": "Mondal et al. replicated the original studies with their original settings and found mostly equivalent results to the originals.",
   "quote": "We also systematically replicated the original studies with their original settings and found mostly equivalent results as of the original studies.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-23",
   "claim": "Mondal et. al report that Lozano and Wermelinger found cloned methods have a higher density of changes than non-cloned methods, contradicting Krinke and Hotta et al., and that Lozano and Wermelinger explained the contradiction by different clone detector setups.",
   "quote": "According to the explanation of Lozano and Wermelinger, such a contradiction occurred because of different setups of the different clone detection tools incorporated in these studies.",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-24",
   "claim": "Mondal et al. list eight stability metrics from seven earlier studies, each measured on different systems, with different detectors and parameters, and on different revision intervals.",
   "quote": "using different clone-detection tools with different parameters",
   "source": {
    "id": "yagni-dry-wet:S-w6-1",
    "key": "mondal2018",
    "author": "Mondal, Manishankar and Rahman, Md Saidur and Roy, Chanchal K. and Schneider, Kevin A.",
    "year": "2018",
    "title": "Is cloned code really stable?",
    "publisher": "Empirical Software Engineering",
    "url": "https://clones.usask.ca/pubfiles/articles/MMondalclonestabilityEMSE2018.pdf",
    "in_text": "Mondal et al. (2018)",
    "type": "preprint",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown (7 methods, 2 tools, 8 metrics); 12 subject systems, small, and the authors call it insufficient for firm conclusions; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable",
    "further-reading"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w1-15",
   "claim": "Krinke states the harm of cloned code is still debated and uses age as an estimate of stability.",
   "quote": "It is still a debated question whether cloned code causes increased maintenance efforts.",
   "source": {
    "id": "yagni-dry-wet:S-w1-10",
    "key": "krinke2011",
    "author": "Krinke, Jens",
    "year": "2011",
    "title": "Is cloned code older than non-cloned code?",
    "publisher": "IEEE International Workshop on Software Clones (IWSC 2011)",
    "url": "https://doi.org/10.1145/1985404.1985410",
    "in_text": "Krinke (2011)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; abstract read via OpenAlex; three open-source systems."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w1-21",
   "claim": "Lozano notes there is no agreement on the harmfulness of clones.",
   "quote": "However, there is no agreement on the harmfulness of clones.",
   "source": {
    "id": "yagni-dry-wet:S-w1-14",
    "key": "lozano2009",
    "author": "Lozano Rodriguez, Angela",
    "year": "2009",
    "title": "Assessing the effect of source code characteristics on changeability",
    "publisher": "PhD thesis, The Open University",
    "url": "https://doi.org/10.21954/ou.ro.00004b49",
    "in_text": "Lozano Rodriguez (2009)",
    "type": "other",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Doctoral thesis; abstract read via OpenAlex; finds clones harmful on changeability (counterpoint to Krinke)."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w1-14",
   "claim": "Krinke (2011) found that on average cloned code is older than non-cloned code in three systems, which he reads as support for cloned code being more stable.",
   "quote": "The study shows that on average, cloned code is older than non-cloned code.",
   "source": {
    "id": "yagni-dry-wet:S-w1-10",
    "key": "krinke2011",
    "author": "Krinke, Jens",
    "year": "2011",
    "title": "Is cloned code older than non-cloned code?",
    "publisher": "IEEE International Workshop on Software Clones (IWSC 2011)",
    "url": "https://doi.org/10.1145/1985404.1985410",
    "in_text": "Krinke (2011)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; abstract read via OpenAlex; three open-source systems."
   },
   "verified": "blocked",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w12-12",
   "claim": "Krinke (2011) found in three large open source systems that cloned code was on average older than non-cloned code, which he took as support for cloned code being more stable.",
   "quote": "The study shows that on average, cloned code is older than non-cloned code.",
   "source": {
    "id": "yagni-dry-wet:S-w1-10",
    "key": "krinke2011",
    "author": "Krinke, Jens",
    "year": "2011",
    "title": "Is cloned code older than non-cloned code?",
    "publisher": "IEEE International Workshop on Software Clones (IWSC 2011)",
    "url": "https://doi.org/10.1145/1985404.1985410",
    "in_text": "Krinke (2011)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; abstract read via OpenAlex; three open-source systems."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w1-20",
   "claim": "Lozano's thesis reports that cloned methods are more likely to change, and some have significantly higher changeability decay when cloned.",
   "quote": "showing that cloned methods are more likely to change, and that some cloned methods have significantly higher changeability decay when cloned.",
   "source": {
    "id": "yagni-dry-wet:S-w1-14",
    "key": "lozano2009",
    "author": "Lozano Rodriguez, Angela",
    "year": "2009",
    "title": "Assessing the effect of source code characteristics on changeability",
    "publisher": "PhD thesis, The Open University",
    "url": "https://doi.org/10.21954/ou.ro.00004b49",
    "in_text": "Lozano Rodriguez (2009)",
    "type": "other",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Doctoral thesis; abstract read via OpenAlex; finds clones harmful on changeability (counterpoint to Krinke)."
   },
   "verified": "blocked",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-16",
   "claim": "Mondal et al. note that earlier stability studies mostly found cloned code more stable than non-cloned code but each used one measure and few systems.",
   "quote": "Although most of the existing stability analysis studies agree that cloned code is more stable than non-cloned code, the studies have two major flaws",
   "source": {
    "id": "yagni-dry-wet:S-w2-6",
    "key": "mondal2012",
    "author": "Mondal, Manishankar and Roy, Chanchal K. and Rahman, Md. Saidur and Saha, Ripon K. and Krinke, Jens and Schneider, Kevin A.",
    "year": "2012",
    "title": "Comparative stability of cloned and non-cloned code: An empirical study",
    "publisher": "27th ACM Symposium on Applied Computing (SAC 2012)",
    "url": "https://www.cs.usask.ca/~croy/papers/2012/Mondal_SAC2012_Stability.pdf",
    "in_text": "Mondal et al. (2012)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown; 12 subject systems, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w2-17",
   "claim": "Mondal et al. (12 systems, three languages): Type-1 and Type-2 clones are unstable but Type-3 are not; cloned and non-cloned regions do not follow a consistent change pattern.",
   "quote": "(i) Type-1 and Type-2 clones are unstable, but Type-3 clones are not; (ii) clones in Java and C systems are not as stable as clones in C# systems; (iii) a system’s development strategy might play a key role in defining its comparative code stability scenario; and, (iv) cloned and non-cloned regions of a subject system do not follow a consistent change pattern.",
   "source": {
    "id": "yagni-dry-wet:S-w2-6",
    "key": "mondal2012",
    "author": "Mondal, Manishankar and Roy, Chanchal K. and Rahman, Md. Saidur and Saha, Ripon K. and Krinke, Jens and Schneider, Kevin A.",
    "year": "2012",
    "title": "Comparative stability of cloned and non-cloned code: An empirical study",
    "publisher": "27th ACM Symposium on Applied Computing (SAC 2012)",
    "url": "https://www.cs.usask.ca/~croy/papers/2012/Mondal_SAC2012_Stability.pdf",
    "in_text": "Mondal et al. (2012)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own study; method shown; 12 subject systems, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w12-14",
   "claim": "Krinke (2008) found that, over 200 weeks of five systems, change in cloned code was dominated by deletions, and that without deletions cloned code is generally more stable.",
   "quote": "If the dominating factor of deletions is eliminated, it can generally be concluded that cloned code is more stable than non-cloned code.",
   "source": {
    "id": "yagni-dry-wet:S-w1-9",
    "key": "krinke2008",
    "author": "Krinke, Jens",
    "year": "2008",
    "title": "Is cloned code more stable than non-cloned code?",
    "publisher": "IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2008)",
    "url": "https://doi.org/10.1109/scam.2008.14",
    "in_text": "Krinke (2008)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; abstract read via OpenAlex; five systems over 200 weeks."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w1-13",
   "claim": "Krinke (2008) found that, in five systems over 200 weeks, deletion of clones dominated instability, and without deletions cloned code was generally more stable than non-cloned code.",
   "quote": "If the dominating factor of deletions is eliminated, it can generally be concluded that cloned code is more stable than non-cloned code.",
   "source": {
    "id": "yagni-dry-wet:S-w1-9",
    "key": "krinke2008",
    "author": "Krinke, Jens",
    "year": "2008",
    "title": "Is cloned code more stable than non-cloned code?",
    "publisher": "IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2008)",
    "url": "https://doi.org/10.1109/scam.2008.14",
    "in_text": "Krinke (2008)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Peer-reviewed; abstract read via OpenAlex; five systems over 200 weeks."
   },
   "verified": "blocked",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-8",
   "claim": "Göde and Koschke, analysing clone evolution in mature projects, report that most clones are rarely changed and that unintentional inconsistent changes to clones are few.",
   "quote": "Our analysis of clone evolution in mature software projects shows that most clones are rarely changed and the number of unintentional inconsistent changes to clones is small.",
   "source": {
    "id": "yagni-dry-wet:S-w6-3",
    "key": "godekoschke2011",
    "author": "Göde, Nils and Koschke, Rainer",
    "year": "2011",
    "title": "Frequency and risks of changes to clones",
    "publisher": "33rd International Conference on Software Engineering (ICSE 2011)",
    "url": "https://2011.icse-conferences.org/content/frequency-and-risks-changes-clones.html",
    "in_text": "Göde & Koschke (2011)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own clone-evolution study; page gives only abstract with brief method; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-9",
   "claim": "Göde and Koschke say it is unclear how many clones are real threats to a system's quality, and conclude that clones to be managed must be selected carefully.",
   "quote": "it is unclear how many clones are real threats to the system’s quality and need to be taken care of.",
   "source": {
    "id": "yagni-dry-wet:S-w6-3",
    "key": "godekoschke2011",
    "author": "Göde, Nils and Koschke, Rainer",
    "year": "2011",
    "title": "Frequency and risks of changes to clones",
    "publisher": "33rd International Conference on Software Engineering (ICSE 2011)",
    "url": "https://2011.icse-conferences.org/content/frequency-and-risks-changes-clones.html",
    "in_text": "Göde & Koschke (2011)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own clone-evolution study; page gives only abstract with brief method; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-25",
   "claim": "Rahman and Roy, on seven Java systems with NiCad and change-type classification, found changes more frequent in cloned code than in non-cloned code and Type-1 clones the most vulnerable.",
   "quote": "shows that changes are more frequent in cloned code than in noncloned code and Type-1 clones are comparatively more vulnerable to the stability of the systems.",
   "source": {
    "id": "yagni-dry-wet:S-w7-11",
    "key": "rahmanroy2014",
    "author": "Rahman, Md Saidur and Roy, Chanchal K.",
    "year": "2014",
    "title": "A change-type based empirical study on the stability of cloned code",
    "publisher": "14th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2014)",
    "url": "https://www.cs.usask.ca/~croy/papers/2014/SaeedStabilitySCAM2014.pdf",
    "in_text": "Rahman & Roy (2014)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own empirical study; method shown; only seven systems, small sample; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "is-cloned-code-more-or-less-stable"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-7",
   "claim": "Swett argues that duplication is usually much more expensive than the alternatives, and that the 'wrong abstraction' is poorly de-duplicated code.",
   "quote": "I don't believe duplication is cheaper. I think it's usually much more expensive.",
   "source": {
    "id": "yagni-dry-wet:S-w7-5",
    "key": "swett2021",
    "author": "Swett, Jason",
    "year": "2021",
    "title": "Why I don't buy duplication is cheaper than the wrong abstraction",
    "publisher": "Code with Jason",
    "url": "https://www.codewithjason.com/?p=2480",
    "in_text": "Swett (2021)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay from experience; no data; no stake in the claim"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-8",
   "claim": "Swett calls the 'wrong abstraction' a confused way of referring to poorly de-duplicated code.",
   "quote": "I think \"the wrong abstraction\" is a confused way of referring to poorly-de-duplicated code.",
   "source": {
    "id": "yagni-dry-wet:S-w7-5",
    "key": "swett2021",
    "author": "Swett, Jason",
    "year": "2021",
    "title": "Why I don't buy duplication is cheaper than the wrong abstraction",
    "publisher": "Code with Jason",
    "url": "https://www.codewithjason.com/?p=2480",
    "in_text": "Swett (2021)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion essay from experience; no data; no stake in the claim"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-9",
   "claim": "McKenzie argues that the costs of a wrong abstraction are obvious while the costs of a 'simplicity first' mindset are not.",
   "quote": "the costs of abstraction, especially when it’s gotten wrong, are obvious",
   "source": {
    "id": "yagni-dry-wet:S-w7-6",
    "key": "mckenzie2016",
    "author": "McKenzie, Adam",
    "year": "2016",
    "title": "Responding to Sandi Metz on duplication",
    "publisher": "Rescale Engineering blog",
    "url": "https://rescale.com/blog/responding-to-sandi-metz-on-duplication/",
    "in_text": "McKenzie (2016)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion post by a company CTO about coding practice; no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-72",
   "claim": "Rainsberger favours removing duplication more aggressively than the rule of three allows, because inlining a regretted abstraction is cheap, and says the rule's value is restraining beginners.",
   "quote": "I don't mind removing duplication more aggressively, primarily because I don't mind inlining when I regret my choice.",
   "source": {
    "id": "yagni-dry-wet:S-w3-9",
    "key": "rainsberger2025",
    "author": "Rainsberger, J. B.",
    "year": "2025",
    "title": "Clarifying the rule of three in refactoring",
    "publisher": "The Code Whisperer (jbrains blog)",
    "url": "https://blog.jbrains.ca/permalink/clarifying-the-rule-of-three-in-refactoring",
    "in_text": "Rainsberger (2025)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion post; no data; affiliate link only"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction",
    "when-dry-and-wet-are-said-to-apply"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-3",
   "claim": "Bavota et al. studied 15,008 refactorings in three Java systems and found that some kinds of refactoring, such as those involving hierarchies (pull up method), tend to induce faults very frequently.",
   "quote": "others, such as refactorings involving hierarchies (e.g., pull up method), tend to induce faults very frequently.",
   "source": {
    "id": "yagni-dry-wet:S-w7-2",
    "key": "bavota2012",
    "author": "Bavota, Gabriele and De Carluccio, Bernardino and De Lucia, Andrea and Di Penta, Massimiliano and Oliveto, Rocco and Strollo, Orazio",
    "year": "2012",
    "title": "When does a refactoring induce bugs? An empirical study",
    "publisher": "12th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2012)",
    "url": "https://people.lu.usi.ch/bavotg/papers/scam2012.pdf",
    "in_text": "Bavota et al. (2012)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own study; method and data shown; 15,008 refactorings in 3 systems; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-4",
   "claim": "A differentiated replication on 103 systems confirmed the quantitative findings of Bavota et al. while its manual inspection partly reduced the role of refactoring in introducing bugs.",
   "quote": "The results of our quantitative analysis confirm the findings of the replicated study, while the qualitative analysis partially demystifies the role played by refactoring actions in the bug introduction.",
   "source": {
    "id": "yagni-dry-wet:S-w7-3",
    "key": "dipenta2020",
    "author": "Di Penta, Massimiliano and Bavota, Gabriele and Zampetti, Fiorella",
    "year": "2020",
    "title": "On the relationship between refactoring actions and bugs: A differentiated replication",
    "publisher": "arXiv 2009.11685",
    "url": "https://arxiv.org/abs/2009.11685",
    "in_text": "Di Penta et al. (2020)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own replication on 103 systems; design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-5",
   "claim": "In a study of 12 open source projects, refactored code was less bug-prone than non-refactored code, but single refactorings often induced bugs.",
   "quote": "While our study confirms the common intuition that refactored code is less bug-prone than non-refactored code, we also extend or contradict existing body of knowledge in other ways.",
   "source": {
    "id": "yagni-dry-wet:S-w7-4",
    "key": "ferreira2025b",
    "author": "Ferreira, Isabella and Arkoh, Lawrence and Uchôa, Anderson and Bibiano, Ana Carla and Garcia, Alessandro and Assunção, Wesley K. G.",
    "year": "2025b",
    "title": "Assessing the bug-proneness of refactored code: A longitudinal multi-project study",
    "publisher": "arXiv 2505.08005",
    "url": "https://arxiv.org/abs/2505.08005",
    "in_text": "Ferreira et al. (2025b)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own study of 12 projects, 27,450 refactorings; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-6",
   "claim": "The same study found that single refactorings often induce the occurrence of bugs across all analyzed projects.",
   "quote": "Second, single refactorings often induce the occurrence of bugs across all analyzed projects.",
   "source": {
    "id": "yagni-dry-wet:S-w7-4",
    "key": "ferreira2025b",
    "author": "Ferreira, Isabella and Arkoh, Lawrence and Uchôa, Anderson and Bibiano, Ana Carla and Garcia, Alessandro and Assunção, Wesley K. G.",
    "year": "2025b",
    "title": "Assessing the bug-proneness of refactored code: A longitudinal multi-project study",
    "publisher": "arXiv 2505.08005",
    "url": "https://arxiv.org/abs/2505.08005",
    "in_text": "Ferreira et al. (2025b)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own study of 12 projects, 27,450 refactorings; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-10",
   "claim": "AlOmar analysed 332 refactoring commits from 128 Java projects; some structural metrics improved after duplication-removing refactoring, while others may degrade.",
   "quote": "some metrics contribute to improvements, while others may lead to degradation.",
   "source": {
    "id": "yagni-dry-wet:S-w7-7",
    "key": "alomar2025",
    "author": "AlOmar, Eman Abdullah",
    "year": "2025",
    "title": "An empirical study on the impact of code duplication-aware refactoring practices on quality metrics",
    "publisher": "arXiv 2502.04073",
    "url": "https://arxiv.org/abs/2502.04073",
    "in_text": "AlOmar (2025)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study; 332 commits from 128 projects; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-or-the-wrong-abstraction"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w13-3",
   "claim": "Daly et al.'s original experiments suggested inheritance slowed maintenance at five levels but helped at three levels.",
   "quote": "The results suggested that inheritance tended to slow down code maintenance when the hierarchy was five levels deep, but was actually beneficial when the hierarchy was only three levels deep.",
   "source": {
    "id": "yagni-dry-wet:S-w4-2",
    "key": "prechelt2003",
    "author": "Prechelt, Lutz and Unger, Barbara and Philippsen, Michael and Tichy, Walter",
    "year": "2003",
    "title": "A controlled experiment on inheritance depth as a cost factor for code maintenance",
    "publisher": "Journal of Systems and Software, 65(2)",
    "url": "https://ps.ipd.kit.edu/downloads/za_2003_controlled_experiment_inheritance_depth.pdf",
    "in_text": "Prechelt et al. (2003)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own two controlled experiments; design, n=57 and 58, tests shown; no stake; data online"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w13-1",
   "claim": "Cartwright replicated the 3-level inheritance comparison with two 5-person student groups and found the flattened program took 40% less time, indicating that even three levels of inheritance are not necessarily beneficial.",
   "quote": "Cartwright [2] replicated the 3-level comparison with two 5-person undergraduate student groups and found the flattened program to consume 40% less time for completing the maintenance task.",
   "source": {
    "id": "yagni-dry-wet:S-w4-2",
    "key": "prechelt2003",
    "author": "Prechelt, Lutz and Unger, Barbara and Philippsen, Michael and Tichy, Walter",
    "year": "2003",
    "title": "A controlled experiment on inheritance depth as a cost factor for code maintenance",
    "publisher": "Journal of Systems and Software, 65(2)",
    "url": "https://ps.ipd.kit.edu/downloads/za_2003_controlled_experiment_inheritance_depth.pdf",
    "in_text": "Prechelt et al. (2003)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own two controlled experiments; design, n=57 and 58, tests shown; no stake; data online"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w13-2",
   "claim": "Harrison et al. ran a paper-based experiment in which both the 3-level and 5-level programs contained more mistakes than the 0-level versions, which Prechelt et al. say also suggests Daly et al.'s results do not always hold.",
   "quote": "Both, the 3-level and the 5-level programs, turned out to contain more mistakes than their corresponding 0-level versions.",
   "source": {
    "id": "yagni-dry-wet:S-w4-2",
    "key": "prechelt2003",
    "author": "Prechelt, Lutz and Unger, Barbara and Philippsen, Michael and Tichy, Walter",
    "year": "2003",
    "title": "A controlled experiment on inheritance depth as a cost factor for code maintenance",
    "publisher": "Journal of Systems and Software, 65(2)",
    "url": "https://ps.ipd.kit.edu/downloads/za_2003_controlled_experiment_inheritance_depth.pdf",
    "in_text": "Prechelt et al. (2003)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own two controlled experiments; design, n=57 and 58, tests shown; no stake; data online"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w13-4",
   "claim": "Prechelt et al. concluded that their result contradicted Daly et al. but corroborated Cartwright, and that the number of methods to understand predicted effort better than inheritance depth, so the premise of the experiments is invalid.",
   "quote": "We found the number of methods that need to be understood to be the most useful factor for predicting effort, far more general and reliable than inheritance depth.",
   "source": {
    "id": "yagni-dry-wet:S-w4-2",
    "key": "prechelt2003",
    "author": "Prechelt, Lutz and Unger, Barbara and Philippsen, Michael and Tichy, Walter",
    "year": "2003",
    "title": "A controlled experiment on inheritance depth as a cost factor for code maintenance",
    "publisher": "Journal of Systems and Software, 65(2)",
    "url": "https://ps.ipd.kit.edu/downloads/za_2003_controlled_experiment_inheritance_depth.pdf",
    "in_text": "Prechelt et al. (2003)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own two controlled experiments; design, n=57 and 58, tests shown; no stake; data online"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-5",
   "claim": "In two experiments on maintenance, programs with less inheritance were faster to maintain, for tasks emphasizing understanding.",
   "quote": "For the given tasks, which focus on understanding effort more than change effort, programs with less inheritance were faster to maintain.",
   "source": {
    "id": "yagni-dry-wet:S-w4-2",
    "key": "prechelt2003",
    "author": "Prechelt, Lutz and Unger, Barbara and Philippsen, Michael and Tichy, Walter",
    "year": "2003",
    "title": "A controlled experiment on inheritance depth as a cost factor for code maintenance",
    "publisher": "Journal of Systems and Software, 65(2)",
    "url": "https://ps.ipd.kit.edu/downloads/za_2003_controlled_experiment_inheritance_depth.pdf",
    "in_text": "Prechelt et al. (2003)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own two controlled experiments; design, n=57 and 58, tests shown; no stake; data online"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-6",
   "claim": "Taken with earlier experiments by Daly et al., results do not show inheritance depth as such to be helpful or harmful; the number of relevant methods mattered more.",
   "quote": "there is no such thing as usefulness or harmfulness of a certain inheritance depth as such. Code maintenance effort is hardly correlated with inheritance depth, but rather depends on other factors",
   "source": {
    "id": "yagni-dry-wet:S-w4-2",
    "key": "prechelt2003",
    "author": "Prechelt, Lutz and Unger, Barbara and Philippsen, Michael and Tichy, Walter",
    "year": "2003",
    "title": "A controlled experiment on inheritance depth as a cost factor for code maintenance",
    "publisher": "Journal of Systems and Software, 65(2)",
    "url": "https://ps.ipd.kit.edu/downloads/za_2003_controlled_experiment_inheritance_depth.pdf",
    "in_text": "Prechelt et al. (2003)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own two controlled experiments; design, n=57 and 58, tests shown; no stake; data online"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-7",
   "claim": "Intermediate variables helped comprehension in one of six functions (the hardest) and meaningless names slightly harmed understanding in two; structure mostly made little difference.",
   "quote": "in only one case there was a significant difference between the two extreme versions, in favor of the one with intermediate variables with meaningful names.",
   "source": {
    "id": "yagni-dry-wet:S-w4-3",
    "key": "cates2021",
    "author": "Cates, Roee and Yunik, Nadav and Feitelson, Dror G.",
    "year": "2021",
    "title": "Does code structure affect comprehension? On using and naming intermediate variables",
    "publisher": "ICPC 2021; arXiv 2103.11008",
    "url": "https://arxiv.org/abs/2103.11008",
    "in_text": "Cates et al. (2021)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own experiment; method shown; n=113; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-8",
   "claim": "In an eye-tracking experiment with Java novices, extracting methods helped on two harder tasks but hurt on simpler tasks.",
   "quote": "In two tasks, method extraction improved performance and reduced visual effort, with time decreasing by up to 78.8% and regressions by 84.6%. For simpler tasks (e.g., square area), extraction hurt performance: time increased by up to 166.9% and regressions by 200%.",
   "source": {
    "id": "yagni-dry-wet:S-w4-4",
    "key": "dacosta2026",
    "author": "da Costa, José Aldo Silva and Gheyi, Rohit and others",
    "year": "2026",
    "title": "Refactoring for novices in Java: An eye tracking study on the extract vs. inline methods",
    "publisher": "arXiv 2602.18579",
    "url": "https://arxiv.org/abs/2602.18579",
    "in_text": "da Costa et al. (2026)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own controlled experiment, eye tracking; n=32 plus 58-person survey, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w4-9",
   "claim": "Even with meaningful method names, novices switched between call sites and extracted methods, adding navigation load.",
   "quote": "Even with meaningful method names, novices often switched back and forth between call sites and extracted methods, increasing navigation and cognitive load.",
   "source": {
    "id": "yagni-dry-wet:S-w4-4",
    "key": "dacosta2026",
    "author": "da Costa, José Aldo Silva and Gheyi, Rohit and others",
    "year": "2026",
    "title": "Refactoring for novices in Java: An eye tracking study on the extract vs. inline methods",
    "publisher": "arXiv 2602.18579",
    "url": "https://arxiv.org/abs/2602.18579",
    "in_text": "da Costa et al. (2026)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own controlled experiment, eye tracking; n=32 plus 58-person survey, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "experiments-on-indirection"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-31",
   "claim": "Duala-Ekoko and Robillard say research has provided evidence that it may not always be practical, feasible or cost-effective to eliminate certain clone groups through refactoring.",
   "quote": "Research has provided evidence that it may not always be practical, feasible, or cost-effective to eliminate certain clone groups through refactoring.",
   "source": {
    "id": "yagni-dry-wet:S-w7-13",
    "key": "dualaekoko2008",
    "author": "Duala-Ekoko, Ekwa and Robillard, Martin P.",
    "year": "2008",
    "title": "CloneTracker: Tool support for code clone management",
    "publisher": "30th International Conference on Software Engineering (ICSE 2008)",
    "url": "https://www.cs.mcgill.ca/~martin/papers/icse2008d.pdf",
    "in_text": "Duala-Ekoko & Robillard (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "describes the authors' own tool without evaluating it; evaluation deferred to earlier paper; no results claimed"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w7-32",
   "claim": "CloneTracker tracks specified clone groups, notifies developers when changes intersect tracked clones and supports consistent changes to a corresponding clone region.",
   "quote": "When future modiﬁcations intersect with tracked clones, CloneTracker will notify the developer, provide support to consistently apply changes to a corresponding clone region, and provide support for updating the clone model.",
   "source": {
    "id": "yagni-dry-wet:S-w7-13",
    "key": "dualaekoko2008",
    "author": "Duala-Ekoko, Ekwa and Robillard, Martin P.",
    "year": "2008",
    "title": "CloneTracker: Tool support for code clone management",
    "publisher": "30th International Conference on Software Engineering (ICSE 2008)",
    "url": "https://www.cs.mcgill.ca/~martin/papers/icse2008d.pdf",
    "in_text": "Duala-Ekoko & Robillard (2008)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "describes the authors' own tool without evaluating it; evaluation deferred to earlier paper; no results claimed"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "managing-clones-instead-of-removing-them"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-16",
   "claim": "Westheide says sharing a library across microservices ties services together and can build a distributed monolith.",
   "quote": "you introduce a strong coupling between them",
   "source": {
    "id": "yagni-dry-wet:S-w3-6",
    "key": "westheide2016",
    "author": "Westheide, Daniel",
    "year": "2016",
    "title": "The perils of shared code",
    "publisher": "INNOQ blog",
    "url": "https://www.innoq.com/en/blog/2016/11/the-perils-of-shared-code",
    "in_text": "Westheide (2016)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "shared-code-across-services",
    "when-dry-and-wet-are-said-to-apply"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w3-17",
   "claim": "Westheide says that to avoid lockstep one can copy code between services, and that if sharing, extract bottom-up from patterns proven in production.",
   "quote": "liberate your services from the lockstep described above",
   "source": {
    "id": "yagni-dry-wet:S-w3-6",
    "key": "westheide2016",
    "author": "Westheide, Daniel",
    "year": "2016",
    "title": "The perils of shared code",
    "publisher": "INNOQ blog",
    "url": "https://www.innoq.com/en/blog/2016/11/the-perils-of-shared-code",
    "in_text": "Westheide (2016)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "opinion post from experience; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "shared-code-across-services",
    "when-dry-and-wet-are-said-to-apply"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w10-10",
   "claim": "In an interview and survey study of microservice practitioners (21 interviews, 37 survey respondents), virtually all participants said some code must be shared among services, and only one survey participant duplicated code across services; the authors say duplication makes code unmanageable in the long run.",
   "quote": "Simply duplicating code in multiple microservices is against the “do not repeat yourself” (DRY) principle of software development (Hunt and Thomas 1999) and will make code unmanageable in the long run. Only one survey participant follows this practice (see Table 10).",
   "source": {
    "id": "yagni-dry-wet:S-w10-5",
    "key": "wang2021",
    "author": "Wang, Yingying and Kadiyala, Harshavardhan and Rubin, Julia",
    "year": "2021b",
    "title": "Promises and challenges of microservices: An exploratory study",
    "publisher": "Empirical Software Engineering",
    "url": "https://people.ece.ubc.ca/mjulia/publications/Microservices_EMSE_2021.pdf",
    "in_text": "Wang et al. (2021b)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own interviews (21) and survey (37 respondents); method shown; self-reports, small sample; manuscript names Empirical Software Engineering but no published reference"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "shared-code-across-services"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w10-11",
   "claim": "The same study found about 43% of survey participants had all services use the latest version of a shared library, and another 43% versioned libraries so services could rely on multiple versions; both bring coordination or version-clash problems.",
   "quote": "Around 43% of the survey participant apply this strategy. Its downside is that a microservice cannot make independent changes to that common code",
   "source": {
    "id": "yagni-dry-wet:S-w10-5",
    "key": "wang2021",
    "author": "Wang, Yingying and Kadiyala, Harshavardhan and Rubin, Julia",
    "year": "2021b",
    "title": "Promises and challenges of microservices: An exploratory study",
    "publisher": "Empirical Software Engineering",
    "url": "https://people.ece.ubc.ca/mjulia/publications/Microservices_EMSE_2021.pdf",
    "in_text": "Wang et al. (2021b)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own interviews (21) and survey (37 respondents); method shown; self-reports, small sample; manuscript names Empirical Software Engineering but no published reference"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "shared-code-across-services"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w10-12",
   "claim": "The authors conclude that sharing common code as libraries violates microservice independence and needs careful planning.",
   "quote": "Sharing common code in the form of software libraries violates microservice independence; such an approach require careful planning and management.",
   "source": {
    "id": "yagni-dry-wet:S-w10-5",
    "key": "wang2021",
    "author": "Wang, Yingying and Kadiyala, Harshavardhan and Rubin, Julia",
    "year": "2021b",
    "title": "Promises and challenges of microservices: An exploratory study",
    "publisher": "Empirical Software Engineering",
    "url": "https://people.ece.ubc.ca/mjulia/publications/Microservices_EMSE_2021.pdf",
    "in_text": "Wang et al. (2021b)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own interviews (21) and survey (37 respondents); method shown; self-reports, small sample; manuscript names Empirical Software Engineering but no published reference"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "shared-code-across-services"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w10-13",
   "claim": "Interviews with architects at four large companies found shared libraries in microservices bring team coupling, fix delays and many library versions, and the authors advise shared libraries only where a service cannot replace them and copying is very costly.",
   "quote": "the use of shared libraries may hinder agility on microservices",
   "source": {
    "id": "yagni-dry-wet:S-w10-6",
    "key": "detoledo2020",
    "author": "de Toledo, Saulo S. and Martini, Antonio and Sjøberg, Dag I. K.",
    "year": "2020",
    "title": "Improving agility by managing shared libraries in microservices",
    "publisher": "Agile Processes in Software Engineering and Extreme Programming: Workshops, vol. 396, pp. 195-202, Springer",
    "url": "https://pmc.ncbi.nlm.nih.gov/articles/PMC7510793/",
    "in_text": "de Toledo et al. (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own interview study; method shown; 6 interviewees, self-reports, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "shared-code-across-services"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-28",
   "claim": "In a survey of 85 professional developers, Duplicated code was by far the most mentioned smell, ahead of Long Method, Large Class and Accidental Complexity.",
   "quote": "that Duplicated code was by far the most mentioned smell, followed by smells/anti-patterns related to size and complexity: Long Method, Large Class and Accidental Complexity.",
   "source": {
    "id": "yagni-dry-wet:S-w6-10",
    "key": "yamashita2013",
    "author": "Yamashita, Aiko and Moonen, Leon",
    "year": "2013",
    "title": "Do developers care about code smells? An exploratory survey",
    "publisher": "20th Working Conference on Reverse Engineering (WCRE 2013), IEEE",
    "url": "https://web-backend.simula.no/sites/default/files/publications/codesmellsurvey.pdf",
    "in_text": "Yamashita & Moonen (2013)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own survey; method shown; n=85 developers, self-reports; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-developers-say-about-duplication"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-29",
   "claim": "In the same survey, the majority of respondents expressed the need for better tools to detect duplicated code or duplicated logic.",
   "quote": "the majority of respondents expressed the need for better tools to detect duplicated code/duplicated logic",
   "source": {
    "id": "yagni-dry-wet:S-w6-10",
    "key": "yamashita2013",
    "author": "Yamashita, Aiko and Moonen, Leon",
    "year": "2013",
    "title": "Do developers care about code smells? An exploratory survey",
    "publisher": "20th Working Conference on Reverse Engineering (WCRE 2013), IEEE",
    "url": "https://web-backend.simula.no/sites/default/files/publications/codesmellsurvey.pdf",
    "in_text": "Yamashita & Moonen (2013)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own survey; method shown; n=85 developers, self-reports; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-developers-say-about-duplication"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-30",
   "claim": "A replication of two earlier surveys of experienced developers (63 and 41) found developers rated 17 of 23 smells as harmful or very harmful in theory, but in practice few infected classes were judged harmful.",
   "quote": "code smells are perceived as more critical in theory but not as critical in practice.",
   "source": {
    "id": "yagni-dry-wet:S-w6-11",
    "key": "taibi2017",
    "author": "Taibi, Davide and Janes, Andrea and Lenarduzzi, Valentina",
    "year": "2017",
    "title": "How developers perceive smells in source code: A replicated study",
    "publisher": "Information and Software Technology, 92, 223-235",
    "url": "https://bia.unibz.it/esploro/outputs/journalArticle/How-developers-perceive-smells-in-source/991005772490101241",
    "in_text": "Taibi et al. (2017)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "Abstract read on a university repository page; full text not read; no per-smell result for duplicated code or speculative generality seen"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-developers-say-about-duplication"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-20",
   "claim": "A vendor analysis of 211 million changed lines found the share of refactoring (moved) lines fell from 25% in 2021 to under 10% in 2024.",
   "quote": "sunk from 25% of changed lines in 2021, to less than 10% in 2024",
   "source": {
    "id": "yagni-dry-wet:S-w5-11",
    "key": "gitclear2025",
    "author": "{GitClear}",
    "year": "2025",
    "title": "AI copilot code quality: 2025 look back (211 million changed lines, 2020-2024)",
    "publisher": "GitClear",
    "url": "https://www.gitclear.com/ai_assistant_code_quality_2025_research",
    "in_text": "GitClear (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "vendor sells metrics tools; proprietary 211M-line data, no data or code to check"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-21",
   "claim": "The same analysis found copy/pasted lines rose from 8.3% to 12.3% over the period.",
   "quote": "rose from 8.3% to 12.3% in the same period",
   "source": {
    "id": "yagni-dry-wet:S-w5-11",
    "key": "gitclear2025",
    "author": "{GitClear}",
    "year": "2025",
    "title": "AI copilot code quality: 2025 look back (211 million changed lines, 2020-2024)",
    "publisher": "GitClear",
    "url": "https://www.gitclear.com/ai_assistant_code_quality_2025_research",
    "in_text": "GitClear (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "vendor sells metrics tools; proprietary 211M-line data, no data or code to check"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-22",
   "claim": "The same analysis covered 211 million changed lines authored January 2020 to December 2024.",
   "quote": "211 million changed lines of code, authored between January 2020 and December 2024",
   "source": {
    "id": "yagni-dry-wet:S-w5-11",
    "key": "gitclear2025",
    "author": "{GitClear}",
    "year": "2025",
    "title": "AI copilot code quality: 2025 look back (211 million changed lines, 2020-2024)",
    "publisher": "GitClear",
    "url": "https://www.gitclear.com/ai_assistant_code_quality_2025_research",
    "in_text": "GitClear (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "vendor sells metrics tools; proprietary 211M-line data, no data or code to check"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-23",
   "claim": "In the Cursor difference-in-differences study, duplicate line density (SonarQube) did not change significantly after adoption across the whole sample.",
   "quote": "The effect on duplicate line density is insignificant.",
   "source": {
    "id": "yagni-dry-wet:S-w6-9",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-27",
   "claim": "An observational study of Cursor adoption found a large but transient rise in project velocity and a persistent rise in static analysis warnings and code complexity.",
   "quote": "a substantial and persistent increase in static analysis warnings and code complexity",
   "source": {
    "id": "yagni-dry-wet:S-w5-14",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-28",
   "claim": "The same study reports that the rises in warnings and complexity are major factors driving long-term velocity slowdown.",
   "quote": "increases in static analysis warnings and code complexity are major factors driving long-term velocity slowdown",
   "source": {
    "id": "yagni-dry-wet:S-w5-14",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-24",
   "claim": "The authors report that all three estimators find no significant effect on duplicated lines density after Cursor adoption.",
   "quote": "All three estimators find no significant effects on duplicated lines density after Cursor adoption.",
   "source": {
    "id": "yagni-dry-wet:S-w6-9",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-25",
   "claim": "The authors say heavy Cursor adopters may show modest increases in duplicate line density and that future research is needed on duplication in high AI usage settings.",
   "quote": "heavy Cursor adopters may exhibit modest increases (Figure 4). Future research is needed to gather evidence on code duplication concerns in high AI usage scenarios.",
   "source": {
    "id": "yagni-dry-wet:S-w6-9",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-26",
   "claim": "The study measures duplicate line density as the percentage of duplicated lines, where SonarQube usually needs at least 10 consecutive duplicate statements or 100 duplicate tokens to mark a block as duplicate.",
   "quote": "SonarQube’s definition varies across programming languages, but usually requires at least 10 consecutive duplicate statements or 100 duplicate tokens to mark a block as duplicate",
   "source": {
    "id": "yagni-dry-wet:S-w6-9",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w6-27",
   "claim": "Treatment group is limited to repositories committing Cursor configuration files, which the authors flag as potential selection bias.",
   "quote": "Our treatment group only includes repositories committing Cursor configuration files to their git system, but developers can use Cursor without committing such files.",
   "source": {
    "id": "yagni-dry-wet:S-w6-9",
    "key": "he2025",
    "author": "He, Hao and Miller, Courtney and Agarwal, Shyam and Kästner, Christian and Vasilescu, Bogdan",
    "year": "2025c",
    "title": "Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects",
    "publisher": "23rd International Conference on Mining Software Repositories (MSR '26), ACM",
    "url": "https://arxiv.org/abs/2511.04427",
    "in_text": "He et al. (2025c)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own difference-in-differences study; 806 repositories, design shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-23",
   "claim": "A study of three commercial AI code generators found Type-1 and Type-2 clone rates up to 7.50%, with a risk of infringing copyright and propagating vulnerable code.",
   "quote": "can reach up to 7.50%, indicating marked code clone issues.",
   "source": {
    "id": "yagni-dry-wet:S-w5-12",
    "key": "wu2025e",
    "author": "Wu, Weibin and Hu, Haoxuan and Fan, Zhaoji and Qiao, Yitong and Huang, Yizhan and Li, Yichen and others",
    "year": "2025b",
    "title": "An empirical study of code clones from commercial AI code generators",
    "publisher": "Proceedings of the ACM on Software Engineering, 2(FSE)",
    "url": "https://conf.researchr.org/details/fse-2025/fse-2025-research-papers/111/An-Empirical-Study-of-Code-Clones-from-Commercial-AI-Code-Generators",
    "in_text": "Wu et al. (2025b)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "low",
    "trust_reason": "own study; results (up to 7.50%) with no method or sample on page"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w11-10",
   "claim": "The authors read the large counts of unused arguments in AI code as copying parameter patterns from docstrings or signatures without using them.",
   "quote": "The recurrence of unused arguments across all AI models in extremely large numbers suggests that they frequently replicate parameter patterns from docstrings or function signatures without correctly using them in the generated body.",
   "source": {
    "id": "yagni-dry-wet:S-w11-3",
    "key": "cotroneo2025",
    "author": "Cotroneo, Domenico and Improta, Cristina and Liguori, Pietro",
    "year": "2025",
    "title": "Human-written vs. AI-generated code: A large-scale study of defects, vulnerabilities, and complexity",
    "publisher": "IEEE ISSRE 2025; arXiv 2508.21634",
    "url": "https://arxiv.org/abs/2508.21634",
    "in_text": "Cotroneo et al. (2025)",
    "type": "preprint",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own comparison of 500k code samples with ODC and CWE classification; no stake stated; accepted ISSRE 2025 but no DOI"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w11-9",
   "claim": "Comparing >500k Python and Java samples from humans and three LLMs, AI code was simpler and more repetitive but more prone to unused constructs and hardcoded debugging.",
   "quote": "We find that AI-generated code is generally simpler and more repetitive, yet more prone to unused constructs and hardcoded debugging, while humanwritten code exhibits greater structural complexity and a higher concentration of maintainability issues.",
   "source": {
    "id": "yagni-dry-wet:S-w11-3",
    "key": "cotroneo2025",
    "author": "Cotroneo, Domenico and Improta, Cristina and Liguori, Pietro",
    "year": "2025",
    "title": "Human-written vs. AI-generated code: A large-scale study of defects, vulnerabilities, and complexity",
    "publisher": "IEEE ISSRE 2025; arXiv 2508.21634",
    "url": "https://arxiv.org/abs/2508.21634",
    "in_text": "Cotroneo et al. (2025)",
    "type": "preprint",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own comparison of 500k code samples with ODC and CWE classification; no stake stated; accepted ISSRE 2025 but no DOI"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-29",
   "claim": "A study of agent-written pull requests reports that LLM agents frequently disregard code reuse opportunities.",
   "quote": "Evaluation results indicate that LLM Agents frequently disregard code reuse opportunities.",
   "source": {
    "id": "yagni-dry-wet:S-w5-15",
    "key": "huang2026f",
    "author": "Huang, Haoming and Jaisri, Pongchai and Shimizu, Shota and Chen, Lingfeng and Nakashima, Sota and Rodriguez-Perez, Gema",
    "year": "2026h",
    "title": "More code, less reuse: Investigating code quality and reviewer sentiment towards AI-generated pull requests",
    "publisher": "arXiv 2601.21276",
    "url": "https://arxiv.org/abs/2601.21276",
    "in_text": "Huang et al. (2026h)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own analysis of AIDev PRs; method shown; large dataset; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-24",
   "claim": "A two-phase experiment with 151 participants, 95% professional developers, found no significant differences in later evolution time or code quality for AI co-developed code.",
   "quote": "Phase 2 revealed no significant differences in subsequent evolution with respect to completion time or code quality.",
   "source": {
    "id": "yagni-dry-wet:S-w5-13",
    "key": "borg2026",
    "author": "Borg, Markus and Hewett, Dave and Hagatulah, Nadim and Couderc, Noric and Söderberg, Emma and Graham, Donald and others",
    "year": "2026",
    "title": "Echoes of AI: Investigating the downstream effects of AI assistants on software maintainability",
    "publisher": "Empirical Software Engineering (arXiv:2507.00788)",
    "url": "https://arxiv.org/pdf/2507.00788v3",
    "in_text": "Borg et al. (2026)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own controlled experiment and RCT; method shown; n=151; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-25",
   "claim": "In that experiment, AI assistant use was associated with a 30.7% median reduction in completion time.",
   "quote": "30.7% median reduction in completion time",
   "source": {
    "id": "yagni-dry-wet:S-w5-13",
    "key": "borg2026",
    "author": "Borg, Markus and Hewett, Dave and Hagatulah, Nadim and Couderc, Noric and Söderberg, Emma and Graham, Donald and others",
    "year": "2026",
    "title": "Echoes of AI: Investigating the downstream effects of AI assistants on software maintainability",
    "publisher": "Empirical Software Engineering (arXiv:2507.00788)",
    "url": "https://arxiv.org/pdf/2507.00788v3",
    "in_text": "Borg et al. (2026)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own controlled experiment and RCT; method shown; n=151; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  },
  {
   "id": "yagni-dry-wet:C-w5-26",
   "claim": "The authors name code bloat from excessive code generation as a risk for future work.",
   "quote": "Future work should examine risks such as code bloat from excessive code generation and cognitive debt",
   "source": {
    "id": "yagni-dry-wet:S-w5-13",
    "key": "borg2026",
    "author": "Borg, Markus and Hewett, Dave and Hagatulah, Nadim and Couderc, Noric and Söderberg, Emma and Graham, Donald and others",
    "year": "2026",
    "title": "Echoes of AI: Investigating the downstream effects of AI assistants on software maintainability",
    "publisher": "Empirical Software Engineering (arXiv:2507.00788)",
    "url": "https://arxiv.org/pdf/2507.00788v3",
    "in_text": "Borg et al. (2026)",
    "type": "preprint",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own controlled experiment and RCT; method shown; n=151; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "duplication-in-ai-written-code"
   ]
  }
 ],
 "sources": {
  "abramov2020": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "alomar2025": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "bavota2012": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "bettenburg2009": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "borg2026": {
   "grade": "solid",
   "why": "Preprint, abstract only."
  },
  "cates2021": {
   "grade": "solid",
   "why": "Preprint, abstract only."
  },
  "cotroneo2025": {
   "grade": "solid",
   "why": "Preprint, read in full."
  },
  "dacosta2026": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "detoledo2020": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "dipenta2020": {
   "grade": "solid",
   "why": "Preprint, abstract only."
  },
  "dodds2020": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "dualaekoko2008": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "ferreira2025b": {
   "grade": "solid",
   "why": "Preprint, abstract only."
  },
  "gitclear2025": {
   "grade": "weak",
   "why": "Vendor page, read in large part."
  },
  "godekoschke2011": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "he2025": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "hordijk2009": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "hu2021b": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "huang2026f": {
   "grade": "solid",
   "why": "Preprint, abstract only."
  },
  "islam2017": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "jahanshahi2024": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "juergens2009": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "kapser2008": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "krinke2008": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "krinke2011": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "latoza2006": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "li2004": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "lozano2009": {
   "grade": "medium",
   "why": "Abstract only."
  },
  "mckenzie2016": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "metz2016": {
   "grade": "medium",
   "why": "Blog post, read in full."
  },
  "mondal2012": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "mondal2018": {
   "grade": "medium",
   "why": "Preprint, read in full."
  },
  "nicologies": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "pike2015": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "portebois2022": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "prechelt2003": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "rahman2010": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "rahmanroy2014": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "rainsberger2025": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "santo2020": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "selim2010": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "swett2021": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "taibi2017": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "toomim2004": {
   "grade": "medium",
   "why": "Read in full."
  },
  "venners2003c": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "wagner2016": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "wang2021": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "westheide2016": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "wikipedia-dry": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "wikipedia-rule-of-three": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "wu2025e": {
   "grade": "weak",
   "why": "Peer-reviewed, abstract only."
  },
  "yamashita2013": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  }
 }
}
