| blib/lib/Log/GELF/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 21 | 47.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 177 | 0 | 81 | 5 | exists $GELF_MESSAGE_FIELDS{$key} and $GELF_MESSAGE_FIELDS{$key} == 0 |
| 288 | 1 | 1 | 5 | $size > 0 and length $message > $size |
| 328 | 297 | 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'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 171 | 86 | 0 | 2 | exists $GELF_MESSAGE_FIELDS{$key} || $key =~ /^_/ |
| 0 | 2 | 86 | $key eq '_id' or not exists $GELF_MESSAGE_FIELDS{$key} || $key =~ /^_/ |