2018
DOI: 10.1007/s10664-017-9544-y
|View full text |Cite
|
Sign up to set email alerts
|

Augmenting and structuring user queries to support efficient free-form code search

Abstract: Source code terms such as method names and variable types are often different from conceptual words mentioned in a search query. This vocabulary mismatch problem can make code search inefficient. In this paper, we present COde voCABUlary (CoCaBu), an approach to resolving the vocabulary mismatch problem when dealing with free-form code search queries. Our approach leverages common developer questions and the associated expert answers to augment user queries with the relevant, but missing, structural code entit… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
22
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
5
3
1

Relationship

1
8

Authors

Journals

citations
Cited by 40 publications
(24 citation statements)
references
References 54 publications
0
22
0
Order By: Relevance
“…They further proposed a query reformulation technique that suggests a list of relevant API classes for a natural language query by exploiting keyword-API associations from the questions and answers on Stack Overflow [70]. Similarly, Sirres et al [81] augmented the original query with structural code entities by mining questions and answers from Stack Overflow.…”
Section: Query Reformulation For Code Search In Sementioning
confidence: 99%
“…They further proposed a query reformulation technique that suggests a list of relevant API classes for a natural language query by exploiting keyword-API associations from the questions and answers on Stack Overflow [70]. Similarly, Sirres et al [81] augmented the original query with structural code entities by mining questions and answers from Stack Overflow.…”
Section: Query Reformulation For Code Search In Sementioning
confidence: 99%
“…For example, Wang et al [31] proposed an approach to capture code examples regarding API usage from the web. Sirres et al [32] proposed an approach to improve the effectiveness of source code retrieval by augmenting queries with knowledge from Stackoverflow and Github. Their results improve the effectiveness of source code searching compared to Google.…”
Section: Related Workmentioning
confidence: 99%
“…CodeHow [Lv et al 2015] augments the query with API calls which are retrieved from documentation to improve search results. CoCaBu [Sirres et al 2018] augments the query with structural code entities. A developer survey [Sadowski et al 2015] reports the top reason for code search is to find code examples or related APIs, and tools have been created for this need.…”
Section: Related Workmentioning
confidence: 99%