Branch Coverage

blib/lib/Monitoring/Plugin/Performance.pm
Criterion Covered Total %
branch 22 22 100.0


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 =~ / /)
87 14 27 if (@{[$perfstring =~ /=/g];} > 1) { }
89 13 1 if (defined $1) { }
101 36 5 if $obj
116 3 17 if ($name eq '/') { }
6 11 elsif ($name =~ s[^/][]) { }
142 7 41 if (my $threshold = delete $arg{'threshold'})