Artifact Analysis of Smell Evolution and Maintenance Tasks in Simulink Models

被引:3
作者
Popoola, Saheed [1 ]
Gray, Jeff [2 ]
机构
[1] Univ Cincinnati, Sch Informat Technol, Cincinnati, OH 45221 USA
[2] Univ Alabama, Dept Comp Sci, Tuscaloosa, AL 35487 USA
来源
24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021) | 2021年
关键词
Simulink; Bad Smells; Software Maintenance; GitHub; CODE SMELLS; IMPACT;
D O I
10.1109/MODELS-C53483.2021.00128
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Bad smells often indicate a possible concern in a software design that may present challenges related to comprehension and maintenance. As a system evolves through a series of changes and maintenance activities, the bad smells embedded in the system may also evolve with the potential for introducing additional new smells. Existing bad smells research often targets textual code-based implementations. We found very little research on bad smells in systems designed with graphical languages that are used often in industry. This paper presents our analysis on the evolution of four bad smells in 575 Simulink models across 31 open-source repositories. We conducted our analysis by creating a chain of model-driven tools that could assist with various analysis needs. Our first step was to extract the evolution history of Simulink models in GitHub. Next, we manually classified each version to a maintenance category (i.e., adaptive, preventive, corrective, or perfective). Then, we developed queries to detect instances of four selected bad smells. Finally, we analysed the evolution of each of the smells across the version history of the repositories, the relationships between the smells and the size of the models, and the impact of maintenance activities on the evolution of the identified bad smells. The results suggest that: 1) larger models tend to contain more types of smells, 2) an increase in the instances of smells is usually associated with an increase in model size, but an increase in model size does not necessarily imply an increase in the number of smells, 3) the majority of bad smells are introduced during the initial construction of the models, although a significant portion of the smells are introduced at later stages, and 4) adaptive maintenance tasks often lead to an increase in the number of smells in Simulink models, but corrective maintenance tasks often correlate with a decrease in the number of smells.
引用
收藏
页码:818 / 827
页数:10
相关论文
共 30 条
  • [21] Evaluating the Lifespan of Code Smells using Software Repository Mining
    Peters, Ralph
    Zaidman, Andy
    [J]. 2012 16TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2012, : 411 - 416
  • [22] Evolution of Bad Smells in LabVIEW Graphical Models
    Popoola, Saheed
    Zhao, Xin
    Gray, Jeff
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2021, 20 (01): : 1 - 15
  • [23] Steinberg D., 2008, EMF: eclipse modeling framework
  • [24] Stephan M, 2015, 2015 ACM/IEEE 18TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS), P276, DOI 10.1109/MODELS.2015.7338258
  • [25] Understanding the Evolution of Code Smells by Observing Code Smell Clusters
    Tahmid, Ahmad
    Nahar, Nadia
    Sakib, Kazi
    [J]. 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 4, 2016, : 8 - 11
  • [26] Visual software analytics for the build optimization of large-scale software systems
    Telea, Alexandru
    Voinea, Lucian
    [J]. COMPUTATIONAL STATISTICS, 2011, 26 (04) : 635 - 654
  • [27] Toulme Antoine., 2006, ECLIPSE MODELING S, P1
  • [28] When and Why Your Code Starts to Smell Bad
    Tufano, Michele
    Palomba, Fabio
    Bavota, Gabriele
    Oliveto, Rocco
    Di Penta, Massimiliano
    De Lucia, Andrea
    Poshyvanyk, Denys
    [J]. 2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 403 - 414
  • [29] Zaman S., 2012, 2012 9th IEEE Working Conference on Mining Software Repositories (MSR 2012), P199, DOI 10.1109/MSR.2012.6224281
  • [30] BESMER: An Approach for Bad Smells Summarization in Systems Models
    Zhao, Xin
    Gray, Jeff
    [J]. 2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 304 - 313