Condition Coverage

blib/lib/AWS/XRay.pm
Criterion Covered Total %
condition 11 19 57.8


and 3 conditions

line !l l&&!r l&&r condition
73 0 0 0 $Sock and $Sock->can("close")
140 1512 0 712 defined $segment->{'type'} and $segment->{'type'} eq "subsegment"

or 2 conditions

line l !l condition
82 3 0 $DAEMON_HOST || '127.0.0.1'
3 0 $DAEMON_PORT || 2000

or 3 conditions

line l !l&&r !l&&!r condition
82 2 3 0 $Sock //= "AWS::XRay::Buffer"->new("IO::Socket::INET"->new("PeerAddr", $DAEMON_HOST || '127.0.0.1', "PeerPort", $DAEMON_PORT || 2000, "Proto", "udp"), $AUTO_FLUSH)
137 712 1512 0 $TRACE_ID // new_trace_id()
185 3 501 500 $sampled // &$SAMPLER()