line |
true |
false |
branch |
48
|
81 |
0 |
if ($self->{'conf'}{'valid_tlds'}) { }
|
92
|
2460 |
0 |
if (defined $domain and $domain ne '')
|
105
|
40 |
3918 |
if (@domparts == 4) { }
|
|
1508 |
2410 |
elsif (@domparts == 3) { }
|
|
2395 |
15 |
elsif (@domparts == 2) { }
|
106
|
0 |
0 |
if ($domparts[3] eq 'us' and $domparts[0] eq 'pvt' && $domparts[1] eq 'k12' || $domparts[0] =~ /^c[io]$/)
|
113
|
0 |
0 |
if $US_STATES{$domparts[2]}
|
121
|
10 |
1498 |
if ($domparts[2] eq 'us') { }
|
122
|
0 |
10 |
if $US_STATES{$domparts[1]}
|
126
|
4 |
1494 |
if $self->{'conf'}{'three_level_domains'}{$temp}
|
132
|
20 |
2375 |
if $self->{'conf'}{'two_level_domains'}{$temp}
|
142
|
2399 |
61 |
if @hostname
|
189
|
0 |
2451 |
if $dom =~ /\s/
|
192
|
60 |
2391 |
unless $dom =~ /\.([^.]+)$/
|
193
|
38 |
2353 |
unless $self->{'conf'}{'valid_tlds'}{$1}
|
205
|
1 |
2537 |
if $uri =~ /^javascript:/
|
220
|
1 |
2536 |
if $uri =~ /\%(?:2[1-9a-f]|[3-6][0-9a-f]|7[0-9a-e])/
|
225
|
2451 |
85 |
unless ($uri =~ /^\d+\.\d+\.\d+\.\d+$/)
|
230
|
98 |
2353 |
unless $self->is_domain_valid($uri)
|
234
|
834 |
1604 |
!wantarray ? :
|