Condition Coverage

blib/lib/Perl/Critic/Policy/TooMuchCode/ProhibitUnusedImport.pm
Criterion Covered Total %
condition 11 13 84.6


and 3 conditions

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]}

or 2 conditions

line l !l condition
104 15 1 $elem->find(sub {
118 0 16 $imported->{$w} //= []

or 3 conditions

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]}