Branch Coverage

blib/lib/OpenTracing/Tracer.pm
Criterion Covered Total %
branch 9 36 25.0


line true false branch
59 0 1 if ($self->{'process'} and $self->{'process'}->pid != $$)
131 2 2 unless $self->is_enabled
148 4 0 unless ($parent)
153 1 3 if (my $current_span = $self->{'current_span'}[-1])
161 0 4 if (my $references = $args{'references'})
163 0 0 unless $reference
171 0 0 if $reference->ref_type == 0
201 2 2 unless $self->is_enabled
219 0 0 if $idx > $#$data
220 0 0 unless &Scalar::Util::refaddr($data->[$idx]) == $addr
235 0 0 if ($args{'format'} eq 'text_map') { }
264 0 0 if ($args{'format'} eq 'text_map') { }
274 0 0 if (not defined $count) { }
0 0 elsif (not $count) { }
284 0 0 unless $context
292 0 0 unless $context
307 0 0 if ${^GLOBAL_PHASE} eq "DESTRUCT"
309 0 0 unless my $on_destroy = delete $self->{'on_destroy'}