Branch Coverage

blib/lib/JSON/Schema/AsType/Draft4.pm
Criterion Covered Total %
branch 27 30 90.0


line true false branch
55 396 15 unless ($self->uri)
86 0 150 unless $unique
95 1 20 ref $b eq 'HASH' ? :
104 61 6 if ref $addi eq 'HASH'
110 61 6 $add_schema ? :
184 9 1582 unless ($self->strict_string)
192 1585 6 if $keyword_map{$struct_type}
194 6 0 if (ref $struct_type eq 'ARRAY')
235 2 11 $self->schema->{'exclusiveMaximum'} ? :
243 15 52 if ($self->schema->{'exclusiveMinimum'})
253 9 3 unless ($s)
254 3 6 unless my $items = $self->schema->{'items'}
255 3 3 if ref $items eq 'HASH'
272 0 217 if (&Boolean()->check($items))
276 207 10 if (ref $items eq 'HASH')