Condition Coverage

blib/lib/OpenTelemetry/Instrumentation.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
41 3 1 0 /^OpenTelemetry::Integration::/ and not $legacy_support
57 3 0 1 $args[0] =~ /^[:-]all$/ && shift @args

or 2 conditions

line l !l condition
33 0 1 $ENV{'OTEL_PERL_USE_LEGACY_INSTRUMENTATIONS'} // 1
50 5 1 $package // ""
82 0 4 $configuration{$_} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
42 0 4 0 $REGISTRY{s/^OpenTelemetry::(?:Instrumentation|Integration):://r} ||= $_
61 0 0 2 is_hashref($args[0]) || is_arrayref($args[0])