Branch Coverage

blib/lib/HTTP/CookieMonster.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
33 7 1 if @args == 1
48 9 4 wantarray ? :
58 0 5 if $cookie_jar->$HTTP::CookieMonster::_isa('HTTP::CookieMonster')
63 2 3 unless ($name)
64 1 1 unless (wantarray)
80 10 6 if ($cookie->key eq $name)
81 4 6 unless wantarray
86 0 4 unless wantarray
94 0 5 unless ($cookie->$HTTP::CookieMonster::_isa('HTTP::CookieMonster::Cookie'))
98 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) ? :
112 0 1 unless ($cookie->$HTTP::CookieMonster::_isa('HTTP::CookieMonster::Cookie'))