Branch Coverage

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


line true false branch
56 300 29 unless $expl
58 0 29 if is_hash_key($elem)
59 0 29 if is_method_call($elem)
60 0 29 if is_subroutine_name($elem)
61 0 29 if is_included_module_name($elem)
62 0 29 if is_package_declaration($elem)
65 0 29 if exists $self->{'_allow'}{$elem->content}
69 0 29 unless $stmnt
70 10 19 if $stmnt->isa("PPI::Statement::Compound")
71 0 19 if $stmnt->isa("PPI::Statement::When")
75 3 16 if ($content eq "if" or $content eq "when")
78 0 3 if $stmnt->isa("PPI::Statement::Break")
79 0 3 if defined $self->{'_flowcontrol'}{$stmnt->schild(0)->content}