Branch Coverage

blib/lib/Monitoring/Sneck.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
164 0 0 if (defined $_[1])
195 0 0 if ($@)
204 0 0 if (defined $args{'include'} and $args{'include'})
215 0 0 if ($line =~ /^[A-Za-z0-9\_]+\=/) { }
0 0 elsif ($line =~ /^[A-Za-z0-9\_]+\|/) { }
0 0 elsif ($line =~ /^$/) { }
222 0 0 unless (defined $value)
234 0 0 if (defined $self->{'vars'}{$name})
249 0 0 unless (defined $check)
261 0 0 if (defined $self->{'checks'}{$name})
303 0 0 unless ($self->{'good'})
325 0 0 if (defined $self->{'to_return'}{'data'}{'checks'}{$name}{'output'})
330 0 0 if ($exit_code == -1) { }
0 0 elsif ($exit_code & 127) { }
334 0 0 $exit_code & 128 ? :
346 0 0 if ($self->{'to_return'}{'data'}{'checks'}{$name}{'exit'} == 0) { }
0 0 elsif ($self->{'to_return'}{'data'}{'checks'}{$name}{'exit'} == 1) { }
0 0 elsif ($self->{'to_return'}{'data'}{'checks'}{$name}{'exit'} == 2) { }
0 0 elsif ($self->{'to_return'}{'data'}{'checks'}{$name}{'exit'} == 3) { }
367 0 0 if ($exit_code == 1 or $exit_code == 2 or $exit_code == 3)