| blib/lib/HTTP/Cookies/PhantomJS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 19 | 63.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 49 | 185 | 0 | 8 | length $c == 1 and $bytes |
| 185 | 0 | 8 | length $c == 1 and $bytes and substr($bytes, -2) ne '\\0' | |
| 103 | 861 | 0 | 0 | $path and $domain |
| 104 | 296 | 269 | 296 | not $domain and ($domain) = $cookie_parts[$i] =~ /domain=(.+)/ |
| 155 | 128 | 20 | 0 | $discard and not $self->{'ignore_discard'} |
| line | l | !l | condition |
|---|---|---|---|
| 61 | 1 | 1 | shift() || $self->{'file'} || (return) |
| 145 | 0 | 0 | shift() || $self->{'file'} || (return) |