Branch Coverage

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


line true false branch
34 1 37 unless defined $1 and $1 ne '' and (defined $2 and $2 ne '')
37 112 73 if defined $info[$_]
46 1 36 if $not_value
58 100 85 defined $value ? :
65 2 35 if ($label =~ / /)
88 14 27 if (@{[$perfstring =~ /=/g];} > 1) { }
90 13 1 if (defined $1) { }
102 36 5 if $obj
117 3 17 if ($name eq '/') { }
6 11 elsif ($name =~ s[^/][]) { }
143 7 41 if (my $threshold = delete $arg{'threshold'})