blib/lib/Project/Euler/Lib/Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 22 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
55 | 0 | 0 | 0 | $num =~ /\A\d+\z/u and $num > 0 |
107 | 0 | 0 | 0 | not $num =~ /\D/u and $num > 0 |
113 | 0 | 0 | 0 | defined $ranges and ref $ranges eq 'ARRAY' |
0 | 0 | 0 | defined $ranges and ref $ranges eq 'ARRAY' and grep({$_ =~ /\D/u unless not $_;} @$ranges) == 0 | |
126 | 0 | 0 | 0 | $all and scalar @ranges != scalar @$ranges |
136 | 0 | 0 | 0 | wantarray and not $all |
line | l | !l | condition |
---|---|---|---|
52 | 0 | 0 | $num //= 'UNDEFINED' |
104 | 0 | 0 | $num //= 'UNDEFINED' |