Branch Coverage

blib/lib/File/CachingFind.pm
Criterion Covered Total %
branch 59 74 79.7


line true false branch
125 0 9 if (ref $this)
137 9 8 if (/^Path$/i) { }
1 7 elsif (/^Normali[zs]e$/i) { }
6 1 elsif (/^Filter$/i) { }
1 0 elsif (/^NoSoftlinks$/i) { }
139 0 9 unless 'ARRAY' eq ref $args{$_}
145 0 1 unless 'CODE' eq ref $args{$_}
151 0 6 unless '' eq ref $args{$_}
156 0 1 unless '' eq ref $args{$_}
166 0 9 unless defined $newObject{'Path'}
177 1 9 unless -d $_
215 1 12 if $$this{'Norm'}
217 3 10 if (not defined $$this{'Fullname'}{$name}) { }
3 7 elsif ('' eq ref $$this{'Fullname'}{$name}) { }
7 0 elsif ('ARRAY' eq ref $$this{'Fullname'}{$name}) { }
269 1 1 if 0 == @list
308 0 1 unless 'CODE' eq ref $rCompare
311 0 1 if 0 == @list
316 2 1 $order != 0 ? :
355 27 5 unless $name =~ /$regexp/
356 2 3 if ('' eq ref $files) { }
3 0 elsif ('ARRAY' eq ref $files) { }
399 0 1 if 0 == @list
436 0 1 unless 'CODE' eq ref $rCompare
439 0 1 if 0 == @list
444 1 1 $order != 0 ? :
482 180 280 if /^\.\.?$/o
485 87 193 if (-d $fullname)
487 81 6 if $recursive
493 2 191 unless (-f _)
495 1 1 if -l _ and $$rNewObject{'NoLink'}
498 136 56 if (defined $$rNewObject{'Filter'})
500 118 18 unless /$$rNewObject{'Filter'}/
503 3 71 if $$rNewObject{'Norm'}
505 62 12 if (not defined $$rNewObject{'Fullname'}{$_}) { }
9 3 elsif ('' eq ref $$rNewObject{'Fullname'}{$_}) { }
3 0 elsif ('ARRAY' eq ref $$rNewObject{'Fullname'}{$_}) { }