| blib/lib/DBIx/Class/EncodedColumn/Digest.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 7 | unless $for =~ /^(?:hex|base64|binary)$/ |
| 38 | 0 | 7 | unless defined(my $object = eval { do { 'Digest'->new($alg) } }) |
| 41 | 3 | 4 | $for eq 'hex' ? : |
| 0 | 7 | $for eq 'binary' ? : | |
| 44 | 0 | 7 | if $alg eq 'Haval-256' and $for eq 'base64' |
| 65 | 0 | 5 | unless defined $len |