Condition Coverage

blib/lib/Log/Dispatch/Gelf.pm
Criterion Covered Total %
condition 13 18 72.2


and 3 conditions

line !l l&&!r l&&r condition
50 1 1 2 exists $socket->{'host'} and length $socket->{'host'} > 0

or 2 conditions

line l !l condition
44 1 3 $socket->{'protocol'} //= 'udp'
55 2 3 $socket->{'port'} //= 12201
68 1 1 $p{'additional_fields'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
17 0 7 0 ref $proto || $proto
63 1 0 2 defined $p{'socket'} or defined $p{'send_sub'}
67 0 2 0 $p{'host'} // hostname()