blib/lib/OpenTracing/Implementation/Interface/Bootstrap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 19 | 68.4 |
branch | 2 | 4 | 50.0 |
condition | 0 | 5 | 0.0 |
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 18 | 31 | 58.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package OpenTracing::Implementation::Interface::Bootstrap; | ||||||
2 | |||||||
3 | 2 | 2 | 123912 | use Role::Declare::Should; | |||
2 | 8433 | ||||||
7 | 87 | ||||||
4 | 7 | 2 | 406938 | use Types::Standard qw/Any ConsumerOf Maybe Str/; | |||
2 | 6 | ||||||
2 | 28 | ||||||
5 | |||||||
6 | |||||||
7 | |||||||
8 | class_method bootstrap_tracer( | ||||||
9 | Str $implementation_name, | ||||||
10 | Maybe [ Any ] @implementation_args, | ||||||
11 | 2 | 50 | 0 | 2 | 7491 | ) :Return ( ConsumerOf['OpenTracing::Interface::Tracer'] ) { } | |
2 | 50 | 0 | 7 | ||||
2 | 11 | ||||||
5 | 50 | ||||||
5 | 11 | ||||||
5 | 15 | ||||||
5 | 190 | ||||||
0 | 0 | ||||||
0 | 0 | ||||||
0 | 0 | ||||||
0 | 0 | ||||||
0 | 0 | ||||||
0 | 0 | ||||||
12 | |||||||
13 | |||||||
14 | |||||||
15 | 1; |