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
195 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
195 20 40 ref $example || 'SCALAR'
198 44 5 $_ // ''
42 7 $example // ''

or 3 conditions

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