Evolution of Bad Smells in LabVIEW Graphical Models

被引:5
|
作者
Popoola, Saheed [1 ]
Zhao, Xin [1 ]
Gray, Jeff [1 ]
机构
[1] Univ Alabama, Dept Comp Sci, Tuscaloosa, AL 35487 USA
来源
JOURNAL OF OBJECT TECHNOLOGY | 2021年 / 20卷 / 01期
关键词
LabVIEW models; bad smells; user queries; CODE SMELLS;
D O I
10.5381/jot.2021.20.1.a1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Bad smells often indicate potential problems in software, which may lead to long-term challenges and expensive maintenance efforts. Although bad smells often occur in source code, bad smells also exist in representations of design descriptions and models. We have observed that many users of graphical modeling environments (e.g., LabVIEW) are systems engineers who may not be aware of core software engineering techniques, such as refactoring of bad smells. Systems engineers often focus on implementation correctness and may be unaware of how their designs affect long-term maintenance properties that may increase design smells. There exists a large body of research focused on analysing bad smells embedded in the source code of textual languages, but there has been limited research on bad smells in systems models of graphical languages. In this paper, we present a semi-automated approach for extracting design smells across versions of LabVIEW graphical models through user-defined queries. We describe example queries that highlight the emergence of design smells that we discovered from posts in the LabVIEW user's forum. We then demonstrate the use of the example queries in understanding the evolution of seven bad smells we found in 81 LabVIEW models stored in 10 GitHub repositories. We analyze the evolution of these smells in order to understand the prevalence and introduction of bad smells, as well as the relationship between bad smells and the structural changes made to the models. Our results show that all of the models contain instances of at least one type of bad smell and the number of smells fluctuates as the size of a model increases. Furthermore, the majority of the structural changes across different versions of LabVIEW models involve the addition of new elements with a corresponding increase in the presence of design smells. This paper summarizes the need for better analysis of design smells in systems models and suggests an approach that may assist in improving the structure and quality of systems models developed in LabVIEW.
引用
收藏
页码:1 / 15
页数:15
相关论文
共 47 条
  • [21] Spotting the Phenomenon of Bad Smells in MobileMedia Product Line Architecture
    Kaur, Manjinder
    Kumar, Parveen
    2014 SEVENTH INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING (IC3), 2014, : 357 - 363
  • [22] The Effect of Lexicon Bad Smells on Concept Location in Source Code
    Abebe, Surafel Lemma
    Haiduc, Sonia
    Tonella, Paolo
    Marcus, Andrian
    11TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2011), 2011, : 125 - 134
  • [23] Detecting Bad Smells with Machine Learning Algorithms: an Empirical Study
    Cruz, Daniel
    Santana, Amanda
    Figueiredo, Eduardo
    2020 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT, TECHDEBT, 2020, : 31 - 40
  • [24] Influence of programming style in transformation bad smells: mining of ETL repositories
    Bonet, Nicolas
    Garces, Kelly
    Casallas, Rubby
    Correal, Maria Elsa
    Wei, Ran
    COMPUTER SCIENCE EDUCATION, 2018, 28 (01) : 87 - 108
  • [25] Detecting Bad Smells in Source Code using Change History Information
    Palomba, Fabio
    Bavota, Gabriele
    Di Penta, Massimiliano
    Oliveto, Rocco
    De Lucia, Andrea
    Poshyvanyk, Denys
    2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 268 - 278
  • [26] Video Game Bad Smells: What They Are and How Developers Perceive Them
    Nardone, Vittoria
    Muse, Biruk
    Abidi, Mouna
    Khomh, Foutse
    Di Penta, Massimiliano
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (04)
  • [27] Detecting Video Game-Specific Bad Smells in Unity Projects
    Borrelli, Antonio
    Nardone, Vittoria
    Di Lucca, Giuseppe A.
    Canfora, Gerardo
    Di Penta, Massimiliano
    2020 IEEE/ACM 17TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2020, : 198 - 208
  • [28] Automatic Detection of Bad Smells from Excel Sheets and Refactor for Performance Improvement
    Rajdev, Urja
    Kaur, Anantdeep
    2016 INTERNATIONAL CONFERENCE ON INVENTIVE COMPUTATION TECHNOLOGIES (ICICT), VOL 2, 2016, : 284 - 290
  • [29] Towards a Collaborative Repository for the Documentation of Service-Based Antipatterns and Bad Smells
    Bogner, Justus
    Boceck, Tobias
    Popp, Matthias
    Tschechlov, Dennis
    Wagner, Stefan
    Zimmermann, Alfred
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2019), 2019, : 95 - 101
  • [30] An exploratory study on cooccurrence of design patterns and bad smells using software metrics
    Sousa, Bruno L.
    Bigonha, Mariza A. S.
    Ferreira, Kecia A. M.
    SOFTWARE-PRACTICE & EXPERIENCE, 2019, 49 (07) : 1079 - 1113