Branch Coverage

blib/lib/HTTP/CookieMonster.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
30 7 1 if @args == 1
45 9 4 wantarray ? :
55 0 5 if $cookie_jar->$HTTP::CookieMonster::_isa('HTTP::CookieMonster')
60 2 3 unless ($name)
61 1 1 unless (wantarray)
77 10 20 if ($cookie->key eq $name)
78 4 6 unless wantarray
83 0 4 unless wantarray
91 1 5 unless ($cookie)
95 0 5 unless ($cookie->$HTTP::CookieMonster::_isa('HTTP::CookieMonster::Cookie'))
99 5 0 $self->cookie_jar->set_cookie($cookie->version, $cookie->key, uri_escape($cookie->val), $cookie->path, $cookie->domain, $cookie->port, $cookie->path_spec, $cookie->secure, $cookie->expires, $cookie->discard, $cookie->hash) ? :
113 0 1 unless ($cookie->$HTTP::CookieMonster::_isa('HTTP::CookieMonster::Cookie'))