Branch Coverage

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


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