Method-level Code Clone Detection for Java through Hybrid Approach
Journal: The International Arab Journal of Information Technology (Vol.14, No. 6)Publication Date: 2017-11-01
Authors : Egambaram Kodhai; Selvadurai Kanmani;
Page : 914-922
Keywords : Clone detection; functional clones; source code metrics; string-matching.;
Abstract
A software clone is an active research area where several researchers have investigated techniques to automatically detect duplicated code in programs. However their researches have limitations either in finding the structural or functional clones. Moreover, all these techniques detected only the first three types of clones. In this paper, we propose a hybrid approach combining metric-based approach with textual analysis of the source code for the detection of both syntactical and functional clones in a given Java source code. This proposal is also used to detect all four types of clones. The detection process makes use of a set of metrics calculated for each type of clones. A tool named CloneManager is developed based on this method in Java for high portability and platform-independency. The various types of clones detected by the tool are classified and clustered as clone clusters. The tool is also tested with seven existing open source projects developed in Java and compared with the existing approaches.
Other Latest Articles
- Inter-Path OOS Packets Differentiation Based Congestion Control for Simultaneous Multipath Transmission
- A MMDBM Classifier with CPU and CUDA GPU Computing in Various Sorting Procedures
- The Veracious Counting Bloom Filter
- A Novel Swarm Intelligence Algorithm for the Evacuation Routing Optimization Problem
- Efficient Segmentation of Arabic Handwritten Characters Using Structural Features
Last modified: 2019-05-09 19:25:35