arrow
返回

FeatRacer: Locating Features Through Assisted Traceability

delete2023-12-01
delete3
PRE
AI
M
Mukelabai Mukelabai *
K
Kevin Hermann
T
Thorsten Berger
J
Jan-Philipp Steghöfer
DOI:10.1109/TSE.2023.3324719delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Locating features is one of the most common software development activities. It is typically done during maintenance and evolution, when developers need to identify the exact places in a codebase where specific features are implemented. Unfortunately, locating features is laborious and error-prone, since feature knowledge fades, projects are developed by different developers, and features are often scattered across the codebase. Recognizing the need, many automated feature location techniques have been proposed, which try to retroactively recover features, i.e., very domain-specific information from the codebase. Unfortunately, such techniques require large training datasets, only recover coarse-grained locations and produce too many false positives to be useful in practice. An alternative is recording features during development, when they are still fresh in a developer's mind. However, recording is easily forgotten and also costly, especially when the software evolves and such recordings need to be updated. We address the infamous feature location problem (a.k.a., concern location or concept assignment problem) differently. We present FeatRacer, which combines feature recording and automated feature location in a way that allows developers to proactively and continuously record features and their locations during development, while addressing the shortcomings of both strategies. Specifically, FeatRacer relies on embedded code annotations and a machine-learning-based recommender system. When a developer forgets to annotate, FeatRacer reminds the developer about potentially missing features, which it learned from the feature recording practices in the project at hand. FeatRacer also facilitates fine-grained locations as decided by the developer. Our evaluation shows that FeatRacer outperforms traditional automated feature location based on Latent Semantic Indexing (LSI) and Linear Discriminant Analysis (LDA)-two of the most common methods to realize such techniques-when predicting features for 4,650 commit changesets from the histories of 16 open-source projects spanning an average of three years between 1985 and 2015. Compared to the traditional techniques, FeatRacer showed a 3x higher precision and a 4.5x higher recall, with an average precision and recall of 89.6% among all 16 projects. It can accurately predict feature locations within the first five commits of our evaluation projects, being effective already for small datasets. FeatRacer takes on average 1.9ms to learn from past code fragments of a project, and 0.002ms to predict forgotten feature annotations in new code.
Keyword:
Codes
Annotations
Recording
Software
Large scale integration
Manuals
Maintenance engineering
Feature location
traceability
recommender

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

C
chalmers university of technology
学者数:
1.5W
论文数: 1.6W
被引数: 10
U
University of Zambia
学者数:
2.8K
论文数: 1.7K
被引数: 972
R
ruhr university bochum
学者数:
2.3W
论文数: 1.9W
被引数: 14
学者 查看更多机构
引用论文

引用论文

Lactate does not activate the carotid body of Wistar rat
err2021-03-01
err0
PREAI
errPedro F. Spiller; Melina P. da Silva; Davi J.A. Moraes
err分享
err收藏
Feature location using probabilistic ranking of methods based on execution scenarios and information retrieval
err2007-06-01
err341
PREAI
errPoshyvanyk, Denys; Gueheneuc, Yann-Gael; Marcus, Andrian; Antoniol, Giuliano; Rajlich, Vaclav
err分享
err收藏
Concepts of variation control systems
err2021-01-01
err27
PREAI
errLinsbauer, Lukas; Schwaegerl, Felix; Berger, Thorsten; Gruenbacher, Paul
err分享
err收藏
Heat shock protein 90 inhibition by 17-DMAG lessens disease in the MRL/lpr mouse model of systemic lupus erythematosus
err2012-04-30
err0
errOAAI
errSamuel K Shimp; Cristen B Chafin; Nicole L Regna; Sarah E Hammond; Molly A Read; David L Caudell; MarissaNichole Rylander; Christopher M Reilly
err分享
err收藏
Where is my feature and what is it about? A case study on recovering feature facets
err2019-06-01
err45
PREAI
errKrueger, Jacob; Mukelabai, Mukelabai; Gu, Wanzi; Shen, Hui; Hebig, Regina; Berger, Thorsten
err分享
err收藏
Mutational signatures are markers of drug sensitivity of cancer cells
err
IF0
err2021-05-21
err0
errOAAI
errJurica Levatić; Marina Salvadores; Francisco Fuster-Tormo; Fran Supek
err分享
err收藏
ATM kinase activity modulates Fas sensitivity through the regulation of FLIP in lymphoid cells
err2008-01-15
err0
errOAAI
errVenturina Stagni; Maria Giovanna di Bari; Silvia Cursi; Ivano Condò; Maria Teresa Cencioni; Roberto Testi; Yaniv Lerenthal; Enrico Cundari; Daniela Barilà
err分享
err收藏
Gene flow in an almond orchard
err1991-08-01
err0
PREAI
errJ. F. Jackson; G. R. Clarke
err分享
err收藏
学者 查看更多内容