Condition Coverage

blib/lib/OpenTracing/Tracer.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
57 1 0 0 $self->{'process'} and $self->{'process'}->pid != $$
149 1 0 3 $self->{'current_span'} and &refaddr($self->{'current_span'}) == &refaddr($span)

or 2 conditions

line l !l condition
43 0 3 $args{'span_completion_callbacks'} ||= []
77 6 2 +(shift())->{'is_enabled'} //= 0
112 0 0 +(shift())->{'spans'} //= []
152 1 1 $self->{'finished_spans'} //= []
184 0 0 $args{'format'} //= 'text_map'
213 0 0 $args{'format'} //= 'text_map'

or 3 conditions

line l !l&&r !l&&!r condition
61 0 1 0 $self->{'process'} //= do { require Net::Address::IP::Local; 'OpenTracing::Process'->new('pid', $$, 'ip', 'Net::Address::IP::Local'->public_ipv4, 'tracer.version', 'perl-OpenTracing-' . 'OpenTracing::Tracer'->VERSION) }
132 1 3 0 $args{'operation_name'} //= (caller 1)[3]