Branch Coverage

blib/lib/Number/Tolerant/Type/or_less.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
17 1 19 if $string =~ /\A$X?<=\s*($number)\z/
18 1 18 if $string =~ /\A($number)\s*>=$X\z/
19 1 17 if $string =~ /\A($number)\s+or\s+less\z/
28 51 37 unless 2 == grep({defined $_;} @_)
29 23 14 unless $_[1] eq "or_less"