blib/lib/Perl/Critic/Policy/TooMuchCode/ProhibitUnusedImport.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 13 | 84.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
58 | 362 | 12 | 1 | $_[1]->isa("PPI::Token::Symbol") and $_[1]->symbol_type eq "&" |
82 | 4 | 0 | 1 | exists $used{"to_" . $import} and exists $$moose_types{$imported{$import}[0]} |
line | l | !l | condition |
---|---|---|---|
104 | 15 | 1 | $elem->find(sub { |
118 | 0 | 16 | $imported->{$w} //= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
82 | 1 | 1 | 4 | exists $used{"is_" . $import} or exists $used{"to_" . $import} and exists $$moose_types{$imported{$import}[0]} |