| blib/lib/HTTP/Cookies/Chrome.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 43 | 39.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 185 | 23 | 0 | 0 | $parts[9] and not $self->{'ignore_discard'} |
| 186 | 0 | 23 | 0 | defined $parts[8] and time > $parts[8] |
| 247 | 0 | 0 | 23 | $parts[2] and $rest->{'encrypted_value'} |
| 0 | 0 | 23 | $parts[2] and $rest->{'encrypted_value'} and $self->_cipher | |
| 542 | 0 | 0 | 69 | defined $path && $path =~ m[^/] && defined $key |
| 563 | 0 | 0 | 69 | defined $rest and %$rest |
| line | l | !l | condition |
|---|---|---|---|
| 237 | 0 | 23 | $rest->{'httponly'} //= 0 |
| 238 | 23 | 0 | $rest->{'samesite'} //= 0 |
| 253 | 23 | 0 | $parts[2] //= '' |
| 275 | 0 | 0 | $_[1] // {sign => '+', value => ['0']} |
| 325 | 441 | 4 | $_[0]{$mod_key} //= {} |
| 373 | 0 | 0 | $profile //= 'Default' |
| 438 | 3 | 4 | $self->{'file'} || (return) |
| 511 | 0 | 0 | $self->{'file'} || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 438 | 0 | 6 | 1 | $file ||= $self->{'file'} || (return) |
| 511 | 1 | 0 | 0 | $new_file ||= $self->{'file'} || (return) |
| 542 | 0 | 0 | 69 | not defined $path && $path =~ m[^/] && defined $key or $key =~ /^\$/ |