Branch Coverage

lib/Range/Merge.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
41 3 6 if (not defined $run) { }
45 1 5 if ($run->[1] == $num) { }
2 3 elsif ($run->[1] == $num - 1) { }
91 0 66139 unless $Range::Merge::a->[0] <=> $Range::Merge::b->[0]
106 14 66119 unless (defined $last)
110 66105 14 if ($last->[1] == $range->[0] - 1 and scalar @$last == scalar @$range) { }
113 2 1 if ($last->[$i] ne $range->[$i])
118 2 66103 if ($nomatch) { }
129 14 0 if (defined $last)
136 0 14 if scalar @$ranges == 0
144 14 0 if (scalar @$stack)
152 14 66117 unless (scalar @$stack)
167 66119 2 if $_->[0] <= $range->[1]
177 66112 5 unless (scalar @mid)
189 5 0 if ($left[0] < $range->[0])
191 5 0 if ($left[0] <= $left[1])
201 2 3 if ($right[1] > $range->[1])
203 2 0 if ($right[0] <= $right[1])