| blib/lib/OpenTelemetry/SDK/Trace/Sampler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 7 | 7 | 42 | use Object::Pad; | |||
| 7 | 10 | ||||||
| 7 | 48 | ||||||
| 2 | |||||||
| 3 | package OpenTelemetry::SDK::Trace::Sampler; | ||||||
| 4 | # ABSTRACT: The abstract interface for a sampler object | ||||||
| 5 | |||||||
| 6 | our $VERSION = '0.028'; | ||||||
| 7 | |||||||
| 8 | role OpenTelemetry::SDK::Trace::Sampler { | ||||||
| 9 | method description; | ||||||
| 10 | method should_sample; | ||||||
| 11 | } |