Skip to content
Snippets Groups Projects
Commit 9da64d78 authored by David Bühler's avatar David Bühler
Browse files

[Eva] Summary: fixes the number of alarms by category when using RTE and Eva.

Only counts alarms for which Eva has emitted an unknown or invalid status;
other alarms are not alarms emitted by the Eva analysis.
parent e7c5bea4
No related branches found
No related tags found
No related merge requests found
...@@ -506,7 +506,9 @@ let make_report () = ...@@ -506,7 +506,9 @@ let make_report () =
| Some alarm -> | Some alarm ->
let acc_status, acc_alarms = report.alarms in let acc_status, acc_alarms = report.alarms in
report_status acc_status status; report_status acc_status status;
report_alarm acc_alarms alarm match status with
| None | Some Property_status.True -> ()
| _ -> report_alarm acc_alarms alarm
end end
| Property.IPPropertyInstance _ -> | Property.IPPropertyInstance _ ->
let status = get_status ip in let status = get_status ip in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment