arrow
Return

Interactive Query Reformulation for Source-Code Search With Word Relations

delete2018-01-01
delete20
delete
OA
AI
J
Jinting Lu
W
Wei, Ying
X
Xiaobing Sun *
B
Bin Li *
W
Wanzhi Wen
周成 cover
周成 (Cheng Zhou)
DOI:10.1109/ACCESS.2018.2883963delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Searching source code is a common activity in many software engineering tasks. To some extent, the quality of the query determines the accuracy of query results. In practice, it is difficult for developers to provide a high-quality query, especially for the novice who just takes over the software project with a short time. What is more, existing code search techniques using queries expressed in natural language offer little support to help developers determine whether the search results are relevant or not. When a query preforms poorly, it has to be reformulated. In this paper, we present a novel approach, INQRES, to interactively reformulate the search query considering the relations between words in the source code to optimize the query quality. INQRES analyzes the keyword relations in the source code and builds AND and OR relations in an interactive way for developer to select suitable words for query reformulation. To evaluate the effectiveness of INQRES, we perform an empirical study on the jEdit project. Empirical results show that INQRES can effectively reformulate the search query, and the quality of the reformulated query of INQRES is better than that of the state-of-art technique, i.e., QReformu.
Keywords:
Source-code Search
query reformulation
word relations
interactive search
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

Y
Yangzhou University
Scholars:
2.8W
Papers: 1.9W
Citations: 3.3W
N
Nantong University
Scholars:
1.9W
Papers: 1.1W
Citations: 2.0W