Condition Coverage

blib/lib/Log/Log4perl/Layout/JSON.pm
Criterion Covered Total %
condition 25 36 69.4


and 3 conditions

line !l l&&!r l&&r condition
154 28 0 170 &blessed($value) and &blessed($value) eq "Log::Log4perl::Layout::PatternLayout"
174 6 8 76 exists $value->{'value'} and not ref $value->{'value'}
6 6 2 exists $value->{'value'} and ref $value->{'value'} ne "HASH"
190 2 0 2 exists $value->{'value'} and not ref $value->{'value'}
202 0 0 8 $value_ref and ${$value_ref;}
205 4 0 4 ref ${$value_ref;} eq "HASH" and ref $maxkb eq "HASH"
234 43 0 3 ref $message eq "ARRAY" and @{$message;} > 1
43 1 2 ref $message eq "ARRAY" and @{$message;} > 1 and @{$message;} % 2 == 0

or 2 conditions

line l !l condition
151 24 46 $layed_out //= {}
158 0 24 $layed_out->{$field} //= {}
315 45 0 length $v || 0

or 3 conditions

line l !l&&r !l&&!r condition
150 24 46 0 $fields //= $self->field
205 0 0 4 ref ${$value_ref;} || ref $maxkb