Condition Coverage

blib/lib/HTTP/Cookies/PhantomJS.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

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'
107 861 0 0 $path and $domain
108 296 269 296 not $domain and ($domain) = $cookie_parts[$i] =~ /domain=(.+)/
159 128 20 0 $discard and not $self->{'ignore_discard'}

or 2 conditions

line l !l condition
61 1 1 shift() || $self->{'file'} || (return)
149 0 0 shift() || $self->{'file'} || (return)