Condition Coverage

blib/lib/URI/PackageURL.pm
Criterion Covered Total %
condition 17 24 70.8


and 3 conditions

line !l l&&!r l&&r condition
114 0 0 103 $_ ne "" and $_ ne "."
194 454 17 2 $components{'type'} eq "npm" and $s4[1] =~ /^@/
471 0 2 $components{'type'} eq "npm" and $s4[1] =~ /^@/ and not $s4[1] =~ /\@.*@/
271 4740 1 5 defined $qualifiers->{$_} and ref $qualifiers->{$_} eq "ARRAY"
277 2371 2 0 defined $qualifiers->{'vers'} and ref $qualifiers->{'vers'} eq "URI::VersionRange"

or 2 conditions

line l !l condition
33 1232 394 delete $params{'qualifiers'} // {}
36 0 1626 delete $params{'validate'} // 1
334 0 9214 $pattern //= "^A-Za-z0-9\\-._~/"

or 3 conditions

line l !l&&r !l&&!r condition
142 0 5 305 $key eq "checksums" or $key eq "checksum"