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'
54 32 1 0 $first_four eq '=hea' and ($uc_head = uc $_) =~ /(?:LICEN[CS]E|LICEN[CS]ING|COPYRIGHT|LEGAL)/
129 8 0 3 $yaml->{'license'} && $yaml->{'license'} ne 'unknown'

or 2 conditions

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

or 3 conditions

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