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