Branch Coverage

blib/lib/Scalar/Vec/Util.pm
Criterion Covered Total %
branch 56 56 100.0


line true false branch
25 1 15 unless (eval { do { require XSLoader; XSLoader::load('Scalar::Vec::Util', $VERSION); 1 } })
80 9053 223463 unless $l
81 1 223462 if $s < 0
82 1 223461 if $l < 0
83 92724 130737 if $x
87 164669 58792 if ($SIZE * $t < $s + $l) { }
116 9 1151 unless $l
117 2 1149 if $fs < 0 or $ts < 0
118 1 1148 if $l < 0
120 766 382 if ($step <= 0) { }
145 3930 7652 unless $length and $bits
146 1 7651 if $start < 0
147 1 7650 if $length < 0
149 3825 3825 if ($bits < 0)
153 3810 3840 if ($bits < $length) { }
155 1905 1905 if ($left) { }
157 1270 635 if defined $insert
160 1270 635 if defined $insert
163 2560 1280 if defined $insert
183 1360 11212 unless $length and $bits
184 1 11211 if $start < 0
185 1 11210 if $length < 0
187 5605 5605 if ($bits < 0)
192 150 11060 unless $bits
195 5530 5530 if ($left) { }
221 2 46030 if $s1 < 0 or $s2 < 0
222 1 46029 if $l < 0
225 280 9107916 if vec($_[0], $s1 + $i, 1) != vec($_[2], $s2 + $i, 1)