blib/lib/Math/Prime/Util/PrimeIterator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
24 | 9 | 2 | if defined $start |
45 | 0 | 3 | $p <= 2 ? : |
58 | 13 | 2 | if (defined $start and $start ne '2') |
59 | 0 | 10 | unless &Math::Prime::Util::_validate_num($start) |
61 | 10 | 0 | if $start > 2 |
92 | 1 | 1 | unless &is_prime($n) |