Branch Coverage

blib/lib/Data/JSONSchema/Ajv.pm
Criterion Covered Total %
branch 27 30 90.0


line true false branch
230 6 11 unless $ajv_options
238 1 16 if (keys %$my_options)
246 2 14 if ($draft_version eq '04') { }
2 12 elsif ($draft_version eq '06') { }
1 11 elsif ($draft_version ne '07') { }
248 0 2 if exists $ajv_options->{'schemaId'}
251 0 2 if exists $ajv_options->{'meta'}
257 0 2 if exists $ajv_options->{'meta'}
274 1 14 unless $js->typeof('ajv') ne 'undefined'
287 299 3 if (ref $schema) { }
297 2 300 unless $self->{'_context'}->typeof($validator_name) ne 'undefined'
321 1 3 unless $self->{'_context'}->typeof($validator_name) ne 'undefined'
345 3 1088 $input_reftype eq 'REF' || $input_reftype eq 'SCALAR' ? :
351 2 1089 if ($input_reftype eq 'REF')
357 591 500 if ($result) { }