File Coverage

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   162 use Moose::Role;
  22         51  
  22         157  
3              
4             requires 'access_key';
5             requires 'secret_key';
6             requires 'session_token';
7              
8             sub are_set {
9 14     14 0 7490 my $self = shift;
10 14   66     336 return (defined $self->access_key && defined $self->secret_key);
11             }
12              
13 22     22   128633 no Moose;
  22         60  
  22         202  
14             1;