Artigo Acesso aberto

SnippetGen:Enhancing the Code Search via Intent Predicting

2017; Volume: 2017; Linguagem: Inglês

10.18293/seke2017-037

ISSN

2325-9000

Autores

Qing Huang, Xudong Wang, Yangrui Yang, Hongyan Wan, Rui Wang, Guoqing Wu,

Tópico(s)

Web Data Mining and Analysis

Resumo

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

Referência(s)