Branch Coverage

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


line true false branch
17 2 12 unless exists $params{'size'}
20 0 14 unless $params{'size'} =~ /^\d+$/ and $params{'size'} > 1
34 10 14 unless $self->should_split($cookie)
51 0 100 unless $max_value_size > 0
59 0 100 unless $self->cookie_size($head) <= $self->size
62 14 86 unless $tail_v
73 14 86 if length $value <= $adjusted_size
76 0 244 unless $adjusted_size > 0
81 158 86 if (length(my $escaped = escape($head)) > $max_size)
84 0 158 unless $adjustment
106 256 512 exists $params{$_} ? :
126 100 10 if ($name) { }
135 0 14 if grep {not defined $_;} @$split_cookie
155 100 0 defined $index ? :
160 114 0 defined $name ? :