| blib/lib/Dancer2/Plugin/EncryptID.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 18 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 134 | 0 | 16 | unless defined $text |
| 135 | 0 | 16 | unless defined $text |
| 138 | 0 | 16 | if defined $prefix |
| 144 | 1 | 15 | if length $text < 1 |
| 148 | 8 | 12 | if (length $sub_text < 8) |
| 170 | 0 | 15 | if $plugin->is_valid_encrypt_hash |
| 196 | 15 | 0 | unless length $encrypted_hash |
| 197 | 0 | 0 | unless length($encrypted_hash) % 16 == 0 |
| 198 | 0 | 0 | unless $encrypted_hash =~ /^[0-9A-F]+$/i |