期刊论文详细信息
IEEE Access
Interactive Query Reformulation for Source-Code Search With Word Relations
Wanzhi Wen1  Cheng Zhou2  Jinting Lu2  Ying Wei2  Xiaobing Sun2  Bin Li2 
[1] School of Computer Science and Technology, Nantong University, Nantong, China;School of Information Engineering, Yangzhou University, Yangzhou, China;
关键词: Source-code Search;    query reformulation;    word relations;    interactive search;   
DOI  :  10.1109/ACCESS.2018.2883963
来源: DOAJ
【 摘 要 】

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.

【 授权许可】

Unknown   

  文献评价指标  
  下载次数:0次 浏览次数:1次