Branch Coverage

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


line true false branch
191 3 11 unless $ajv_options
199 1 13 if (keys %$my_options)
207 2 11 if ($draft_version eq '04') { }
2 9 elsif ($draft_version eq '06') { }
1 8 elsif ($draft_version ne '07') { }
209 0 2 if exists $ajv_options->{'schemaId'}
212 0 2 if exists $ajv_options->{'meta'}
218 0 2 if exists $ajv_options->{'meta'}
235 1 11 unless $js->typeof('ajv') ne 'undefined'
248 295 2 if (ref $schema) { }
258 1 296 unless $self->{'_context'}->typeof($validator_name) ne 'undefined'
295 2 1088 $input_reftype eq 'REF' || $input_reftype eq 'SCALAR' ? :
301 1 1089 if ($input_reftype eq 'REF')
307 591 499 if ($result) { }