Branch Coverage

blib/lib/Net/OpenID/Connect/IDToken.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
43 4 5 if (my $token = $$opts{'token'})
46 4 5 if (my $code = $$opts{'code'})
58 1 15 unless ($sha)
72 6 5 if ($key) { }
76 3 3 if ($tokens and $$tokens{'token'})
79 3 1 if ($tokens and $$tokens{'code'})
94 1 2 unless ($a_hash)
101 1 1 if ($a_hash ne $expected_hash)
111 1 2 unless ($c_hash)
118 1 1 if ($c_hash ne $expected_hash)