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 条
  • [41] Semantic Smells and Errors in Access Control Models: A Case Study in PHP
    Gauthier, Francois
    Merlo, Ettore
    PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 1169 - 1172
  • [42] A Review on Search-Based Tools and Techniques to Identify Bad Code Smells in Object-Oriented Systems
    Kaur, Amandeep
    Dhiman, Gaurav
    HARMONY SEARCH AND NATURE INSPIRED OPTIMIZATION ALGORITHMS, 2019, 741 : 909 - 921
  • [43] On the Prevalence, Impact, and Evolution of SQL Code Smells in Data-Intensive Systems
    Asmare, Biruk Muse
    Rahman, Mohammad Masudur
    Nagy, Csaba
    Cleve, Anthony
    Khomh, Foutse
    Antoniol, Giuliano
    2020 IEEE/ACM 17TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2020, : 327 - 338
  • [44] Automatic Refactoring of Component-based Software by Detecting and Eliminating Bad Smells A Search-based Approach
    Kebir, Salim
    Borne, Isabelle
    Meslati, Djamel
    ENASE: PROCEEDINGS OF THE 11TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL SOFTWARE APPROACHES TO SOFTWARE ENGINEERING, 2016, : 210 - 215
  • [45] ENSESMELLS : Deep ensemble and programming language models for automated code smells detection
    Ho, Anh
    Bui, Anh M. T.
    Nguyen, Phuong T.
    Di Salle, Amleto
    Le, Bach
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 224
  • [46] Artifact Analysis of Smell Evolution and Maintenance Tasks in Simulink Models
    Popoola, Saheed
    Gray, Jeff
    24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021), 2021, : 818 - 827
  • [47] A search-based approach for detecting circular dependency bad smell in goal-oriented models
    Mohammed, Mawal A.
    Alshayeb, Mohammad
    Hassine, Jameleddine
    SOFTWARE AND SYSTEMS MODELING, 2022, 21 (05) : 2007 - 2037