Commit ad83db5
committed
test(coverage): output-purls-shallow-score.mts to 100%
Adds tests for two previously-uncovered paths in the missing-PURL +
artifact-dedup logic:
- @latest dedup branch (line 211): when @latest and a versioned PURL
for the same package are both requested, @latest is filtered out
from the missing-list (the versioned data covers it)
- artifact dedup score-merge (lines 228, 231, 234): when two artifacts
produce the same purl key, the merge picks the lower of each score
field (supplyChain, maintenance, quality, vulnerability)
output-purls-shallow-score.mts: 95.12% → 100%.1 parent ed38b0b commit ad83db5
1 file changed
Lines changed: 41 additions & 0 deletions
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
111 | 152 | | |
0 commit comments