Title :
A hybrid-token and textual based approach to find similar code segments
Author :
Agrawal, Ankit ; Yadav, Santosh Kumar
Author_Institution :
Lovely Prof. Univ., Jalandhar, India
Abstract :
In this paper we propose a system capable of finding similar source code segments which are called as code clones. Such system would help maintainer solve their problem in a fast and efficient manner. It has been found that a code consist of 7 to 23 percent of cloning which make task difficult. So to solve such a problem we propose a hybrid approach of token and textual to find code cloning solving the problem encountered in tool named BOREAS which was not capable of finding type-3 types of code clones. BOREAS tool so designed was capable to match the speed that of tree matching algorithm and hence this tool would extend the performance over the present tool.
Keywords :
pattern matching; software reusability; source code (software); trees (mathematics); BOREAS tool; code clones; hybrid-token based approach; reusability design; similar source code segments; textual based approach; tree matching algorithm; Abstracts; Cloning; Educational institutions; Fingerprint recognition; Optimization; Syntactics; Vectors; Code clone; Code segments; Hybrid approach;
Conference_Titel :
Computing, Communications and Networking Technologies (ICCCNT),2013 Fourth International Conference on
Print_ISBN :
978-1-4799-3925-1
DOI :
10.1109/ICCCNT.2013.6726700