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 1 $opts{'escape'} and ref $opts{'escape'} eq 'CODE'
164 49 4 501 scalar @{$old_diff;} > $old_c and scalar @{$new_diff;} > $new_c
168 113 114 274 $$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 2 $opts{'escape'} and ref $opts{'escape'} eq 'CODE'

or 3 conditions

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