Branch Coverage

blib/lib/Text/Same/TextUI.pm
Criterion Covered Total %
branch 40 46 86.9


line true false branch
65 0 30 if (defined $$options{'term_width'})
103 35 35 if ($$options{'side_by_side'}) { }
129 0 35 scalar @start_context1 > scalar @start_context2 ? :
139 63 42 if (defined $start_context1[$i] or defined $start_context2[$i])
140 51 12 defined $start_context1[$i] ? :
54 9 defined $start_context2[$i] ? :
154 129 2 if (defined $left_chunk)
160 108 23 if ($right_chunk)
167 15 116 if ($left_ignorable and $right_ignorable) { }
168 13 2 if (defined $next_indicator) { }
174 103 13 if (not $left_ignorable || $right_ignorable) { }
177 6 7 if ($left_ignorable) { }
191 118 0 defined $left_chunk ? :
118 0 defined $right_chunk ? :
202 0 35 scalar @end_context1 > scalar @end_context2 ? :
207 43 27 if (defined $end_context1[$i] or defined $end_context2[$i])
208 32 11 defined $end_context1[$i] ? :
37 6 defined $end_context2[$i] ? :
243 210 210 if ($i < 0) { }
265 142 138 if ($i > $source->get_all_chunks_count - 1) { }
299 105 105 if (defined $start_chunk_text)
310 69 71 if (defined $end_chunk_text)
321 0 35 if (defined $$options{'term_width'}) { }