| line |
true |
false |
branch |
|
77
|
0 |
4 |
if ($scope->{'type'} ne "http") |
|
85
|
0 |
4 |
ref $self->{'enabled'} eq 'CODE' ? : |
|
87
|
1 |
3 |
unless ($enabled) |
|
93
|
2 |
1 |
if ($self->_should_bypass($scope)) |
|
109
|
0 |
1 |
if (ref $bypass_path eq 'Regexp') { } |
|
110
|
0 |
0 |
if $path =~ /$bypass_path/ |
|
112
|
1 |
0 |
if $path eq $bypass_path |
|
117
|
2 |
0 |
exists $scope->{'client'} ? : |
|
119
|
0 |
1 |
if ($bypass_ip =~ m[/]) { } |
|
121
|
0 |
0 |
if $self->_ip_in_cidr($client_ip, $bypass_ip) |
|
124
|
1 |
0 |
if $client_ip eq $bypass_ip |
|
137
|
0 |
0 |
unless $ip =~ /^[\d.]+$/ and $network =~ /^[\d.]+$/ |
|
142
|
0 |
0 |
unless defined $ip_num and defined $net_num |
|
152
|
0 |
0 |
unless @octets == 4 |
|
153
|
0 |
0 |
unless _all_valid_octets(@octets) |
|
159
|
0 |
0 |
unless /^\d+$/ and $_ >= 0 and $_ <= 255 |
|
174
|
0 |
1 |
if (defined $self->{'retry_after'}) |