Paul Sokolovsky | 64e5024 | 2022-12-06 19:09:25 +0300 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2022 Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | # Template to produce index.html for the "full" build. |
| 8 | |
| 9 | cat <<EOF >index.html |
| 10 | <html> |
| 11 | <body> |
| 12 | <h1>MISRA reports</h1> |
| 13 | |
| 14 | <p> |
| 15 | TF-A Config: ${TF_CONFIG}<br /> |
| 16 | CI Build: <a href="${BUILD_URL}">${BUILD_URL}</a> |
| 17 | </p> |
| 18 | |
Paul Sokolovsky | 6848d10 | 2022-12-06 20:37:34 +0300 | [diff] [blame^] | 19 | Reports: |
| 20 | <ul> |
| 21 | <li><a href='ECLAIR/full_html/by_service.html#service/first_file&kind{"select":true,"selection":{"hiddenAreaKinds":[],"hiddenSubareaKinds":[],"show":true,"selector":{"enabled":true,"negated":false,"kind":1,"children":[{"enabled":true,"negated":false,"kind":0,"domain":"strictness","inputs":[{"enabled":true,"text":"mandatory"}]},{"enabled":true,"negated":false,"kind":0,"domain":"kind","inputs":[{"enabled":true,"text":"violation"}]}]}}}'>Mandatory rules - violations</a> |
| 22 | <li><a href='ECLAIR/full_html/by_service.html#service/first_file&kind{"select":true,"selection":{"hiddenAreaKinds":[],"hiddenSubareaKinds":[],"show":true,"selector":{"enabled":true,"negated":false,"kind":1,"children":[{"enabled":true,"negated":false,"kind":0,"domain":"strictness","inputs":[{"enabled":true,"text":"mandatory"}]},{"enabled":true,"negated":false,"kind":0,"domain":"kind","inputs":[{"enabled":true,"text":"violation"},{"enabled":true,"text":"caution"}]}]}}}'>Mandatory rules - violations & cautions</a> |
| 23 | <li><a href='ECLAIR/full_html/by_service.html#strictness/service/first_file&strictness{"select":true,"selection":{"hiddenAreaKinds":[],"hiddenSubareaKinds":[],"show":true,"selector":{"enabled":true,"negated":false,"kind":2,"children":[{"enabled":true,"negated":false,"kind":0,"domain":"kind","inputs":[{"enabled":true,"text":"violation"}]}]}}}'>Report by issue strictness (Mandatory/Required/Advisory) (violations)</a> |
| 24 | <li><a href='ECLAIR/full_html/by_service.html#strictness/service/first_file&strictness'>Report by issue strictness (Mandatory/Required/Advisory) (all)</a> |
| 25 | </ul> |
| 26 | |
| 27 | <ul> |
| 28 | <li><a href="ECLAIR/full_html/index.html">Default ECLAIR report</a> |
| 29 | <li><a href="ECLAIR/full_txt/">Default ECLAIR report (plain text)</a> |
| 30 | </ul> |
| 31 | |
| 32 | <span style="font-size: 75%"> |
| 33 | <p> |
| 34 | ECLAIR terminology cheatsheet: |
| 35 | </p> |
| 36 | <ul> |
| 37 | <li>"violation" is formally proven issue |
| 38 | <li>"caution" is <i>not</i> formally proven issue, may be a false positive |
| 39 | <li>"information" is <i>not an issue</i> (from MISRA rules PoV), just FYI aka "know your codebase better" |
| 40 | </ul> |
| 41 | </span> |
| 42 | |
Paul Sokolovsky | 64e5024 | 2022-12-06 19:09:25 +0300 | [diff] [blame] | 43 | </body> |
| 44 | </html> |
| 45 | EOF |