Branch Coverage

blib/lib/Data/JSONSchema/Ajv.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
190 4 11 unless $ajv_options
198 1 14 if (keys %$my_options)
206 2 12 if ($draft_version eq '04') { }
2 10 elsif ($draft_version eq '06') { }
1 9 elsif ($draft_version ne '07') { }
208 0 2 if exists $ajv_options->{'schemaId'}
211 0 2 if exists $ajv_options->{'meta'}
217 0 2 if exists $ajv_options->{'meta'}
234 1 12 unless $js->typeof('ajv') ne 'undefined'
247 296 2 if (ref $schema) { }
257 1 297 unless $self->{'_context'}->typeof($validator_name) ne 'undefined'
281 3 1088 $input_reftype eq 'REF' || $input_reftype eq 'SCALAR' ? :
287 2 1089 if ($input_reftype eq 'REF')
293 591 500 if ($result) { }