|
| 1 | +.. _statistics: |
| 2 | + |
| 3 | +Component Requirements Statistics |
| 4 | +================================= |
| 5 | + |
| 6 | +Overview |
| 7 | +-------- |
| 8 | + |
| 9 | +.. needpie:: Requirements Status |
| 10 | + :labels: not valid, valid but not tested, valid and tested |
| 11 | + :colors: red, yellow, green |
| 12 | + |
| 13 | + type == 'comp_req' and status == 'invalid' |
| 14 | + type == 'comp_req' and testlink == '' and (status == 'valid' or status == 'invalid') |
| 15 | + type == 'comp_req' and testlink != '' and (status == 'valid' or status == 'invalid') |
| 16 | + |
| 17 | +In Detail |
| 18 | +--------- |
| 19 | + |
| 20 | +.. grid:: 2 |
| 21 | + :class-container: score-grid |
| 22 | + |
| 23 | + .. grid-item-card:: |
| 24 | + |
| 25 | + .. needpie:: Requirements marked as Valid |
| 26 | + :labels: not valid, valid |
| 27 | + :colors: red, orange, green |
| 28 | + |
| 29 | + type == 'comp_req' and status == 'invalid' |
| 30 | + type == 'comp_req' and status == 'valid' |
| 31 | + |
| 32 | + .. grid-item-card:: |
| 33 | + |
| 34 | + .. needpie:: Requirements with Codelinks |
| 35 | + :labels: no codelink, with codelink |
| 36 | + :colors: red, green |
| 37 | + |
| 38 | + type == 'comp_req' and source_code_link == '' |
| 39 | + type == 'comp_req' and source_code_link != '' |
| 40 | + |
| 41 | + .. grid-item-card:: |
| 42 | + |
| 43 | + .. needpie:: Test Results |
| 44 | + :labels: passed, failed, skipped |
| 45 | + :colors: green, red, orange |
| 46 | + |
| 47 | + type == 'testcase' and result == 'passed' |
| 48 | + type == 'testcase' and result == 'failed' |
| 49 | + type == 'testcase' and result == 'skipped' |
| 50 | + |
| 51 | +.. grid:: 2 |
| 52 | + |
| 53 | + .. grid-item-card:: |
| 54 | + |
| 55 | + Failed Tests |
| 56 | + |
| 57 | + *Hint: This table should be empty. Before a PR can be merged all tests have to be successful.* |
| 58 | + |
| 59 | + .. needtable:: FAILED TESTS |
| 60 | + :filter: result == "failed" |
| 61 | + :tags: TEST |
| 62 | + :columns: name as "testcase";result;fully_verifies;partially_verifies;test_type;derivation_technique;id as "link" |
| 63 | + |
| 64 | + .. grid-item-card:: |
| 65 | + |
| 66 | + Skipped / Disabled Tests |
| 67 | + |
| 68 | + .. needtable:: SKIPPED/DISABLED TESTS |
| 69 | + :filter: result != "failed" and result != "passed" |
| 70 | + :tags: TEST |
| 71 | + :columns: name as "testcase";result;fully_verifies;partially_verifies;test_type;derivation_technique;id as "link" |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | +All passed Tests |
| 77 | +----------------- |
| 78 | + |
| 79 | +.. needtable:: SUCCESSFUL TESTS |
| 80 | + :filter: result == "passed" |
| 81 | + :tags: TEST |
| 82 | + :columns: name as "testcase";result;fully_verifies;partially_verifies;test_type;derivation_technique;id as "link" |
| 83 | + |
| 84 | + |
| 85 | +Details About Testcases |
| 86 | +------------------------ |
| 87 | + |
| 88 | +.. needpie:: Test Types Used In Testcases |
| 89 | + :labels: static-code-analysis, structural-statement-coverage, structural-branch-coverage, walkthrough, inspection, interface-test, requirements-based, resource-usage, control-flow-analysis, data-flow-analysis, fault-injection, struct-func-cov, struct-call-cov |
| 90 | + :legend: |
| 91 | + |
| 92 | + type == 'testcase' and test_type == 'static-code-analysis' |
| 93 | + type == 'testcase' and test_type == 'structural-statement-coverage' |
| 94 | + type == 'testcase' and test_type == 'structural-branch-coverage' |
| 95 | + type == 'testcase' and test_type == 'walkthrough' |
| 96 | + type == 'testcase' and test_type == 'inspection' |
| 97 | + type == 'testcase' and test_type == 'interface-test' |
| 98 | + type == 'testcase' and test_type == 'requirements-based' |
| 99 | + type == 'testcase' and test_type == 'resource-usage' |
| 100 | + type == 'testcase' and test_type == 'control-flow-analysis' |
| 101 | + type == 'testcase' and test_type == 'data-flow-analysis' |
| 102 | + type == 'testcase' and test_type == 'fault-injection' |
| 103 | + type == 'testcase' and test_type == 'struct-func-cov' |
| 104 | + type == 'testcase' and test_type == 'struct-call-cov' |
| 105 | + |
| 106 | + |
| 107 | +.. needpie:: Derivation Techniques Used In Testcases |
| 108 | + :labels: requirements-analysis, boundary-values, equivalence-classes, fuzz-testing, error-guessing, explorative-testing |
| 109 | + :legend: |
| 110 | + |
| 111 | + type == 'testcase' and derivation_technique == 'requirements-analysis' |
| 112 | + type == 'testcase' and derivation_technique == 'boundary-values' |
| 113 | + type == 'testcase' and derivation_technique == 'equivalence-classes' |
| 114 | + type == 'testcase' and derivation_technique == 'fuzz-testing' |
| 115 | + type == 'testcase' and derivation_technique == 'error-guessing' |
| 116 | + type == 'testcase' and derivation_technique == 'explorative-testing' |
| 117 | + |
| 118 | + |
| 119 | +Test Log Files |
| 120 | +-------------- |
| 121 | + |
| 122 | +.. display-test-logs:: |
0 commit comments