Condition Coverage

blib/lib/Module/CPANTS/Kwalitee/License.pm
Criterion Covered Total %
condition 10 22 45.4


and 3 conditions

line !l l&&!r l&&r condition
25 0 0 3 $yaml->{'license'} and $yaml->{'license'} ne 'unknown'
57 32 1 0 $first_four eq '=hea' and ($uc_head = uc $_) =~ /(?:LICEN[CS]E|LICEN[CS]ING|COPYRIGHT|LEGAL)/
132 8 0 3 $yaml->{'license'} && $yaml->{'license'} ne 'unknown'

or 2 conditions

line l !l condition
33 11 0 $me->d->{'files_array'} || []
99 0 0 $licenses{$_} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
57 1 1 31 $first_four eq '=hea' or $first_four eq '=cut'
59 0 0 0 $me->d->{'license'} ||= "defined in POD ($file)"
147 0 0 11 $d->{'external_license_file'} || $d->{'license_in_pod'}