Condition Coverage

blib/lib/Perl/Critic/Policy/HTTPCookies.pm
Criterion Covered Total %
condition 22 27 81.4


and 3 conditions

line !l l&&!r l&&r condition
34 3 3 20 &blessed($args_elem) and $args_elem->isa('PPI::Structure::List')
55 1 0 17 &blessed($possible_operator) and $possible_operator->isa('PPI::Token::Operator')
1 0 17 &blessed($possible_operator) and $possible_operator->isa('PPI::Token::Operator') and $possible_operator =~ /^(?:=>|,)$/
61 0 5 12 &blessed($possible_hashref) and $possible_hashref->isa('PPI::Structure')
5 0 12 &blessed($possible_hashref) and $possible_hashref->isa('PPI::Structure') and $possible_hashref->braces eq '{}'
81 169 3 30 $elem eq $class_name and is_class_name($elem)
172 0 30 $elem eq $class_name and is_class_name($elem) and $elem->snext_sibling eq '->'
3 1 29 $elem eq $class_name and is_class_name($elem) and $elem->snext_sibling eq '->' and $elem->snext_sibling->snext_sibling eq 'new'
106 64 3 $elem eq 'new' and $elem->snext_sibling eq $class_name