Refactoring Code Clone Detection

被引:0
|
作者
Othman, Zhala Sarkawt [1 ]
Kaya, Mehmet [2 ]
机构
[1] Firat Univ, Software Engn, Elazig, Turkey
[2] Adiyaman Univ, Elect Engn, Adiyaman, Turkey
关键词
Refactoring; Code Clone; Clone Detection;
D O I
10.1109/isdfs.2019.8757479
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Refactoring duplicate code is an important issue and is one of the most important smells in software maintenance. There is an important relationship between clones and code quality. Most programmers use clones because they are cheaper and faster than typing the program code. A cloning code is created by copying and pasting the existing code fragments of the source code with or without slight modifications. A major part (5% to 10%) of the source code for large computer programs consists of copy codes. Since cloning is believed to reduce the possibility of software maintenance, many techniques and cloning detection tools have been recommended for this purpose. The basic goal of clone detection is to identify the clone code and replace it with a single call to the function, where the function simulates the behavior of one instance of the clone group. This research provides an overview of the refactoring IDE. The aspects of cloning and detection of cloning are explained. In the copy detection algorithm, the source code is created in XML format.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] Research on the Tools of Clone Code Refactoring
    Zhao Fengrong
    Zhang Liping
    Zhao Junqi
    [J]. PROCEEDINGS OF THE 2019 3RD INTERNATIONAL CONFERENCE ON MANAGEMENT ENGINEERING, SOFTWARE ENGINEERING AND SERVICE SCIENCES (ICMSS 2019), 2019, : 27 - 31
  • [2] A Method of Program Refactoring based on Code Clone Detection and Impact Analysis
    Takahashi, Masakazu
    Nanba, Reiji
    Anang, Yunarso
    Uchiyama, Tatsuya
    Watanabe, Yoshimichi
    [J]. 2016 55TH ANNUAL CONFERENCE OF THE SOCIETY OF INSTRUMENT AND CONTROL ENGINEERS OF JAPAN (SICE), 2016, : 673 - 678
  • [3] Finding Code Clone Refactoring Techniques by Mapping Clone Context
    Baars, Simon
    Oprescu, Ana
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2023, 11950 LNCS : 344 - 357
  • [4] Refactoring support based on code clone analysis
    Higo, Y
    Kamiya, T
    Kusumoto, S
    Inoue, K
    [J]. PRODUCT FOCUSED SOFTWARE PROCESS IMPROVEMENT, 2004, 3009 : 220 - 233
  • [5] Detection Technology and Application of Clone Refactoring
    Yao Yongting
    Liu Dongsheng
    Zhang Liping
    [J]. PROCEEDINGS OF THE 2018 2ND INTERNATIONAL CONFERENCE ON MANAGEMENT ENGINEERING, SOFTWARE ENGINEERING AND SERVICE SCIENCES (ICMSS 2018), 2018, : 128 - 133
  • [6] On refactoring support based on code clone dependency relation
    Yoshida, N
    Higo, Y
    Kamiya, T
    Kusumoto, S
    Inoue, K
    [J]. 2005 11TH INTERNATIONAL SYMPOSIUM ON SOFTWARE METRICS (METRICS), 2005, : 133 - 142
  • [7] Extracting code clones for refactoring using combinations of clone metrics
    Graduate School of Information Science and Technology, Osaka University, Japan
    不详
    不详
    [J]. Proc Int Conf Software Eng, (7-13):
  • [8] Increasing clone maintenance support by unifying clone detection and refactoring activities
    Tairas, Robert
    Gray, Jeff
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2012, 54 (12) : 1297 - 1307
  • [9] Conflict-aware optimal scheduling of prioritised code clone refactoring
    Zibran, Minhaz Fahim
    Roy, Chanchal Kumar
    [J]. IET SOFTWARE, 2013, 7 (03) : 167 - 186
  • [10] Evaluating clone detection techniques from a refactoring perspective
    Van Rysselberghe, F
    Demeyer, S
    [J]. 19TH INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2004, : 336 - 339