Improved Query Reformulation for Concept Location using CodeRank and Document Structures

07/12/2018
by   Mohammad Masudur Rahman, et al.
0

During software maintenance, developers usually deal with a significant number of software change requests. As a part of this, they often formulate an initial query from the request texts, and then attempt to map the concepts discussed in the request to relevant source code locations in the software system (a.k.a., concept location). Unfortunately, studies suggest that they often perform poorly in choosing the right search terms for a change task. In this paper, we propose a novel technique --ACER-- that takes an initial query, identifies appropriate search terms from the source code using a novel term weight --CodeRank, and then suggests effective reformulation to the initial query by exploiting the source document structures, query quality analysis and machine learning. Experiments with 1,675 baseline queries from eight subject systems report that our technique can improve 71 is highly promising. Comparison with five closely related existing techniques in query reformulation not only validates our empirical findings but also demonstrates the superiority of our technique.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/09/2018

QUICKAR: Automatic Query Reformulation for Concept Location using Crowdsourced Knowledge

During maintenance, software developers deal with numerous change reques...
research
08/22/2021

A Systematic Literature Review of Automated Query Reformulations in Source Code Search

Software developers often fix critical bugs to ensure the reliability of...
research
07/06/2018

TextRank Based Search Term Identification for Software Change Tasks

During maintenance, software developers deal with a number of software c...
research
07/12/2018

STRICT: Information Retrieval Based Search Term Identification for Concept Location

During maintenance, software developers deal with numerous change reques...
research
07/23/2018

Effective Reformulation of Query for Code Search using Crowdsourced Knowledge and Extra-Large Data Analytics

Software developers frequently issue generic natural language queries fo...
research
01/24/2022

Generating Clarifying Questions for Query Refinement in Source Code Search

In source code search, a common information-seeking strategy involves pr...
research
10/10/2018

On the Refinement of Spreadsheet Smells by means of Structure Information

Spreadsheet users are often unaware of the risks imposed by poorly desig...

Please sign up or login with your details

Forgot password? Click here to reset