SnippetGen:Enhancing the Code Search via Intent Predicting

Qing Yun Huang, Xudong Wang, Yangrui Yang, Hongyan Wan, Rui Wang, Guoqing Wu · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · 2017

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).

Read the paper · More papers on PaperTik