Branch Coverage

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


line true false branch
31 311 18 unless exists $$until_or_unless{$token->content}
33 0 18 if is_hash_key($token)
34 0 18 if is_subroutine_name($token)
35 0 18 if is_method_call($token)
36 0 18 if is_included_module_name($token)
51 2 46 if ($element->isa('PPI::Node')) { }
53 0 2 if ($operators)
58 0 46 if (_is_negative_operator(undef, $element))
73 0 18 unless $statement
75 2 16 if ($statement->isa("PPI::Statement::Compound"))
78 0 2 unless $condition
79 0 2 unless $condition->isa("PPI::Structure::Condition")