| blib/lib/Test2/Compare/JSON/Pointer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 18 | 61.1 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 2 | 1 | $pointer eq '' ? : |
| 28 | 0 | 8 | unless $exists |
| 36 | 0 | 8 | if (ref $got) |
| 38 | 0 | 0 | if (eval { do { $got->isa('Path::Tiny') } }) { } |
| 0 | 0 | elsif (eval { do { $got->isa('Path::Class::File') } }) { } | |
| 63 | 5 | 3 | $pointer eq '' ? : |
| 65 | 1 | 7 | if (my $error = "$@") |
| 82 | 7 | 0 | if ('JSON::Pointer'->contains($got_root_ref, $pointer)) { } |
| 100 | 2 | 5 | $delta ? : |