Computer and Modernization

Previous Articles     Next Articles

An Efficient Code Search Algorithm

  

  1. School of Software, Shanghai Jiaotong University, Shanghai 200240, China
  • Received:2014-12-04 Online:2015-03-23 Published:2015-03-26

Abstract: Over the years of software development, a vast amount of source code has been accumulated. At the same time, many code search tools have been developed to help programmers searching source code. As all these code search tools are not accurate enough, few developers use these tools to help them. In this paper, we propose an efficient code search algorithm, which can recognize the relation between APIs and queries, so it can improve the accuracy in code search. This paper also implements a C# code search tools based on the algorithm. At last, we did the experiment objectively and conducted a user study to evaluate the algorithm. The experiment results verify that the algorithm is efficient.

Key words: C#, code search, information retrieval

CLC Number: