Enhanced pre-processing and parameterization process of generic code clone detection model for clones in Java applications

Code clones are repeated source code in a program. There are four types of code clone which are: Type 1, Type 2, Type 3 and Type 4. Various code clone detection models have been used to detect code clone. Generic Code Clone model is a model that consists of a combination of five processes in detecti...

Full description

Saved in:
Bibliographic Details
Main Authors: Nur Nadzirah, Mokhtar, Mubarak-Ali, Al-Fahim, Mohd Azwan, Mohamad Hamza
Format: Article
Language:en
Published: The Science and Information (SAI) Organization Limited 2020
Subjects:
Online Access:https://umpir.ump.edu.my/id/eprint/45791/1/Enhanced%20pre-processing%20and%20parameterization%20process%20of%20generic.pdf
https://doi.org/110.14569/IJACSA.2020.0110669
https://umpir.ump.edu.my/id/eprint/45791/
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Code clones are repeated source code in a program. There are four types of code clone which are: Type 1, Type 2, Type 3 and Type 4. Various code clone detection models have been used to detect code clone. Generic Code Clone model is a model that consists of a combination of five processes in detecting code clone from Type-1 until Type-4 in Java Applications. The five processes are Pre-processing, Transformation, Parameterization, Categorization and Match Detection process. This work aims to improve code clone detection by enhancing the Generic Code Clone Detection (GCCD) model. Therefore, the Preprocessing and Parameterization process is enhanced to achieve this aim. The enhancement is to determine the best constant and weightage that can be used to improve the code clone detection result. The code clone detection result from the proposed enhancement shows that private with its weightage is the best constant and weightage for the Generic Code Clone Detection Model.