Konferenzbeitrag
Approximating the Number of Execution Paths in Simulink Models
Lade...
Volltext URI
Dokumententyp
Text/Conference Paper
Zusatzinformation
Datum
2020
Autor:innen
Zeitschriftentitel
ISSN der Zeitschrift
Bandtitel
Verlag
Gesellschaft für Informatik e.V.
Zusammenfassung
Simulink is in widespread use for developing control applications, for example in the automotive domain. Simulink models often are the main artifacts that developers work on. The most common artifact is a block diagram. Code is directly generated from these models. Therefore, the models are also subject to maintenance and thus to the well-known effects of software ageing. In order to monitor and control maintainability of such models, it is necessary to measure them. One important maintainability metric that has not been addressed for block diagrams so far is the number of execution paths, as this determines the number of test cases that are needed to execute each possible path through the software at least once. The number of control branches (cyclomatic complexity) is not enough, as the number of paths can vary vastly depending on their arrangement. Therefore, an approximation of the number of execution paths for Simulink models is needed.