Prioritizing Code Clone Detection Results for Clone Management

被引:0
|
作者
Venkatasubramanyam, Radhika D. [1 ]
Gupta, Shrinath [1 ]
Singh, Himanshu Kumar [1 ]
机构
[1] India Siemens Technol & Serv Pvt Ltd, Siemens Corp Res & Technol, Bangalore, Karnataka, India
关键词
Code clone; code quality; clone prioritization; clone management; software clone quality;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Clone detection through tools is a common practice in the software industry. Associated with clone detection is code clone management, which includes taking informed decisions for management of the large sets of clones as reported by the clone detection tools, a task that gets more challenging with larger code bases. In order to enable and ease the process of code clone management, we discuss various criteria that help in prioritizing the clone results. We consider the impact of clones with respect to factors of maintenance overhead, code quality, and refactoring cost. The criteria for prioritization are based on the need for industrial code to adhere to software quality standards. This paper attempts to provide a systematic approach for analyzing and prioritizing clones to determine the order of fixing. This methodology is currently being used in some of the Siemens Corporate Technology Development Center Asia Australia (CT DC AA) projects; a case study of one such project is presented in this paper.
引用
收藏
页码:30 / 36
页数:7
相关论文
共 50 条
  • [31] SourcererCC: Scaling Code Clone Detection to Big-Code
    Sajnani, Hitesh
    Saini, Vaibhav
    Svajlenko, Jeffrey
    Roy, Chanchal K.
    Lopes, Cristina V.
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 1157 - 1168
  • [32] Learn To Align: A Code Alignment Network For Code Clone Detection
    Zhang, Aiping
    Liu, Kui
    Fang, Liming
    Liu, Qianjun
    Yun, Xinyu
    Ji, Shouling
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 1 - 11
  • [33] Efficient transformer with code token learner for code clone detection
    Zhang, Aiping
    Fang, Liming
    Ge, Chunpeng
    Li, Piji
    Liu, Zhe
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 197
  • [34] Comprehensible Presentation of Clone Detection Results
    Foedos, Viktoria
    Toth, Melinda
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE OF NUMERICAL ANALYSIS AND APPLIED MATHEMATICS 2014 (ICNAAM-2014), 2015, 1648
  • [35] Extracting Clone Genealogies for Tracking Code Clone Changes
    Wang, Chun-Hui
    Tu, Ying
    Zhang, Li-Ping
    Liu, Dong-Sheng
    INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2016, 10 (03): : 21 - 30
  • [36] Clone-Hunter: Accelerated Bound Checks Elimination via Binary Code Clone Detection
    Xue, Hongfa
    Venkataramani, Guru
    Lan, Tian
    MAPL'18: PROCEEDINGS OF THE 2ND ACM SIGPLAN INTERNATIONAL WORKSHOP ON MACHINE LEARNING AND PROGRAMMING LANGUAGES, 2018, : 11 - 19
  • [37] LLVM-Based Code Clone Detection Framework
    Avetisyan, Arutyun
    Kurmangaleev, Shamil
    Sargsyan, Sevak
    Arutunian, Mariam
    Belevantsev, Andrey
    TENTH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGIES REVISED SELECTED PAPERS CSIT-2015, 2015, : 100 - 104
  • [38] Program Slice based Vulnerable Code Clone Detection
    Song, Xiaonan
    Yu, Aimin
    Yu, Haibo
    Liu, Shirun
    Bai, Xin
    Cai, Lijun
    Meng, Dan
    2020 IEEE 19TH INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (TRUSTCOM 2020), 2020, : 293 - 300
  • [39] Transferring Code-Clone Detection and Analysis to Practice
    Dang, Yingnong
    Zhang, Dongmei
    Ge, Song
    Huang, Ray
    Chu, Chengyun
    Xie, Tao
    2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE TRACK (ICSE-SEIP 2017), 2017, : 53 - 62
  • [40] CMCD: Count Matrix based Code Clone Detection
    Yuan, Yang
    Guo, Yao
    2011 18TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2011), 2011, : 250 - 257