Branch Coverage

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


line true false branch
170 0 0 if (defined $_[1])
201 0 0 if ($@)
210 0 0 if (defined $args{'include'} and $args{'include'})
221 0 0 if ($line =~ /^[A-Za-z0-9\_]+\=/) { }
0 0 elsif ($line =~ /^[A-Za-z0-9\_]+\|/) { }
0 0 elsif ($line =~ /^$/) { }
228 0 0 unless (defined $value)
240 0 0 if (defined $self->{'vars'}{$name})
255 0 0 unless (defined $check)
267 0 0 if (defined $self->{'checks'}{$name})
309 0 0 unless ($self->{'good'})
331 0 0 if (defined $self->{'to_return'}{'data'}{'checks'}{$name}{'output'})
336 0 0 if ($exit_code == -1) { }
0 0 elsif ($exit_code & 127) { }
340 0 0 $exit_code & 128 ? :
352 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) { }
373 0 0 if ($exit_code == 1 or $exit_code == 2 or $exit_code == 3)