bin/factor | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 25 | 34 | 73.5 |
line | true | false | branch |
---|---|---|---|
37 | 0 | 1014 | unless defined $fh |
41 | 1014 | 0 | if (@numbers) { } |
47 | 0 | 0 | if (/^\s*(\S+)/) |
60 | 0 | 1015 | unless ($n =~ /^\+?\d{1,10}$/ and $n <= 4294967295) |
64 | 0 | 1015 | if $n == 0 |
66 | 0 | 1015 | if ($n == 1) |
76 | 855 | 14 | unless scalar @next_primes |
82 | 1 | 17 | if $n < $prime * $prime |
86 | 995 | 20 | if ($n > 1) |
95 | 0 | 869 | if $square < $max |
97 | 0 | 869 | unless $base % 2 |
98 | 429 | 440 | if $max % 2 |
100 | 384 | 485 | if $max < 0 |
106 | 486 | 1364 | if ($base < $p * $p) { } |
108 | 485 | 1 | if ($max < $start) |
114 | 726 | 638 | if $start |
115 | 241 | 1123 | if $start % 2 |