Condition Coverage

blib/lib/Log/Any/Proxy.pm
Criterion Covered Total %
condition 19 26 73.0


and 3 conditions

line !l l&&!r l&&r condition
95 95 0 34 $self->{'adapter'}->can('structured') && !$self->{'filter'}
97 0 111 18 @parts and (ref $parts[-1] || '') eq ref {}
114 27 12 68 length $message and not $structured_logging
118 0 0 68 defined $message and length $message
120 64 0 4 defined $self->{'prefix'} and length $self->{'prefix'}
131 0 27 19 defined $message and length $message

or 2 conditions

line l !l condition
97 27 102 ref $parts[-1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
92 98 31 5 $self->{'adapter'}->$is_realname or defined wantarray
128 18 28 0 $self->{'adapter'}->$is_realname or defined wantarray