Branch Coverage

blib/lib/Dist/Zilla/Plugin/Git/FilePermissions.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
58 0 5 unless @files
68 5 25 unless -f $file
77 15 4 unless $file =~ /$regex/
83 1 24 if ($perm eq "-")
90 14 10 if ($current_perm != $perm)
94 0 14 if ($rc != 1)
110 0 5 if $files_f->is_failed
125 0 4 unless (defined $perm)
129 1 3 $perm eq '-' ? :