* ICSE 2018 *
Sun 27 May - Sun 3 June 2018 Gothenburg, Sweden
Fri 1 Jun 2018 11:20 - 11:40 at H1 room - Code Search, Synthesis, Performance Chair(s): Shahar Maoz

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 entities in order to improve the performance of matching relevant code examples within large code repositories. To instantiate this approach, we build GITSEARCH, a code search engine, on top of GitHub and Stack Overflow Q&A data. We evaluate GITSEARCH in several dimensions to demonstrate that (1) its code search results are correct with respect to user-accepted answers; (2) the results are qualitatively better than those of existing Internet-scale code search engines; (3) our engine is competitive against web search engines, such as Google, in helping users solve programming tasks; and (4) GITSEARCH provides code examples that are acceptable or interesting to the community as answers for Stack Overflow questions.

Fri 1 Jun

icse-2018-Technical-Papers
11:00 - 12:30: Technical Papers - Code Search, Synthesis, Performance at H1 room
Chair(s): Shahar Maoz
icse-2018-Technical-Papers152784360000011:00 - 11:20
Research paper
Pre-print
icse-2018-Journal-first-papers152784480000011:20 - 11:40
Talk
Link to publication DOI Pre-print Media Attached
icse-2018-Technical-Papers152784600000011:40 - 12:00
Talk
Link to publication DOI Pre-print Media Attached
icse-2018-Technical-Papers152784720000012:00 - 12:20
Talk
DOI Pre-print Media Attached
icse-2018-Technical-Papers152784840000012:20 - 12:30
Talk