blib/lib/Paws/Credential.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | 2 | 3 | 66.6 |
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 13 | 15 | 86.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Paws::Credential; | ||||||
2 | 22 | 22 | 134 | use Moose::Role; | |||
22 | 46 | ||||||
22 | 126 | ||||||
3 | |||||||
4 | requires 'access_key'; | ||||||
5 | requires 'secret_key'; | ||||||
6 | requires 'session_token'; | ||||||
7 | |||||||
8 | sub are_set { | ||||||
9 | 14 | 14 | 0 | 6498 | my $self = shift; | ||
10 | 14 | 66 | 268 | return (defined $self->access_key && defined $self->secret_key); | |||
11 | } | ||||||
12 | |||||||
13 | 22 | 22 | 104846 | no Moose; | |||
22 | 47 | ||||||
22 | 128 | ||||||
14 | 1; |