Branch Coverage

blib/lib/File/MoreUtil.pm
Criterion Covered Total %
branch 106 128 82.8


line true false branch
47 3 1 unless not -l $path and -e _
52 1 4 unless -l $path
56 4 0 if ($path =~ m[(.+)/(.+)]s) { }
58 0 4 unless defined $path
69 1 7 unless -d $dir
70 0 7 unless opendir my $dh, $dir
72 12 6 if $e eq "." or $e eq ".."
80 2 8 unless -d $dir
81 0 8 unless opendir my $dh, $dir
83 12 6 if $e eq "." or $e eq ".."
93 1 9 unless -d $dir
94 0 9 unless opendir my $dh, $dir
96 14 8 if $e eq "." or $e eq ".."
97 4 4 unless -f "$dir/$e"
105 1 9 unless -d $dir
106 0 9 unless opendir my $dh, $dir
108 16 8 if $e eq "." or $e eq ".."
109 5 3 unless $e =~ /\A\./
110 1 2 unless -f "$dir/$e"
118 1 9 unless -d $dir
119 0 9 unless opendir my $dh, $dir
121 16 8 if $e eq "." or $e eq ".."
122 3 5 if $e =~ /\A\./
123 3 2 unless -f "$dir/$e"
131 1 11 unless -d $dir
132 0 11 unless opendir my $dh, $dir
134 19 10 if $e eq "." or $e eq ".."
135 6 4 if -l "$dir/$e"
136 2 2 unless -d _
144 1 8 unless -d $dir
145 0 8 unless opendir my $dh, $dir
147 14 7 if $e eq "." or $e eq ".."
148 3 4 if -l "$dir/$e"
149 2 2 unless -d _
156 1 5 unless -d $dir
157 0 5 unless opendir my $dh, $dir
159 9 4 if $e eq "." or $e eq ".."
160 2 2 unless $e =~ /\A\./
161 0 2 if -l "$dir/$e"
162 1 1 unless -d _
170 1 5 unless -d $dir
171 0 5 unless opendir my $dh, $dir
173 8 4 if $e eq "." or $e eq ".."
174 2 2 if $e =~ /\A\./
175 0 2 if -l "$dir/$e"
176 1 1 unless -d _
185 0 2 unless opendir my $dh, $dir
186 7 2 if $_ ne "."
194 0 1 unless opendir my $dh, $dir
195 4 2 if $_ ne "." and $_ ne ".."
203 0 1 unless opendir my $dh, $dir
204 4 2 if $_ ne "." and $_ ne ".."
212 0 1 unless opendir my $dh, $dir
213 2 3 if $_ ne "." and $_ ne ".." and /\A\./
221 0 1 unless opendir my $dh, $dir
222 2 3 if $_ ne "." and $_ ne ".." and not /\A\./
230 0 2 unless opendir my $dh, $dir
231 5 2 if $_ ne "." and $_ ne ".." and not -l $_
239 0 2 unless opendir my $dh, $dir
240 5 4 if $_ ne "." and $_ ne ".."
248 0 1 unless opendir my $dh, $dir
249 2 2 if $_ ne "." and $_ ne ".." and /\A\./ and not -l $_
257 0 1 unless opendir my $dh, $dir
258 2 2 if $_ ne "." and $_ ne ".." and not /\A\./ and not -l $_