Branch Coverage

blib/lib/Parse/Range.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
18 63 480 if $char eq '('
19 467 76 if not $char =~ /,/ or $char =~ /[\(\),]/ and $level != 0
20 65 478 if $char eq ')'
21 76 467 if $level == 0 and $char eq ','
23 8 55 if ($level != 0)
24 4 4 $level < 0 ? :
30 10 118 if ($range =~ /^\^(.*)$/) { }
38 19 9 if $idx != -1
46 26 102 if ($range =~ /^(-?\d+)\-(-?\d+)$/ or $range =~ /^(-?\d+)\)?\-\((-\d+)\)?$/) { }
71 31 elsif ($range =~ /^(-?\d+)$/) { }
27 4 elsif ($range =~ /^\((.*)\)$/) { }
48 1 25 if $from > $to