Work

Source Code Retrieval Using Sequence Based Similarity

Year: 2013
Type: article
Abstract: Duplicate code adversely affects the quality of software systems and hence should be detected.We discuss an approach that improves source code retrieval using structural information of source code.A lexical parser is developed to extract control statements and method identifiers from Java programs.We propose a similarity measure that is defined by the ratio of the number of sequential fully matching statements to the number of sequential partially matching statements.The defined similarity measure is an extension of the set-based Sorensen-Dice similarity index.This research primarily contributes to the development of a similarity retrieval algorithm that derives meaningful search conditions from a given sequence, and then performs retrieval using all derived conditions.Experiments show that our retrieval model shows an improvement of up to 90.9% over other retrieval models relative to the number of retrieved methods.
Language: English
Open Access status: bronze
OpenAlex ID: W2962846684
FWCI: 1.633
Cites: 26
Cited by: 8
Related to: 10