blib/lib/Number/Range/Regex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 24 | 91.6 |
line | true | false | branch |
---|---|---|---|
33 | 3 | 0 | @opts % 2 == 0 ? : |
1 | 3 | @opts == 1 ? : | |
53 | 271 | 74 | ref $_[-1] eq 'HASH' ? : |
55 | 3 | 11 | unless (defined $min or defined $max) |
56 | 1 | 2 | unless $$opts{'allow_wildcard'} |
58 | 13 | 331 | unless defined $min |
59 | 13 | 331 | unless defined $max |
64 | 360 | 131 | ref $_[-1] eq 'HASH' ? : |
69 | 1 | 490 | if (@_ > 1) { } |
85 | 4 | 487 | unless $spec =~ /^$range_validate$/ |
90 | 64 | 553 | if ($section =~ /^(-?$digits_validate)$/) { } |
97 | 0 | 485 | defined $$opts{'warn_overlap'} ? : |