Dear friends,
I am looking for cppcheck windows command line option for displaying the summary of errors/warnings/style issues etc kind of statistics output.
We are using misra addon with cppcheck and we wanted statistics at the end , the below command we are using in visual studio External Tools. we wanted to know total count of misra violations on errors/warnings/styles.
C:\Program Files\Cppcheck\cppcheck.exe --addon=misra.json --template=vs --inconclusive enable=all $(SolutionDir)
please find the attached screenshot from visual studio which displays misra warnings, in the end we are expecting statistics on total count of warnings/styles/errors.
Thanks in advance
Dear friends,
I am looking for cppcheck windows command line option for displaying the summary of errors/warnings/style issues etc kind of statistics output.
We are using misra addon with cppcheck and we wanted statistics at the end , the below command we are using in visual studio External Tools. we wanted to know total count of misra violations on errors/warnings/styles.
C:\Program Files\Cppcheck\cppcheck.exe --addon=misra.json --template=vs --inconclusive enable=all $(SolutionDir)
please find the attached screenshot from visual studio which displays misra warnings, in the end we are expecting statistics on total count of warnings/styles/errors.
Thanks in advance
Moderation is slow again ;)
I'm not sure what you want.
do you want a command line option to display statistics?
the quick solution is to run misra addon manually. It should write statistics when it finish.
Well I am not against to add some option in cppcheck command line. We have an old ticket: https://trac.cppcheck.net/ticket/1019