Branch Coverage

blib/lib/Perl/Critic/Policy/Modules/ProhibitAutomaticExportation.pm
Criterion Covered Total %
branch 3 18 16.6


line true false branch
31 0 32 if (_uses_exporter($doc))
32 0 0 if (my $exp = _has_exports($doc))
45 2 30 unless $includes_ref
57 0 0 unless _our_export(@_) or _vars_export(@_)
67 0 0 unless $elem->isa("PPI::Statement::Variable")
68 0 0 unless $elem->type eq "our"
78 0 0 unless $elem->isa("PPI::Statement::Include")
79 0 0 unless $elem->pragma eq "vars"
89 0 0 unless $elem->isa("PPI::Token::Symbol")