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 条
  • [31] Catalog and detection techniques of microservice anti-patterns and bad smells: A tertiary study
    Cerny, Tomas
    Abdelfattah, Amr S.
    Al Maruf, Abdullah
    Janes, Andrea
    Taibi, Davide
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 206
  • [32] Exploiting bad-smells and object-oriented characteristics to prioritize classes for refactoring
    Ruchika Malhotra
    Priya Singh
    International Journal of System Assurance Engineering and Management, 2020, 11 : 133 - 144
  • [33] Exploiting bad-smells and object-oriented characteristics to prioritize classes for refactoring
    Malhotra, Ruchika
    Singh, Priya
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2020, 11 (SUPPL 2) : 133 - 144
  • [34] When and Why Your Code Starts to Smell Bad (and Whether the Smells Go Away)
    Tufano, Michele
    Palomba, Fabio
    Bavota, Gabriele
    Oliveto, Rocco
    Di Penta, Massimiliano
    De Lucia, Andrea
    Poshyvanyk, Denys
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2017, 43 (11) : 1063 - 1088
  • [35] Causal inference of server- and client-side code smells in web apps evolution
    Rio, Americo
    Brito e Abreu, Fernando
    Mendes, Diana
    EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (05)
  • [36] Investigating instability architectural smells evolution: an exploratory case study
    Sas, Darius
    Avgeriou, Paris
    Fontana, Francesca Arcelli
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2019), 2019, : 557 - 567
  • [37] Strategies for Avoiding Text Fixture Smells during Software Evolution
    Greiler, Michaela
    Zaidman, Andy
    van Deursen, Arie
    Storey, Margaret-Anne
    2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 387 - 396
  • [38] PHP code smells in web apps: Evolution, survival and anomalies
    Rio, Americo
    Brito e Abreu, Fernando
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 200
  • [39] Detecting bad smells in object oriented design using design change propagation probability matrix
    Rao, A. Ananda
    Reddy, K. Narendar
    IMECS 2008: INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS, VOLS I AND II, 2008, : 1001 - 1007
  • [40] Are all Code Smells Harmful? A Study of God Classes and Brain Classes in the Evolution of three Open Source Systems
    Olbrich, Steffen M.
    Cruzes, Daniela S.
    Sjoberg, Dag I. K.
    2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,