| blib/lib/OpenTelemetry/Instrumentation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 24 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 6 | 1 | if %REGISTRY |
| 34 | 0 | 1 | $legacy_support =~ /^false$/i ? : |
| 0 | 1 | $legacy_support =~ /^true$/i ? : | |
| 41 | 0 | 4 | if /^OpenTelemetry::Integration::/ and not $legacy_support |
| 55 | 1 | 4 | unless @args |
| 61 | 0 | 2 | is_hashref($args[0]) || is_arrayref($args[0]) ? : |
| 70 | 1 | 1 | unless ($instrumentation) |
| 80 | 1 | 3 | if ($all) |
| 92 | 1 | 3 | unless ($all) |
| 97 | 4 | 0 | is_hashref($config) ? : |
| 99 | 1 | 3 | if ($ok) { } |
| 117 | 5 | 0 | unless @args |