To enhance the code clone detection algorithm by using hybrid approach for detection of code clones

Code clones are easy and quick way to add some existing logic from one section to another section. Code clones however increase risk of bug multiplication with each copy of duplicate code if there is a bug in source of clone. Clone is a persistent form of software reuses that effect on maintenance of large software. In previous research, the researchers emphasize on detecting type 1, type 2, type 3 and type 4 type of clones. The existing code clone detection techniques are available like text based, token based, abstract syntax tree, program dependency graph and metric based technique are used to detect clone in source code. In this research, the enhancement in code clone detection algorithm has been proposed which detects code clones by HYBRID approach that is combination of program dependency graph and Metric based clone detection techniques. In this work, firstly implementation of code clone detection will be done by hybrid approach on various datasets. Then, comparison of existing technique will be done with the hybrid technique in terms of achieving enhancement in performance, efficiency and accuracy in results. This method is considered to be the least complex and is to provide a most accurate and efficient way of Clone Detection. The results obtained have been compared with an existing tool for the open source of web applications.

[1]  Serge Demeyer,et al.  Evaluating clone detection techniques from a refactoring perspective , 2004 .

[2]  Gail E. Kaiser,et al.  Identifying functionally similar code in complex codebases , 2016, 2016 IEEE 24th International Conference on Program Comprehension (ICPC).

[3]  Bayu Priyambadha,et al.  Case study on semantic clone detection based on code behavior , 2014, 2014 International Conference on Data and Software Engineering (ICODSE).

[4]  Sachin V. Shinde,et al.  Code clone detection using decentralized architecture and code reduction , 2015, 2015 International Conference on Pervasive Computing (ICPC).

[5]  Rajkumar Tekchandani,et al.  Selecting a set of appropriate metrics for detecting code clones , 2014, 2014 Seventh International Conference on Contemporary Computing (IC3).

[6]  Prajila Prem,et al.  A Review on Code Clone Analysis and Code Clone Detection , 2013 .

[7]  Simon Fong,et al.  An efficient new multi-language clone detection approach from large source code , 2012, 2012 IEEE International Conference on Systems, Man, and Cybernetics (SMC).

[8]  Rubala Sivakumar,et al.  Code Clones Detection in Websites using Hybrid Approach , 2012 .