blib/lib/DTOne/Crypt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
27 | 2 | 6 | unless my $master_key = shift() |
29 | 1 | 5 | unless (defined $plaintext) |
34 | 2 | 3 | unless (length $master_key == 32) |
53 | 3 | 7 | unless my $encrypted = shift() |
54 | 2 | 5 | unless my $master_key = shift() |
57 | 2 | 3 | unless (length $master_key == 32) |
65 | 1 | 2 | if (_is_v2_format($encrypted)) { } |
96 | 0 | 3 | unless my $encrypted = shift() |