| line | % | coverage | condition |
| 160 | 100 | | $params ||= {} |
| 257 | 100 | | ref $_[0] and ref $_[0] ne "HASH" |
| 367 | 75 | | ref $_[0] and ref $_[0] ne "HASH" and ref $_[0] ne "ARRAY" |
| 385 | 100 | | ref $c eq "ARRAY" and not @{$c;} |
| 386 | 100 | | $self->{'deny_countries'} ||= {} |
| 474 | 75 | | ref $_[0] and ref $_[0] ne "HASH" and ref $_[0] ne "ARRAY" |
| 492 | 100 | | ref $c eq "ARRAY" and not @{$c;} |
| 493 | 100 | | $self->{'allow_countries'} ||= {} |
| 698 | 100 | | A | B | C | D | dec |
|---|
| 0 | 0 | 0 | 0 | 0 | | 0 | 0 | 0 | 1 | 1 | | 0 | 0 | 1 | X | 1 | | 0 | 1 | X | X | 1 | | 1 | X | X | X | 1 |
| defined $self->{'allowed_ips'} or defined $self->{'deny_countries'} or $self->{'deny_cloud'} or defined $self->{'allow_countries'} |
| 709 | 67 | | $ENV{'REMOTE_ADDR'} // $DEFAULT_ADDR |
| 712 | 100 | | $addr =~ /^$CGI::ACL::RE{'net'}{'IPv4'}$/o or $addr =~ /^$CGI::ACL::RE{'net'}{'IPv6'}$/o |
| 720 | 100 | | not $@ and $is_cloud |
| 725 | 100 | | $self->{'allowed_ips'} or $self->{'deny_countries'} or $self->{'allow_countries'} |
| 750 | 100 | | $self->{'deny_countries'} or $self->{'allow_countries'} |
| 775 | 100 | | $self->{'deny_countries'} and $self->{'deny_countries'}{$WILDCARD} |
| 776 | 100 | | $self->{'allow_countries'} && $self->{'allow_countries'}{$country} |
| 782 | 100 | | $self->{'deny_countries'} && $self->{'deny_countries'}{$country} |
| 915 | 100 | | $@ or not $hostname |