Please use this identifier to cite or link to this item: http://hdl.handle.net/10266/1800
Title: Detection of Similar Code Fragments Using Adjacency Structures
Authors: Kumar, Mukesh
Supervisor: Tekchandani, Raj Kumar
Keywords: Similar Code Fragments;Adjacency Structures
Issue Date: 27-Jul-2012
Abstract: Software clones are identical or similar pieces of code. They are often the result of copy–and–paste activities as ad-hoc code reuse by programmers. Software clones research is of high relevance for the industry. Many researchers have reported high rates of code cloning in both industrial and open-source systems. Code clone detection is the common aspect of reuse activity. Copying code fragments and then reuse with or without modifications are common activities in software development. This type of reuse approach of existing code is called code cloning and the pasted code fragment is called a clone of the original [1]. Existing approaches does not make use of adjacency structures and their properties. This thesis presented an efficient way of finding code clones by using adjacency structure. A directed graph of the source code is developed and information is parsed into adjacency structure. Using the properties of adjacency structure find in-degree and out-degree of a particular directed graph. Our insight is to deduce the flow on a particular node of the directed graphs to find the similarity between the nodes of the directed graph and then find the similar code fragments using similar code detection tools.
Description: M.E. (Software Engineering)
URI: http://hdl.handle.net/10266/1800
Appears in Collections:Masters Theses@CSED

Files in This Item:
File Description SizeFormat 
1800.pdf1.38 MBAdobe PDFThumbnail
View/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.