Hi,
Is there a way of extracting the Misra Category (mandatory, required, advisory), in a template?
As far as I can tell, it is added as an extra value to the report (in the cppcheckdata.reportError call in reportError in misra.py).
cppcheckdata.reportError
reportError
misra.py
But I can't seem to get it from cppcheck, neither via templates nor xml output.
When browsing the issue tracker some more, I found this ticket: #12817 (Reporting: Output Cert level and Misra classification) – Cppcheck
So I guess it is not possible at the moment.
Log in to post a comment.
Hi,
Is there a way of extracting the Misra Category (mandatory, required, advisory), in a template?
As far as I can tell, it is added as an extra value to the report (in the
cppcheckdata.reportError
call inreportError
inmisra.py
).But I can't seem to get it from cppcheck, neither via templates nor xml output.
When browsing the issue tracker some more, I found this ticket: #12817 (Reporting: Output Cert level and Misra classification) – Cppcheck
So I guess it is not possible at the moment.