| blib/lib/JSON/Schema/AsType/Draft3.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 143 | 7 | unless $JSON::Schema::AsType::Draft3::b->{'required'} |
| 48 | 1 | 2 | ref $extends eq 'ARRAY' ? : |
| 60 | 9 | 279 | unless ($self->strict_string) |
| 67 | 5 | 283 | if $struct_type eq 'any' |
| 69 | 239 | 44 | if $type_map{$struct_type} |
| 71 | 44 | 0 | if (my(@types) = eval { do { @$struct_type } }) |
| 72 | 33 | 58 | ref $_ ? : |
| 88 | 1 | 10 | ref $b eq 'HASH' ? : |