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...
| Main Authors: | , , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
Penerbit UMP
2022
|
| Subjects: | |
| Online Access: | http://umpir.ump.edu.my/id/eprint/33538/ http://umpir.ump.edu.my/id/eprint/33538/1/Enhancement%20of%20generic%20code%20clone%20detection%20model%20for%20python%20application.pdf |
| _version_ | 1848824279648436224 |
|---|---|
| author | Ilyana Najwa Aiza, Asmad Mubarak-Ali, Al-Fahim Nik Intan Syahiddatul Ilani, Jailani |
| author_facet | Ilyana Najwa Aiza, Asmad Mubarak-Ali, Al-Fahim Nik Intan Syahiddatul Ilani, Jailani |
| author_sort | Ilyana Najwa Aiza, Asmad |
| building | UMP Institutional Repository |
| collection | Online Access |
| description | 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. |
| first_indexed | 2025-11-15T03:10:30Z |
| format | Article |
| id | ump-33538 |
| institution | Universiti Malaysia Pahang |
| institution_category | Local University |
| language | English |
| last_indexed | 2025-11-15T03:10:30Z |
| publishDate | 2022 |
| publisher | Penerbit UMP |
| recordtype | eprints |
| repository_type | Digital Repository |
| spelling | ump-335382022-03-16T02:16:05Z http://umpir.ump.edu.my/id/eprint/33538/ Enhancement of generic code clone detection model for python application Ilyana Najwa Aiza, Asmad Mubarak-Ali, Al-Fahim Nik Intan Syahiddatul Ilani, Jailani QA76 Computer software 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. Penerbit UMP 2022-01 Article PeerReviewed pdf en http://umpir.ump.edu.my/id/eprint/33538/1/Enhancement%20of%20generic%20code%20clone%20detection%20model%20for%20python%20application.pdf 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) https://doi.org/10.15282/ijsecs.8.1.2022.1.0091 https://doi.org/10.15282/ijsecs.8.1.2022.1.0091 |
| spellingShingle | QA76 Computer software Ilyana Najwa Aiza, Asmad Mubarak-Ali, Al-Fahim Nik Intan Syahiddatul Ilani, Jailani Enhancement of generic code clone detection model for python application |
| title | Enhancement of generic code clone detection model for python application |
| title_full | Enhancement of generic code clone detection model for python application |
| title_fullStr | Enhancement of generic code clone detection model for python application |
| title_full_unstemmed | Enhancement of generic code clone detection model for python application |
| title_short | Enhancement of generic code clone detection model for python application |
| title_sort | enhancement of generic code clone detection model for python application |
| topic | QA76 Computer software |
| url | http://umpir.ump.edu.my/id/eprint/33538/ http://umpir.ump.edu.my/id/eprint/33538/ http://umpir.ump.edu.my/id/eprint/33538/ http://umpir.ump.edu.my/id/eprint/33538/1/Enhancement%20of%20generic%20code%20clone%20detection%20model%20for%20python%20application.pdf |