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 条
  • [1] Comparison and Visualization of Code Clone Detection Results
    Matsushima, Kazuki
    Inoue, Katsuro
    [J]. PROCEEDINGS OF THE 2020 IEEE 14TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC '20), 2020, : 45 - 51
  • [2] Doppel-Code: A Clone Visualization Tool for Prioritizing Global and Local Clone Impacts
    Forbes, Christopher
    Keivanloo, Iman
    Rilling, Juergen
    [J]. 2012 IEEE 36TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2012, : 366 - 367
  • [3] Refactoring Code Clone Detection
    Othman, Zhala Sarkawt
    Kaya, Mehmet
    [J]. 2019 7TH INTERNATIONAL SYMPOSIUM ON DIGITAL FORENSICS AND SECURITY (ISDFS), 2019,
  • [4] Visualization of code clone detection results and the implementation with structured data
    Department of Business Administration and Information Science, Chubu University, Kasugai, Aichi, 487-8501, Japan
    [J]. World Acad. Sci. Eng. Technol., (329-334):
  • [5] Visualization of code clone detection results and the implementation with structured data
    Maeda, Kazuaki
    [J]. World Academy of Science, Engineering and Technology, 2011, 75 : 329 - 334
  • [6] On Precision of Code Clone Detection Tools
    Farmahinifarahani, Farima
    Saini, Vaibhav
    Yang, Di
    Sajnani, Hitesh
    Lopes, Cristina V.
    [J]. 2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 84 - 94
  • [7] Generalizability of Code Clone Detection on CodeBERT
    Sonnekalb, Tim
    Gruner, Bernd
    Brust, Clemens-Alexander
    Mäder, Patrick
    [J]. ACM International Conference Proceeding Series, 2022,
  • [8] Generalizability of Code Clone Detection on CodeBERT
    Sonnekalb, Tim
    Gruner, Bernd
    Brust, Clemens-Alexander
    Mäder, Patrick
    [J]. arXiv, 2022,
  • [9] A Systematic Review on Code Clone Detection
    Ul Ain, Qurat
    Butt, Wasi Haider
    Anwar, Muhammad Waseem
    Azam, Farooque
    Maqbool, Bilal
    [J]. IEEE ACCESS, 2019, 7 : 86121 - 86144
  • [10] Generalizability of Code Clone Detection on CodeBERT
    Sonnekalb, Tim
    Gruner, Bernd
    Brust, Clemens-Alexander
    Maeder, Patrick
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,