Branch Coverage

blib/lib/OpenTracing/Role/Span.pm
Criterion Covered Total %
branch 28 34 82.3


line true false branch
63 1 1 if $self->has_finished
76 1 34 if $self->has_finished
83 0 34 if $self->has_on_finish
92 1 2 if $self->has_finished
106 0 3 if $self->has_finished
120 1 1 if $self->has_finished
133 1 1 if $self->has_finished
147 1 2 if $self->has_finished
175 1 3 unless my $start_time = $self->{'start_time'}
182 1 2 unless my $finish_time = $self->{'finish_time'}
210 1 2 unless defined $child_of
212 1 1 if is_SpanContext($child_of)
215 1 0 if is_Span($child_of)
239 0 2 if $self->has_finished
242 0 2 unless my $context = shift()
259 6 28 if $self->has_finished
263 28 0 unless $in_global_destruction