Branch Coverage

blib/lib/Algorithm/Huffman.pm
Criterion Covered Total %
branch 8 22 36.3


line true false branch
27 0 6 unless $count =~ /^(-)?\d+(\.\d+)?$/
29 0 6 unless $count >= 0
90 0 0 if (my $bits = $encode_hash{substr $string, $index, $l})
110 0 0 if (my $bits = $encode_hash{substr $string, $index, $l})
132 0 0 if ($decode = $decode_hash{substr $bitstring, $index, $l})
138 0 0 unless defined $decode
159 0 0 if ($decode = $decode_hash{$bitpattern})
164 0 0 unless defined $decode
174 2 10 unless defined $c
176 2 8 unless ref $c eq 'HASH'
178 2 6 unless scalar keys %$c >= 2