Branch Coverage

blib/lib/HTTP/State/Cookie.pm
Criterion Covered Total %
branch 31 52 59.6


line true false branch
115 0 26 unless $c[1]
117 25 1 if (@_)
120 25 0 if ($c[$_[0]]) { }
139 6 19 if defined $c[3]
140 12 13 if $c[5]
161 0 0 ref $_[0] ? :
174 0 21 unless $_[0]
188 21 0 if ($index >= 0) { }
205 0 21 unless $index > 0
223 0 21 unless $input
232 64 14 if $value
255 0 10 if (70 <= $year <= 99) { }
0 10 elsif (0 <= $year <= 69) { }
271 8 13 if (defined $_[1])
272 8 0 if $values[11]
273 8 0 if $values[12]
345 13 30 if defined $cookie->[7]
346 0 43 if defined $cookie->[8]
348 33 10 if (defined $store_flag)
353 24 9 if $cookie->[14]
354 9 24 if $cookie->[10] and $partition_key
357 32 11 if $cookie->[9]
393 0 0 if defined $cookie->[7]
394 0 0 if defined $cookie->[8]
396 0 0 if (defined $store_flag)
399 0 0 if $cookie->[14]