Condition Coverage

blib/lib/assign/0.pm
Criterion Covered Total %
condition 34 42 80.9


and 3 conditions

line !l l&&!r l&&r condition
101 2676 6 55 $n->isa("PPI::Statement::Variable") and @{[$n->schildren];} >= 5
2682 0 55 $n->isa("PPI::Statement::Variable") and @{[$n->schildren];} >= 5 and $n->schild(0)->isa("PPI::Token::Word")
6 0 55 $n->isa("PPI::Statement::Variable") and @{[$n->schildren];} >= 5 and $n->schild(0)->isa("PPI::Token::Word") and $n->schild(0)->content =~ /^(my|our|local)$/
0 33 22 $n->isa("PPI::Statement::Variable") and @{[$n->schildren];} >= 5 and $n->schild(0)->isa("PPI::Token::Word") and $n->schild(0)->content =~ /^(my|our|local)$/ and $n->schild(1)->isa('PPI::Structure::Constructor') || $n->schild(1)->isa('PPI::Structure::Block')
33 0 22 $n->isa("PPI::Statement::Variable") and @{[$n->schildren];} >= 5 and $n->schild(0)->isa("PPI::Token::Word") and $n->schild(0)->content =~ /^(my|our|local)$/ and $n->schild(1)->isa('PPI::Structure::Constructor') || $n->schild(1)->isa('PPI::Structure::Block') and $n->schild(2)->isa("PPI::Token::Operator")
33 0 22 $n->isa("PPI::Statement::Variable") and @{[$n->schildren];} >= 5 and $n->schild(0)->isa("PPI::Token::Word") and $n->schild(0)->content =~ /^(my|our|local)$/ and $n->schild(1)->isa('PPI::Structure::Constructor') || $n->schild(1)->isa('PPI::Structure::Block') and $n->schild(2)->isa("PPI::Token::Operator") and $n->schild(2)->content eq "="
122 3475 18 119 ref $n eq "PPI::Statement" and @{[$n->schildren];} >= 4
3493 117 2 ref $n eq "PPI::Statement" and @{[$n->schildren];} >= 4 and $n->schild(0)->isa('PPI::Structure::Constructor') || $n->schild(0)->isa('PPI::Structure::Block')
117 0 2 ref $n eq "PPI::Statement" and @{[$n->schildren];} >= 4 and $n->schild(0)->isa('PPI::Structure::Constructor') || $n->schild(0)->isa('PPI::Structure::Block') and $n->schild(1)->isa("PPI::Token::Operator")
117 0 2 ref $n eq "PPI::Statement" and @{[$n->schildren];} >= 4 and $n->schild(0)->isa('PPI::Structure::Constructor') || $n->schild(0)->isa('PPI::Structure::Block') and $n->schild(1)->isa("PPI::Token::Operator") and $n->schild(1)->content eq "="

or 2 conditions

line l !l condition
22 6 16 $self->{'line'} //= 0
96 16 6 $_ ||= []
117 2 20 $_ ||= []

or 3 conditions

line l !l&&r !l&&!r condition
101 19 3 33 $n->schild(1)->isa('PPI::Structure::Constructor') || $n->schild(1)->isa('PPI::Structure::Block')
122 2 0 117 $n->schild(0)->isa('PPI::Structure::Constructor') || $n->schild(0)->isa('PPI::Structure::Block')