Is there any cppcheck command for showing the statistics of errors/warnings for misra violations.
Like total count of errors /warnings /style violations kind of summary report. C:\Program Files\Cppcheck\cppcheck.exe --addon=D:\misra.json --template=vs --inconclusive enable=all $(SolutionDir)
The above command gives the misra violations but I am looking for summary report in the end.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any cppcheck command for showing the statistics of errors/warnings for misra violations.
Like total count of errors /warnings /style violations kind of summary report. C:\Program Files\Cppcheck\cppcheck.exe --addon=D:\misra.json --template=vs --inconclusive enable=all $(SolutionDir)
The above command gives the misra violations but I am looking for summary report in the end.
Also still awaiting moderation...
there is not. we have a ticket to add such option. you can run the addon manually to get statistics.