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
138 0 9 if defined $params{'type'} and not exists $Digest::CRC::_typedef{$params{'type'}} and $params{'type'} ne 'crc64'
144 32 72 if (defined $params{$_})
153 1 3 unless (defined $self->{'type'} or defined $self->{'width'})
156 10 3 if (defined $self->{'type'} and exists $Digest::CRC::_typedef{$self->{'type'}})
166 13 0 defined $self->{'width'} ? :
184 0 0 if $padding
194 14 0 if @_
200 2 0 if (not ref $fh and ref \$fh ne 'GLOB')
216 0 2 unless defined $read
226 14 2 if (not $self->{'_crc'}) { }
228 0 14 if (defined $self->{'type'} and $self->{'type'} eq 'crc64' or defined $self->{'width'} and $self->{'width'} eq 64) { }
278 0 15 if (defined $init)
321 0 0 defined $_[1] ? :