Condition Coverage

blib/lib/JSON/DWIW.pm
Criterion Covered Total %
condition 23 52 44.2


and 3 conditions

line !l l&&!r l&&r condition
405 0 0 19 defined $params and UNIVERSAL::isa($params, 'HASH')
454 7 0 3 ref $proto and $proto->isa('HASH')
487 49 0 1 defined $error_msg and $$self{'use_exceptions'}
591 4 0 0 ref $proto and $proto->isa('HASH')
620 47 9 0 defined $JSON::DWIW::LastError and $$self{'use_exceptions'}
654 0 0 0 ref $proto and $proto->isa('HASH')
683 6 16 0 defined $JSON::DWIW::LastError and $$self{'use_exceptions'}
712 0 0 0 ref $proto and $proto->isa('HASH')
761 0 0 0 defined $error_msg and $$self{'use_exceptions'}
942 5 0 73 $params and UNIVERSAL::isa($params, 'HASH')
956 26 0 0 $$params{'pretty'} && $level
957 26 0 0 $$params{'pretty'} && $level >= 2
977 22 10 10 $this_ref and $this_ref eq 'ARRAY'
1037 0 5 0 $ref and $ref eq 'ARRAY'
1067 0 0 0 defined $attrs and UNIVERSAL::isa($attrs, 'HASH')

or 2 conditions

line l !l condition
502 0 1 shift() || {}
943 68 10 $level ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
400 3 97 0 ref $proto || $proto