Branch Coverage

blib/lib/Regexp/NumRange.pm
Criterion Covered Total %
branch 59 66 89.3


line true false branch
66 2 16 if $e < $s
67 2 16 if $s == 0
81 14 2 if ($diff or $de[0] - $ds[0] >= 1)
84 14 18 $a == 0 ? :
85 7 25 if $ld < 0
88 11 14 if $a >= 1
89 4 21 if $a > 1
96 11 5 if ($diff) { }
2 3 elsif ($de[0] - $ds[0] > 1) { }
98 11 0 if ($min <= 9)
101 8 3 if $n >= 1
112 2 0 if $n >= 1
120 2 14 $ds[0] == $de[0] && !$diff ? :
130 4 2 $m == $maxd - 1 ? :
132 1 5 if ($r <= 0)
136 6 0 if $r >= 1
138 6 0 if $r > 1
142 11 5 if ($diff == 1)
145 3 8 if ($m == $om)
149 6 5 if ($r >= 1)
151 6 0 if $m >= 1
152 4 2 if $m > 1
175 5 63 if $max <= 9
182 63 115 $after == 1 ? :
183 115 63 scalar @digits ? :
184 13 0 if $ld < 0 and $after > 1 and not $first
186 48 117 $ld < 1 ? :
187 63 102 $first ? :
188 102 63 if $after > 1
189 51 0 $first ? :
51 114 if $after > 2
190 51 114 if $after > 2
191 102 63 unless $first