Branch Coverage

blib/lib/OpenTelemetry/SDK/Trace/Span/Processor/Batch.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
118 0 5 if ($overflow > 0)
133 4 1 if @queue < $batch_size
135 1 0 if @queue
143 4 1 unless @$batch
149 0 1 unless $type eq "return"
163 1 9 if $done
164 2 5 unless $span->context->trace_flags->sampled
176 1 5 if $done
186 0 5 if @queue
191 5 0 if $function->workers
197 6 1 if $done
207 0 1 if @stack
213 0 1 if $timeout and not $remaining
225 0 1 unless $result == 0