Branch Coverage

blib/lib/OpenTracing/Implementation/DataDog/Client.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
351 1 11 if $self->_has_client_halted
356 0 11 unless ($new_span_buffer_size // 0) > 0
360 7 4 unless $self->_should_flush_span_buffer
366 1 3 unless defined $flushed
448 8 6 if %meta_data
609 1 13 if $error
612 1 13 if $error
632 2 4 unless my $resp = $self->_http_post_struct_as_json([\@structs])
698 1 6 if $self->_has_client_halted
703 0 6 if ($ENV{'OPENTRACING_DEBUG'})
709 1 5 if ($resp->is_error)
780 2 7 if $self->_span_buffer_size