| blib/lib/Perl/Critic/Policy/BuiltinFunctions/ProhibitReverseSortBlock.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 16 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 336 | 18 | if $elem->content ne "sort" |
| 31 | 4 | 14 | unless is_function_call($elem) |
| 34 | 1 | 13 | unless $sib |
| 37 | 5 | 8 | if ($arg->isa("PPI::Structure::List")) |
| 40 | 1 | 4 | if ($arg and $arg->isa("PPI::Statement::Expression")) |
| 44 | 6 | 7 | unless $arg and $arg->isa("PPI::Structure::Block") |
| 56 | 5 | 8 | if ($sort_var eq 'a') { } |
| 60 | 3 | 5 | if ($count < 0) |