Branch Coverage

blib/lib/File/FindRoot.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
91 1 25 unless (ref $options eq ref {})
99 21 4 !$options->{'debug'} ? :
102 1 24 unless (ref $options->{'callback'} eq ref sub { } )
108 0 16 $^O eq 'MSWin32' ? :
112 5 19 unless "File::Spec"->file_name_is_absolute($options->{'start_at'})
114 2 22 unless (length $options->{'start_at'})
119 3 19 unless -d $options->{'start_at'}
122 1 21 if ($options->{'limit'} < 0)
131 20 11 if ($options->{'callback'}->($candidate_dir, $target, $options))
136 1 10 if $candidate_dir eq $ancestor