Skip to content

Commit 332b99a

Browse files
grammar and sentence corrections in the checklist (eclipse-score#196)
1 parent 1bebef7 commit 332b99a

9 files changed

Lines changed: 106 additions & 88 deletions

File tree

‎docs/features/architecture/arc_inspection.rst‎

Lines changed: 43 additions & 45 deletions
Large diffs are not rendered by default.

‎examples/docs/architecture_modeling_example.rst‎

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,14 @@ Feature Architecture File
6262
:included_by: feat__mtef
6363
:fulfils: feat_req__example_feature__example_req
6464

65+
This interface carries the feature's primary control requests and status data. It connects the feature to the component responsible for core control, with inputs validated and errors reported through the operation results.
66+
6567
.. needarch::
6668
:scale: 50
6769
:align: center
6870

6971
{{ draw_interface(need(), needs) }}
7072

71-
Logical Interface 1 provides the primary control and communication interface for the feature.
72-
It is implemented by sub-component 1 which handles the core functionality.
73-
7473

7574
.. logic_arc_int:: Logical Interface 2
7675
:id: logic_arc_int__example_feature__if_2
@@ -81,15 +80,14 @@ Feature Architecture File
8180
:included_by: feat__mtef
8281
:fulfils: feat_req__example_feature__example_req
8382

83+
This interface transfers data between the feature and the component responsible for processing it. It supports data submission and retrieval, with operation results indicating success or an applicable error.
84+
8485
.. needarch::
8586
:scale: 50
8687
:align: center
8788

8889
{{ draw_interface(need(), needs) }}
8990

90-
Logical Interface 2 provides support for data processing and communication between sub-components.
91-
It is implemented by sub-component 2 which handles data flow and processing operations.
92-
9391

9492
.. logic_arc_int:: Logical Interface 3
9593
:id: logic_arc_int__example_feature__if_3
@@ -100,7 +98,7 @@ Feature Architecture File
10098
:included_by: feat__mtef
10199
:fulfils: feat_req__example_feature__example_req
102100

103-
Logical Interface 3 provides additional support and monitoring capabilities for the feature.
101+
This interface exposes the feature's monitoring and diagnostic information. It provides status and event data to authorized consumers and reports errors when requested information is unavailable.
104102

105103
.. Logical Interface Operation
106104
@@ -112,6 +110,8 @@ Feature Architecture File
112110
:version: 1
113111
:included_by: logic_arc_int__example_feature__if_1
114112

113+
Accepts a control request and returns whether the request was accepted or an error occurred.
114+
115115
.. logic_arc_int_op:: Logical Operation 2
116116
:id: logic_arc_int_op__example_feature__op_2
117117
:security: YES
@@ -120,6 +120,8 @@ Feature Architecture File
120120
:version: 1
121121
:included_by: logic_arc_int__example_feature__if_1
122122

123+
Returns the current control status so the caller can determine the feature's state.
124+
123125
.. logic_arc_int_op:: Logical Operation 3
124126
:id: logic_arc_int_op__example_feature__op_3
125127
:security: YES
@@ -128,6 +130,8 @@ Feature Architecture File
128130
:version: 1
129131
:included_by: logic_arc_int__example_feature__if_2
130132

133+
Submits data for processing and reports whether the data was accepted or invalid.
134+
131135
.. logic_arc_int_op:: Logical Operation 4
132136
:id: logic_arc_int_op__example_feature__op_4
133137
:security: YES
@@ -136,6 +140,8 @@ Feature Architecture File
136140
:version: 1
137141
:included_by: logic_arc_int__example_feature__if_2
138142

143+
Retrieves the result of a completed data-processing request or reports that no result is available.
144+
139145
.. logic_arc_int_op:: Logical Operation 5
140146
:id: logic_arc_int_op__example_feature__op_5
141147
:security: YES
@@ -144,6 +150,8 @@ Feature Architecture File
144150
:version: 1
145151
:included_by: logic_arc_int__example_feature__if_3
146152

153+
Returns a health summary for the feature's monitored components.
154+
147155
.. logic_arc_int_op:: Logical Operation 6
148156
:id: logic_arc_int_op__example_feature__op_6
149157
:security: YES
@@ -152,6 +160,8 @@ Feature Architecture File
152160
:version: 1
153161
:included_by: logic_arc_int__example_feature__if_3
154162

163+
Retrieves diagnostic information for an identified component or reports that the information is unavailable.
164+
155165
.. logic_arc_int_op:: Logical Operation 7
156166
:id: logic_arc_int_op__example_feature__op_7
157167
:security: YES
@@ -160,6 +170,8 @@ Feature Architecture File
160170
:version: 1
161171
:included_by: logic_arc_int__example_feature__if_3
162172

173+
Publishes a monitoring event when a component's status changes.
174+
163175
.. logic_arc_int_op:: Logical Operation 8
164176
:id: logic_arc_int_op__example_feature__op_8
165177
:security: YES
@@ -168,6 +180,8 @@ Feature Architecture File
168180
:version: 1
169181
:included_by: logic_arc_int__example_feature__if_3
170182

183+
Acknowledges a monitoring event and reports whether the event identifier is valid.
184+
171185

172186
Module View File
173187
================

‎score/component_example/docs/architecture/component_architecture.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

37+
.. note:: Create separate architecture, safety-analysis, and security-analysis documentation for lower-level components only when the component is decomposed into subcomponents and those artifacts apply. This document describes the current component and may be needed even when it has no subcomponents.
38+
3739

3840
Overview
3941
--------

‎score/component_example/docs/detailed_design/chklst_impl_inspection.rst‎

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
.. document:: [Component Name] Implementation Inspection Checklist
1616
:id: doc__mod_temp_component_name_impl_inspection
1717
:status: draft
18-
:version: 1
18+
:version: 2
1919
:safety: ASIL_B
2020
:security: YES
2121
:realizes: wp__sw_implementation_inspection
@@ -35,90 +35,86 @@
3535
Purpose
3636
-------
3737

38-
The purpose of this checklist is to collect the topics to be checked during implementation,
39-
i.e. in the detailed design and the source code of the units.
38+
The purpose of this checklist is to define the topics to be reviewed during implementation,
39+
including the detailed design and unit source code. Unit testing and structural coverage are
40+
addressed separately through the verification activities and report.
4041

41-
The checklist shall be agnostic to which programming language is used. Differences shall be treated
42-
by linking to C++ or Rust specific documentation.
42+
The checklist is intended to be language-agnostic. Language-specific guidance should be referenced
43+
where applicable, for example, in the C++ or Rust documentation.
4344

4445
Conduct
4546
-------
4647

47-
As described in the concept :need:`doc_concept__wp_inspections` the following "inspection roles" are expected to be filled:
48+
As described in the concept :need:`doc_concept__wp_inspections`, the following inspection roles are expected to be assigned:
4849

49-
- content responsible (author): <contributor/committer explicitly named here, who is the main author, as can be seen in config mgt tooling>
50-
- reviewer: <contributor/committer explicitly named here, who is the main content reviewer, must be different from content responsible>
51-
- moderator: <committer explicitly named here, who is is the safety manager, security manager or quality manager initiating the inspection>
50+
- content responsible (author): <contributor/committer explicitly named here who is the main author, as shown in configuration management tooling>
51+
- reviewer: <contributor/committer explicitly named here who is the main content reviewer; this person must differ from the content responsible>
52+
- moderator: <committer explicitly named here who initiates the inspection as the safety, security, or quality manager>
5253

5354
Checklist
5455
---------
5556

56-
It is mandatory to fill in the "passed" column with "yes" or "no" for each checklist item and additionally to add in the remarks why it is passed or not passed.
57-
In case of "no" an issue link to the issue tracking system has to be added in the last column (if not solved in the same issue).
57+
Enter "yes" or "no" in the "Passed" column for each checklist item, and explain the result in the "Remarks" column.
58+
If "no" is entered, add a link to the corresponding issue in the "Issue link" column unless the finding is already tracked in the issue conducting the inspection.
5859
See also :need:`doc_concept__wp_inspections` for further information about reviews in general and inspection in particular.
5960

6061
.. list-table:: Implementation Checklist
6162
:header-rows: 1
6263
:widths: 10,30,50,6,6,8
6364

6465
* - Review ID
65-
- Acceptance Criteria
66+
- Acceptance criteria
6667
- Guidance
6768
- Passed
6869
- Remarks
6970
- Issue link
7071
* - IMPL_01_01
71-
- Is the design according to guidelines?
72-
- see :need:`gd_temp__detailed_design` and :need:`doc_concept__imp_concept`
73-
(e.g. are the views done with the proposed UML diagrams)
72+
- Does the detailed design follow the applicable project guidelines?
73+
- See :need:`gd_temp__detailed_design` and :need:`doc_concept__imp_concept`.
74+
For example, check whether design views use the notations recommended by the project.
7475
-
7576
-
7677
-
7778
* - IMPL_01_02
78-
- Is the implementation according to specification?
79-
- Check if the linked component requirements are fulfilled
80-
and detailed design also matches architecture description.
79+
- Does the implementation conform to the allocated requirements, architecture, and detailed design?
80+
- Check whether the linked component requirements are fulfilled and whether the detailed design is consistent with the architecture description.
8181
-
8282
-
8383
-
8484
* - IMPL_01_03
85-
- Are the design decisions and constraints documented?
86-
- Check also for plausibility of these.
85+
- Are the design decisions, assumptions, and constraints documented and justified?
86+
- Check whether the rationale is clear and consistent with the requirements and architecture.
8787
-
8888
-
8989
-
9090
* - IMPL_01_04
91-
- Are all external libraries used by the component specified in the detailed design?
92-
- Check the automated dependency analysis.
93-
Also make sure ASIL rated units also only use ASIL rated libraries.
91+
- Are all external libraries and other third-party dependencies used by the component identified and assessed for the intended use?
92+
- Check the automated dependency analysis and confirm that relevant safety evidence, assumptions, constraints, and usage conditions are documented. Where a dependency is used in a safety-related context, justify its suitability for the required safety integrity level; do not assume that an "ASIL-rated" label alone demonstrates suitability.
9493
-
9594
-
9695
-
9796
* - IMPL_02_01
98-
- Are the static and dynamic code analysis reports verified for violations?
99-
- All violations in ASIL related code must be justified. This includes the checks of coding guidelines.
97+
- Have the static and dynamic code-analysis results been reviewed, and have the findings been resolved or justified?
98+
- Review findings against the applicable coding guidelines. Resolve findings or document and approve the rationale for accepted deviations, especially in safety-related code.
10099
-
101100
-
102101
-
103102
* - IMPL_02_02
104-
- Do manual checks, that are derived from the coding guideline, find no safety critical error?
105-
- Check this for the programming language used (e.g. C++ <link_to_checks_list>, Rust <link_to_checks_list>)
103+
- Have the manual checks required by the applicable coding guidelines been performed, with findings resolved or justified?
104+
- Use the checks applicable to the programming language (e.g., C++ <link_to_checks_list>, Rust <link_to_checks_list>).
106105
-
107106
-
108107
-
109108
* - IMPL_03_01
110-
- Do the UID of the interface in component documentation match the implemented interface names of the unit?
111-
- Compare interface UIDs (which contains the interface name) in component architecture/detailed design documentation
112-
with public interfaces in source code (e.g. API headers, traits, public types/functions).
109+
- Are the interface UIDs in the component documentation traceable to the corresponding implemented public interfaces?
110+
- Compare the interface UIDs in the component architecture and detailed design documentation with the corresponding public interfaces in the source code (e.g., API headers, traits, public types, or functions). The identifiers need not match source-level names exactly, but their correspondence should be clear.
113111
-
114112
-
115113
-
116114
* - IMPL_03_02
117-
- Are detailed design and source code consistent and is the respective traceability established ?
118-
- Check if available static and dynamic design diagrams and the textual descriptions match the code
119-
(e.g. naming of interfaces, units, functions/operations/messages, data types).
120-
Check if the folder/file names of the units and its source code matches the intended functionality.
121-
For example if a unit is named "communication" it should not contain code for "data processing".
115+
- Are the detailed design and source code consistent, and is traceability between them established?
116+
- Check whether available static and dynamic design diagrams and textual descriptions match the code (e.g., the names of interfaces, units, functions, operations, messages, and data types).
117+
Where required by project conventions, check whether unit folder and file names reflect their intended functionality. For example, a unit named "communication" should not contain unrelated data-processing code.
122118
-
123119
-
124120
-

‎score/component_example/docs/index.rst‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Further Documentation of the component can be found in the following sections:
7878
Component Detail Information
7979
============================
8080

81+
.. note:: The documents listed below describe this component. Create separate architecture, safety-analysis, and security-analysis documents for subcomponents only when this component is decomposed into subcomponents and those artifacts apply.
82+
8183
.. toctree::
8284
:maxdepth: 1
8385

@@ -87,5 +89,5 @@ Component Detail Information
8789
safety_analysis/dfa
8890
safety_analysis/fmea
8991
safety_analysis/aou_requirements
90-
component_classification
92+
safety_analysis/component_classification
9193
security_analysis/aou_requirements

score/component_example/docs/component_classification.rst renamed to score/component_example/docs/safety_analysis/component_classification.rst

File renamed without changes.

‎score/component_example/docs/safety_analysis/dfa.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
:realizes: wp__sw_component_dfa
2626
:tags: template
2727

28+
29+
.. note:: Create separate DFA documentation for lower-level components only when the component is decomposed into subcomponents and a separate analysis applies. This document covers the current component's DFA scope.
30+
2831
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
2932

3033
.. attention::

‎score/component_example/docs/safety_analysis/fmea.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
:realizes: wp__sw_component_fmea
2626
:tags: template
2727

28+
29+
.. note:: Create separate FMEA documentation for lower-level components only when the component is decomposed into subcomponents and a separate analysis applies. This document covers the current component's FMEA scope.
30+
2831
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
2932

3033
.. attention::

‎score/component_example/src/lower_level_comp/.gitkeep‎

Whitespace-only changes.

0 commit comments

Comments
 (0)