blib/lib/Apache/Voodoo/Validate/unsigned_int.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
14 | 4 | 2 | if (defined $$c{'bytes'}) { } |
2 | 0 | elsif (defined $$c{'max'}) { } | |
15 | 4 | 0 | if ($$c{'bytes'} =~ /^\d+$/) { } |
23 | 2 | 0 | if ($$c{'max'} =~ /^\d+$/) { } |
40 | 4 | 17 | unless $v =~ /^\d*$/ |
41 | 4 | 13 | unless $v <= $$self{'max'} |