SnippetGen: Enhancing the Code Search Via Intent Predicting.

Qing Huang,Xudong Wang,Yangrui Yang,Hongyan Wan,Rui Wang,Guoqing Wu
DOI: https://doi.org/10.18293/seke2017-037
2017-01-01
Abstract:To enable the cod sarch results to run immediately without any subsequent modification, an intent-enhanced code search approach (IECS) is proposed.It has the ability of intent predicting to guess what else a user might do after obtaining the search results.Based on the intent-relevant semantic and structural matches, IECS improves the performance of code search by incorporating the intent for expansion.To perform IECS, the code search tool SnippetGen is implemented.Compared with CodeHow and Google Code Search (CS), SnippetGen outperforms them by 28.5% with a precision score of 0.846 (i.e., 84.6% of the first results are relevant).
What problem does this paper attempt to address?