| blib/lib/Perl/Critic/Policy/BuiltinFunctions/RequireSimpleSortBlock.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 1 | 14 | 7.1 |
| 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") |
| 47 | 0 | 0 | if 1 >= $arg->schildren |