blib/lib/OpenTracing/Tracer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 28 | 39.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 1 | 0 | 0 | $self->{'process'} and $self->{'process'}->pid != $$ |
line | l | !l | condition |
---|---|---|---|
44 | 0 | 3 | $args{'span_completion_callbacks'} ||= [] |
45 | 0 | 3 | $args{'current_span'} ||= [] |
65 | 0 | 0 | "OpenTracing"->VERSION // "unknown" |
84 | 6 | 2 | +(shift())->{'is_enabled'} //= 0 |
119 | 0 | 0 | +(shift())->{'spans'} //= [] |
200 | 2 | 2 | $self->{'finished_spans'} //= [] |
234 | 0 | 0 | $args{'format'} //= "text_map" |
263 | 0 | 0 | $args{'format'} //= "text_map" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 0 | 1 | 0 | $self->{'process'} //= do { require Net::Address::IP::Local; "OpenTracing::Process"->new("tags", {"pid", $$, "ip", "Net::Address::IP::Local"->public_ipv4, "tracer.version", "perl-OpenTracing-" . ("OpenTracing::Tracer"->VERSION // ("OpenTracing"->VERSION // "unknown") . "-dev")}) } |
65 | 1 | 0 | 0 | "OpenTracing::Tracer"->VERSION // ("OpenTracing"->VERSION // "unknown") . "-dev" |
139 | 1 | 3 | 0 | $args{'operation_name'} //= (caller 1)[3] |