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 条
  • [31] Salton G., 1971, SMART RETRIEVAL SYST
  • [32] SHAN JH, 2001, P 8 AS PAC SOFTW ENG, P237
  • [33] Refactoring for generalization using type constraints
    Tip, F
    Kiezun, A
    Bäumer, D
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (11) : 13 - 26
  • [34] Turver R. J., 1994, Journal of Software Maintenance: Research and Practice, V6, P35, DOI 10.1002/smr.4360060104
  • [35] PROGRAM SLICING
    WEISER, M
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) : 352 - 357
  • [36] SOFTWARE RECONNAISSANCE - MAPPING PROGRAM FEATURES TO CODE
    WILDE, N
    SCULLY, MC
    [J]. JOURNAL OF SOFTWARE MAINTENANCE-RESEARCH AND PRACTICE, 1995, 7 (01): : 49 - 62
  • [37] Wilde N, 2003, J SYST SOFTWARE, V65, P105, DOI [10.1016/S0164-1212(02)00052-3, 10.1016/s0164-1212(02)00052-3]
  • [38] WILDE N, 1992, P INT C SOFTW MAINT, P200
  • [39] Locating program features using execution slices
    Wong, WE
    Gokhale, SS
    Horgan, JR
    Trivedi, KS
    [J]. ASSET'99: 1999 IEEE SYMPOSIUM ON APPLICATION-SPECIFIC SYSTEMS AND SOFTWARE ENGINEERING & TECHNOLOGY - PROCEEDINGS, 1999, : 194 - 203
  • [40] VERIFICATION OF CONCURRENT CONTROL FLOW IN DISTRIBUTED COMPUTER-SYSTEMS
    YAU, SS
    HONG, WM
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (04) : 405 - 417