Branch Coverage

blib/lib/Monitoring/Plugin/Performance.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
33 1 37 unless defined $1 and $1 ne '' and (defined $2 and $2 ne '')
36 112 73 if defined $info[$_]
45 1 36 if $not_value
57 100 85 defined $value ? :
64 2 35 if ($label =~ / /)
70 0 37 if ($value eq '')
94 14 27 if (@{[$perfstring =~ /=/g];} > 1) { }
96 13 1 if (defined $1) { }
108 36 5 if $obj
123 3 17 if ($name eq '/') { }
6 11 elsif ($name =~ s[^/][]) { }
149 7 41 if (my $threshold = delete $arg{'threshold'})