| blib/lib/Perl/Critic/Policy/InputOutput/RequireCheckedSyscalls.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 75 | 0 | 335 | if ($function eq ':defaults') { } |
| 3 | 332 | elsif ($function eq ':builtins') { } | |
| 102 | 11 | 519 | if ($self->{'_functions'}{':all'}) { } |
| 446 | 73 | elsif (not $self->{'_functions'}{$elem->content}) { } | |
| 103 | 2 | 9 | if is_perl_bareword($elem) |
| 104 | 1 | 8 | if $self->{'_exclude_functions'}{$elem->content} |
| 110 | 64 | 17 | unless is_unchecked_call($elem, [keys %{$$self{"_autodie_modules"};}]) |