Branch Coverage

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


line true false branch
209 0 0 if (defined $_[1])
244 0 0 if ($@)
253 0 0 if (defined $args{'include'} and $args{'include'})
259 0 0 if (defined $args{'debug'})
268 0 0 if ($line =~ /^[Ee][Nn][Vv]\ [A-Za-z0-9\_]+\=/) { }
0 0 elsif ($line =~ /^[A-Za-z0-9\_]+\=/) { }
0 0 elsif ($line =~ /^\%*[A-Za-z0-9\_]+\|/) { }
0 0 elsif ($line =~ /^$/) { }
272 0 0 unless (defined $value)
285 0 0 unless (defined $value)
297 0 0 if (defined $self->{'vars'}{$name})
311 0 0 unless (defined $check)
323 0 0 if (defined $self->{'checks'}{$name})
363 0 0 if ($self->{'debug'})
368 0 0 unless ($self->{'good'})
369 0 0 if ($self->{'debug'})
384 0 0 if ($self->{'debug'})
389 0 0 if ($name =~ /^\%/)
392 0 0 if ($self->{'debug'})
400 0 0 if ($self->{'debug'})
410 0 0 if ($self->{'debug'})
415 0 0 if ($self->{'debug'})
425 0 0 if (sysread $handle, my $buf, 4096) { }
433 0 0 if ($self->{'debug'})
441 0 0 if (defined $self->{'to_return'}{'data'}{$type}{$name}{'output'})
446 0 0 if ($exit_code == -1) { }
0 0 elsif ($exit_code & 127) { }
449 0 0 $exit_code & 128 ? :
459 0 0 if ($self->{'debug'})
464 0 0 if ($type eq "checks")
465 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) { }
467 0 0 if ($self->{'debug'})
473 0 0 if ($self->{'debug'})
479 0 0 if ($self->{'debug'})
485 0 0 if ($self->{'debug'})
491 0 0 if ($self->{'debug'})
497 0 0 if ($exit_code == 1 or $exit_code == 2 or $exit_code == 3)
505 0 0 if ($self->{'debug'})
517 0 0 if ($self->{'debug'})
522 0 0 if ($self->{'debug'})
529 0 0 if ($self->{'debug'})