arrow
返回

Topic modeling for feature location in software models: Studying both code generation and interpreted models

delete2021-12-01
delete8
PRE
AI
F
Francisca Pérez *
R
Raúl Lapeña
A
Ana C. Marcén
C
Carlos Cetina
DOI:10.1016/j.infsof.2021.106676delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: In the last 20 years, the research community has increased its attention to the use of topic modeling for software maintenance and evolution tasks in code. Topic modeling is a popular and promising information retrieval technique that represents topics by word probabilities. Latent Dirichlet Allocation (LDA) is one of the most popular topic modeling methods. However, the use of topic modeling in model-driven software development has been largely neglected. Since software models have less noise (implementation details) than software code, software models might be well-suited for topic modeling. Objective: This paper presents our LDA-guided evolutionary approach for feature location in software models. Specifically, we consider two types of software models: models for code generation and interpreted model. Method: We evaluate our approach considering two real-world industrial case studies: code-generation models for train control software, and interpreted models for a commercial video game. To study the impact on the results, we compare our approach for feature location in models against random search and a baseline based on Latent Semantic Indexing, which is a popular information retrieval technique. In addition, we perform a statistical analysis of the results to show that this impact is significant. We also discuss the results in terms of the following aspects: data sparsity, implementation complexity, calibration, and stability. Results: Our approach significantly outperforms the baseline in terms of recall, precision and F-measure when it comes to interpreted models. This is not the case for code-generation models. Conclusions: Our analysis of the results uncovers a recommendation towards results improvement. We also show that calibration approaches can be transferred from code to models. The findings of our work with regards to the compensation of instability have the potential to help not only feature location in models, but also in code.
Keyword:
Topic modeling
Software models
Search-based software engineering
Feature location

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

U
Universidad San Jorge
学者数:
565
论文数: 413
被引数: 230
引用论文

引用论文

Protocadherins: a large family of cadherin-related molecules in central nervous system.
err1993-06-01
err0
errOAAI
errK. Sano; H. Tanihara; R.L. Heimark; S. Obata; M. Davidson; T. St John; S. Taketani; S. Suzuki
err分享
err收藏
err分享
err收藏
Methylene Blue as a Successful Treatment Alternative for Pharmacologically Induced Priapism
err2001-01-01
err0
PREAI
errF.J. Martí nez Portillo; F.J. Martí nez Portillo; J. Hoang-Boehm; J. Hoang-Boehm; J. Weiss; J. Weiss; P. Alken; P. Alken; K.P. Jü nemann; K.P. Jü nemann
err分享
err收藏
Semantic clustering: Identifying topics in source code
err2007-03-01
err343
PREAI
errKuhn, Adrian; Ducasse, Stephane; Girba, Tudor
err分享
err收藏
Configuring latent Dirichlet allocation based feature location
err2012-08-29
err61
PREAI
errBiggers, Lauren R.; Bocovich, Cecylia; Capshaw, Riley; Eddy, Brian P.; Etzkorn, Letha H.; Kraft, Nicholas A.
err分享
err收藏
Tension control: dancer rolls or load cells
err1993-01-01
err0
PREAI
errN.A. Ebler; R. Arnason; G. Michaelis; N. D'Sa
err分享
err收藏
err分享
err收藏
学者 查看更多内容