Branch Coverage

blib/lib/CGI/Cookie/Splitter.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
19 2 12 unless exists $params{'size'}
21 0 14 unless $params{'size'} =~ /^\d+$/ and $params{'size'} > 1
36 10 14 unless $self->should_split($cookie)
53 0 100 unless $max_value_size > 0
61 0 100 unless $self->cookie_size($head) <= $self->size
64 14 86 unless $tail_v
75 14 86 if length $value <= $adjusted_size
77 0 244 unless $adjusted_size > 0
83 158 86 if (length(my $escaped = escape($head)) > $max_size)
86 0 158 unless $adjustment
107 256 512 exists $params{$_} ? :
128 100 10 if ($name) { }
137 0 14 if grep {not defined $_;} @$split_cookie
157 100 0 defined $index ? :
162 114 0 defined $name ? :