Enhancement of generic code clone detection model for python application

Ilyana Najwa Aiza, Asmad and Mubarak-Ali, Al-Fahim and Nik Intan Syahiddatul Ilani, Jailani (2022) Enhancement of generic code clone detection model for python application. International Journal of Software Engineering & Computer Sciences (IJSECS), 8 (1). pp. 1-10. ISSN 2289-8522. (Published)

Pdf (Open access)
Enhancement of generic code clone detection model for python application.pdf

Download (424kB) | Preview


Identical code fragments in different locations are recognized as code clones. There are four native terminologies of code clones concluded as Type-1, Type-2, Type-3 and Type-4. Code clones can be identified using various approaches and models. Generic Code Clone Detection (GCCD) model was created to detect all four terminologies of code clones through five processes. A prototype has been developed to detect code clones in Java programming language that starts with Pre-processing Transformation, Parameterization, Categorization and ends with the Match Detection process. Hence, this work targeted to enhance the prototype using a GCCD model to identify all clone types in Python language. Enhancements are done in the Pre-processing process and parameterization process of the GCCD model to fit the Python language criteria. Results are improved by finding the best constant value and suitable weightage according to Python language. Proposed enhancement results of the Python language clone detection in GCCD model imply that Public as the weightage indicator and def as the best constant value.

Item Type: Article
Uncontrolled Keywords: Code clone detection; Python languages; Computational intelligence
Subjects: Q Science > QA Mathematics > QA76 Computer software
Faculty/Division: Institute of Postgraduate Studies
Faculty of Computing
Depositing User: Mrs Norsaini Abdul Samat
Date Deposited: 16 Mar 2022 02:16
Last Modified: 16 Mar 2022 02:16
URI: http://umpir.ump.edu.my/id/eprint/33538
Download Statistic: View Download Statistics

Actions (login required)

View Item View Item