2009 IEEE 31st International Conference on Software Engineering 2009
DOI: 10.1109/icse.2009.5070547
|View full text |Cite
|
Sign up to set email alerts
|

Do code clones matter?

Abstract: Code cloning is not only assumed to inflate maintenance costs but also considered defect-prone as inconsistent changes to code duplicates can lead to unexpected behavior. Consequently, the identification of duplicated code, clone detection, has been a very active area of research in recent years. Up to now, however, no substantial investigation of the consequences of code cloning on program correctness has been carried out. To remedy this shortcoming, this paper presents the results of a large-scale case study… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

4
205
0
1

Year Published

2009
2009
2019
2019

Publication Types

Select...
8
1
1

Relationship

1
9

Authors

Journals

citations
Cited by 325 publications
(210 citation statements)
references
References 31 publications
(70 reference statements)
4
205
0
1
Order By: Relevance
“…Even parts of preconditions or postconditions can be refined, which would otherwise require to clone contracts and modify them. Such specification clones may lead to similar problems as code clones [14]. For example, when updating a contract, we may forget to update clones of this contract and introduce inconsistencies.…”
Section: Consecutive Contract Refinementmentioning
confidence: 99%
“…Even parts of preconditions or postconditions can be refined, which would otherwise require to clone contracts and modify them. Such specification clones may lead to similar problems as code clones [14]. For example, when updating a contract, we may forget to update clones of this contract and introduce inconsistencies.…”
Section: Consecutive Contract Refinementmentioning
confidence: 99%
“…We employed the latter algorithm. ConQAT has been used in various studies on clone detection (Juergens et al, 2009;Juergens et al, 2010a) including the study we build on Juergens, Deissenboeck & Hummel (2010b).…”
Section: Clone Detection Toolsmentioning
confidence: 99%
“…However, to reduce the number of falsepositives, all approaches are in need of specifying a minimal code clone length for their unit of measurement (be it tokens, statements, lines or AST nodes) when applied in practice. This minimal clone length is usually in the range of 5-10 units (Bellon et al 2007;Juergens et al 2009), which makes it too long to detect our micro-clones of length 2 to 5 units.…”
Section: Why Current Clone Detectors Are Not Suitablementioning
confidence: 99%