blib/lib/Number/Tolerant/Type/or_less.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
17 | 1 | 28 | if $string =~ /\A$X?<=\s*($number)\z/ |
18 | 1 | 27 | if $string =~ /\A($number)\s*>=$X\z/ |
19 | 1 | 26 | if $string =~ /\A($number)\s+or\s+less\z/ |
28 | 55 | 37 | unless 2 == grep({defined $_;} @_) |
29 | 23 | 14 | unless $_[1] eq "or_less" |