Condition Coverage

blib/lib/Test/Kwalitee/Extra.pm
Criterion Covered Total %
condition 19 54 35.1


and 3 conditions

line !l l&&!r l&&r condition
127 0 0 0 $val->{'in_code'} and $val->{'in_code'} != ($val->{'evals_in_code'} || 0)
0 0 0 $val->{'in_code'} and $val->{'in_code'} != ($val->{'evals_in_code'} || 0) and not exists $prereq->{$dist}
128 0 0 0 $val->{'in_tests'} and $val->{'in_tests'} != ($val->{'evals_in_tests'} || 0)
0 0 0 $val->{'in_tests'} and $val->{'in_tests'} != ($val->{'evals_in_tests'} || 0) and not exists $build_prereq->{$dist}
232 0 0 2 !%qerror && @missing == 0
235 0 2 0 !%qerror && @bmissing == 0

or 2 conditions

line l !l condition
65 0 6 $error ||= q[This distribution uses a module or a dist that's not listed as a prerequisite.]
66 0 6 $remedy ||= 'List all used modules in META.yml requires'
67 0 6 $berror ||= q[This distribution uses a module or a dist in its test suite that's not listed as a build prerequisite.]
68 0 6 $bremedy ||= 'List all modules used in the test suite in META.yml build_requires'
127 0 0 $val->{'evals_in_code'} || 0
128 0 0 $val->{'evals_in_tests'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
24 0 8 0 $target_ver == 'version'->parse('0.88') || $target_ver > 'version'->parse('0.89')
122 0 0 0 $@ or not $result->distribution
150 0 0 64 $@ or not $result->distribution
171 2 2 2 _check_ind($env, {'name', 'prereq_matches_use', 'is_extra', 1}) or _check_ind($env, {'name', 'build_prereq_matches_use', 'is_experimental', 1})
197 0 0 41 $@ or not $result->distribution
207 29 0 12 $val->{'is_prereq'} or $val->{'is_optional_prereq'}
208 29 8 4 $val->{'is_prereq'} or $val->{'is_build_prereq'}
8 0 4 $val->{'is_prereq'} or $val->{'is_build_prereq'} or $val->{'is_optional_prereq'}