| blib/lib/OpenFeature/EvaluationContext.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 8 | 13 | 61.5 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 3 | 66.6 |
| pod | 0 | 2 | 0.0 |
| total | 10 | 18 | 55.5 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 9 | use v5.36; | |||
| 1 | 2 | ||||||
| 2 | |||||||
| 3 | package OpenFeature::EvaluationContext; | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 0 | 6 | sub new($class, $attributes, $targeting_key = undef) { | ||
| 1 | 1 | ||||||
| 1 | 2 | ||||||
| 1 | 1 | ||||||
| 1 | 1 | ||||||
| 6 | 1 | 5 | my $self = { | ||||
| 7 | targeting_key => $targeting_key, | ||||||
| 8 | attributes => $attributes, | ||||||
| 9 | }; | ||||||
| 10 | } | ||||||
| 11 | |||||||
| 12 | 0 | 0 | 0 | sub merge($self, $new_context) { | |||
| 0 | |||||||
| 0 | |||||||
| 0 | |||||||
| 13 | 0 | die 'not implemented' | |||||
| 14 | } | ||||||
| 15 | |||||||
| 16 | 1; |