blib/lib/Amazon/S3/Thin/Credentials.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 2 | 18 | 11.1 |
line | true | false | branch |
---|---|---|---|
71 | 0 | 1 | unless $ENV{'AWS_ACCESS_KEY_ID'} |
72 | 0 | 1 | unless $ENV{'AWS_SECRET_ACCESS_KEY'} |
105 | 0 | 0 | if (not $args->{'version'} or $args->{'version'} != 1) |
109 | 0 | 0 | unless $res->is_success |
122 | 0 | 0 | unless $res->is_success |
125 | 0 | 0 | unless @roles > 0 |
127 | 0 | 0 | defined $role && grep({$role eq $_;} @roles) ? : |
132 | 0 | 0 | unless $cred->is_success |
135 | 0 | 0 | if $@ |