| blib/lib/PDL/Reduce.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 22 | 77.2 |
| line | true | false | branch |
|---|---|---|---|
| 138 | 0 | 5 | unless exists $reduce{$op} or ref $op eq "CODE" |
| 140 | 1 | 4 | if (@dims > 1) { } |
| 142 | 0 | 2 | if ($_ < 0) { } |
| 145 | 1 | 1 | if $_ < $min |
| 1 | 1 | if $_ > $max | |
| 146 | 0 | 1 | if $min >= $n or $max >= $n |
| 151 | 3 | 1 | @dims > 0 ? : |
| 153 | 2 | 3 | if (defined $dim and $dim != 0) |
| 155 | 0 | 2 | if $dim < 0 |
| 156 | 0 | 2 | if $dim < 0 or $dim >= $n |
| 159 | 1 | 4 | ref $op eq 'CODE' ? : |