Branch Coverage

lib/PatchReader/FixPatchRoot.pm
Criterion Covered Total %
branch 12 32 37.5


line true false branch
18 4 0 if substr($$this{'REPOSITORY_ROOT'}, -1) ne '/'
25 0 0 if (@_) { }
34 6 0 unless $$this{'DELAYED_COMMANDS'}
42 0 0 if ($command eq 'start_file') { }
0 0 elsif ($command eq 'end_file') { }
0 0 elsif ($command eq 'section') { }
55 3 0 if $$this{'TARGET'}
64 0 3 if (exists $$this{'DIFF_ROOT'}) { }
3 0 elsif ($$file{'rcs_filename'} and substr($$file{'rcs_filename'}, 0, length $$this{'REPOSITORY_ROOT'}) eq $$this{'REPOSITORY_ROOT'}) { }
84 1 2 if ($$this{'DIFF_ROOT'} =~ /Attic/)
104 0 0 unless ($$this{'FORCE_COMMANDS'})
109 3 0 if $$this{'TARGET'}
114 0 3 if (exists $$this{'DELAYED_COMMANDS'}) { }
117 3 0 if $$this{'TARGET'}
123 0 3 if (exists $$this{'DELAYED_COMMANDS'}) { }
126 3 0 if $$this{'TARGET'}