Computer Science ›› 2009, Vol. 36 ›› Issue (8): 165-168.

Previous Articles     Next Articles

Enhancement of Code Search Results Using Syntax and Semantic Analysis

LIU Shi,LI He,WANG Xiao-yin,ZHANG Lu,XIE Bing   

  • Online:2018-11-16 Published:2018-11-16

Abstract: Learning simple algorithm and specific API usage by code examples is an efficient way in software reuse and is the main purpose of using code search engine. Code search engine providing search service for source code on the internet was developed from Web search engine. It is able to locate source code related to the search input and brings great assistance to software development However, the state-of-art code search engines do not make a distinction between API implementation and usage, the results arc redundant and not easy to recognize. It is difficult for the user to obtain useful code segments from search result items. To address the problem,we proposed applying syntax and semantic analysis techniques to organizing the search results, clustering the similar code and acquiring better code digest We implemented our method with a code search engine and evaluate its effectiveness in this paper, the experimental results demonstrate that our approach works efficiently.

Key words: Software reuse,Code search,Syntax and semantic analysis,API Implementation and Usage

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!