OpenTelemetry/Trace/Link.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenTelemetry/Propagator/None.pm ↑ Summary OpenTelemetry/X/Invalid.pm »
1 1 ▶use Object::Pad ':experimental(init_expr)';
Subroutine BEGIN: called CC=1 SCAR=0.0
2 # ABSTRACT: A link to an OpenTelemetry span
3  
4 package OpenTelemetry::Trace::Link;
5  
6 1 our $VERSION = '0.040';
7  
8 1 ▶class OpenTelemetry::Trace::Link :does(OpenTelemetry::Attributes) {
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶ use OpenTelemetry::X;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶ use isa 'OpenTelemetry::Trace::SpanContext';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 ▶ field $context :param :reader;
Subroutine context: called CC=1 SCAR=0.0
Pod documented
14  
15 ADJUST {
16 die OpenTelemetry::X->create(
17 Invalid => "Required parameter 'context' must be a span context"
18 ) unless isa_OpenTelemetry_Trace_SpanContext $context;
19 }
20 1 }
« OpenTelemetry/Propagator/None.pm ↑ Summary OpenTelemetry/X/Invalid.pm »