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 条
  • [41] Code Clone Detection Model: A SWOT Analysis Perspective
    Mubarak-Ali, Al-Fahim
    Romli, Rahiwan Nazar
    Sjarif, Nilam Nur Amir
    ADVANCED SCIENCE LETTERS, 2018, 24 (10) : 7210 - 7213
  • [42] SHINOBI: A Tool for Automatic Code Clone Detection in the IDE
    Kawaguchi, Shinji
    Yamashina, Takanobu
    Uwano, Hidetake
    Fushida, Kyhohei
    Kamei, Yasutaka
    Nagura, Masataka
    Iida, Hajimu
    16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, : 313 - +
  • [43] Code Clone Detection with Hierarchical Attentive Graph Embedding
    Ji, Xiujuan
    Liu, Lei
    Zhu, Jingwen
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (06) : 837 - 861
  • [44] TECCD: A Tree Embedding Approach for Code Clone Detection
    Gao, Yi
    Wang, Zan
    Liu, Shuang
    Yang, Lin
    Sang, Wei
    Cai, Yuanfang
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2019), 2019, : 145 - 156
  • [45] On the use of clone detection for identifying crosscutting concern code
    Bruntink, M
    van Deursen, A
    van Engelen, R
    Tourwé, T
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (10) : 804 - 818
  • [46] A Survey for Management-Oriented Code Clone Research
    Su X.-H.
    Zhang F.-L.
    Jisuanji Xuebao/Chinese Journal of Computers, 2018, 41 (03): : 628 - 651
  • [47] An Approach to Rank Code Clones for Efficient Clone Management
    Garg, Ridhi
    Tekchandani, Rajkumar
    2014 INTERNATIONAL CONFERENCE ON ADVANCES IN ELECTRONICS, COMPUTERS AND COMMUNICATIONS (ICAECC), 2014,
  • [48] Rearranging the Order of Program Statements for Code Clone Detection
    Sabi, Yusuke
    Higo, Yoshiki
    Kusumoto, Shinji
    2017 IEEE 11TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC), 2017, : 15 - 21
  • [49] Clone detection in source code by frequent itemset techniques
    Wahler, V
    Seipel, D
    Von Gudenberg, JW
    Fischer, G
    FOURTH IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2004, : 128 - 135
  • [50] Type-2 Code Clone Detection for Dockerfiles
    Tsuru, Tomoaki
    Nakagawa, Tasuku
    Matsumoto, Shinsuke
    Higo, Yoshiki
    Kusumoto, Shinji
    2021 IEEE 15TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2021, 2021, : 1 - 7