Condition Coverage

blib/lib/JSON/Schema/Generate.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
188 52 5 3 (ref $example || 'SCALAR') ne 'SCALAR' and $props->{'examples'}
5 3 0 (ref $example || 'SCALAR') ne 'SCALAR' and $props->{'examples'} and $self->{'merge_examples'}

or 2 conditions

line l !l condition
188 20 40 ref $example || 'SCALAR'
191 44 5 $_ // ''
42 7 $example // ''

or 3 conditions

line l !l&&r !l&&!r condition
111 0 6 38 $ref eq 'SCALAR' or $ref =~ /Boolean$/