Interface/Span.pm

filter: Statementstmt 100% 70 / 70 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 19 / 19 Podpod n/a totaltotal 100% 89 / 89 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Interface/ScopeManager.pm ↑ Summary Interface/SpanContext.pm »
1 package OpenTracing::Interface::Span;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6  
7 3 our $VERSION = 'v0.206.0';
8  
9  
10 3 ▶use Role::Declare::Should;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 ▶use OpenTracing::Types qw/SpanContext/;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 3 ▶use Time::HiRes qw/time/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 ▶use Types::Standard qw/Any Str Value HashRef ArrayRef Maybe Str Value/;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 3 ▶use Types::Common::Numeric qw/PositiveNum PositiveOrZeroNum/;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19  
20 instance_method get_context(
21 3 ▶) :Return(SpanContext) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23  
24  
25 instance_method overwrite_operation_name(
26 Str $operation_name
27 3 ▶) :ReturnSelf {}
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29  
30  
31 instance_method finish(
32 PositiveOrZeroNum $time_stamp = time(),
33 3 ▶) :ReturnSelf {}
Subroutine BEGIN: called CC=1 SCAR=0.0
34  
35  
36  
37 instance_method add_tag(
38 Str $key,
39 Value $value
40 3 ▶) :ReturnSelf {}
Subroutine BEGIN: called CC=1 SCAR=0.0
41  
42  
43  
44 instance_method add_tags(
45 %key_values,
46 ) :ReturnSelf {
47 ( HashRef[Value] )->assert_valid( {%key_values} )
48 3 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
49  
50  
51  
52 instance_method get_tags(
53 3 ▶) :ReturnList(Any) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
54  
55  
56  
57 instance_method log_data(
58 %key_values
59 ) :ReturnSelf {
60 ( HashRef[ Value ] )->assert_valid( { %key_values } );
61 3 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
62  
63  
64  
65 instance_method add_baggage_item(
66 Str $key,
67 Value $value
68 3 ▶) :ReturnSelf {}
Subroutine BEGIN: called CC=1 SCAR=0.0
69  
70  
71  
72 instance_method add_baggage_items(
73 %key_values,
74 ) :ReturnSelf {
75 ( HashRef[Value] )->assert_valid( {%key_values} )
76 3 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
77  
78  
79  
80 instance_method get_baggage_item(
81 Str $key
82 3 ▶) :ReturnMaybe(Value) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
83  
84  
85  
86 instance_method get_baggage_items(
87 3 ▶) :ReturnList(Any) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
88  
89  
90  
91 3 1;
« Interface/ScopeManager.pm ↑ Summary Interface/SpanContext.pm »