Branch Coverage

blib/lib/Mojolicious/Plugin/OpenTelemetry.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
17 1 15 unless $last
32 4 11 if (my $fwd = $headers->header("forwarded"))
34 4 0 if $first =~ /host=(?:"([^"]+)"|([^;]+))/u
48 15 0 $host ? :
11 4 $port ? :
15 0 $agent ? :
1 14 $query ? :
74 0 15 if ($want) { }
77 1 13 $result[0]->can('then') ? :
87 0 14 if ($code >= 500)
96 0 14 $want ? :