Branch Coverage

blib/lib/SHARYANTO/Array/Util.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
72 5 6 if ($ref eq 'ARRAY') { }
1 5 elsif (not $ref) { }
4 1 elsif ($ref eq 'Regexp') { }
94 0 6 unless ref $ary eq 'ARRAY'
95 2 4 unless ref $pat eq 'Regexp'
105 10 30 if ($$ary[$i] =~ /$pat/)
106 4 6 if @+ > 1
110 5 25 unless ++$i < @$ary
114 1 1 if (defined $limit and $limit > 0 and $num_elems >= $limit)