
Approach to Find Duplicate & Near-Duplicate Clones in High-Level Code
LAP Lambert Academic Publishing
Published on 9. February 2021
Book
Paperback/Softback
92 pages
978-620-3-40917-8 (ISBN)
Description
Code duplication is one of the most troublesome hurdles in software maintenance. Clone detection must be adopted as a pro-active measure in software development in order to avoid the problems faced by clones later in the phases like testing and maintenance.The main focus of this work is the detection of duplication in the source code which is one of the major reasons for poor structure in real programs. The novel approach of our clone- detection approach is the detection of near-miss clones at the file level as an aid to software maintenance. Near-miss clones are the ones that are not exactly akin to each other and may indulge changes in variable names, literals, whitespace, etc. but as far as the functionality is concerned, they yield a similar output. Our work is based on metrics and Abstract Syntax Tree-based approaches and it takes into consideration the Levenshtein distance. For experimental results, we have developed a tool based on the method proposed, and the results obtained show clearly that it effectively detects the near-miss clones at file-level means between different files.
More details
Language
English
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 220 mm
Width: 150 mm
Thickness: 7 mm
Weight
155 gr
ISBN-13
978-620-3-40917-8 (9786203409178)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Persons
Vishwachi has completed her B.Tech(IT) and M.Tech.(CSE) from APJ AKTU, Lucknow, India. She has worked as Assistant Professor at ABES institute of technology, India. Currently, she is working as a QA in Fiserv. Prof.(Dr.) Bipin Kumar Rai, Ph.D.(CS),M.Tech.(CSE) & B.Tech.(CSE) have areas of interest in Information Security, Blockchain.