Branch Coverage

blib/lib/Fedora/RPM/Spec/License.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
70 2 7 unless ($self->{'result'}{'status'})
80 1 6 unless ($self->{'result'}{'status'})
94 8 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) { }
105 4 1 if ($self->{'spdx'}->check_license($fedora_license_string)) { }
156 2 10 if ($Fedora::RPM::Spec::License::EVAL_ERROR)
166 47 16 if (ref $value eq '') { }
16 0 elsif (ref $value eq 'ARRAY') { }
167 31 16 if ($value ne "||" and $value ne "&&")