Enhancing generic code clone detection model through protected access modifier rule and weightage

Code clone is a common term used to refer codes that have been repeated multiple times in a program. There are four types of code clone which are type I, type II, type III and type IV. Code clone detection models have been used to detect clones apart from code clone detection approaches by applying...

Full description

Saved in:
Bibliographic Details
Main Author: Siti An Nasihah, Mohd Napi
Format: Undergraduates Project Papers
Language:English
Published: 2016
Subjects:
Online Access:http://umpir.ump.edu.my/id/eprint/18086/1/Enhancing%20generic%20code%20clone%20detection%20model%20through%20protected%20access%20modifier%20rule%20and%20weightage.pdf
http://umpir.ump.edu.my/id/eprint/18086/
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.ump.umpir.18086
record_format eprints
spelling my.ump.umpir.180862022-12-16T03:07:07Z http://umpir.ump.edu.my/id/eprint/18086/ Enhancing generic code clone detection model through protected access modifier rule and weightage Siti An Nasihah, Mohd Napi QA75 Electronic computers. Computer science Code clone is a common term used to refer codes that have been repeated multiple times in a program. There are four types of code clone which are type I, type II, type III and type IV. Code clone detection models have been used to detect clones apart from code clone detection approaches by applying the protected access modifier rule and weightage. The major challenge faced in detecting code clone using models is the lack of generality in detecting all clone types. This is due to the use of different code clone detection approaches in the models that represents different representation of the source codes; hence it affecting the type of code clones detected. Based on this weakness, it is essential to propose a code clone detection model that can support different type of code. To overcome this weakness, Generic Code Clone Detection model that consists of five processes which are Pre-processing, Transformation, Parameterization, Categorization or called as pooling and Match Detection process has been proposed. A prototype has been developed to detect all code clone types in Java. The proposed method was evaluated in two case studies comprised of three Java applications. The result shows the Generic Code Clone Model prototype was able to detect Type I, Type II, Type III and Type IV clone pairs. The results imply that the Generic Code Clone Model was able to detect all code clone types in Java applications and the generated Generic Code Clone Model have better visualization of the code clone detection results. 2016-12 Undergraduates Project Papers NonPeerReviewed pdf en http://umpir.ump.edu.my/id/eprint/18086/1/Enhancing%20generic%20code%20clone%20detection%20model%20through%20protected%20access%20modifier%20rule%20and%20weightage.pdf Siti An Nasihah, Mohd Napi (2016) Enhancing generic code clone detection model through protected access modifier rule and weightage. Faculty of Computer Systems and Software Engineering, Universiti Malaysia Pahang.
institution Universiti Malaysia Pahang
building UMP Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Malaysia Pahang
content_source UMP Institutional Repository
url_provider http://umpir.ump.edu.my/
language English
topic QA75 Electronic computers. Computer science
spellingShingle QA75 Electronic computers. Computer science
Siti An Nasihah, Mohd Napi
Enhancing generic code clone detection model through protected access modifier rule and weightage
description Code clone is a common term used to refer codes that have been repeated multiple times in a program. There are four types of code clone which are type I, type II, type III and type IV. Code clone detection models have been used to detect clones apart from code clone detection approaches by applying the protected access modifier rule and weightage. The major challenge faced in detecting code clone using models is the lack of generality in detecting all clone types. This is due to the use of different code clone detection approaches in the models that represents different representation of the source codes; hence it affecting the type of code clones detected. Based on this weakness, it is essential to propose a code clone detection model that can support different type of code. To overcome this weakness, Generic Code Clone Detection model that consists of five processes which are Pre-processing, Transformation, Parameterization, Categorization or called as pooling and Match Detection process has been proposed. A prototype has been developed to detect all code clone types in Java. The proposed method was evaluated in two case studies comprised of three Java applications. The result shows the Generic Code Clone Model prototype was able to detect Type I, Type II, Type III and Type IV clone pairs. The results imply that the Generic Code Clone Model was able to detect all code clone types in Java applications and the generated Generic Code Clone Model have better visualization of the code clone detection results.
format Undergraduates Project Papers
author Siti An Nasihah, Mohd Napi
author_facet Siti An Nasihah, Mohd Napi
author_sort Siti An Nasihah, Mohd Napi
title Enhancing generic code clone detection model through protected access modifier rule and weightage
title_short Enhancing generic code clone detection model through protected access modifier rule and weightage
title_full Enhancing generic code clone detection model through protected access modifier rule and weightage
title_fullStr Enhancing generic code clone detection model through protected access modifier rule and weightage
title_full_unstemmed Enhancing generic code clone detection model through protected access modifier rule and weightage
title_sort enhancing generic code clone detection model through protected access modifier rule and weightage
publishDate 2016
url http://umpir.ump.edu.my/id/eprint/18086/1/Enhancing%20generic%20code%20clone%20detection%20model%20through%20protected%20access%20modifier%20rule%20and%20weightage.pdf
http://umpir.ump.edu.my/id/eprint/18086/
_version_ 1753788545780154368
score 13.15806