Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Enhanced Pre-processing and Parameterization Process of Generic Code Clone Detection Model for Clones in Java Applications

Author 1: Nur Nadzirah Mokhtar Author 2: Al-Fahim Mubarak-Ali Author 3: Mohd Azwan Mohamad Hamza
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 11, No. 6 · Published 2020 · Cited by 5

DOI: https://doi.org/10.14569/IJACSA.2020.0110669

Abstract

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.

Keywords

How to Cite this Article

Mokhtar, N. N., Mubarak-Ali, A., & Hamza, M. A. M. (2020). Enhanced Pre-processing and Parameterization Process of Generic Code Clone Detection Model for Clones in Java Applications. International Journal of Advanced Computer Science and Applications, 11(6). https://doi.org/10.14569/IJACSA.2020.0110669

Mokhtar, Nur Nadzirah, et al.. "Enhanced Pre-processing and Parameterization Process of Generic Code Clone Detection Model for Clones in Java Applications." International Journal of Advanced Computer Science and Applications, vol. 11, no. 6, 2020, https://doi.org/10.14569/IJACSA.2020.0110669.

@article{Mokhtar2020,
  title     = {Enhanced Pre-processing and Parameterization Process of Generic Code Clone Detection Model for Clones in Java Applications},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {11},
  number    = {6},
  year      = {2020},
  publisher = {The Science and Information Organization},
  author    = {Nur Nadzirah Mokhtar and Al-Fahim Mubarak-Ali and Mohd Azwan Mohamad Hamza},
  doi       = {10.14569/IJACSA.2020.0110669},
  url       = {https://doi.org/10.14569/IJACSA.2020.0110669}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.