Condition Coverage

blib/lib/Log/GELF/Util.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
177 2 91 5 exists $GELF_MESSAGE_FIELDS{$key} and $GELF_MESSAGE_FIELDS{$key} == 0
288 1 1 5 $size > 0 and length $message > $size
328 306 0 0 not exists $chunk->{'id'} and exists $chunk->{'sequence_number'}
0 0 0 not exists $chunk->{'id'} and exists $chunk->{'sequence_number'} and exists $chunk->{'sequence_count'}
0 0 0 not exists $chunk->{'id'} and exists $chunk->{'sequence_number'} and exists $chunk->{'sequence_count'} and exists $chunk->{'data'}

or 3 conditions

line l !l&&r !l&&!r condition
171 96 2 1 exists $GELF_MESSAGE_FIELDS{$key} || $key =~ /^_/
0 1 98 $key eq "_id" or not exists $GELF_MESSAGE_FIELDS{$key} || $key =~ /^_/