Adopted at the end of 2023 by CENELEC, EN 50716:2023 describes the requirements for the development, deployment and maintenance of railway software — control-command and signalling applications, and applications on board rolling stock. It replaces EN 50128:2011 and EN 50657:2017.
For the analysis and testing of software components, static analysis — including control flow and data flow analysis —, dynamic analysis and testing and test coverage are highly recommended at all integrity levels, from SIL 1 to SIL 4.
The use of coding standards is highly recommended for basic integrity, SIL 1 and SIL 2 — and becomes mandatory for SIL 3 and SIL 4.
At all levels, the standard highly recommends limiting the size and complexity of functions, subroutines and methods.
For structure-based testing — white-box testing —, the standard sets the following levels.
| Coverage criterion | Basic integrity | SIL 1 | SIL 2 | SIL 3 | SIL 4 | |
|---|---|---|---|---|---|---|
| 1 | Statement coverage | R | HR | HR | HR | HR |
| 2 | Branch coverage | — | R | R | HR | HR |
| 3 | Compound conditions (condition coverage) | — | R | R | HR | HR |
| 4 | Data flow | — | R | R | HR | HR |
| 5 | Path coverage | — | R | R | HR | HR |
HR highly recommended · R recommended · — not required.
For SIL 3 and SIL 4, coverage at component level must be measured according to one of these combinations: branches (2) and compound conditions (3); or branches (2) and data flow (4); or paths (5); or coverage measured at integration level on one or more of criteria 2, 3, 4 or 5.
Other coverage criteria may be chosen, depending on the software architecture and the programming language, provided that the choice is justified.
Statement, branch and condition coverage can be analyzed with Testwell CTC++ (the tool even measures the highest coverage levels, MC/DC and MCC). Testwell CTC++ is suited to C, C++ and Java projects.
The Testing Laboratory for Safety Components of TÜV SÜD Rail GmbH has certified that Testwell CTC++ is:
View the TÜV SÜD certificate (PDF) →
Certificate, Safety Package and qualification process →
For any question about using Testwell CTC++ in the development of safety-critical systems, contact us.
EN 50716 classifies tools according to their influence on the software and requires you to justify the confidence placed in them. The animation shows how the TÜV SÜD certification of Testwell CTC++ and its Safety Package lighten this demonstration.
The 13 Testwell CTC++ animations →As stated above, EN 50716 makes coding standards mandatory at SIL 3 and SIL 4, and highly recommends, at all levels, static analysis and limiting the size and complexity of the code. This still has to be demonstrated, for every version delivered.
TiCS centralizes this demonstration: checking of the rules of your coding standard (MISRA C/C++ or in-house rules) by your analyzers, size and complexity metrics, compiler warnings — in a single dashboard, by subsystem and by version.
TiCS replaces neither the verifier nor the reports required by the standard: it provides their objective, continuous measurement. The tool classification (classes T1 to T3) remains to be established in your project.
In railway, every deviation from the coding rules must be justifiable to the assessor. The animation shows how a deviation is requested, approved by a second person and kept in the history.
The 14 TiCS animations →
References, testimonials and uses of Testwell CTC++ in rail transport.
DO-178C, ISO 26262, IEC 61508, IEC 62304, ISO 25119: each standard sets its own coverage requirements.