Condition Coverage

blib/lib/Perl/Critic/Policy/Lax/RequireExplicitPackage/ExceptForPragmata.pm
Criterion Covered Total %
condition 6 9 66.6


and 3 conditions

line !l l&&!r l&&r condition
79 0 8 1 $self->{'_exempt_scripts'} and $doc->is_program
92 7 18 0 $_->isa('PPI::Statement::Include') && $_->type eq 'use' && ($_->version && exists $self->{'_allowed_pragmata'}{'perlversion'} || exists $self->{'_allowed_pragmata'}{$_->module})

or 3 conditions

line l !l&&r !l&&!r condition
103 0 4 6 not defined $package_line or $statement_line < $package_line