Branch Coverage

blib/lib/Dancer2/Plugin/EncryptID.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
133 0 16 unless defined $text
134 0 16 unless defined $text
137 0 16 if defined $prefix
143 1 15 if length $text < 1
147 8 12 if (length $sub_text < 8)
169 0 15 unless $plugin->is_valid_encrypt_hash($encrypted_hash)
195 0 15 unless length $encrypted_hash
196 0 15 unless length($encrypted_hash) % 16 == 0
197 0 15 unless $encrypted_hash =~ /^[0-9A-F]+$/i