blib/lib/OpenTelemetry/TraceContext/W3C.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 29 | 79.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
54 | 2 | 4 | 1 | $version == 0 and $next_char ne "" |
113 | 3 | 0 | 6 | $i >= 0 and $length > $max_length |
119 | 1 | 2 | 3 | @chopping_list and $length > $max_length |
line | l | !l | condition |
---|---|---|---|
106 | 3 | 0 | $options->{'max_length'} // 512 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
54 | 1 | 1 | 6 | $version == 255 or $version == 0 and $next_char ne "" |
57 | 1 | 1 | 4 | $trace_id eq $invalid_trace_id or $parent_id eq $invalid_parent_id |
73 | 0 | 1 | 5 | not $trace_id or length $trace_id != 32 |
1 | 0 | 5 | not $trace_id or length $trace_id != 32 or $trace_id eq $invalid_trace_id | |
76 | 0 | 1 | 4 | not $parent_id or length $parent_id != 16 |
1 | 0 | 4 | not $parent_id or length $parent_id != 16 or $parent_id eq $invalid_parent_id |