Fixing Coverity with not reporting fails
Coverity did not properly highlight code violations and
so pushed to new version to avoid buggy compile in addition
to correcting format issue in coverity makefile
Signed-off-by: Mark Dykes <mark.dykes@arm.com>
Change-Id: I7ac4f3868ad2dfa58191ed733a3cad841aba9e64
diff --git a/script/coverity_parser.py b/script/coverity_parser.py
index cac89a6..291b471 100644
--- a/script/coverity_parser.py
+++ b/script/coverity_parser.py
@@ -182,9 +182,9 @@
# Top-level is a group of issues, all sharing a common CID
for issue_group in filter(self.filter_groups_v1, report["issueInfo"]):
# Pick up individual occurrence of the CID
- self.totals[_classify_checker(occurrence["checkerName"])] += 1
self.totals["total"] += 1
for occurrence in issue_group["occurrences"]:
+ self.totals[_classify_checker(occurrence["checker"])] += 1
yield _new_issue(issue_group["cid"], occurrence)
def filter_groups_v7(self, group):