Enhancement of generic code clone detection model for python application

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 t...

全面介紹

Saved in:
書目詳細資料
Main Authors: Ilyana Najwa Aiza, Asmad, Mubarak-Ali, Al-Fahim, Nik Intan Syahiddatul Ilani, Jailani
格式: Article
語言:English
出版: Penerbit UMP 2022
主題:
在線閱讀:http://umpir.ump.edu.my/id/eprint/33538/1/Enhancement%20of%20generic%20code%20clone%20detection%20model%20for%20python%20application.pdf
http://umpir.ump.edu.my/id/eprint/33538/
https://doi.org/10.15282/ijsecs.8.1.2022.1.0091
https://doi.org/10.15282/ijsecs.8.1.2022.1.0091
標簽: 添加標簽
沒有標簽, 成為第一個標記此記錄!
機構: Universiti Malaysia Pahang Al-Sultan Abdullah
語言: English
實物特徵
總結: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.