Condition Coverage

blib/lib/Net/DRI/Logging.pm
Criterion Covered Total %
condition 9 32 28.1


and 3 conditions

line !l l&&!r l&&r condition
36 60 0 0 exists $$self{'level'} and defined $$self{'level'}
37 60 0 0 exists $$self{'xml_indent'} and defined $$self{'xml_indent'}
38 60 0 0 exists $$self{'encoding'} and defined $$self{'encoding'}
39 60 0 0 exists $$self{'format_header'} and defined $$self{'format_header'}
40 60 0 0 exists $$self{'format_transport'} and defined $$self{'format_transport'}
41 60 0 0 exists $$self{'format_protocol'} and defined $$self{'format_protocol'}
42 60 0 0 exists $$self{'sanitize_data'} and defined $$self{'sanitize_data'}
76 0 0 0 ref $data and exists $$self{'format_' . $type}
93 0 0 0 not length $ct and substr($msg, 0, 5) eq '

or 2 conditions

line l !l condition
35 0 60 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 60 not $level =~ /^\d+$/ or $level > 7