SNIAFL: Towards a static noninteractive approach to feature location

被引:87
作者
Zhao, Wei [1 ]
Zhang, Lu
Liu, Yin
Sun, Jiasu
Yang, Fuqing
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, Inst Software, Beijing 100871, Peoples R China
[2] Rensselaer Polytech Inst, Dept Comp Sci, Troy, NY 12180 USA
关键词
algorithms; experimentation;
D O I
10.1145/1131421.1131424
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:195 / 226
页数:32
相关论文
共 42 条
  • [1] [Anonymous], P 6 ACM SIGSOFT INT
  • [2] Extracting concepts from file names; a new file clustering criterion
    Anquetil, N
    Lethbridge, T
    [J]. PROCEEDINGS OF THE 1998 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1998, : 84 - 93
  • [3] Recovering traceability links between code and documentation
    Antoniol, G
    Canfora, G
    Casazza, G
    De Lucia, A
    Merlo, E
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (10) : 970 - 983
  • [4] Antoniol G, 2000, PROC IEEE INT CONF S, P40, DOI 10.1109/ICSM.2000.883003
  • [5] Baeza-Yates R.A., 1999, Modern Information Retrieval
  • [6] BIGGERSTAFF TJ, 1993, PROC INT CONF SOFTW, P482, DOI 10.1109/ICSE.1993.346017
  • [7] Bohner S. A., 1996, SOFTWARE CHANGE IMPA
  • [8] Breiman L., 1998, CLASSIFICATION REGRE
  • [9] CVSSearch: Searching through source code using CVS comments
    Chen, A
    Chou, E
    Wong, J
    Yao, AY
    Zhang, Q
    Zhang, S
    Michail, AR
    [J]. IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, : 364 - 373
  • [10] Case study of feature location using dependence graph
    Chen, KR
    Rajlich, V
    [J]. 8TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION (IWPC 2000), PROCEEDINGS, 2000, : 241 - 249