Tracking code clones in evolving software

被引:0
|
作者
Duala-Ekoko, Ekwa [1 ]
Robillard, Martin P. [1 ]
机构
[1] McGill Univ, Sch Comp Sci, Montreal, PQ H3A 2T5, Canada
来源
ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS | 2007年
基金
加拿大自然科学与工程研究理事会;
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Code clones are generally considered harmful in software development, and the predominant approach is to try to eliminate them through refactoring. However, recent research has provided evidence that it may not always be practical, feasible, or cost-effective to eliminate certain clone groups. We propose a technique for tracking clones in evolving software. Our technique relies on the concept of abstract clone region descriptors (CRD), which describe clone regions within methods in a robust way that is independent from the exact text of the clone region or its location in a file. We present our definition of CRDs, and describe a complete clone tracking system capable of producing CRDs from the output of a clone detection tool, notify developers of modifications to clone regions, and support the simultaneous editing of clone regions. We report on two experiments and a case study conducted to assess the performance and usefulness of our approach.
引用
收藏
页码:158 / +
页数:2
相关论文
共 50 条
  • [1] Tracking the Evolution of Code Clones
    Bakota, Tibor
    SOFSEM 2011: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2011, 6543 : 86 - 98
  • [2] Micro-clones in Evolving Software
    Mondal, Manishankar
    Roy, Chanchal K.
    Schneider, Kevin A.
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), 2018, : 50 - 60
  • [3] Software analysis by code clones in open source software
    Uchida, S
    Kamiya, T
    Monden, A
    Matsumoto, KI
    Ohsugi, N
    Kudo, H
    JOURNAL OF COMPUTER INFORMATION SYSTEMS, 2005, 45 (03) : 1 - 11
  • [4] Software quality analysis by code clones in industrial legacy software
    Monden, A
    Nakae, D
    Kamiya, T
    Sato, S
    Matsumoto, K
    EIGHTH IEEE SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS, 2002, : 87 - 94
  • [5] A Comparative Study of Software Bugs in Micro-clones and Regular Code Clones
    Islam, Judith F.
    Mondal, Manishankar
    Roy, Chanchal K.
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 73 - 83
  • [6] A Comprehensive Study on Code Clones in Automated Driving Software
    Mo, Ran
    Jiang, Yingjie
    Zhan, Wenjing
    Wang, Dongyu
    Li, Zengyang
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 1073 - 1085
  • [7] Method and implementation for investigating code clones in a software system
    Higo, Yoshiki
    Kamiya, Toshihiro
    Kusumoto, Shinji
    Inoue, Katsuro
    INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (9-10) : 985 - 998
  • [8] Exploring Code Clones in Programmable Logic Controller Software
    Thaller, Hannes
    Ramler, Rudolf
    Pichler, Josef
    Egyed, Alexander
    2017 22ND IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2017,
  • [9] Exploring the Impact of Code Clones on Deep Learning Software
    Mo, Ran
    Zhang, Yao
    Wang, Ush Uo
    Zhang, Uan
    Xiong, Pu
    Li, Zengyang
    Zhao, Yang
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (06)
  • [10] Understanding the Effects of Code Clones on Modularity in Software Systems
    Yu, Liguo
    Ramaswamy, S.
    Vaidyanathan, A.
    2012 19TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW), VOL. 2, 2012, : 105 - 111