Branch Coverage

blib/lib/Perl/Critic/Policy/HTTPCookies.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
25 3 70 if (_is_constructor($elem, 'HTTP::Cookies')) { }
19 51 elsif (_is_constructor($elem, 'LWP::UserAgent')) { }
32 16 3 if (&blessed($args_elem) and $args_elem->isa('PPI::Structure::List'))
37 16 28 if ($token =~ /cookie_jar/)
39 15 0 if (&blessed($possible_operator) and $possible_operator->isa('PPI::Token::Operator') and $possible_operator =~ /^(?:=>|,)$/)
45 10 5 if (&blessed($possible_hashref) and $possible_hashref->isa('PPI::Structure') and $possible_hashref->braces eq '{}')