blib/lib/String/ShowDiff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 24 | 87.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 16 | 0 | 202 | @sdiff and my($mod, $s1, $s2) = @{shift @sdiff;} |
46 | 3 | 60 | 230 | @sdiff and $sdiff[0][0] eq $mod |
line | l | !l | condition |
---|---|---|---|
28 | 12 | 4 | $options ||= {} |
29 | 8 | 8 | $$options{'-'} || 'on_red' |
4 | 12 | $$options{'+'} || 'on_green' | |
4 | 12 | $$options{'u'} || 'reset' | |
35 | 3 | 13 | $$options{'gap'} || '' |
77 | 92 | 2 | $_ ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 4 | 12 | 0 | $$options{'context'} || qr/.*/ |
42 | 47 | 92 | 0 | $s1 || $s2 |