Condition Coverage

blib/lib/SBOM/CycloneDX/License.pm
Criterion Covered Total %
condition 8 14 57.1


and 3 conditions

line !l l&&!r l&&r condition
50 4 18 0 exists $args->{'id'} and exists $args->{'name'}
89 0 18 0 $self->id and $self->id =~ /(\bWITH\b|\bOR\b|\bAND\b)/i
95 0 18 0 $self->id and $self->id =~ /^(NOASSERTION|NONE)$/
124 54 99 148 defined $spdx_license and not &first(sub { $_ eq $spdx_license; } , @{"SBOM::CycloneDX::Enum"->SPDX_LICENSES;})

or 2 conditions

line l !l condition
21 0 16 $ENV{'SBOM_DEBUG'} || 0