| blib/lib/Path/Tiny/Glob/Visitor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 57 | 248 | 42 | unless $rule->[0]->($path) |
| 58 | 34 | 8 | if ($rule->[1]) { } |
| 73 | 40 | 0 | if $state->{'path'} |
| 88 | 1 | 48 | if ($head eq '.') |
| 92 | 12 | 36 | if ($head eq '**') |
| 93 | 8 | 4 | if @rest |
| 98 | 25 | 11 | if @rest |
| 106 | 32 | 4 | unless ref $segment |
| 110 | 36 | 0 | ref $segment eq 'Regexp' ? : |
| 112 | 116 | 149 | if $_->$type_test |
| 32 | 4 | $type_test ? : |