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 124784 155727 31168 $+{'prop'} and $+{'prop'} eq $prop
286 4074 23208 3886 $+{'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 755724 0 1016 $match{$_} and $match{$_}{'name'}
750 1372 0 198 $name and $match{$name}{'name'}{$pos}
0 1 197 $name and $match{$name}{'name'}{$pos} and not defined $coverage->get_range($pos, $match{$name}{'name'}{$pos}->end)->get_element(0)
1 197 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 157 40 not $version and grep {$_ eq $name;} @L_type_versioned
0 73 84 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 237 70266 0 not $license{$id} || $grant{$id} || $match{$id}{'custom'} and $L_grant_stepwise_incomplete{$id} || $force_atomic
1210 32872 324 2 $id eq "cc_by" and grep {$_->name eq "grant(cc_by_sa_3)";} @clues
1213 32996 198 2 $license{'rpsl_1'} and grep {$id eq $_;} "mpl", "python"
1216 13 33181 0 not $grant{$id} and $L_grant_stepwise_incomplete{$id} || $force_atomic
1258 84 46587 0 not $license{$id} and $match{$id}{'custom'}
1267 749 0 0 $license{'caldera'} and $id eq "bsd"
1268 746 3 0 $license{'cube'} and $id eq "zlib"
1269 746 3 0 $license{'dsdp'} and $id eq "ntp"
1270 743 6 0 $license{'mit_cmu'} and $id eq "ntp_disclaimer"
1271 743 6 0 $license{'ntp_disclaimer'} and $id eq "ntp"
1273 91 658 0 not $license{$id} || $grant{$id} and $string =~ /$RE{"GRANT_$id"}/u

or 2 conditions

line l !l condition
1308 305 26 $expr ||= "UNKNOWN"
1309 305 26 $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 335 0 0 $L{'name'}{$id} || $id
561 335 0 0 $L{'caption'}{$id} || $id
571 5 0 0 $L{'name'}{$id2} || $id2
572 5 0 0 $L{'caption'}{$id2} || $id2
590 8 327 0 $L{'caption'}{$legacy} || $legacy
750 197 0 0 !$skip_stepwise || $L_grant_atomic_incomplete{$name}
1106 0 0 8874 $L_grant_stepwise_incomplete{$id} || $force_atomic
1157 58 65 70266 $license{$id} || $grant{$id} || $match{$id}{'custom'}
321 0 69945 $L_grant_stepwise_incomplete{$id} || $force_atomic
1185 114 58 70331 $license{$id} or $grant{$id}
1216 554 0 32627 $L_grant_stepwise_incomplete{$id} || $force_atomic
1263 84 7 46580 $license{$id} or $grant{$id}
7 658 45922 $license{$id} or $grant{$id} or $L_grant_stepwise_incomplete{$id}
658 0 45922 $license{$id} or $grant{$id} or $L_grant_stepwise_incomplete{$id} or $force_atomic
1273 84 7 658 $license{$id} || $grant{$id}
1297 84 7 658 $license{$id} or $grant{$id}