Lisa Sonnleithner, Bianca Wiesmayr, Antonio Gutierrez, Rick Rabiser, Alois Zoitl,
"Complexity of Structured Text in IEC 61499 Function Blocks: A Survey. 28th IEEE IES International Conference on Emerging Technologies and Factory Automation (ETFA 2023)"
: Proceedings of the 28th IEEE IES International Conference on Emerging Technologies and Factory Automation (ETFA 2023), IEEE, New York, NY, United States, Seite(n) 1-8, 10-2023, ISBN: 979-8-3503-3991-8
Original Titel:
Complexity of Structured Text in IEC 61499 Function Blocks: A Survey. 28th IEEE IES International Conference on Emerging Technologies and Factory Automation (ETFA 2023)
Sprache des Titels:
Englisch
Original Buchtitel:
Proceedings of the 28th IEEE IES International Conference on Emerging Technologies and Factory Automation (ETFA 2023)
Original Kurzfassung:
The rising complexity of modern production systems raises the need for evaluating the code quality also in control software engineering. Complexity metrics can help identifying code that is difficult to maintain and may benefit from a refactoring. Although complexity metrics have already been adapted to the domain-specific languages (DSLs) used for cyber-physical production systems (CPPSs), literature on whether developers benefit from using these metrics is limited. Also, the complexity perception of code by the domain experts remains to be investigated. The perceived difficulty of comprehending a program can vary among developers and also between different implementation variants of the same functionality. We therefore asked industrial experts, who have experience in the respective DSLs, to rate the complexity of semantically equivalent implementations to find out which metric best represents their complexity perception and whether there are differences between implementation variants. The examples used in the study were inspired, in parts, by an open source library for IEC 61131-3. We found that the Cognitive Complexity metric is a useful representation of the software complexity in the domain, as it best matched the domain experts? perception of complexity. These metrics should therefore be supported by the analysis tools.