Interface/ScopeManager.pm

filter: Statementstmt 100% 28 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 36 / 36 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Interface/Scope.pm ↑ Summary Interface/Span.pm »
1 package OpenTracing::Interface::ScopeManager;
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.202.0';
8  
9  
10 3 ▶use Role::Declare -lax;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 ▶use OpenTracing::Types qw/Scope Span/;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 3 ▶use Types::Standard qw/Bool Dict Optional/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17  
18 instance_method activate_span(
19 Span $span,
20 Bool :$finish_span_on_close, # should default to true
21 3 ▶) :Return(Scope) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23  
24  
25 instance_method get_active_scope(
26 3 ▶) :ReturnMaybe(Scope) {}
Subroutine BEGIN: called CC=1 SCAR=0.0
27  
28  
29  
30 3 1;
« Interface/Scope.pm ↑ Summary Interface/Span.pm »