Branch Coverage

blib/lib/Math/NumSeq/AlmostPrimes.pm
Criterion Covered Total %
branch 34 44 77.2


line true false branch
137 0 3 if ($self->{'multiplicity'} eq 'distinct') { }
160 122 2 if (@$pending)
175 2 0 $self->{'hi'} == 0 ? :
176 0 2 $distinct ? :
185 0 2 $distinct ? :
0 2 if (@primes < ($distinct ? $factor_count : 1))
208 108 110 if ($depth >= $factor_count - 1) { }
214 106 310 if ($new_prod > $hi)
217 310 0 if ($new_prod > $done)
224 108 0 if ($depth > 0)
231 108 2 if ($upto <= $#primes)
233 108 0 if ($prod < $hi)
246 2 108 if (--$depth < 0)
250 108 0 if ($any[$depth]) { }
305 0 428 unless ($value >= 0 and $value <= 4294967295)
308 183 245 if ($value < 1 or $value != int $value)
318 116 129 unless ($value % 2)
324 11 70 if ($seen_count++ > $factor_count or $distinct)
333 129 365 unless ($value % $p)
335 3 126 if ($seen_count++ > $factor_count)
340 8 34 if ($seen_count++ > $factor_count or $distinct)
348 203 20 if ($value != 1)