| blib/lib/Vigil/Crypt.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 28 | 35.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 15 | 0 | 0 | 1 | defined $encryption_key and length $encryption_key == 64 |
| 33 | 0 | 0 | 1 | defined $plaintext and length $plaintext |
| 71 | 0 | 0 | 1 | defined $blob_hex and length $blob_hex |
| line | l | !l | condition |
|---|---|---|---|
| 22 | 0 | 0 | $_[0]{'_last_error'} // "" |
| 41 | 1 | 0 | $aad //= "" |
| 54 | 0 | 0 | $@ || 'Unknown encryption error' |
| 88 | 1 | 0 | $aad //= "" |
| 110 | 1 | 0 | $pepper //= "" |
| 120 | 1 | 0 | $pepper //= "" |
| 128 | 2 | 0 | $a //= "" |
| 129 | 0 | 2 | $b //= "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 77 | 0 | 0 | 1 | $@ or not defined $decoded |