| blib/lib/Perl/Critic/Policy/Freenode/StrictWarnings.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 49 | 10 | 9 | if ($include->pragma) |
| 50 | 2 | 8 | if $include->pragma eq 'strict' |
| 51 | 8 | 2 | if $include->pragma eq 'warnings' |
| 53 | 19 | 0 | if ($include->type // !1) |
| 54 | 3 | 16 | if $include->version and 'version'->parse($include->version) >= 'version'->parse('v5.12') |
| 55 | 2 | 17 | if defined $include->module and exists $strict_importers{$include->module} |
| 56 | 2 | 17 | if defined $include->module and exists $warnings_importers{$include->module} |
| 58 | 6 | 13 | if $has_strict and $has_warnings |