Branch Coverage

blib/lib/App/codefork.pm
Criterion Covered Total %
branch 20 56 35.7


line true false branch
34 2 1 if (/\|/) { }
1 0 elsif (/%/) { }
60 0 3 if $basename eq ".git" or $basename eq ".svn"
64 6 3 if ($mod->[0] eq "replace")
70 1 2 length $new_dir_prefix ? :
74 1 2 if ($entry->is_dir) { }
81 4 2 if ($cmd eq 'replace') { }
2 0 elsif ($cmd eq 'word') { }
88 2 0 if ($new_rel ne $old_rel or $new_content ne $content)
108 2 0 if ($modified) { }
0 0 elsif ($renamed) { }
118 2 0 if ($renamed)
142 2 0 if $renamed
144 2 0 if ($modified) { }
0 0 elsif ($renamed) { }
147 2 0 if ($renamed)
162 0 8 if $self->debug
173 0 0 if (@args and $args[0] eq 'apply') { }
0 0 elsif (@args and $args[0] eq 'output') { }
0 0 elsif (@args) { }
176 0 0 if @args
180 0 0 if (@args == 2)
184 0 0 unless defined $output_file
189 0 0 unless -f $config
194 0 0 if ($command eq 'diff') { }
0 0 elsif ($command eq 'apply') { }
0 0 elsif ($command eq 'output') { }
196 0 0 if (length $diff) { }