line |
true |
false |
branch |
54
|
1 |
0 |
unless exists $$STRATEGIES{lc $str} |
61
|
0 |
0 |
unless exists $LOCALES->{$str} |
67
|
1 |
1 |
unless defined $str and $str =~ m[^(http(?:s)?\://[a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*\.[a-zA-Z]{2,6}(?:/?|(?:/[\w\-]+)*)(?:/?|/\w+\.[a-zA-Z]{2,4}(?:\?[\w]+\=[\w\-]+)?)?(?:\&[\w]+\=[\w\-]+)*)$] |
73
|
0 |
2 |
unless defined $rules |
74
|
1 |
1 |
unless ref $rules eq 'ARRAY' |
77
|
1 |
0 |
unless exists $$RULES{uc $rule} |
91
|
0 |
7 |
unless defined $params |
93
|
1 |
6 |
unless ref $params eq 'HASH' |
97
|
1 |
12 |
unless exists $WWW::Google::PageSpeedOnline::Params::FIELDS->{$key} |
102
|
0 |
6 |
unless exists $WWW::Google::PageSpeedOnline::Params::FIELDS->{$key} |
105
|
1 |
5 |
if $fields->{$key} and not exists $params->{$key} |
108
|
0 |
5 |
if $fields->{$key} and not defined $params->{$key} |
111
|
5 |
0 |
if defined $params->{$key} |