Branch Coverage

blib/lib/Perl/Critic/Policy/ControlStructures/ProhibitPostfixControls.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
56 391 120 unless $expl
58 14 106 if is_hash_key($elem)
59 0 106 if is_method_call($elem)
60 0 106 if is_subroutine_name($elem)
61 0 106 if is_included_module_name($elem)
62 0 106 if is_package_declaration($elem)
65 12 94 if exists $self->{'_allow'}{$elem->content}
69 0 94 unless $stmnt
70 16 78 if $stmnt->isa("PPI::Statement::Compound")
71 1 77 if $stmnt->isa("PPI::Statement::When")
75 55 22 if ($content eq "if" or $content eq "when")
78 10 45 if $stmnt->isa("PPI::Statement::Break")
79 31 14 if defined $self->{'_flowcontrol'}{$stmnt->schild(0)->content}