EvaluationContext.pm

filter: Statementstmt 83.3% 5 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 2 totaltotal 63.6% 7 / 11 CC 2 SCAR 5.6
CC
2
Cov
83%
new
2.0
merge
2.0
BEGIN
1.0
CRAP 1.8
« ProviderRegistry.pm ↑ Summary InMemoryProvider.pm »
1 1 ▶use v5.36;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package OpenFeature::EvaluationContext;
4  
5 1 ▶sub new($class, $attributes, $targeting_key = undef) {
Subroutine new: called CC=2 SCAR=6.9
Pod undocumented
6 1 my $self = {
7 targeting_key => $targeting_key,
8 attributes => $attributes,
9 };
10 }
11  
12 0 ▶sub merge($self, $new_context) {
Subroutine merge: not called CC=1 SCAR=6.9
Pod undocumented
13 0 die 'not implemented'
14 }
15  
16 1 1;
« ProviderRegistry.pm ↑ Summary InMemoryProvider.pm »