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 69 0 0 exists $self->{'level'} and defined $self->{'level'}
37 69 0 0 exists $self->{'xml_indent'} and defined $self->{'xml_indent'}
38 69 0 0 exists $self->{'encoding'} and defined $self->{'encoding'}
39 69 0 0 exists $self->{'format_header'} and defined $self->{'format_header'}
40 69 0 0 exists $self->{'format_transport'} and defined $self->{'format_transport'}
41 69 0 0 exists $self->{'format_protocol'} and defined $self->{'format_protocol'}
42 69 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 69 shift() || {}

or 3 conditions

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