Modeling Changeset Topics for Feature Location

被引:0
|
作者
Corley, Christopher S. [1 ]
Kashuda, Kelly L. [1 ]
Kraft, Nicholas A. [2 ]
机构
[1] Univ Alabama, Tuscaloosa, AL USA
[2] ABB Corp Res, Raleigh, NC USA
基金
美国国家科学基金会;
关键词
program comprehension; feature location; topic modeling; mining software repositories; changesets;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Feature location is a program comprehension activity in which a developer inspects source code to locate the classes or methods that implement a feature of interest. Many feature location techniques (FLTs) are based on text retrieval models, and in such FLTs it is typical for the models to be trained on source code snapshots. However, source code evolution leads to model obsolescence and thus to the need to retrain the model from the latest snapshot. In this paper, we introduce a topic-modeling-based FLT in which the model is built incrementally from source code history. By training an online learning algorithm using changesets, the FLT maintains an up-to-date model without incurring the non-trivial computational cost associated with retraining traditional FLTs. Overall, we studied over 600 defects and features from 4 open-source Java projects. We also present a historical simulation that demonstrates how the FLT performs as a project evolves. Our results indicate that the accuracy of a changeset-based FLT is similar to that of a snapshot-based FLT, but without the retraining costs.
引用
收藏
页码:71 / 80
页数:10
相关论文
共 50 条
  • [1] Using Changeset Descriptions as a Data Source to Assist Feature Location
    Chochlov, Muslim
    English, Michael
    Buckley, Jim
    2015 IEEE 15TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2015, : 51 - 60
  • [2] Changeset-Based Topic Modeling of Software Repositories
    Corley, Christopher S.
    Damevski, Kostadin
    Kraft, Nicholas A.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (10) : 1068 - 1080
  • [3] Niche topics and location, location, location, with Amanda Lund
    Lund, Amanda W.
    Delgoffe, Greg M.
    IMMUNOLOGY, 2022, 166 (02) : 153 - 154
  • [4] Location Comparison Through Geographical Topics
    Son, Jeong-Woo
    Noh, Yun-Seok
    Song, Hyun-Je
    Park, Seong-Bae
    2012 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE AND INTELLIGENT AGENT TECHNOLOGY (WI-IAT 2012), VOL 1, 2012, : 311 - 318
  • [5] Topics in sediment modeling
    Luce, CH
    NATIONAL HYDROLOGY WORKSHOP PROCEEDINGS - WATERSHEDS IN THE NINETIES, 1996, 279 : 151 - 159
  • [6] THE LOCATION OF THE FEATURE [CONTINUANT] IN FEATURE GEOMETRY
    DAVIS, S
    LINGUA, 1989, 78 (01) : 1 - 22
  • [7] Topics in probabilistic location estimation in wireless networks
    Kontkanen, P
    Myllymäki, P
    Roos, T
    Tirri, H
    Valtonen, K
    Wettig, H
    2004 IEEE 15TH INTERNATIONAL SYMPOSIUM ON PERSONAL, INDOOR AND MOBILE RADIO COMMUNICATIONS, VOLS 1-4, PROCEEDINGS, 2004, : 1052 - 1056
  • [8] Facial Feature Location Based on Feature Fusion
    Zhang, Yong
    Zhang, Yiyun
    2011 INTERNATIONAL CONFERENCE ON FUTURE SOFTWARE ENGINEERING AND MULTIMEDIA ENGINEERING (FSME 2011), 2011, 7 : 138 - 143
  • [9] Reconciling feature modeling: A feature modeling metamodel
    Vranic, V
    OBJECT-ORIENTED AND INTERNET-BASED TECHNOLOGIES, PROCEEDINGS, 2004, 3263 : 122 - 137
  • [10] Introducing a new feature - Topics under debate
    McDonald, JC
    RADIATION PROTECTION DOSIMETRY, 2001, 93 (01) : 3 - 3