Condition Coverage

blib/lib/XML/Quick.pm
Criterion Covered Total %
condition 8 10 80.0


or 2 conditions

line l !l condition
85 2 1 $data->{$key}{'_attrs'} || {}
1 2 $data->{$key}{'_cdata'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
36 10 0 6 not defined $opts or &reftype($opts) ne 'HASH'
51 10 0 6 not defined &reftype($data) or &reftype($data) ne 'HASH'