| line |
true |
false |
branch |
|
44
|
1 |
24 |
@_ % 2 ? : |
|
66
|
5 |
20 |
if (exists $pairs{'prbs'}) { } |
|
|
9 |
11 |
elsif (exists $pairs{'taps'}) { } |
|
|
9 |
2 |
elsif (exists $pairs{'poly'}) { } |
|
74
|
1 |
4 |
unless exists $prbs{$pairs{'prbs'}} |
|
90
|
1 |
8 |
unless 'ARRAY' eq ref $pairs{'taps'} |
|
92
|
1 |
7 |
unless @{$pairs{'taps'};} |
|
108
|
2 |
7 |
unless /^[01]*$/ |
|
112
|
12 |
9 |
if $1 |
|
115
|
1 |
6 |
unless @taps |
|
166
|
14 |
771046 |
if $i and not defined $self->{'period'} and $self->{'lfsr'} eq $self->{'start'} |
|
168
|
2 |
771083 |
wantarray ? : |
|
212
|
7 |
3 |
if $self->{'i'} > $n |
|
232
|
2 |
1 |
unless $state == $lfsr |
|
264
|
1 |
6 |
unless 0 == @_ % 2 |
|
267
|
2 |
4 |
exists $opts{'limit'} ? : |
|
268
|
1 |
5 |
if lc $limit eq 'max' |
|
269
|
1 |
5 |
if defined $self->{'period'} and $self->{'i'} > $self->{'period'} |
|
272
|
4 |
245833 |
if defined $self->{'period'} and $self->{'period'} < $limit |
|
288
|
1 |
3 |
wantarray ? : |
|
308
|
1 |
17 |
unless 0 == @_ % 2 |
|
311
|
3 |
14 |
exists $opts{'limit'} ? : |
|
312
|
2 |
15 |
if lc $limit eq 'max' |
|
315
|
7 |
10 |
if ($self->{'i'}) |
|
316
|
2 |
5 |
if ($opts{'rewind'}) |
|
320
|
2 |
15 |
if defined $self->{'period'} and $self->{'i'} > $self->{'period'} |
|
324
|
14 |
278972 |
if defined $self->{'period'} and $self->{'period'} < $limit |
|
326
|
5 |
12 |
wantarray ? : |
|
332
|
1 |
6 |
unless 0 == @_ % 2 |
|
357
|
11 |
10 |
if $p |
|
402
|
10 |
7 |
if defined $self->{'period'} |
|
404
|
1 |
6 |
unless 0 == @_ % 2 |
|
407
|
4 |
2 |
exists $opts{'force'} ? : |
|
408
|
2 |
4 |
if 'not' eq $force |
|
411
|
1 |
3 |
if $force eq 'estimate' |
|
413
|
1 |
2 |
unless $force =~ /[^\d]/ |
|
618
|
2 |
5 |
exists $OEIS{$taps} ? : |