Branch Coverage

blib/lib/SVN/Hook.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
50 0 0 unless -e catfile($self->repospath, 'format')
58 0 0 if -e $path
78 0 0 unless mkdir catfile($self->repospath, 'hooks', "_$hook")
84 0 0 unless open my $fh, '>', $hook_file
87 0 0 unless chmod 0755, $hook_file
98 0 0 $hook =~ /^post-/ ? :
113 0 0 if ($? == -1) { }
0 0 elsif ($?) { }
117 0 0 unless $ignore_error
128 0 0 if (-x $path)
129 0 0 unless open my $fh, '<', $path
131 0 0 if (<$fh> =~ /managed by svnook/)