lib/Math/Combinatorics.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 32 | 65.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
345 | 10 | 4 | 4 | $e > $$cursor[$i] and $e != $i |
14 | 0 | 4 | $e > $$cursor[$i] and $e != $i and $$cursor[$i] != $i + 1 | |
356 | 6 | 4 | 12 | $found[$e] and $e != $i |
375 | 12 | 8 | 4 | $j + 2 == @elems and $elems[$j + 1] == $i + 1 |
417 | 0 | 0 | 0 | $n >= 0 and $n == int $n |
527 | 15 | 0 | 4 | ref $freq eq 'ARRAY' and scalar @$freq == scalar @{$arg{'data'};} |
746 | 4 | 188 | 137 | 0 <= $i and $$cursor[$i] >= $$cursor[$i + 1] |
line | l | !l | condition |
---|---|---|---|
522 | 1 | 18 | $arg{'compare'} || sub { $_[0] cmp $_[1]; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
621 | 0 | 0 | 150 | $combo_end == $begin or $combo_end == $end |
903 | 0 | 0 | 0 | $first == $last or $first == --$last |
924 | 14 | 0 | 109 | $first == $middle or $last == $middle |