blib/lib/File/chdir/WalkDir.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 26 | 65.3 |
line | true | false | branch |
---|---|---|---|
16 | 5 | 3 | ref $_[-1] eq 'HASH' ? : |
20 | 0 | 8 | if (ref $$opts{'exclude'} eq 'Regexp') |
23 | 2 | 6 | if @excluded_patterns |
36 | 16 | 16 | unless no_upwards($entry) |
39 | 0 | 16 | if (@$include) |
43 | 0 | 0 | if ($entry =~ /$pattern/) |
49 | 0 | 0 | unless $allow |
52 | 6 | 10 | unless $$opts{'exclude'} |
53 | 2 | 8 | if $entry =~ /$pattern/ |
56 | 5 | 9 | if (-d $entry) { } |
57 | 0 | 5 | if -l $entry |
61 | 0 | 5 | if $$opts{'act_on_directories'} |
63 | 0 | 9 | if ($$opts{'defer'}) { } |