blib/lib/WWW/Google/PageSpeedOnline/Params.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 9 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 0 | 1 | 1 | 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\-]+)*)$] |
105 | 3 | 2 | 1 | $fields->{$key} and not exists $params->{$key} |
108 | 3 | 2 | 0 | $fields->{$key} and not defined $params->{$key} |