| blib/lib/Crypt/RNCryptor/V3.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 16 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 7 | if ($opts{'password'} and $opts{'encryption_key'} || $opts{'hmac_key'}) |
| 39 | 0 | 11 | if ($opts{'pbkdf2_iterations'}) |
| 78 | 6 | 4 | if $self->password |
| 79 | 4 | 0 | if $self->encryption_key and $self->hmac_key |
| 123 | 6 | 4 | if $self->password |
| 124 | 4 | 0 | if $self->encryption_key and $self->hmac_key |
| 147 | 0 | 6 | unless $computed_hmac eq $hmac |
| 174 | 0 | 4 | unless $computed_hmac eq $hmac |