| blib/lib/Test/JSON/More.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 24 | 45.8 |
| line | true | false | branch |
|---|---|---|---|
| 44 | 0 | 1 | unless defined $input_json |
| 48 | 0 | 1 | if (my $error = $@) { } |
| 64 | 0 | 1 | unless defined $input_json |
| 65 | 0 | 1 | unless defined $expected_json |
| 71 | 0 | 2 | if (my $error = $@) { } |
| 89 | 0 | 2 | unless defined $input_json |
| 92 | 0 | 2 | if (my $error = $@) |
| 99 | 1 | 1 | !defined($schema) || ref $schema eq 'HASH' ? : |
| 102 | 0 | 2 | if ($res->error or scalar @{$res->errors;}) { } |
| 105 | 0 | 0 | $error->{'pointer'} ? : |
| 110 | 0 | 2 | unless (defined $schema) |
| 111 | 0 | 0 | $test_name ? : |