Condition Coverage

blib/lib/Log/Log4perl/Layout/JSON.pm
Criterion Covered Total %
condition 18 22 81.8


and 3 conditions

line !l l&&!r l&&r condition
145 24 0 166 &blessed($value) and &blessed($value) eq 'Log::Log4perl::Layout::PatternLayout'
165 4 8 74 exists $value->{'value'} and not ref $value->{'value'}
4 6 2 exists $value->{'value'} and ref $value->{'value'} ne 'HASH'
188 39 0 3 ref $message eq 'ARRAY' and @{$message;} > 1
39 1 2 ref $message eq 'ARRAY' and @{$message;} > 1 and @{$message;} % 2 == 0

or 2 conditions

line l !l condition
142 20 42 $layed_out //= {}
149 0 20 $layed_out->{$field} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
141 20 42 0 $fields //= $self->field