| lib/WebService/Gyazo.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 23 | 73.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 54 | 0 | 0 | 88 | defined $protocol and defined $ip |
| 0 | 0 | 88 | defined $protocol and defined $ip and defined $port | |
| 88 | 0 | 1 | 4 | defined $id and $id =~ /^\w+$/ |
| 1 | 1 | 3 | defined $id and $id =~ /^\w+$/ and length $id <= 14 |
| line | l | !l | condition |
|---|---|---|---|
| 51 | 88 | 0 | $proxyUrl->port || '80' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 56 | 22 | 10 | 56 | $protocol eq 'http' or $protocol eq 'https' |
| 32 | 10 | 46 | $protocol eq 'http' or $protocol eq 'https' or $protocol eq 'socks4' | |
| 20 | 10 | 36 | $protocol eq 'http' or $protocol eq 'https' or $protocol eq 'socks4' or $protocol eq 'socks' |