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 条
  • [31] Clone Refactoring with Lambda Expressions
    Tsantalis, Nikolaos
    Mazinanian, Davood
    Rostami, Shahriar
    2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, : 60 - 70
  • [32] Analysis and Visualization for Clone Refactoring
    Zibran, Minhaz F.
    2015 IEEE 9TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC), 2015, : 47 - 48
  • [33] Multilingual code refactoring detection based on deep learning
    Li, Tao
    Zhang, Yang
    Expert Systems with Applications, 258
  • [34] Multilingual code refactoring detection based on deep learning
    Li, Tao
    Zhang, Yang
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 258
  • [35] Semantic Code Clone Detection Based on Community Detection
    Wan, Zexuan
    Xie, Chunli
    Lv, Quanrun
    Fan, Yasheng
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, : 1661 - 1692
  • [36] Gapped Code Clone Detection with Lightweight Source Code Analysis
    Murakami, Hiroaki
    Hotta, Keisuke
    Higo, Yoshiki
    Igaki, Hiroshi
    Kusumoto, Shinji
    2013 IEEE 21ST INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2013, : 93 - 102
  • [37] Code Clone Detection Using Decentralized Architecture and Code Reduction
    Patil, Ritesh V.
    Joshi, Shashank D.
    Shinde, Sachin V.
    Ajagekar, Digvijay A.
    Bankar, Shubham D.
    2015 INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING (ICPC), 2015,
  • [38] 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
  • [39] 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
  • [40] 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