Branch Coverage

blib/lib/List/SomeUtils/PP.pm
Criterion Covered Total %
branch 108 116 93.1


line true false branch
14 8 39994 if &$f()
24 5 24999 unless &$f()
34 5 39996 if &$f()
44 6 19999 unless &$f()
55 10 2656 if &$f() and $found++
63 1 12 unless @_
71 1 8 unless @_
79 1 8 unless @_
87 1 8 unless @_
95 1 15 unless @_
99 10 2656 if &$f() and $found++
126 20 50026 if &$f()
136 4 16 if &$test()
147 4 16 if $testval
159 3498 22 unless &$f()
160 8 14 if defined $found
163 6 2 defined $found ? :
173 3498 22 unless &$test()
175 8 14 if $found++
187 2900 20 unless my $rv = &$test()
189 8 12 if $found++
191 4 2 $found ? :
200 8 20000 if &$f()
216 4 8 if $testval
232 4 8 if $testval
241 5 1 if $c != -1
248 21 1 if defined $_
249 7 0 if $c != -1
257 6 2 wantarray ? :
326 0 12 $#List::SomeUtils::PP::A > $#List::SomeUtils::PP::B ? :
353 2 20 unless (ref $_ eq 'ARRAY')
358 12 8 if @$_ > $max
363 10 90 if (@_)
366 0 10 unless ($method eq 'index')
373 0 10 if $index == 0 or $index > $max
378 12 78 if $index >= $max
410 4682 1 defined $_ ? :
418 25532 3 defined $_ ? :
419 42300 5 defined $_ ? :
424 0 31 unless @_
429 28 10019 if ($_[$i - 1] <= $_[$i]) { }
431 1 27 if $min > $_[$i - 1]
432 8 20 if $max < $_[$i]
436 10016 3 if $min > $_[$i]
437 6 10013 if $max < $_[$i - 1]
441 25 6 if (@_ & 1)
444 22 3 if ($_[$i - 1] <= $_[$i]) { }
446 0 22 if $min > $_[$i - 1]
447 1 21 if $max < $_[$i]
451 3 0 if $min > $_[$i]
452 0 3 if $max < $_[$i - 1]
478 11 18231 if $k >= @_
483 1000 1004 wantarray ? :
2004 16224 if $rc == 0
486 8205 8019 if ($rc < 0) { }
510 11 9244 if $k >= @_
515 1004 8237 if $rc == 0
517 4169 4068 if ($rc < 0) { }