Branch Coverage

blib/lib/Digest/CRC.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
39 0 0 if $in & 1
137 0 4 if defined $params{'type'} and not exists $Digest::CRC::_typedef{$params{'type'}} and $params{'type'} ne 'crc64'
143 27 37 if (defined $params{$_})
152 1 3 unless (defined $$self{'type'} or defined $$self{'width'})
155 5 3 if (defined $$self{'type'} and exists $Digest::CRC::_typedef{$$self{'type'}})
165 8 0 defined $$self{'width'} ? :
183 0 0 if $padding
193 9 0 if @_
199 2 0 if (not ref $fh and ref \$fh ne 'GLOB')
215 0 2 unless defined $read
225 9 2 if (not $$self{'_crc'}) { }
227 0 9 if (defined $$self{'type'} and $$self{'type'} eq 'crc64' or defined $$self{'width'} and $$self{'width'} eq 64) { }
277 0 10 if (defined $init)
315 0 0 defined $_[1] ? :