Branch Coverage

blib/lib/OpenTracing/Tracer.pm
Criterion Covered Total %
branch 7 24 29.1


line true false branch
57 0 1 if ($self->{'process'} and $self->{'process'}->pid != $$)
124 2 2 unless $self->is_enabled
149 3 1 if $self->{'current_span'} and &refaddr($self->{'current_span'}) == &refaddr($span)
151 2 2 unless $self->is_enabled
169 0 0 if $idx > $#$data
170 0 0 unless &Scalar::Util::refaddr($data->[$idx]) == $addr
185 0 0 if ($args{'format'} eq 'text_map') { }
214 0 0 if ($args{'format'} eq 'text_map') { }
223 0 0 if (not defined $count) { }
0 0 elsif (not $count) { }
240 0 0 if ${^GLOBAL_PHASE} eq 'DESTRUCT'
242 0 0 unless my $on_destroy = delete $self->{'on_destroy'}