Branch Coverage

blib/lib/Text/Diff3/Diff3.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
15 0 21 unless ($self->_is_a_text($text0))
18 0 21 unless ($self->_is_a_text($text2))
21 0 21 unless ($self->_is_a_text($text1))
39 12 2 $diff2[0]->first->loA <= $diff2[1]->first->loA ? :
9 14 $diff2[1]->is_empty ? :
10 23 $diff2[0]->is_empty ? :
51 0 10 if ($hi < $hi_k)
68 21 12 if (@{$range2[0];}) { }
76 22 11 if (@{$range2[1];}) { }
87 12 21 if (not @{$range2[0];}) { }
11 10 elsif (not @{$range2[1];}) { }
2 8 elsif ($hi0 - $lo0 != $hi1 - $lo1) { }
96 2 11 unless ($text0->eq_at($lo0 + $d, $text1->at($lo1 + $d)))