Bad Smells in IEC 61499-based Control Software: Sniffing out Shotgun Surgery

Research output: Chapter in Book/Report/Conference proceedingConference proceedingspeer-review

Abstract

Bad smells are code patterns which have a negative influence on software, often impacting its quality and maintainability. Because of these negative effects, it is important to detect and avoid them. In the domain of software engineering, the topic of bad smells has been widely researched. On the other hand, in the area of industrial automation and PLC programming languages, bad smells have not received the same amount of attention. Shotgun Surgery is a code smell which we can find when a functionality is used in a certain number of places in code. It starts smelling when every change to the functionality requires many smaller changes to the places where it’s used. If we take a closer look at Shotgun Surgery in the domain of IEC 61499, we see that the general trend persists and that there is no adequate research done on it. In this paper, we want to identify Shotgun Surgery scenarios and showcase multiple existing and new approaches for its detection in IEC 61499.
Original languageEnglish
Title of host publicationProceedings of the 28th IEEE IES International Conference on Emerging Technologies and Factory Automation (ETFA 2023)
Place of PublicationNew York, NY, United States
PublisherIEEE
Pages1-4
Number of pages4
ISBN (Electronic)9798350339918
ISBN (Print)979-8-3503-3991-8
DOIs
Publication statusPublished - Oct 2023

Publication series

NameIEEE International Conference on Emerging Technologies and Factory Automation, ETFA
Volume2023-September
ISSN (Print)1946-0740
ISSN (Electronic)1946-0759

Fields of science

  • 202017 Embedded systems
  • 102022 Software development
  • 102025 Distributed systems
  • 102029 Practical computer science
  • 202003 Automation
  • 202041 Computer engineering

JKU Focus areas

  • Digital Transformation

Cite this