File Coverage

blib/lib/OpenTracing/Implementation/DataDog.pm
Criterion Covered Total %
statement 13 16 81.2
branch 1 2 50.0
condition n/a
subroutine 5 6 83.3
pod 1 1 100.0
total 20 25 80.0


line stmt bran cond sub pod time code
1             package OpenTracing::Implementation::DataDog;
2              
3 1     1   124386 use strict;
  1         3  
  1         32  
4 1     1   6 use warnings;
  1         2  
  1         46  
5              
6             our $VERSION = 'v0.40.0.6-TRIAL';
7              
8 1     1   542 use aliased 'OpenTracing::Implementation::DataDog::Tracer';
  1         803  
  1         6  
9              
10              
11              
12             sub bootstrap_tracer {
13 0     0 1   my $implementation_class = shift;
14            
15 0           my @implementation_args = @_;
16            
17 0           return Tracer->new( @implementation_args );
18             }
19              
20              
21              
22             BEGIN {
23 1     1   154 use Role::Tiny::With;
  1         2  
  1         60  
24             with 'OpenTracing::Implementation::Interface::Bootstrap'
25             if $ENV{OPENTRACING_INTERFACE}
26 1 50   1   37 } # check at compile time, perl -c will work
27              
28              
29              
30             1;