{{ message }}
Repository navigation
Commit 464c304
Fix analysis_report crash on MISRA C++ results
generate_guideline_compliance_summary() renders the Guideline Compliance
Summary report by mapping each applied standard's short name to a display name
via the standard_pretty_name dict. That dict only contained entries for "cert"
and "autosar", so analyzing a database against the MISRA C++ pack
(codeql/misra-cpp-coding-standards) aborted the report generation with:
KeyError: 'misra'
at the "**Coding Standards applied**" line (and the same lookup is used again
when tabulating per-guideline results). Add the missing "misra" ->
"MISRA C++:2023" mapping so MISRA C++ analyses can produce the compliance
summary report like the other supported standards.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 62bf905 commit 464c304
1 file changed
Lines changed: 4 additions & 1 deletion

0 commit comments