Thank you for coming back to me, with an explanation to the issue.
You understood my issue correctly, except the 26 warnings are style warnings. I do not know which manual you are referring to!?
As CPPCheck has error/issue levels with one level being error, I would definitely name it “issue” there/in the tooltip. I am not sure how consitent CPPCheck itself is in this respect, but it should definitely conciously use this distinction itself (code/documentation/CPPCheck GUI).
Given your description, I would expect all levels (Error, Warning, Style, Performance, Portability, Information, No category) to effect this then.
In the previously described situiation, the jobs severity evaluation has marked: Error, Warning, Style, Performance and Information.
I guess the settings “Severity evaluation” applies only to “Build status” then? Personally, I would expect the severity evaluation settings to be under the label Build status as well then. Not sure if Jenkins has a different guideline on this!?
In another job and build, I got:
Error 2
Warning 677 +1
Style 3172
Performance 672
Portability 22
Information 2123
No category 0
Hence, one new Warning (only).
The Job is configured with (red bubble) New = 1 as well, and has the severity evaluation marked: Error, Warning
Given your description, I would expect the build to have been marked as a failure. It did not though. Is there an issue with evaluating Warning-level cppcheck “errors”/issues here? Or is this a misconception again?
Hi Jan,
I think, the description of the configuration fields is little misleading, which probably confused you. It uses word "errors" in meaning of "whatever type of issue". Cppcheck tool reports "errors" (of several types/severities) instead of "issues" or "violations", please check its manual. So, if I understand your description correctly...
I have never used this part of the plugin and I don't know the relevant code much. Did I miss something? If everything I wrote above is correct, do you think I should update the labels and tool tips in the configuration page? The current state is fully OK for me, I'm quite familiar with Cppcheck and the plugin. But new users can have troubles with that. What do you think?
Thanks,
Michal