Measuring the Overall Complexity of Graphical and Textual IEC 61131-3 Control Software

12/09/2022
by   Juliane Fischer, et al.
0

Software implements a significant proportion of functionality in factory automation. Thus, efficient development and the reuse of software parts, so-called units, enhance competitiveness. Thereby, complex control software units are more difficult to understand, leading to increased development, testing and maintenance costs. However, measuring complexity is challenging due to many different, subjective views on the topic. This paper compares different complexity definitions from literature and considers with a qualitative questionnaire study the complexity perception of domain experts, who confirm the importance of objective measures to compare complexity. The paper proposes a set of metrics that measure various classes of software complexity to identify the most complex software units as a prerequisite for refactoring. The metrics include complexity caused by size, data structure, control flow, information flow and lexical structure. Unlike most literature approaches, the metrics are compliant with graphical and textual languages from the IEC 61131-3 standard. Further, a concept for interpreting the metric results is presented. A comprehensive evaluation with industrial software from two German plant manufacturers validates the metrics' suitability to measure complexity.

READ FULL TEXT
research
12/01/2020

Design Level Metrics to Measure the Complexity Across Versions of AO Software

Software metric plays a vital role in quantitative assessment of any spe...
research
12/09/2022

MICOSE4aPS: Industrially Applicable Maturity Metric to Improve Systematic Reuse of Control Software

automated Production Systems (aPS) are highly complex, mechatronic syste...
research
03/16/2021

Some Size and Structure Metrics for Quantum Software

Quantum software plays a critical role in exploiting the full potential ...
research
03/01/2020

The cross cyclomatic complexity: a bi-dimensional measure for program complexity on graphs

Reduce and control complexity is an essential practice in software desig...
research
10/27/2021

From Complexity Measurement to Holistic Quality Evaluation for Automotive Software Development

In recent years, the role and the importance of software in the automoti...
research
11/24/2017

Interactive Complexity: Software Metrics from an Ecosystem Perspective

With even the most trivial of applications now being written on top of m...
research
08/15/2018

Measuring Human Assessed Complexity in Synthetic Aperture Sonar Imagery Using the Elo Rating System

Performance of automatic target recognition from synthetic aperture sona...

Please sign up or login with your details

Forgot password? Click here to reset