-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
1.16
The plugin doesn't work with verbose information present in the report file produced by cppcheck, it uses only msg attribute. It should be stored and displayed to the user too.
<error id="arrayIndexThenCheck" severity="style" msg="Array index 'index' is used before limits check." verbose="Defensive programming: The variable 'index' is used as an array index before it is check that is within limits. This can mean that the array might be accessed out of bounds. Reorder conditions such as '(a[i] && i < 10)' to '(i < 10 && a[i])'. That way the array will not be accessed if the index is out of limits."> </error>