Branch Coverage

blib/lib/Tie/IntegerArray.pm
Criterion Covered Total %
branch 39 60 65.0


line true false branch
20 0 2 if @_ % 2
25 2 0 unless exists $$self{'size'}
26 1 1 unless exists $$self{'undef'}
27 2 0 unless exists $$self{'signed'}
28 1 1 unless exists $$self{'bits'}
29 2 0 unless exists $$self{'trace'}
32 2 0 if ($$self{'signed'}) { }
42 0 2 unless defined $$self{'vec'}
46 1 1 if ($$self{'undef'})
48 0 1 unless defined $$self{'dvec'}
54 0 2 unless defined $$self{'svec'}
67 0 16 if $$self{'trace'}
73 0 16 if $vec->Size <= $bit_index
77 3 13 if $$self{'undef'} and not $dvec->bit_test($index)
90 0 1 if $$self{'trace'}
93 1 0 if $$self{'undef'}
102 0 1 if $$self{'trace'}
105 1 0 if $$self{'undef'}
112 0 1 if $$self{'trace'}
125 0 10 if $$self{'trace'}
131 6 4 if ($vec->Size <= $bit_index)
133 3 3 if $$self{'undef'}
137 6 4 if ($$self{'undef'})
138 6 0 if (defined $value) { }
146 0 10 unless $value =~ /^-?\d+$/
149 1 9 if $value < $$self{'min'} or $value > $$self{'max'}
164 0 3 if $$self{'trace'}
180 0 2 if $$self{'trace'}
186 0 2 if $bit_index >= $vec->Size
189 1 1 if $$self{'undef'}