Branch Coverage

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


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