Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications
Generic Code Clone Detection (GCCD) is a code clone detection model that use distance measure equation, enabling detection of all types of code clones, naming clone Type-1, Type-2, Type-3 and Type-4 in Java programming language applications. However, the detection process of GCCD did not focus on de...
| Main Authors: | , , , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
The Science and Information (SAI) Organization Limited
2025
|
| Subjects: | |
| Online Access: | https://umpir.ump.edu.my/id/eprint/45327/ |
| _version_ | 1848827385230655488 |
|---|---|
| author | Noormaizzattul Akmaliza, Abdullah Al Fahim, Mubarak Ali Mohd Azwan, Mohamad Hamza Siti Salwani, Yaacob |
| author_facet | Noormaizzattul Akmaliza, Abdullah Al Fahim, Mubarak Ali Mohd Azwan, Mohamad Hamza Siti Salwani, Yaacob |
| author_sort | Noormaizzattul Akmaliza, Abdullah |
| building | UMP Institutional Repository |
| collection | Online Access |
| description | Generic Code Clone Detection (GCCD) is a code clone detection model that use distance measure equation, enabling detection of all types of code clones, naming clone Type-1, Type-2, Type-3 and Type-4 in Java programming language applications. However, the detection process of GCCD did not focus on detecting clones of Type-3 and Type-4. Hence, this paper suggested two experiments to incorporate enhancements to the GCCD in order to improve the detection rate of clone Type-3 and clone Type-4. The implementation of Chi-square distance in the match detection process produced a significant result increase in the experiment specifically on clones Type-3 and Type-4, in comparison with the Euclidean distance in GCCD, which allows the increase of detection rate due to the dissimilarity of the distance measures. Based on the results, the suggested enhancement using Chi-square distance on match detection process outperforms GCCD in terms of improving code clone detection results based on clone Type-3 and Type-4, as the objectives for each experiment are carried, contributes to the research on improving the code clone detection result. |
| first_indexed | 2025-11-15T03:59:52Z |
| format | Article |
| id | ump-45327 |
| institution | Universiti Malaysia Pahang |
| institution_category | Local University |
| language | English |
| last_indexed | 2025-11-15T03:59:52Z |
| publishDate | 2025 |
| publisher | The Science and Information (SAI) Organization Limited |
| recordtype | eprints |
| repository_type | Digital Repository |
| spelling | ump-453272025-08-11T01:34:45Z https://umpir.ump.edu.my/id/eprint/45327/ Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications Noormaizzattul Akmaliza, Abdullah Al Fahim, Mubarak Ali Mohd Azwan, Mohamad Hamza Siti Salwani, Yaacob QA75 Electronic computers. Computer science Generic Code Clone Detection (GCCD) is a code clone detection model that use distance measure equation, enabling detection of all types of code clones, naming clone Type-1, Type-2, Type-3 and Type-4 in Java programming language applications. However, the detection process of GCCD did not focus on detecting clones of Type-3 and Type-4. Hence, this paper suggested two experiments to incorporate enhancements to the GCCD in order to improve the detection rate of clone Type-3 and clone Type-4. The implementation of Chi-square distance in the match detection process produced a significant result increase in the experiment specifically on clones Type-3 and Type-4, in comparison with the Euclidean distance in GCCD, which allows the increase of detection rate due to the dissimilarity of the distance measures. Based on the results, the suggested enhancement using Chi-square distance on match detection process outperforms GCCD in terms of improving code clone detection results based on clone Type-3 and Type-4, as the objectives for each experiment are carried, contributes to the research on improving the code clone detection result. The Science and Information (SAI) Organization Limited 2025 Article PeerReviewed pdf en cc_by_4 https://umpir.ump.edu.my/id/eprint/45327/1/Enhancing_Match_Detection_Process_Using_Chi_Square_Equation-compressed.pdf Noormaizzattul Akmaliza, Abdullah and Al Fahim, Mubarak Ali and Mohd Azwan, Mohamad Hamza and Siti Salwani, Yaacob (2025) Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications. International Journal of Advanced Computer Science and Applications (IJACSA), 16 (4). pp. 777-784. ISSN 2156-5570(Online). (Published) https://dx.doi.org/10.14569/IJACSA.2025.0160477 10.14569/IJACSA.2025.0160477 10.14569/IJACSA.2025.0160477 |
| spellingShingle | QA75 Electronic computers. Computer science Noormaizzattul Akmaliza, Abdullah Al Fahim, Mubarak Ali Mohd Azwan, Mohamad Hamza Siti Salwani, Yaacob Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications |
| title | Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications |
| title_full | Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications |
| title_fullStr | Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications |
| title_full_unstemmed | Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications |
| title_short | Enhancing Match Detection Process Using Chi-Square Equation for Improving Type-3 and Type-4 Clones in Java Applications |
| title_sort | enhancing match detection process using chi-square equation for improving type-3 and type-4 clones in java applications |
| topic | QA75 Electronic computers. Computer science |
| url | https://umpir.ump.edu.my/id/eprint/45327/ https://umpir.ump.edu.my/id/eprint/45327/ https://umpir.ump.edu.my/id/eprint/45327/ |