Condition Coverage

blib/lib/Perl/Critic/PolicyFactory.pm
Criterion Covered Total %
condition 21 31 67.7


and 3 conditions

line !l l&&!r l&&r condition
80 83 0 51 $test_mode and &any(sub {
110 0 0 7395 $full_path && $full_path =~ / (?: \A | \b b ) lib \b /msx
142 10 2919 1 $incoming_errors and @{$incoming_errors->exceptions;}
154 2921 10 145 not $incoming_errors and $errors
2931 145 0 not $incoming_errors and $errors and $errors->has_exceptions
222 81 1 0 not $incoming_errors and $errors->has_exceptions

or 2 conditions

line l !l condition
103 7395 0 shift() || (return)
108 7395 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
135 3066 10 0 $profile_strictness ||= $Perl::Critic::PolicyFactory::PROFILE_STRICTNESS_DEFAULT
142 146 1 2929 $profile_strictness eq $Perl::Critic::PolicyFactory::PROFILE_STRICTNESS_FATAL or $incoming_errors and @{$incoming_errors->exceptions;}
192 12362 0 0 $policy_config ||= "Perl::Critic::PolicyConfig"->new($policy_short_name)