Branch Coverage

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


line true false branch
57 207 15 unless ($self->uri)
88 0 150 unless $unique
97 1 20 ref $b eq 'HASH' ? :
106 58 5 if ref $addi eq 'HASH'
112 58 5 $add_schema ? :
186 9 1095 unless ($self->strict_string)
194 1100 4 if $keyword_map{$struct_type}
196 4 0 if (ref $struct_type eq 'ARRAY')
237 2 8 $self->schema->{'exclusiveMaximum'} ? :
245 15 47 if ($self->schema->{'exclusiveMinimum'})
255 6 2 unless ($s)
256 2 4 unless my $items = $self->schema->{'items'}
257 2 2 if ref $items eq 'HASH'
274 0 217 if (&Boolean()->check($items))
278 207 10 if (ref $items eq 'HASH')