Branch Coverage

blib/lib/Text/Bloom.pm
Criterion Covered Total %
branch 16 36 44.4


line true false branch
48 0 1 if ($@)
61 0 9 if (defined $self{$key}) { }
75 0 0 if $newsize
101 3 0 if ($nBits > 0)
148 0 2 unless $$self{'bv'}
151 2 0 if ($$self{'compress'})
153 0 2 unless $block
159 2 0 $$self{'compress'} ? :
202 0 2 if ($stored_checksum ne $computed_checksum)
219 0 2 if ($header{'p'} ne 'Text::Bloom')
228 0 2 if ($header{'v'} != $Text::Bloom::VERSION)
236 0 2 if ($header{'l'} != length $block)
248 0 2 if (not $Text::Bloom::config{'compress'} and $header{'compress'} == 1)
255 2 0 if ($header{'compress'})
259 0 2 unless $block and not $@
291 0 5 if ($$self{'size'} != $$other{'size'})
305 0 5 if $normUnion == 0
342 0 0 if ($number % $i == 0)