EN 50716:2023 - Railway Applications - Requirements for Software Development
Annex A: Criteria for the selection of techniques and measures – EN 50716:2023 - Railway Applications - Requirements for Software Development

EN 50716:2023 - Railway Applications - Requirements for Software Development A.21: Table A.21: test coverage for code

Detailed table for structural coverage: statement coverage is R at Basic Integrity and HR at SIL 1 to 4; branch, compound condition, data flow and path coverage are R at SIL 1 and 2 and HR at SIL 3 and 4. For SIL 1 to 4 a quantified coverage measure is developed for the testing done, supporting the judgement of confidence and whether more techniques are needed. At SIL 3 and 4 component coverage should be measured as branch with compound condition, branch with data flow, or path coverage, or integration coverage by one or more of those criteria. Other justified criteria may be used depending on architecture and language. Code that cannot practicably be tested is shown correct by another suitable technique such as static analysis. Statement coverage follows from the others; branch and compound condition coincide where only single conditions occur; boundary and equivalence techniques can reach coverage with fewer tests; component coverage may be reached during integration or overall testing.

Maintained by Gerard Blokdyk

What else in your programme already covers this

This control maps to 3 controls across 2 other frameworks. If you already hold one of them, the evidence you collected for it is the starting point here rather than new work.

  • A-7.6 Structural coverage by decision coverage (levels A and B)
  • A-7.7 Structural coverage by statement coverage (levels A to C)
  • 6:9.4 9.4 Software unit verification

Every mapping shown was judged rather than inferred from wording similarity, and the ones that failed review are published too. See the coverage reports and what was rejected.

Other controls in Annex A: Criteria for the selection of techniques and measures – EN 50716:2023 - Railway Applications - Requirements for Software Development

Query this from an agent

The graph holds this control, the 3 it maps to, and the evidence behind each claim, over MCP and REST.