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
156 28 0 190 &blessed($value) and &blessed($value) eq "Log::Log4perl::Layout::PatternLayout"
179 6 8 81 exists $value->{'value'} and not ref $value->{'value'}
6 6 2 exists $value->{'value'} and ref $value->{'value'} ne "HASH"
196 2 0 2 exists $value->{'value'} and not ref $value->{'value'}
208 0 0 8 $value_ref and ${$value_ref;}
211 4 0 4 ref ${$value_ref;} eq "HASH" and ref $maxkb eq "HASH"
241 47 0 3 ref $message eq "ARRAY" and @{$message;} > 1
47 1 2 ref $message eq "ARRAY" and @{$message;} > 1 and @{$message;} % 2 == 0

or 2 conditions

line l !l condition
151 24 50 $layed_out //= {}
160 0 24 $layed_out->{$field} //= {}
322 45 0 length $v || 0

or 3 conditions

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