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 1 17 &blessed($args_elem) and $args_elem->isa('PPI::Structure::List')
55 1 0 16 &blessed($possible_operator) and $possible_operator->isa('PPI::Token::Operator')
1 0 16 &blessed($possible_operator) and $possible_operator->isa('PPI::Token::Operator') and $possible_operator =~ /^(?:=>|,)$/
61 0 5 11 &blessed($possible_hashref) and $possible_hashref->isa('PPI::Structure')
5 0 11 &blessed($possible_hashref) and $possible_hashref->isa('PPI::Structure') and $possible_hashref->braces eq '{}'
81 130 3 23 $elem eq $class_name and is_class_name($elem)
133 0 23 $elem eq $class_name and is_class_name($elem) and $elem->snext_sibling eq '->'
3 1 22 $elem eq $class_name and is_class_name($elem) and $elem->snext_sibling eq '->' and $elem->snext_sibling->snext_sibling eq 'new'
83 48 3 $elem eq 'new' and $elem->snext_sibling eq $class_name