blib/lib/File/pfopen.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 18 | 94.4 |
line | true | false | branch |
---|---|---|---|
51 | 9 | 4 | if (defined $suffixes) { } |
56 | 3 | 10 | if ($File::pfopen::savedpaths->{$candidate}) |
60 | 1 | 2 | if (wantarray) |
67 | 0 | 13 | unless -d $dir |
68 | 8 | 5 | if ($suffixes) { } |
2 | 3 | elsif (-r "$dir/$prefix") { } | |
72 | 4 | 7 | if (-r $rc) |
75 | 1 | 3 | if (wantarray) |
86 | 1 | 1 | if (wantarray) |