blib/lib/Math/Permutation.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 17 | 35.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
93 | 0 | 0 | 0 | &all(sub { defined $check1{$_}; } , 1 .. $n) and $n == scalar @codomain |
0 | 0 | 0 | &all(sub { defined $check1{$_}; } , 1 .. $n) and $n == scalar @codomain and &all(sub { defined $check2{$_}; } , 1 .. $n) | |
257 | 0 | 8 | 4 | $ind <= $#rw and $rw[$ind - 1] < $rw[$ind] |
273 | 0 | 8 | 8 | $ind <= $#rw and $rw[$ind - 1] > $rw[$ind] |
line | l | !l | condition |
---|---|---|---|
64 | 64 | 0 | $_[1] || [1] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
125 | 0 | 0 | 2 | $_ != int $_ or $_ <= 0 |