arrow
Return

Query Expansion Based on Crowd Knowledge for Code Search

delete2016-09-01
delete125
delete
OA
AI
N
Nie, Liming *
H
He Jiang
R
Ren, Zhilei
S
Sun, Zeyi
L
Li, Xiaochen
DOI:10.1109/TSC.2016.2560165delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
As code search is a frequent developer activity in software development practices, improving the performance of code search is a critical task. In the text retrieval based search techniques employed in the code search, the term mismatch problem is a critical language issue for retrieval effectiveness. By reformulating the queries, query expansion provides effective ways to solve the term mismatch problem. In this paper, we propose Query Expansion based on Crowd Knowledge (QECK), a novel technique to improve the performance of code search algorithms. QECK identifies software-specific expansion words from the high quality pseudo relevance feedback question and answer pairs on Stack Overflow to automatically generate the expansion queries. Furthermore, we incorporate QECK in the classic Rocchio's model, and propose QECK based code search method QECKRocchio. We conduct three experiments to evaluate our QECK technique and investigate QECKRocchio in a large-scale corpus containing real-world code snippets and a question and answer pair collection. The results show that QECK improves the performance of three code search algorithms by up to 64 percent in Precision, and 35 percent in NDCG. Meanwhile, compared with the state-of-the-art query expansion method, the improvement of QECKRocchio is 22 percent in Precision, and 16 percent in NDCG.
Keywords:
Code search
crowd knowledge
query expansion
information retrieval
question & answer pair

Journal

IEEE Transactions on Services Computing cover
IEEE Transactions on Services Computing
IF:
5.8
Papers:
2.2K
Citations:
6.5K

Organization

D
Dalian University of Technology
Scholars:
6.0W
Papers: 4.4W
Citations: 5.5W
Cited Papers

Cited Papers

Highly sensitive and specific analysis of sterol profiles in biological samples by HPLC–ESI–MS/MS
err2010-08-01
err0
errOAAI
errAkira Honda; Teruo Miyazaki; Tadashi Ikegami; Junichi Iwamoto; Kouwa Yamashita; Mitsuteru Numazawa; Yasushi Matsuzaki
errShare
errSave
Dual Hole Transport Layers Heterojunction and Band Alignment Engineered Mo:BiVO4 Photoanodes for Efficient Water Splitting (Small 37/2024)
err2024-09-13
err0
PREAI
errGuilin Wang; Tongxin Tang; Kai‐Hang Ye; Xin Ding; Junwei Chen; WenHao Zou; Yushen Xiao; JieYu Li; Long Zhao; Chaojie Chen; Sitong Ge; Lei Li; Xiujuan Wei; Chao Chen; Yang Cao; Zhan Lin; Shanqing Zhang
errShare
errSave
errShare
errSave
The amount of hereditary disease in human populations
err2007-09-28
err0
PREAI
errBENJAMIN K. TRIMBLE; JOHN H. DOUGHTY
errShare
errSave
Laparoscopic nephrectomy for renal cell carcinoma
err2001-02-01
err0
PREAI
errIsaac Yi Kim; Peter G. Schulam
errShare
errSave
researcher View more