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