An Efficient New Multi-Language Clone Detection Approach from Large Source Code

被引:0
|
作者
Rehman, Saif Ur [1 ]
Khan, Kamran [1 ]
Fong, Simon [2 ]
Biuk-Aghai, Robert [2 ]
机构
[1] SZABIST, Dept Comp Sci, Islamabad, Pakistan
[2] Univ Macau, Fac Sci & Technol, Dept Informat & Comp Sci, Macau, Peoples R China
关键词
software engineering; collaborative programming; code reuse; code clone detection techniques;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In software engineering, the concept of code reuse is very common. Code reuse is the concept of copying and pasting the code in multiple places in the same software or different software without modification. This practice may reduce software maintainability and give rise to serious maintenance problems. In the last few decades numerous code clone detection techniques and tools have been proposed for capturing duplicated redundant code. Each of these techniques attempts to find out the duplicated code, which is also known as software clone. These techniques include Kclone, CP-Miner, CC-Finder, CReN etc. The objective of those researches is the exploration of various clone detection techniques and tools proposed so far. In this study, we propose an efficient clone detection technique which is used to detect clones in various programming languages. We have endeavored to improve performance and overcome the key problem of detecting clones in only one language. The proposed technique has been evaluated using two-dimensional array which has exhibited a faster method of storing and identification of clones in source code. We are also working on some of its future directions including the removal of the clones detected from the source code.
引用
收藏
页码:937 / 940
页数:4
相关论文
共 50 条
  • [1] Large Scale Multi-language Clone Analysis in a Telecommunication Industrial Setting
    Merlo, Ettore
    Lavoie, Thierry
    Potvin, Pascal
    Busnel, Pierre
    [J]. 2013 7TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC), 2013, : 69 - 75
  • [2] Efficient FPGA hardware development: A multi-language approach
    Benkrid, K.
    Benkrid, A.
    Belkacemi, S.
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2007, 53 (04) : 184 - 209
  • [3] Typing a multi-language intermediate code
    Gordon, AD
    Syme, D
    [J]. ACM SIGPLAN NOTICES, 2001, 36 (03) : 248 - 260
  • [4] Code Smells for Multi-language Systems
    Abidi, Mouna
    Grichi, Manel
    Khomh, Foutse
    Gueheneuc, Yann-Gael
    [J]. PROCEEDINGS OF THE 24TH EUROPEAN CONFERENCE ON PATTERN LANGUAGES OF PROGRAMS (EUROPLOP 2019), 2019,
  • [5] Detection of Unused Native Methods code smells in Multi-Language Systems
    Ansari, Md. Shahrukh
    Moiz, Salman Abdul
    [J]. 2024 4TH INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND SOFTWARE ENGINEERING, ICICSE 2024, 2024, : 44 - 50
  • [6] Investigating the Efficacy of Large Language Models for Code Clone Detection
    Khajezade, Mohamad
    Wu, Jie J. W.
    Fard, Fatemeh Hendijani
    Rodriguez-Perez, Gema
    Shehata, Mohamed Sami
    [J]. PROCEEDINGS 2024 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC 2024, 2024, : 161 - 165
  • [7] Assessing the Code Clone Detection Capability of Large Language Models
    Zhang, Zixian
    Saber, Takfarinas
    [J]. PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON CODE QUALITY, ICCQ 2024, 2024,
  • [8] Towards Multi-Language Static Code Analysis
    Siddiqui, Sanaa
    Metta, Ravindra
    Madhukar, Kumar
    [J]. 2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 81 - 82
  • [9] Indexing source code and clone detection
    Tronicek, Zdenek
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 144
  • [10] A parallel and efficient approach to large scale clone detection
    Sajnani, Hitesh
    Saini, Vaibhav
    Lopes, Cristina
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2015, 27 (06) : 402 - 429