Branch Coverage

blib/lib/Crypt/CFB.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
55 0 1 if ($@)
62 0 1 if ($algo =~ /^Crypt::/) { }
1 0 elsif ($algo =~ /^Digest::/) { }
80 0 1 if (defined $iv)
98 0 1 if ($@)
106 0 1 unless ($$self{'registerlength'})
121 0 0 if ($@)
128 0 0 if (length $key > ($algo->keysize || 56))
137 0 0 if ($@)
141 0 0 unless ($$self{'algo'}->can('blocksize'))
147 0 0 unless ($$self{'registerlength'})
159 0 3 defined $$self{'iv'} ? :
170 0 442 if ($$self{'bytes'} > 1)
171 0 0 if (length $block < length $xor)
176 221 221 if ($d) { }
207 0 2 if (defined $iv)