Determining the best weightage feature in parameterization process of GCCD model for clone detection in C-based applications
The term 'code clone' relates to code that has been replicated many times in a program. Primarily, Type-1, Type-2, Type-3, and Type-4 serve as the four distinct categories for the classification of code clones. Distinct code clone approaches and tools have been implemented for identifying...
Saved in:
Main Authors: | , , , |
---|---|
Format: | Conference or Workshop Item |
Language: | English English |
Published: |
Institute of Electrical and Electronics Engineers Inc.
2023
|
Subjects: | |
Online Access: | http://umpir.ump.edu.my/id/eprint/40358/1/Determining%20the%20best%20weightage%20feature%20in%20parameterization.pdf http://umpir.ump.edu.my/id/eprint/40358/2/Determining%20the%20best%20weightage%20feature%20in%20parameterization%20process%20of%20GCCD%20model%20for%20clone%20detection%20in%20C-based%20applications_ABS.pdf http://umpir.ump.edu.my/id/eprint/40358/ https://doi.org/10.1109/ICSECS58457.2023.10256395 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | The term 'code clone' relates to code that has been replicated many times in a program. Primarily, Type-1, Type-2, Type-3, and Type-4 serve as the four distinct categories for the classification of code clones. Distinct code clone approaches and tools have been implemented for identifying code clones over the years. To overcome the limitation of generalization in recognizing all types of clones, Generic Code Clone Detection (GCCD) model is developed. The five procedures that make up the GCCD model's foundational structure are pre-processing, transformation, parameterization, categorization, and match detection. However, the preceding GCCD model can only detect all types of code clone in Java applications. In light of this limitation, the study proposes a code clone detection model based on the GCCD model, which has the capability to support other programming languages in various applications. The primary objective of this proposed research is to enhance the process in Generic Code Clone Detection (GCCD) model that can improve the code clone detection result, specifically in C-based applications. To achieve the desired objective, some enhancements in the GCCD model have been recommended which are to propose a constant and weightage for Pre-processing and Parameterization process in GCCD model. The proposed work will be tested in a case study involving four C applications. As determined by the code clone detection results from the proposed enhancement, void with its weightage is the preeminent constant and weightage for the Generic Code Clone Detection Model in C-based applications. |
---|