Branch Coverage

blib/lib/Bit/Manip/PP.pm
Criterion Covered Total %
branch 35 36 97.2


line true false branch
28 10 237 if @_ == 2
29 3 244 if (not $_[0] =~ /^\d+$/ and ref $_[0] ne 'SCALAR')
33 30 214 if (ref $_[0])
34 1 29 unless (${$_[0];} =~ /^\d+/)
48 2 108 unless (defined $n and $n =~ /^\d+/)
55 15 93 if ($set) { }
71 1 20 unless defined $lsb
83 2 61 if (@_ != 4)
90 14 47 if ($value_bits != $bits)
95 2 59 if (_ref($data)) { }
114 0 104 if (_ref($data)) { }
125 16 24 if (_ref($data)) { }
136 8 24 if (_ref($data)) { }
146 1 20 if ($msb < 0)
153 1 19 if ($lsb < 0)
156 1 18 if ($lsb + 1 > $msb)
161 1 61 if @_ > 1
163 1 61 if ($val < 0)