blib/lib/JSON/Pointer/Syntax.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
52 | 3 | 175 | unless ($orig_pointer eq '' or $pointer eq '') |
61 | 163 | 12 | wantarray ? : |
66 | 12 | 18 | ref $_[0] eq 'ARRAY' ? : |
70 | 26 | 4 | @tokens > 0 ? : |
77 | 50 | 12 | $token =~ /^$REGEX_ARRAY_INDEX$/ ? : |