arrow
Return

Clone Management for Evolving Software

delete2012-09-01
delete83
PRE
AI
H
Hoan Anh Nguyen *
T
Tung Nguyen
N
Nam H. Pham
J
Jafar M. Al-Kofahi
T
Tien N. Nguyen
DOI:10.1109/TSE.2011.90delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Recent research results suggest a need for code clone management. In this paper, we introduce JSync, a novel clone management tool. JSync provides two main functions to support developers in being aware of the clone relation among code fragments as software systems evolve and in making consistent changes as they create or modify cloned code. JSync represents source code and clones as (sub) trees in Abstract Syntax Trees, measures code similarity based on structural characteristic vectors, and describes code changes as tree editing scripts. The key techniques of JSync include the algorithms to compute tree editing scripts, to detect and update code clones and their groups, to analyze the changes of cloned code to validate their consistency, and to recommend relevant clone synchronization and merging. Our empirical study on several real-world systems shows that JSync is efficient and accurate in clone detection and updating, and provides the correct detection of the defects resulting from inconsistent changes to clones and the correct recommendations for change propagation across cloned code.
Keywords:
Clone management
clone consistency analysis
clone synchronization
clone merging

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.2W

Organization

I
Iowa State University
Scholars:
773
Papers: 332
Citations: 3.7K
Cited Papers

Cited Papers

Significance of Magnetic Field on Carreau Dissipative Flow Over a Curved Porous Surface with Activation Energy
err2021-03-01
err0
PREAI
errGadamsetty Revathi; Jayachandra Babu Macherla; Chakravarthula Sivakrishnam Raju; Rohit Sharma; Ali J. Chamkha
errShare
errSave
Comparison and evaluation of clone detection tools
err2007-09-01
err510
errOAAI
errBellon, Stefan; Koschke, Rainer; Antoniol, Giuliano; Krinke, Jens; Merlo, Ettore
errShare
errSave
Transplantation of Human Undifferentiated Embryonic Stem Cells into A Myocardial Infarction Rat Model
err2007-02-01
err0
errOAAI
errChang-Qing Xie; Jifeng Zhang; Yan Xiao; Li Zhang; Yongshan Mou; Xiaowei Liu; Mukaila Akinbami; Taixing Cui; Yuqing E. Chen
errShare
errSave
Valor pronóstico del índice de riesgo nutricional para los candidatos a implante de un dispositivo de asistencia ventricular izquierda de flujo continuo
err2019-08-01
err0
PREAI
errAitor Uribarri; Sebastian V. Rojas; Jasmin S. Hanke; Günes Dogan; Thierry Siemeni; Tim Kaufeld; Fabio Ius; Tobias Goecke; Sara Rojas-Hernandez; Gregor Warnecke; Christoph Bara; Murat Avsar; Axel Haverich
errShare
errSave
researcher View more