Condition Coverage

blib/lib/VCS/Lite.pm
Criterion Covered Total %
condition 43 56 76.7


and 3 conditions

line !l l&&!r l&&r condition
111 0 29 8 @contents and not $contents[-1] =~ /$sep$/
205 1591 6 2 $$self{'last_line_short'} && $_ == $max
339 807 9 0 $ins1 and $ins2
816 0 0 $ins1 and $ins2 and not &_equal($ins1, $ins2)
359 7 807 2 not $conflict_type and $d1 eq '*'
366 9 807 0 not $conflict_type and $d2 eq '*'
409 732 3 73 $d1 eq '-' || $d2 eq '-' and not $conflict_type

or 2 conditions

line l !l condition
84 0 35 $\ || ''
145 1 2 $base ||= 'contents'
160 3 37 $$self{'out'} || ''
189 4 14 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
79 20 0 0 open $src, $id or croak("failed to open '${id}': $!")
82 9 28 0 $sep ||= $/
84 2 0 35 $proto{'out'} ||= $\ || ''
116 2 4 0 $proto{'out'} ||= $sep
153 1 2 0 $$self{'original'} ||= $$self{'contents'}
160 0 3 37 $sep ||= $$self{'out'} || ''
200 1569 28 2 $win_ub < $max || !$$self{'last_line_short'}
349 8 46 755 $ins1 ||= $ins2
409 17 59 732 $d1 eq '-' || $d2 eq '-'