blib/lib/Catalyst/Plugin/EncryptID.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
56 | 0 | 14 | if length $secret < 8 |
135 | 0 | 5 | unless defined $text |
136 | 0 | 5 | unless defined $text |
139 | 0 | 5 | if defined $prefix |
145 | 0 | 5 | if length $text < 1 |
149 | 4 | 3 | if (length $sub_text < 8) |
170 | 0 | 5 | unless is_valid_encrypt_hash($c, $encrypted_hash) |
194 | 0 | 7 | unless length $encrypted_hash |
195 | 1 | 6 | unless length($encrypted_hash) % 16 == 0 |
196 | 0 | 6 | unless $encrypted_hash =~ /^[0-9A-F]+$/i |