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 条
  • [1] Tracking the Evolution of Code Clones
    Bakota, Tibor
    SOFSEM 2011: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2011, 6543 : 86 - 98
  • [2] Tracking code clones in evolving software
    Duala-Ekoko, Ekwa
    Robillard, Martin P.
    ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 158 - +
  • [3] Relation of code clones and change couplings
    Geiger, R
    Fluri, B
    Gall, HC
    Pinzger, M
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 3922 : 411 - 425
  • [4] A code obfuscation framework using code clones
    Kulkarni, Aniket
    Metta, Ravindra
    22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings, 2014, : 295 - 299
  • [5] Proactively Managing Copy-and-Paste Induced Code Clones
    Hou, Daqing
    Jacob, Ferosh
    Jablonski, Patricia
    2009 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, CONFERENCE PROCEEDINGS, 2009, : 391 - 392
  • [6] Resolution of static clones in dynamic web pages
    Synytskyy, N
    Cordy, JR
    Dean, T
    FIFTH IEEE INTERNATIONAL WORKSHOP ON WEB SITE EVOLUTION THEME: ARCHITECTURE, PROCEEDINGS, 2003, : 49 - 56
  • [7] DYMO: Tracking Dynamic Code Identity
    Gilbert, Bob
    Kemmerer, Richard
    Kruegel, Christopher
    Vigna, Giovanni
    RECENT ADVANCES IN INTRUSION DETECTION, 2011, 6961 : 21 - 40
  • [8] Associating Code Clones with Association Rules for Change Impact Analysis
    Mondal, Manishankar
    Roy, Banani
    Roy, Chanchal K.
    Schneider, Kevin A.
    PROCEEDINGS OF THE 2020 IEEE 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER '20), 2020, : 93 - 103
  • [9] Prioritisation of code clones using a genetic algorithm
    Azadi, Umberto
    Walter, Bartosz
    Fontana, Francesca Arcelli
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 170
  • [10] Using a dynamic information model in managing change in a general medical directorate
    Holt, P
    Gill, M
    CURRENT PERSPECTIVES IN HEALTHCARE COMPUTING, CONFERENCE, 1996, : 3 - 9