Condition Coverage

blib/lib/Perl/Critic/Policy/PreferredModules.pm
Criterion Covered Total %
condition 5 10 50.0


and 3 conditions

line !l l&&!r l&&r condition
66 0 0 4 $cfg_file and -e $cfg_file

or 2 conditions

line l !l condition
33 5 0 $config->get("config") // ""
44 2 0 $msg //= "Unknown Error"

or 3 conditions

line l !l&&r !l&&!r condition
110 3 2 0 $setup->{'reason'} // $desc