Condition Coverage

blib/lib/String/Diff.pm
Criterion Covered Total %
condition 21 27 77.7


and 3 conditions

line !l l&&!r l&&r condition
132 88 0 2 $opts{'escape'} and ref $opts{'escape'} eq 'CODE'
158 32 0 3 $opts{'escape'} and ref $opts{'escape'} eq 'CODE'
164 50 5 503 scalar @{$old_diff;} > $old_c and scalar @{$new_diff;} > $new_c
168 113 114 276 $old_diff->[$old_c][0] eq 'u' and $new_diff->[$new_c][0] eq 'u'
114 46 67 $old_diff->[$old_c][0] eq '-' and $new_diff->[$new_c][0] eq '+'
46 0 114 $old_diff->[$old_c][0] eq 'u' and $new_diff->[$new_c][0] eq '+'
0 0 46 $old_diff->[$old_c][0] eq '-' and $new_diff->[$new_c][0] eq 'u'
199 64 0 6 $opts{'escape'} and ref $opts{'escape'} eq 'CODE'

or 3 conditions

line l !l&&r !l&&!r condition
64 152 2 2 $old or $new