| blib/lib/Perl/Lint/Policy/InputOutput/RequireBracedFileHandleWithPrint.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 64 | 0 | if ($token_type == 70 and $token_data eq 'print' || $token_data eq 'printf' || $token_data eq 'say') |
| 27 | 121 | 544 | if ($token_type == 106) { } |
| 94 | 450 | elsif ($token_type == 107 or $token_type == 108) { } | |
| 37 | 110 | 11 | if (scalar @function_args > 1) |
| 43 | 25 | 12 | if ($first_arg_type == 194 || $first_arg_type == 191 || $first_arg_type == 166 || $first_arg_type == 122 and $second_arg_kind != 1 and $second_arg_type != 104 and $second_arg_type != 9) |