Branch Coverage

blib/lib/HTTP/State.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
105 0 7 if ($path eq $cookie->[6]) { }
0 7 elsif (substr($cookie->[6], -1, 1) eq '/') { }
7 0 elsif (substr($path, length $cookie->[6], 1) eq '/') { }
715 4 0 if ($index > 0) { }
728 0 4 $index > 0 ? :
734 0 4 $index > 0 ? :
738 0 4 unless $scheme and $host
774 0 7 unless @$part
781 0 7 if index $_->[5], $sld
784 0 7 if ($_->[3] <= $time)
796 0 7 if not _path_match($path, $_) or $_->[14] and $rhost ne $_->[5] or $_->[7] and $scheme ne "https" or $_->[8] and not $flags & 2
802 0 7 if (not $flags & 1 and $_->[9] != 3)
843 0 4 if ($_retrieve_sort)
845 0 0 unless length $HTTP::State::b->[6] <=> length $HTTP::State::a->[6]