Skip to content

Commit 5bcb712

Browse files
authored
Update verification plan template to match score project implementation (#647)
Relates to Action_50 and Action_81 in #566 Signed-off-by: Philipp Ahmann <philipp.ahmann@de.bosch.com>
1 parent a2c7ddc commit 5bcb712

1 file changed

Lines changed: 43 additions & 11 deletions

File tree

process/process_areas/verification/guidance/verification_plan_template.rst

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,20 +136,34 @@ Verification Plan Template
136136
137137
The strategy on how to achieve the defined coverage goals is described in the below sub-sections.
138138
139+
Structural coverage
140+
^^^^^^^^^^^^^^^^^^^
141+
142+
This section defines how structural coverage is measured and achieved.
143+
It should describe the specific coverage metrics used (e.g., statement, branch, path coverage)
144+
and the tools and processes used to achieve these metrics.
145+
146+
The confirmation or any deviation of the coverage percentage value is documented in this section.
147+
139148
Coverage of detailed design
140149
^^^^^^^^^^^^^^^^^^^^^^^^^^^
141150
142151
This section defines how coverage of the detailed design is measured and achieved.
143152
144-
Coverage metrics with defined thresholds should be e.g. based on:
153+
Coverage metrics with defined thresholds should be e.g. based on Implementation inspections.
154+
155+
Evidence of the inspection is given e.g. by the respective work product and its review.
156+
The inspection needs to cover the implementation of the detailed design to be complete.
157+
158+
Additionally, other measures can be taken to support the coverage of the detailed design like:
159+
160+
- Structural coverage as defined by their specific thresholds
161+
- Static analysis and Linting
162+
145163
- Structural code coverage (e.g. by statement, branch, path coverage)
146164
- Code quality metrics (e.g. by linting and static analysis)
147165
- Traceability coverage (e.g. by a 100% requirements coverage by test cases)
148166
149-
The section further documents the selected verification methods appropriate to achieve the defined
150-
coverage goals (e.g. by :need:`wp__verification_sw_unit_test`, :need:`wp__verification_comp_int_test`, and
151-
:need:`wp__sw_implementation_inspection`).
152-
153167
The confirmation or any deviation of the coverage percentage value is documented in this section.
154168
155169
Coverage of architectural design
@@ -158,22 +172,40 @@ Verification Plan Template
158172
This section defines how coverage of the architectural design is measured and achieved.
159173
It describes the metrics used to ensure completeness and quality of the architecture
160174
and the verification methods applied to achieve the defined coverage goals
161-
(e.g. by :need:`wp__verification_comp_int_test`, :need:`wp__verification_feat_int_test`, and
162-
:need:`wp__sw_arch_verification`).
163175
164-
Each valid traceable element shall have at least one test case linked with attribute `FullyVerified` or
165-
multiple test cases with attribute `PartiallyVerified` to achieve a 100% requirement coverage metric.
176+
Examples are:
177+
- :need:`wp__sw_arch_verification` - done by walkthrough (QM) or inspection (safety-critical parts)
178+
- :need:`wp__sw_component_fmea` and :need:`wp__sw_component_dfa` for safety-critical parts
179+
- :need:`wp__feature_fmea` and :need:`wp__feature_dfa` for safety-critical parts
180+
181+
Each architectural element has to be reviewed against the availability of the above artifacts.
166182
167183
The confirmation or any deviation of the coverage percentage value is documented in this section.
168184
169185
Coverage of software requirements specifications
170186
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
171187
172-
For a release all `valid` requirements need to have a complete test coverage of linked test cases
173-
leading to a 100% requirement coverage.
188+
For a release the ``valid`` requirements need to have a complete test coverage of linked test cases.
189+
190+
Tests which are suitable for the coverage are:
191+
192+
- :need:`wp__verification_comp_int_test`
193+
- :need:`wp__verification_feat_int_test`
194+
- :need:`wp__verification_platform_int_test`
195+
- :need:`wp__verification_sw_unit_test`
174196
175197
The confirmation or any deviation of the coverage percentage value is documented in this section.
176198
199+
Static code analysis
200+
^^^^^^^^^^^^^^^^^^^^
201+
Static code analysis is performed to ensure compliance with coding standards and to identify potential issues early in the development process.
202+
203+
Static analysis requires tool support. Rule sets need to be defined and configured in the respective tools.
204+
The rule sets should include relevant rulesets (like MISRA‑C++) enabling a programming language to be usable in safety critical development.
205+
Additionally, project‑specific rules that address architectural constraints and coding practices need to be defined and enforced.
206+
207+
Static analysis tool perform e.g. a semantic analysis of the codebase to detect deeper correctness and potential security/safety issues.
208+
177209
Test Development
178210
----------------
179211

0 commit comments

Comments
 (0)