Branch Coverage

lib/PatchReader/DiffPrinter/template.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
22 0 0 unless $$this{'TEMPLATE_PROCESSOR'}->process($$this{'HEADER_TEMPLATE'}, $$this{'ARGS'})
28 0 0 unless $$this{'TEMPLATE_PROCESSOR'}->process($$this{'FOOTER_TEMPLATE'}, $$this{'ARGS'})
43 0 0 if ($$file{'canonical'} and $$file{'old_revision'} and $$this{'ARGS'}{'bonsai_url'})
46 0 0 if ($$file{'canonical'} and $$this{'ARGS'}{'lxr_url'})
53 0 0 unless $$this{'TEMPLATE_PROCESSOR'}->process($$this{'FILE_TEMPLATE'}, $$this{'ARGS'})
73 0 0 if ($line =~ /^ /) { }
0 0 elsif ($line =~ /^\+/) { }
0 0 elsif ($line =~ /^-/) { }
74 0 0 if ($last_line_char ne ' ')
85 0 0 if ($last_line_char eq ' ' or $last_line_char eq '-' and @{$plus_lines;})
97 0 0 if ($last_line_char eq '+' and @{$minus_lines;})