Branch Coverage

blib/lib/Xymon/Plugin/Server/Status.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
84 4 22 if $$self{'_color'} eq 'red'
86 0 22 if ($$self{'_color'} eq 'yellow')
87 0 0 if $color eq 'red'
104 20 6 if (defined $msg)
105 20 0 unless $msg =~ /\n$/
123 6 0 unless $msg =~ /\n$/
163 1 1 if $major == 4 and $minor == 2
172 1 1 if ($type eq '4.2') { }
205 8 12 if ($$self{'_color'} eq 'green') { }
10 2 elsif ($$self{'_color'} eq 'yellow' or $$self{'_color'} eq 'red') { }
223 2 18 if ($$self{'_devmon'})
228 2 18 if (@{$$self{'_graph'};} > 0)
252 0 20 if $ENV{'XYMON_PLUGIN_DEBUG'}
257 0 20 if $ENV{'XYMON_PLUGIN_DEBUG'}
258 0 20 unless open my $fh, '|-', "$bb", $bbh, '@'