Computer Science ›› 2009, Vol. 36 ›› Issue (8): 165-168.
Previous Articles Next Articles
LIU Shi,LI He,WANG Xiao-yin,ZHANG Lu,XIE Bing
Online:
Published:
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
LIU Shi,LI He,WANG Xiao-yin,ZHANG Lu,XIE Bing. Enhancement of Code Search Results Using Syntax and Semantic Analysis[J].Computer Science, 2009, 36(8): 165-168.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://www.jsjkx.com/EN/
https://www.jsjkx.com/EN/Y2009/V36/I8/165
Cited