blib/lib/Nagios/Status/HostStatus.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 26 | 0.0 |
line | true | false | branch |
---|---|---|---|
74 | 0 | 0 | if (@hosts) { } |
89 | 0 | 0 | if (defined $host) { } |
90 | 0 | 0 | if ($host->is_down) { } |
0 | 0 | elsif ($host->is_unreachable) { } | |
108 | 0 | 0 | unless open STATUS, $$self{'status_log'} |
114 | 0 | 0 | if ($line =~ /^hoststatus\s*{/) |
119 | 0 | 0 | if ($found and $line =~ /}/) |
120 | 0 | 0 | if ($host->is_down) { } |
0 | 0 | elsif ($host->is_unreachable) { } | |
132 | 0 | 0 | if (not $found) { } |
162 | 0 | 0 | if ($$self{'up'}) { } |
183 | 0 | 0 | if ($$self{'down'}) { } |
206 | 0 | 0 | if ($$self{'unreachable'}) { } |