Branch Coverage

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


line true false branch
30 329 0 if $elem->content ne "sort"
31 0 0 unless is_function_call($elem)
34 0 0 unless $sib
37 0 0 if ($arg->isa("PPI::Structure::List"))
40 0 0 if ($arg and $arg->isa("PPI::Statement::Expression"))
44 0 0 unless $arg and $arg->isa("PPI::Structure::Block")
56 0 0 if ($sort_var eq 'a') { }
60 0 0 if ($count < 0)