Branch Coverage

blib/lib/Perl/Critic/Policy/ControlStructures/ProhibitNegativeExpressionsInUnlessAndUntilConditions.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
31 746 78 if $token->content ne "until" and $token->content ne "unless"
33 0 78 if is_hash_key($token)
34 0 78 if is_subroutine_name($token)
35 0 78 if is_method_call($token)
36 0 78 if is_included_module_name($token)
51 32 132 if ($element->isa('PPI::Node')) { }
53 30 2 if ($operators)
58 30 102 if (_is_negative_operator(undef, $element))
73 0 78 unless $statement
75 32 46 if ($statement->isa("PPI::Statement::Compound"))
78 0 32 unless $condition
79 0 32 unless $condition->isa("PPI::Structure::Condition")