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
来源
2013 7TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC) | 2013年
关键词
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]   CLCDSA: Cross Language Code Clone Detection using Syntactical Features and API Documentation [J].
Nafi, Kawser Wazed ;
Kar, Tonny Shekha ;
Roy, Banani ;
Roy, Chanchal K. ;
Schneider, Kevin A. .
34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, :1026-1037
[42]   Token-based Code Clone Detection Technique in a Student's Programming Exercise [J].
Iwamoto, Mai ;
Oshima, Shunsuke ;
Nakashima, Takuo .
2012 SEVENTH INTERNATIONAL CONFERENCE ON BROADBAND, WIRELESS COMPUTING, COMMUNICATION AND APPLICATIONS (BWCCA 2012), 2012, :650-655
[43]   A machine learning based framework for code clone validation [J].
Mostaeen, Golam ;
Roy, Banani ;
Roy, Chanchal K. ;
Schneider, Kevin ;
Svajlenko, Jeffrey .
JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 169
[44]   Survey on Software Clone Detection Research [J].
Min, Hou ;
Ping, Zhang Li .
PROCEEDINGS OF THE 2019 3RD INTERNATIONAL CONFERENCE ON MANAGEMENT ENGINEERING, SOFTWARE ENGINEERING AND SERVICE SCIENCES (ICMSS 2019), 2019, :9-16
[45]   Clone-Writer: An effective editor for developing code by using code clones [J].
Hammad, Muhammad ;
Babur, Onder ;
Basit, Hamid Abdul ;
van den Brand, Mark .
SOFTWARE IMPACTS, 2022, 13
[46]   A systematic literature review on source code similarity measurement and clone detection: Techniques, applications, and challenges [J].
Zakeri-Nasrabadi, Morteza ;
Parsa, Saeed ;
Ramezani, Mohammad ;
Roy, Chanchal ;
Ekhtiarzadeh, Masoud .
JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 204
[47]   CONCORD: Clone-Aware Contrastive Learning for Source Code [J].
Ding, Yangruibo ;
Chakraborty, Saikat ;
Buratti, Luca ;
Pujar, Saurabh ;
Morari, Alessandro ;
Kaiser, Gail ;
Ray, Baishakhi .
PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, :26-38
[48]   A Retrospective on Developing Code Clone Detector CCFinder and Its Impact [J].
Kamiya, Toshihiro ;
Kusumoto, Shinji ;
Inoue, Katsuro .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) :808-813
[49]   Code clone analysis environment for supporting software development and maintenance [J].
Ueda, Yaslishi ;
Kamiya, Toshihiro ;
Kusumoto, Shinjii ;
Inoue, Katsuro .
ELECTRONICS AND COMMUNICATIONS IN JAPAN PART III-FUNDAMENTAL ELECTRONIC SCIENCE, 2006, 89 (11) :10-18
[50]   Mapping Similarity Detectors of Code Clone to Academic Integrity in Programming [J].
Pangestu, Muftah Afrizal ;
Karnalim, Oscar ;
Simon .
2021 IEEE WORLD CONFERENCE ON ENGINEERING EDUCATION (EDUNINE), 2021,