2014
DOI: 10.1109/tse.2014.2323972
|View full text |Cite
|
Sign up to set email alerts
|

Predicting Consistency-Maintenance Requirement of Code Clonesat Copy-and-Paste Time

Abstract: Abstract-Code clones have always been a double edged sword in software development. On one hand, it is a very convenient way to reuse existing code, and to save coding effort. On the other hand, since developers may need to ensure consistency among cloned code segments, code clones can lead to extra maintenance effort and even bugs. Recently studies on the evolution of code clones show that only some of the code clones experience consistent changes during their evolution history. Therefore, if we can accuratel… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
15
0

Year Published

2018
2018
2024
2024

Publication Types

Select...
6
1

Relationship

1
6

Authors

Journals

citations
Cited by 25 publications
(15 citation statements)
references
References 33 publications
0
15
0
Order By: Relevance
“…Cross-Version Clone Linking. We used an existing approach [52] to link the clone groups detected in different sampled versions, in order to restore the clone evolution history. This approach matches clones across versions based on the code location and textual similarity.…”
Section: A Clone Data Preparationmentioning
confidence: 99%
“…Cross-Version Clone Linking. We used an existing approach [52] to link the clone groups detected in different sampled versions, in order to restore the clone evolution history. This approach matches clones across versions based on the code location and textual similarity.…”
Section: A Clone Data Preparationmentioning
confidence: 99%
“…Recent studies on the evolution of code clones show that only some of the code clones change consistently during the evolution of the system. Wang et al analyze how to accurately predict whether a code clone will undergo consistent changes. The work, therefore, provides useful recommendations to developers on leveraging the convenience of some code cloning operations while avoiding other code cloning operations in order to reduce a future consistency maintenance effort.…”
Section: Related Workmentioning
confidence: 99%
“…Currently, in order to avoid such defects, developers need to examine the corresponding code clones individually and determine if consistent changes need to be exerted on them every time when one of them is changed. Ideally, some tools that can assist developers in determining the need for consistent changes will help save software maintenance cost [7], [8].…”
Section: Introductionmentioning
confidence: 99%
“…With this knowledge, developers can re-think if they would like to perform the clone creation, thus improving development efficiency. Pioneering in this exploration of predicting clone-consistency-requirement is the work done by Wang et al [7]. In their work, Wang et al predict clone consistency by considering three attribute sets, drawing from the following three perspectives: history, code, and context.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation