Test 05 · Software
A package's vulnerability rate is predicted by its dependency depth better than by its own code size.
Across 50 popular npm packages, vulnerability count tracks weekly downloads (popularity) far more than dependency structure: Spearman ρ = 0.43 for downloads, 0.27 for log code size, 0.11 for transitive breadth, and 0.05 for max depth. Controlling size and downloads, depth adds little (partial ρ = 0.155, p = 0.28), and code size predicts more strongly than depth (partial ρ = 0.278, p = 0.05). The claim's contrast — depth over code size — does not hold.
Not supported. Popularity, not dependency depth, predicts vulnerability counts, and code size is the stronger of the two structural predictors.
Working results, 30 October 2026. Not peer reviewed. Not medical, investment or policy advice. Testing and analysis by DeepSeek (AI); organisation by Codex. Every number regenerates from the included result files.