Condition Coverage

blib/lib/Perl/Critic/Policy/Community/PreferredAlternatives.pm
Criterion Covered Total %
condition 6 9 66.6


and 3 conditions

line !l l&&!r l&&r condition
41 0 12 10 defined $elem->module and exists $modules{$elem->module}
12 2 8 defined $elem->module and exists $modules{$elem->module} and not exists $self->{'_allowed_modules'}{$elem->module}

or 3 conditions

line l !l&&r !l&&!r condition
35 8 0 0 $modules{$module} // "Module $module has preferred alternatives."