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 条
  • [1] An Empirical Study of the Impact of Two Antipatterns, Blob and Spaghetti Code, On Program Comprehension
    Abbes, Marwen
    Khomh, Foutse
    Gueheneuc, Yann-Gael
    Antoniol, Giuliano
    [J]. 2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 181 - 190
  • [2] [Anonymous], 2006, 14040 ISO, DOI DOI 10.1136/BMJ.332.7550.1107
  • [3] [Anonymous], 2018, REFACTORING IMPROVIN
  • [4] An Empirical Study on the Evolution of Design Smells
    Aversano, Lerina
    Carpenito, Umberto
    Iammarino, Martina
    [J]. INFORMATION, 2020, 11 (07)
  • [5] Chambers C, 2013, S VIS LANG HUM CEN C, P159, DOI 10.1109/VLHCC.2013.6645261
  • [6] Investigating the evolution of code smells in object-oriented systems
    Chatzigeorgiou, Alexander
    Manakos, Anastasios
    [J]. INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2014, 10 (01) : 3 - 18
  • [7] Querying and annotating model histories with time-aware patterns
    Garcia-Dominguez, Antonio
    Bencomo, Nelly
    Parra-Ullauri, Juan Marcelo
    Garcia-Paucar, Luis Hernan
    [J]. 2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2019), 2019, : 194 - 204
  • [8] Gerlitz T., 2015, MASE MODELS, P13
  • [9] Horvath A, 2015, MASSIF LOVE CHILD MA
  • [10] International Telecommunication Union-Telecommunication (ITU-T), 2002, Z100 ITUT