blib/lib/Catalyst/Plugin/EncryptID.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
55 | 0 | 14 | if length $secret < 8 |
94 | 0 | 5 | unless defined $text |
95 | 0 | 5 | unless defined $text |
98 | 0 | 5 | if defined $prefix |
104 | 0 | 5 | if length $text < 1 |
108 | 4 | 3 | if (length $sub_text < 8) |
129 | 0 | 5 | unless is_valid_encrypt_hash($c, $encrypted_hash) |
153 | 0 | 7 | unless length $encrypted_hash |
154 | 1 | 6 | unless length($encrypted_hash) % 16 == 0 |
155 | 0 | 6 | unless $encrypted_hash =~ /^[0-9A-F]+$/i |