Branch Coverage

blib/lib/Data/BitStream.pm
Criterion Covered Total %
branch 47 58 81.0


line true false branch
21 0 162 unless defined $rinfo and ref $rinfo eq 'HASH'
23 0 972 unless defined $$rinfo{$p}
26 54 108 if (defined $codeinfo{$name})
27 54 0 if $codeinfo{$name}{'package'} eq $$rinfo{'package'}
37 847 6 if defined $codeinfo{$code}
40 6 0 if (defined $Data::BitStream::Base::CODEINFO and ref $Data::BitStream::Base::CODEINFO eq 'ARRAY')
43 0 18 unless ref $r eq 'HASH'
52 0 120 unless defined $mname
59 6 114 unless defined $rinfo
60 0 114 unless $rinfo =~ s/^\*//
63 6 114 unless defined $rinfo
64 96 18 if (ref $rinfo eq 'HASH') { }
18 0 elsif (ref $rinfo eq 'ARRAY') { }
68 0 48 unless ref $r eq 'HASH'
79 32 8 if $code =~ s/\((.+)\)$//
85 32 9 if $code =~ s/\((.+)\)$//
87 1 40 unless defined $inforef
133 71 26 if $code =~ s/\((.+)\)$//
135 1 96 unless defined $inforef
137 0 96 unless defined $sub
138 71 25 if ($$inforef{'params'}) { }
139 1 70 unless defined $param
142 1 24 if defined $param
150 470 205 if $code =~ s/\((.+)\)$//
152 1 674 unless defined $inforef
154 0 674 unless defined $sub
155 470 204 if ($$inforef{'params'}) { }
156 1 469 unless defined $param
159 1 203 if defined $param