Managing Code Clones Using Dynamic Change Tracking and Resolution

被引:24
|
作者
de Wit, Michiel [1 ]
Zaidman, Andy [1 ]
van Deursen, Arie [1 ]
机构
[1] Delft Univ Technol, NL-2600 AA Delft, Netherlands
关键词
D O I
10.1109/ICSM.2009.5306336
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Code cloning is widely recognized as a threat to the maintainability of source code. As such, many clone detection and removal strategies have been proposed. However, some clones can often not he removed easily so other strategies, based on clone management need to he developed. In this paper we describe a clone management strategy based on dynamically inferring clone relations by monitoring clipboard activity. We introduce CLONEBOARD, our Eclipse plug-in implementation that is able to track live changes to clones and offers several resolution strategies for inconsistently modified clones. We perform a user study with seven subjects to assess the adequacy, usability and effectiveness of CLONEBOARD, the results of which show that developers actually see the added value of such a tool but have strict requirements with respect to its usability.
引用
收藏
页码:169 / 178
页数:10
相关论文
共 50 条
  • [31] Tracking Code Bug Fix Ripple Effects Based on Change Patterns Using Markov Chain Models
    Ufuktepe, Ekincan
    Tuglular, Tugkan
    Palaniappan, Kannappan
    IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (02) : 1141 - 1156
  • [32] PIPING DYNAMIC RELIABILITY AND CODE RULE CHANGE RECOMMENDATIONS
    TAGART, SW
    TANG, YK
    GUZY, DJ
    RANGANATH, S
    NUCLEAR ENGINEERING AND DESIGN, 1990, 123 (2-3) : 373 - 385
  • [33] Dynamic super-resolution in particle tracking problems
    Liu, Ping
    Ammari, Habib
    APPLIED AND COMPUTATIONAL HARMONIC ANALYSIS, 2023, 64 : 143 - 193
  • [34] Dynamic code region (DCR) based program phase tracking and prediction for dynamic optimizations
    Kim, J
    Kodakara, SV
    Hsu, WC
    Lilja, CJ
    Yew, PC
    HIGH PERFORMANCE EMBEDDED ARCHITECTURES AND COMPILERS, PROCEEDINGS, 2005, 3793 : 203 - 217
  • [35] Investigating Vector-based Detection of Code Clones Using BigCloneBench
    Yokoi, Kazuki
    Choi, Eunjong
    Yoshida, Norihiro
    Inoue, Katsuro
    2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 699 - 700
  • [36] Removing Code Clones from Industrial Systems Using Compiler Directives
    Hatano, Tomomi
    Matsuo, Akihiko
    2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, : 336 - 345
  • [37] Tracking dynamic brain networks using high temporal resolution MEG measures of functional connectivity
    Tewarie, Prejaas
    Liuzzi, Lucrezia
    O'Neill, George C.
    Quinn, Andrew J.
    Griffa, Alessandra
    Woolrich, Mark W.
    Stam, Cornelis J.
    Hillebrand, Arjan
    Brookes, Matthew J.
    NEUROIMAGE, 2019, 200 : 38 - 50
  • [38] Dynamic taint tracking of Web application based on static code analysis
    Zhao, Jingling
    Qi, Junxin
    Zhou, Liang
    Cui, Baojiang
    2016 10TH INTERNATIONAL CONFERENCE ON INNOVATIVE MOBILE AND INTERNET SERVICES IN UBIQUITOUS COMPUTING (IMIS), 2016, : 96 - 101
  • [39] A novel code representation for detecting Java']Java code clones using high-level and abstract compiled code representations
    Quradaa, Fahmi H.
    Shahzad, Sara
    Saeed, Rashad
    Sufyan, Mubarak M.
    PLOS ONE, 2024, 19 (05):
  • [40] Research on PN code and carrier tracking algorithm in dynamic and noise environment
    Wang, Wei
    Hao, Yan-Ling
    Ma, Long-Hua
    Harbin Gongcheng Daxue Xuebao/Journal of Harbin Engineering University, 2006, 27 (04): : 530 - 535