Branch Coverage

blib/lib/Perl/Critic/Policy/BuiltinFunctions/ProhibitComplexMappings.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
42 340 17 if $elem->content ne "map"
43 1 16 unless is_function_call($elem)
46 1 15 unless $sib
49 1 14 if ($arg->isa("PPI::Structure::List"))
52 0 1 if ($arg and $arg->isa("PPI::Statement::Expression"))
57 1 14 unless $arg
58 4 10 unless $arg->isa("PPI::Structure::Block")
62 7 3 if $self->{'_max_statements'} >= $arg->schildren and 0 == grep({$_->isa("PPI::Statement::Compound");} $arg->schildren)