File Coverage

blib/lib/OpenTracing/Implementation/DataDog.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 18 100.0


line stmt bran cond sub pod time code
1             package OpenTracing::Implementation::DataDog;
2              
3 1     1   159516 use strict;
  1         2  
  1         30  
4 1     1   5 use warnings;
  1         3  
  1         39  
5              
6             our $VERSION = 'v0.46.1';
7              
8 1     1   609 use aliased 'OpenTracing::Implementation::DataDog::Tracer';
  1         775  
  1         8  
9              
10              
11              
12             sub bootstrap_tracer {
13             my $implementation_class = shift;
14            
15             my @implementation_args = @_;
16            
17             return Tracer->new( @implementation_args );
18             }
19              
20              
21              
22             BEGIN {
23 1     1   203 use Role::Tiny::With;
  1         3  
  1         49  
24 1     1   5 with 'OpenTracing::Implementation::Interface::Bootstrap'
25             } # check at compile time, perl -c will work
26              
27              
28              
29             1;