| blib/lib/File/FindRoot.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 16 | 75.0 |
| line | l | !l | condition |
|---|---|---|---|
| 96 | 2 | 17 | $ENV{'FILE_FINDROOT_DEBUG'} // 0 |
| 107 | 1 | 23 | $options->{'limit'} //= "Inf" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 96 | 6 | 19 | 0 | $options->{'debug'} //= $ENV{'FILE_FINDROOT_DEBUG'} // 0 |
| 97 | 9 | 16 | 0 | $options->{'debug_fh'} //= *STDERR |
| 101 | 1 | 24 | 0 | $options->{'callback'} //= sub ($candidate_dir, $target, $options) { -e "File::Spec"->catfile($candidate_dir, $target); } |
| 108 | 8 | 16 | 0 | $options->{'start_at'} //= $^O eq "MSWin32" ? Cwd::getdcwd() : Cwd::getcwd() |