Branch Coverage

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


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