| blib/lib/Fedora/RPM/Spec/License.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 66 | 2 | 7 | unless ($self->{'result'}{'status'}) |
| 76 | 1 | 6 | unless ($self->{'result'}{'status'}) |
| 90 | 6 | 9 | if ($fedora_license_string =~ /AND/ms or $fedora_license_string =~ /OR/ms) { } |
| 4 | 5 | elsif ($fedora_license_string =~ /and/ms or $fedora_license_string =~ /or/ms) { } | |
| 101 | 4 | 1 | if ($self->{'spdx'}->check_license($fedora_license_string)) { } |
| 157 | 47 | 16 | if (ref $value eq '') { } |
| 16 | 0 | elsif (ref $value eq 'ARRAY') { } | |
| 158 | 31 | 16 | if ($value ne "||" and $value ne "&&") |