blib/lib/Karel/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 11 | 90.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 2 | 2 | 11406 | defined $_ and /^[0-9]+$/ |
41 | 4 | 2 | 3796 | $m <= $i and $i <= $n |
line | l | !l | condition |
---|---|---|---|
40 | 2 | 2 | $_ // 'undef' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 11406 | 4 | 0 | defined $_ and /^[0-9]+$/ or croak(($_ // 'undef') . ' should be non negative integer') |