Branch Coverage

blib/lib/Finance/Bank/Natwest/CredentialsProvider/Callback.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
47 3 11 unless exists $opts{'callback'}
50 2 9 unless ref $opts{'callback'} eq 'CODE'
56 0 9 if ref $opts{'id'}
67 0 48 if exists $opts{'id'} and ref $opts{'id'}
70 48 0 if exists $opts{'id'}
76 41 7 if (not exists $$self{'my_cache'}{$$self{'id'}})
90 14 14 unless $$self{'cache'}