Condition Coverage

lib/PatchReader/DiffPrinter/template.pm
Criterion Covered Total %
condition 2 23 8.7


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 $$file{'canonical'} and $$file{'old_revision'}
0 0 0 $$file{'canonical'} and $$file{'old_revision'} and $$this{'ARGS'}{'bonsai_url'}
46 0 0 0 $$file{'canonical'} and $$this{'ARGS'}{'lxr_url'}
85 0 0 0 $last_line_char eq '-' and @{$plus_lines;}
97 0 0 0 $last_line_char eq '+' and @{$minus_lines;}

or 2 conditions

line l !l condition
15 0 1 $_[4] || {}

or 3 conditions

line l !l&&r !l&&!r condition
7 0 1 0 ref $class || $class
85 0 0 0 $last_line_char eq ' ' or $last_line_char eq '-' and @{$plus_lines;}