Branch Coverage

blib/lib/HTTP/Cookies/Chrome.pm
Criterion Covered Total %
branch 27 64 42.1


line true false branch
135 0 184 unless ($self->_cipher)
136 0 0 if warnings::enabled()
141 0 184 unless ($type eq 'v10')
142 0 0 if warnings::enabled()
148 0 184 if $padding_count < 16
156 0 23 unless (defined $value)
157 0 0 if warnings::enabled()
161 0 23 unless ($self->_cipher)
162 0 0 if warnings::enabled()
185 0 23 if $parts[9] and not $self->{'ignore_discard'}
186 0 23 if defined $parts[8] and time > $parts[8]
189 15 8 $parts[7] ? :
191 17 6 $domain =~ /^\./ ? :
210 92 0 if (my $e = $_->encrypted_value)
247 23 0 if ($parts[2] and $rest->{'encrypted_value'} and $self->_cipher)
353 0 0 if ($^O eq 'darwin') { }
0 0 elsif ($^O eq 'linux') { }
376 0 0 if ($^O eq 'darwin') { }
0 0 elsif ($^O eq 'linux') { }
380 0 0 unless -e $path_to_cookies
401 0 4 unless defined $pass
407 3 1 if ($file)
446 0 69 length $row->value ? :
452 0 69 if ($self->{'ignore_discard'}) { }
457 69 0 $row->source_port > 0 ? :
542 0 69 if not defined $path && $path =~ m[^/] && defined $key or $key =~ /^\$/
551 69 0 if (defined $maxage)
552 0 69 if ($maxage <= 0)
558 69 0 unless defined $version
563 69 0 if defined $rest and %$rest
604 69 92 unless defined $value
613 0 1610 unless exists $columns{$method}