Branch Coverage

blib/lib/Data/Bvec.pm
Criterion Covered Total %
branch 54 74 72.9


line true false branch
148 41 9 if (defined $_[2]) { }
272 4 6 if ($beg) { }
274 4 0 if ($cnt) { }
277 19 57 if (vec $vec, $i, 1 and ++$count >= $beg and $count <= $end)
282 0 0 if (vec $vec, $i, 1 and ++$count >= $beg)
289 99 69 if vec $vec, $i, 1
292 0 10 if wantarray
358 9 1 if (/^0/) { }
362 0 10 unless @a
401 0 6 unless defined $compressed
405 0 6 substr($compressed, 0, 1) eq '+' ? :
414 0 32 if ($len > 1) { }
422 14 18 $bit ? :
457 1 1 unless defined $bitval
460 1 1 if $bitval
547 0 13 if @_ > 2
551 1 12 if defined $parm{'bvec'}
552 1 12 if defined $parm{'bstr'}
553 5 8 if defined $parm{'nums'}
555 1 12 if defined $parm{'bvec2nums'}
556 1 12 if defined $parm{'nums2bvec'}
558 1 12 if defined $parm{'bvec2bstr'}
559 1 12 if defined $parm{'bstr2bvec'}
561 1 12 if defined $parm{'bstr2nums'}
562 1 12 if defined $parm{'nums2bstr'}
581 3 2 if defined $$self{'bvec'}
582 0 2 if defined $$self{'bstr'}
583 2 0 if defined $$self{'nums'}
601 3 2 if defined $$self{'bstr'}
602 0 2 if defined $$self{'bvec'}
603 2 0 if defined $$self{'nums'}
642 6 0 if (defined $$self{'nums'}) { }
0 0 elsif (defined $$self{'bvec'}) { }
0 0 elsif (defined $$self{'bstr'}) { }
643 0 6 if ($cnt) { }
6 0 elsif ($beg == 1) { }
654 4 2 if wantarray