Component Classification#
Note
Document header
IAV Primula Component Classification
|
status: draft
security: YES
safety: QM
|
||||
iav_primulahttps://github.com/eclipse-score/inc_security_crypto/tree/main/score/t.b.ddocs/index.rstdocs/requirements/requirements.rstdocs/architecture/component_architecture.rstStep 1: Determine (P): the uncertainty of the Processes applied#
Id |
Indicator for applying process |
Result |
Rationale for result |
|---|---|---|---|
1 |
Are rules, state-of-the art processes applied for the design, implementation and verification? |
HE |
Basic project rules are applied (Rust 2021 crate, tests, standard docs structure). |
2 |
Are requirements available? |
HE |
Initial component requirements are documented. |
3 |
Are specifications for functionalities and properties available (architecture)? |
HE |
Initial component architecture documentation is available. |
4 |
Are design specifications available? |
HE |
Detailed design baseline exists for current low complexity scope. |
5 |
Are configuration specification and data available, if applicable? |
HE |
No dedicated configuration data is currently required. |
6 |
Are verification measures including tests and reports available? |
HE |
Hello-world test exists and verifies expected output. |
iav_primula is determined as P=1
Step 2: Determine (C): the uncertainty of finding systematic faults based on the Complexity#
Id |
Indicator for high Complexity |
Complexity measure Tool |
Result |
Number |
|---|---|---|---|---|
1 |
High amount of Lines of Code |
Lines of Code (without comments) (generated code is excluded, e.g. ProtoCmpl) |
NH |
1 function |
2 |
Unsafe code used / total unsafe code |
|
NH |
0 |
3 |
Test exists / Coverage (Function, Line)
(maybe better: testability, but how to measure?)
|
Existing Tests Coverage |
NH |
1 test present |
4 |
High amount of public function interfaces |
Number of public function interfaces |
NH |
1 public function |
5 |
High amount of function parameters |
Number of parameters |
NH |
0 parameters for public API |
iav_primula is determined as C=1
Step 3: Determine (CLAS_OUT): the classification outcome#
( C ) |
( P ) |
||
|---|---|---|---|
1 |
2 |
3 |
|
1 |
Q |
Q |
QR |
2 |
QR |
QR |
QR |
3 |
QR |
QR |
NQ |
iav_primula is classified as CLAS_OUT=Q
Step 4: Document all results and rationale for choosing (P) and (C) and (CLAS_OUT)#
This document