Design Code Clone Detection System uses Optimal and Intelligence Technique based on Software Engineering
Main Article Content
Abstract
Code clones are the main source of cloned software. Now, a day’s redundancy in initial code is called clones or duplicate code caused by copy and paste, could search consistently using code clone detection software tools. The redundancy could arise also individually, although, not produced by copy and paste. Recently, it is not clear to define how the only Metric approach (functionally same clones) dissimilar from duplicates made by copy and paste. In this paper, our idea is to understand and classify the syntactical dissimilates in (function same clones) Metric based technique used with the help of swarm and artificial intelligence techniques that described them from copy and paste code clones in a path that helps clone detection research. In this method, we discussed it by functionally using the same program in Java, C++, and MATLAB for coding challenges. We studied syntactic correspondence with new detection software tools and discovered whether code clone detection can perform outside other structure. We implement the metric based approach extract the code properties i.e. LOC, Function Overloading, Function Repetition, Total number of functions, Global and Local Variable with the help of PDG and AST tree code clone techniques. The Classification with Neural Network approach to classified the code clone and calculates percentage of the code clone as compared to original code. We executed all tools on 100 programs and manually classified the dissimilarity in a random code sample of 60 programs files. We search non-metric function similar codes, where complete records were syntax and syntactically same code. The major difference between metric and crossbreed algorithm code clone detection techniques are beyond the recent code clone detection approaches.
Downloads
Download data is not yet available.
Article Details
Section
Articles
COPYRIGHT
Submission of a manuscript implies: that the work described has not been published before, that it is not under consideration for publication elsewhere; that if and when the manuscript is accepted for publication, the authors agree to automatic transfer of the copyright to the publisher.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work
- The journal allows the author(s) to retain publishing rights without restrictions.
- The journal allows the author(s) to hold the copyright without restrictions.