IDToken/Exception.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 6 / 8 Podpod 0.0% 0 / 4 totaltotal 73.3% 22 / 30 CC 1 SCAR 2.2
CC
1
Cov
89%
message
2.0
to_string
2.0
BEGIN
1.0
CRAP 1.2
« IDToken.pm ↑ Summary IDToken/Constants.pm »
1 package Net::OpenID::Connect::IDToken::Exception;
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 ▶use overload (
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 q|""| => \&to_string,
7 4 );
8  
9 4 ▶use Carp qw//;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 5 ▶sub throw {
Subroutine throw: called CC=1 SCAR=0.0
Pod undocumented
13 5 my ($class, %args) = @_;
14 5 Carp::croak bless \%args, $class;
15 }
16  
17 5 ▶sub code { $_[0]->{code} }
Subroutine code: called CC=1 SCAR=0.0
Pod undocumented
18 0 ▶sub message { $_[0]->{message} }
Subroutine message: not called CC=1 SCAR=6.9
Pod undocumented
19  
20 0 ▶sub to_string {
Subroutine to_string: not called CC=1 SCAR=6.9
Pod undocumented
21 0 sprintf("<%s>: %s", $_[0]->code, $_[0]->message);
22 }
23  
24 4 1;
« IDToken.pm ↑ Summary IDToken/Constants.pm »