blib/lib/Perl/Critic/Policy/Lax/RequireExplicitPackage/ExceptForPragmata.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 9 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
79 | 0 | 8 | 1 | $self->{'_exempt_scripts'} and $doc->is_program |
92 | 7 | 3 | 15 | $_->isa('PPI::Statement::Include') && $_->type eq 'use' && ($_->version && exists $self->{'_allowed_pragmata'}{'perlversion'} || exists $self->{'_allowed_pragmata'}{$_->module}) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
103 | 0 | 4 | 6 | not defined $package_line or $statement_line < $package_line |