Branch Coverage

blib/lib/Xymon/Plugin/Server/Status.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
127 0 29 unless defined $new
131 0 29 if ($color eq 'purple')
136 23 6 if ($cur < $new)
153 23 6 if (defined $msg)
154 23 0 unless $msg =~ /\n$/
173 9 0 unless $msg =~ /\n$/
213 1 1 if $major == 4 and $minor == 2
222 1 1 if ($type eq '4.2') { }
267 4 28 if ($self->{'_attr'}{'EscapeMessage'})
269 2 2 if ($n == 1) { }
2 0 elsif ($n == 2) { }
288 11 12 if ($self->{'_color'} eq 'green') { }
10 2 elsif ($self->{'_color'} eq 'yellow' or $self->{'_color'} eq 'red') { }
306 2 21 if ($self->{'_devmon'})
311 2 21 if (@{$self->{'_graph'};} > 0)
335 0 23 if $ENV{'XYMON_PLUGIN_DEBUG'}
340 0 23 if $ENV{'XYMON_PLUGIN_DEBUG'}
341 0 23 unless open my $fh, '|-', "$bb", $bbh, '@'