Condition Coverage

blib/lib/OpenTelemetry/Exporter/OTLP/Encoder/JSON.pm
Criterion Covered Total %
condition 6 9 66.6


or 2 conditions

line l !l condition
156 0 10 $scopes{$key} //= [$_->instrumentation_scope, []]
173 0 8 $scopes{$key} //= [$_->instrumentation_scope, []]
194 4 14 $resources{$key} //= [$_->resource, []]

or 3 conditions

line l !l&&r !l&&!r condition
189 12 6 0 $type //= isa_OpenTelemetry_SDK_Logs_LogRecord($_) ? "logs" : "spans"