blib/lib/AWS/XRay.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 19 | 57.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
69 | 0 | 0 | 0 | $Sock and $Sock->can('close') |
126 | 1510 | 0 | 711 | defined $segment->{'type'} and $segment->{'type'} eq 'subsegment' |
line | l | !l | condition |
---|---|---|---|
78 | 1 | 0 | $DAEMON_HOST || '127.0.0.1' |
1 | 0 | $DAEMON_PORT || 2000 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 2 | 1 | 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) |
123 | 711 | 1510 | 0 | $TRACE_ID // new_trace_id() |
171 | 3 | 501 | 500 | $sampled // &$SAMPLER() |