Condition Coverage

blib/lib/String/License.pm
Criterion Covered Total %
condition 97 133 72.9


and 3 conditions

line !l l&&!r l&&r condition
285 124522 155215 30995 $+{'prop'} and $+{'prop'} eq $prop
286 4082 23088 3825 $+{'org'} and $+{'org'} eq $org
426 1630 1890 2130 $2 and $1 eq "singleversion"
429 1630 3750 270 $2 and $1 eq "usage"
434 5150 270 230 $3 and $1 eq "trait"
747 753350 0 980 $match{$_} and $match{$_}{'name'}
750 1372 0 193 $name and $match{$name}{'name'}{$pos}
0 1 192 $name and $match{$name}{'name'}{$pos} and not defined $coverage->get_range($pos, $match{$name}{'name'}{$pos}->end)->get_element(0)
1 192 0 $name and $match{$name}{'name'}{$pos} and not defined $coverage->get_range($pos, $match{$name}{'name'}{$pos}->end)->get_element(0) and !$skip_stepwise || $L_grant_atomic_incomplete{$name}
762 0 154 38 not $version and grep {$_ eq $name;} @L_type_versioned
0 73 81 not $version and grep {$_ eq $name;} @L_type_singleversion
956 330 1 0 grep {$match{$_}{'name'};} @L_contains_bsd and $string =~ /$L{'bsd_1'}/u
1106 63 8874 0 not $grant{$id} and $L_grant_stepwise_incomplete{$id} || $force_atomic
1157 235 70268 0 not $license{$id} || $grant{$id} || $match{$id}{'custom'} and $L_grant_stepwise_incomplete{$id} || $force_atomic
1210 32874 324 2 $id eq "cc_by" and grep {$_->name eq "grant(cc_by_sa_3)";} @clues
1213 32998 198 2 $license{'rpsl_1'} and grep {$id eq $_;} "mpl", "python"
1216 14 33182 0 not $grant{$id} and $L_grant_stepwise_incomplete{$id} || $force_atomic
1258 83 46588 0 not $license{$id} and $match{$id}{'custom'}
1267 748 0 0 $license{'caldera'} and $id eq "bsd"
1268 745 3 0 $license{'cube'} and $id eq "zlib"
1269 745 3 0 $license{'dsdp'} and $id eq "ntp"
1270 742 6 0 $license{'mit_cmu'} and $id eq "ntp_disclaimer"
1271 742 6 0 $license{'ntp_disclaimer'} and $id eq "ntp"
1273 90 658 0 not $license{$id} || $grant{$id} and $string =~ /$RE{"GRANT_$id"}/u

or 2 conditions

line l !l condition
1308 304 27 $expr ||= "UNKNOWN"
1309 304 27 $license ||= "UNKNOWN"

or 3 conditions

line l !l&&r !l&&!r condition
295 28 7416 693 $value ||= $hashref->{$prop}
420 5127 513 0 $self->best_value($val, 'name') || $key
422 50 130 0 $self->best_value($val, 'caption') || $val->{'name'} || $key
560 333 0 0 $L{'name'}{$id} || $id
561 333 0 0 $L{'caption'}{$id} || $id
571 5 0 0 $L{'name'}{$id2} || $id2
572 5 0 0 $L{'caption'}{$id2} || $id2
590 8 325 0 $L{'caption'}{$legacy} || $legacy
750 192 0 0 !$skip_stepwise || $L_grant_atomic_incomplete{$name}
1106 0 0 8874 $L_grant_stepwise_incomplete{$id} || $force_atomic
1157 57 65 70268 $license{$id} || $grant{$id} || $match{$id}{'custom'}
321 0 69947 $L_grant_stepwise_incomplete{$id} || $force_atomic
1185 113 57 70333 $license{$id} or $grant{$id}
1216 554 0 32628 $L_grant_stepwise_incomplete{$id} || $force_atomic
1263 83 7 46581 $license{$id} or $grant{$id}
7 658 45923 $license{$id} or $grant{$id} or $L_grant_stepwise_incomplete{$id}
658 0 45923 $license{$id} or $grant{$id} or $L_grant_stepwise_incomplete{$id} or $force_atomic
1273 83 7 658 $license{$id} || $grant{$id}
1297 83 7 658 $license{$id} or $grant{$id}