Interface/SpanContext.pm

filter: Statementstmt 100% 36 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod n/a totaltotal 100% 46 / 46 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Interface/Span.pm ↑ Summary Interface/Tracer.pm »
1 package OpenTracing::Interface::SpanContext;
2  
3  
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 3 our $VERSION = 'v0.202.0';
9  
10  
11 3 ▶use Role::Declare;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 3 ▶use OpenTracing::Types qw/SpanContext/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 ▶use Types::Standard qw/Any HashRef Str Value/;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18  
19 instance_method get_baggage_item(
20 Str $key
21 3 ▶) :ReturnMaybe(Value) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23  
24  
25 instance_method get_baggage_items(
26 3 ▶) :ReturnList (Any) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
27  
28  
29  
30 instance_method with_baggage_item(
31 Str $key,
32 Str $value
33 3 ▶) :Return(SpanContext) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
34  
35  
36  
37 instance_method with_baggage_items(
38 %key_values,
39 ) :Return(SpanContext) {
40 ( HashRef[Str] )->assert_valid( {%key_values} )
41 3 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
42  
43  
44  
45 3 1;
« Interface/Span.pm ↑ Summary Interface/Tracer.pm »