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

or 2 conditions

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

or 3 conditions

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