Branch Coverage

blib/lib/Perl/Critic/Policy/BuiltinFunctions/RequireSimpleSortBlock.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
30 333 18 if $elem->content ne "sort"
31 1 17 unless is_function_call($elem)
34 1 16 unless $sib
37 6 10 if ($arg->isa("PPI::Structure::List"))
40 2 4 if ($arg and $arg->isa("PPI::Statement::Expression"))
44 8 8 unless $arg and $arg->isa("PPI::Structure::Block")
47 7 1 if 1 >= $arg->schildren