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 条
  • [1] A Survey-Based Empirical Evaluation of Bad Smells in LabVIEW Systems Models
    Zhao, Xin
    Gray, Jeff
    Riche, Taylor
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 177 - 188
  • [2] An Approach for Graphical User Interface External Bad Smells Detection
    Silva, J. C.
    Campos, J. C.
    Saraiva, J.
    Silva, J. L.
    NEW PERSPECTIVES IN INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 2, 2014, 276 : 199 - 205
  • [3] GSDetector: a tool for automatic detection of bad smells in GRL goal models
    Mohammed, Mawal A.
    Hassine, Jameleddine
    Alshayeb, Mohammad
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2022, 24 (06) : 889 - 910
  • [4] BESMER: An Approach for Bad Smells Summarization in Systems Models
    Zhao, Xin
    Gray, Jeff
    2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 304 - 313
  • [5] GSDetector: a tool for automatic detection of bad smells in GRL goal models
    Mawal A. Mohammed
    Jameleddine Hassine
    Mohammad Alshayeb
    International Journal on Software Tools for Technology Transfer, 2022, 24 : 889 - 910
  • [6] Visualizing Code Bad Smells
    Hammad, Maen
    Alsofriya, Sabah
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (05) : 281 - 286
  • [7] Detection Strategies of Bad Smells in Highly Configurable Software
    Faujdar, Neetu
    Srivastav, Kshitij
    Gupta, Megha
    Saraswat, Shipra
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE CONFLUENCE 2018 ON CLOUD COMPUTING, DATA SCIENCE AND ENGINEERING, 2018, : 31 - 35
  • [8] Perspectives on Automated Correction of Bad Smells
    Perez, Javier
    Crespo, Yania
    IWPSE-EVOL 09: ERCIM WORKSHOP ON SOFTWARE EVOLUTION (EVOL) AND INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION (IWPSE), 2009, : 99 - 108
  • [9] A Catalogue of Bad Smells for Software Process
    Santos, Edison J.
    Pitangueira Maciel, Rita Suzana
    Sant'Anna, Claudio
    PROCEEDINGS OF THE 17TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY (SBQS), 2015, : 1 - 10
  • [10] Oracles of Bad Smells - a Systematic Literature Review
    Ferreira Trindade, Rafael Prates
    da Silva Bigonha, Mariza Andrade
    Marques Ferreira, Kecia Aline
    34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020, 2020, : 62 - 71