| blib/lib/Path/Tiny/Glob/Visitor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 57 | 349 | 62 | unless $rule->[0]->($path) |
| 58 | 49 | 13 | if ($rule->[1]) { } |
| 75 | 58 | 0 | if $state->{'path'} |
| 90 | 1 | 66 | if ($head eq '.') |
| 94 | 20 | 46 | if ($head eq '**') |
| 95 | 8 | 12 | if @rest |
| 100 | 34 | 12 | if @rest |
| 108 | 42 | 4 | unless ref $segment |
| 112 | 46 | 0 | ref $segment eq 'Regexp' ? : |
| 114 | 138 | 228 | if $_->$type_test |
| 42 | 4 | $type_test ? : |