Branch Coverage

blib/lib/Mojo/JWT/Google.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
21 6 2 unless defined $self->{'from_json'}
30 1 6 if (defined $value)
35 3 3 unless (exists $claims->{'exp'})
46 1 5 if defined $self->user_as
49 0 6 if @scopes and $self->audience
50 4 2 if @scopes
51 0 6 if defined $self->audience
53 3 3 if (not defined $self->issue_at) { }
66 1 5 unless defined $value
67 2 3 unless -f $value
69 1 2 unless $json->{'private_key'}
70 1 1 if $json->{'type'} ne 'service_account'