Branch Coverage

blib/lib/Nagios/Status/ServiceStatus.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
78 0 0 if (@services) { }
93 0 0 if (defined $service) { }
94 0 0 if ($service->is_warning) { }
0 0 elsif ($service->is_unknown) { }
0 0 elsif ($service->is_critical) { }
114 0 0 unless open STATUS, $$self{'status_log'}
120 0 0 if ($line =~ /^servicestatus\s*{/)
125 0 0 if ($found and $line =~ /}/)
126 0 0 if ($service->is_warning) { }
0 0 elsif ($service->is_unknown) { }
0 0 elsif ($service->is_critical) { }
140 0 0 if (not $found) { }
170 0 0 if ($$self{'ok'}) { }
191 0 0 if ($$self{'warning'}) { }
212 0 0 if ($$self{'unknown'}) { }
235 0 0 if ($$self{'critical'}) { }