Branch Coverage

blib/lib/Monitoring/Icinga.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
89 0 0 unless defined $args{'AuthKey'}
99 0 0 $args{'Target'} ? :
100 0 0 if $args{'Filters'}
103 0 0 if ($args{'Columns'}) { }
115 0 0 if ($$self{'baseurl'} =~ /^https:/i)
119 0 0 if $@
140 0 0 unless (defined $target and $target eq 'host' || $target eq 'service')
246 0 0 if ($@) { }
332 0 0 if ($content_type =~ m[^application/json]) { }
0 0 elsif ($content_type =~ m[^text/html]) { }
342 0 0 if $_ =~ m((SQLSTATE\[.*\]: .*))
353 0 0 unless (defined $target and $target eq 'host' || $target eq 'service')
357 0 0 unless (scalar @states)
363 0 0 if $target eq 'service'
371 0 0 if ($target eq 'host' and not $state =~ /^[012]$/)
375 0 0 if ($target eq 'service' and not $state =~ /^[0123]$/)
406 0 0 if $$result{'success'}
407 0 0 if $$result{'result'}