Branch Coverage

blib/lib/Paranoid/Glob.pm
Criterion Covered Total %
branch 37 50 74.0


line true false branch
66 42 0 if (/^([[:print:]]+)$/s) { }
94 32 4 if (exists $args{'globs'})
96 0 32 unless ref $args{'globs'} eq "ARRAY"
98 3 33 if (exists $args{'literals'})
100 0 3 unless ref $args{'literals'} eq "ARRAY"
110 3 33 if exists $args{'literals'}
111 36 0 if ($rv)
112 32 4 if exists $args{'globs'}
115 36 0 if ($rv) { }
140 39 0 if defined $_
148 32 0 if ($rv)
153 13 26 -e $_ ? :
157 163 0 if /^([[:print:]]+)$/s
181 3 0 if defined $_
189 3 0 if $rv
419 62 4 if (@fstat) { }
422 44 18 if (S_ISDIR($fstat[2])) { }
4 24 elsif ($follow and S_ISLNK($fstat[2])) { }
425 34 10 if $fstat[2] & push(@dirs, $entry)
434 4 0 if -d $entry
440 0 4 unless ($! == 2)
457 40 0 if (opendir $fh, $dir) { }
461 80 37 if /^\.\.?$/s
462 1 36 if /^\./s and not $hidden
489 8 40 if (exists $seen{$crawl[$lindex]})