SNIAFL: Towards a static noninteractive approach to feature location

  • Authors:
  • Wei Zhao;Lu Zhang;Yin Liu;Jiasu Sun;Fuqing Yang

  • Affiliations:
  • Peking University, Beijing, China;Peking University, Beijing, China;Rensselaer Polytechnic Institute, Troy, NY;Peking University, Beijing, China;Peking University, Beijing, China

  • Venue:
  • ACM Transactions on Software Engineering and Methodology (TOSEM)
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

To facilitate software maintenance and evolution, a helpful step is to locate features concerned in a particular maintenance task. In the literature, both dynamic and interactive approaches have been proposed for feature location. In this article, we present a static and noninteractive method for achieving this objective. The main idea of our approach is to use information retrieval (IR) technology to reveal the basic connections between features and computational units in the source code. Due to the imprecision of retrieved connections, we use a static representation of the source code named BRCG (branch-reserving call graph) to further recover both relevant and specific computational units for each feature. A premise of our approach is that programmers should use meaningful names as identifiers. We also performed an experimental study based on two real-world software systems to evaluate our approach. According to experimental results, our approach is quite effective in acquiring the relevant and specific computational units for most features.