Branch Coverage

blib/lib/Data/Terminal/Scoring.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
53 0 0 if $final_score < 0
54 0 0 if $final_score > 100
74 0 0 unless defined $params{'service_years'}
75 0 0 unless defined $params{'online_rate'}
78 0 0 if $params{'service_years'} < 0
79 0 0 if $params{'online_rate'} < 0 or $params{'online_rate'} > 100
82 0 0 if (defined $params{'remote_control_failures'})
83 0 0 if $params{'remote_control_failures'} < 0
86 0 0 if (defined $params{'morning_check_failures'})
87 0 0 if $params{'morning_check_failures'} < 0
90 0 0 if (defined $params{'abnormal_soe_signals'})
91 0 0 if $params{'abnormal_soe_signals'} < 0
94 0 0 if (defined $params{'device_alarms'})
95 0 0 unless ref $params{'device_alarms'} eq "ARRAY"
103 0 0 if ($years > 8) { }
0 0 elsif ($years > 5) { }
0 0 elsif ($years > 3) { }
0 0 elsif ($years > 1) { }
120 0 0 if ($rate <= 70) { }
0 0 elsif ($rate <= 80) { }
0 0 elsif ($rate <= 90) { }
0 0 elsif ($rate <= 95) { }
137 0 0 if ($failures >= 3) { }
0 0 elsif ($failures == 2) { }
0 0 elsif ($failures == 1) { }
152 0 0 if ($failures >= 3) { }
0 0 elsif ($failures == 2) { }
0 0 elsif ($failures == 1) { }
167 0 0 if ($abnormal_count > 25) { }
170 0 0 $excess > 20 ? :
213 0 0 if (exists $alarm_types{$alarm})