Branch Coverage

blib/lib/File/Find/Rex.pm
Criterion Covered Total %
branch 23 70 32.8


line true false branch
24 0 1 if (defined $options and ref $options ne 'HASH')
27 0 1 if (defined $callback and ref $callback ne 'CODE')
41 0 0 if (defined $key)
51 1 0 $self->{'_options'}{'ignore_dirs'} > 0 ? :
1 0 defined $self->{'_options'}{'ignore_dirs'} ? :
61 0 0 $self->{'_options'}{'ignore_hidden'} > 0 ? :
0 5 defined $self->{'_options'}{'ignore_hidden'} ? :
71 0 0 $self->{'_options'}{'ignore_symlink'} > 0 ? :
0 5 defined $self->{'_options'}{'ignore_symlink'} ? :
81 0 0 $self->{'_options'}{'recursive'} > 0 ? :
0 0 defined $self->{'_options'}{'recursive'} ? :
90 0 2 if (defined $val)
94 0 0 unless $val =~ /^[\d]*$/gsx
102 0 2 if (defined $val)
106 0 0 unless $val =~ /^[\d]*$/gsx
113 0 1 unless defined $source
114 0 1 if (defined $regexp and ref $regexp ne 'Regexp')
123 1 0 if (-e $source) { }
130 1 0 if (-d $source) { }
159 0 6 defined $dummy ? :
163 5 1 unless (-d $file and $self->is_ignore_dirs)
169 0 5 if ($self->is_ignore_hidden)
174 0 0 if ($^O eq 'MSWin32') { }
182 0 0 unless $is_visible
186 0 5 if ($self->is_ignore_symlink)
187 0 0 if -l $file
191 5 0 if (defined $regexp and not -d $file)
192 3 2 unless $filename =~ /$regexp/
198 0 2 if (defined $oldest or defined $newest)
202 0 0 unless $timestamp >= $oldest
0 0 if (defined $oldest)
203 0 0 unless $timestamp <= $newest
0 0 if (defined $newest)
207 0 2 if (defined $self->{'_callback'}) { }
215 0 1 if (-d $file and uc $file ne uc $source and not $self->is_recursive)