kth.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Properties of Common Dependencies in the NPM Ecosystem
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2023 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

The utilization of dependencies has become a very central part of softwaredevelopment. Dependencies themselves often have dependencies, creating so calleddependency trees, that make up the supply chain of software. This study performs data analysison dependency trees of 100 popular packages in the NPM ecosystem. It starts by inquiring howthese dependency trees change over time go and then finds some of the most commonly useddependencies. Results suggest the evolution of dependency trees is very unpredictable, with noclear pattern in how trees change over time. It also finds that dependencies are concerninglywidespread, with the top 10 all appearing in 25% of all packages. Furthermore, thesedependencies all tend to be small, functionally simple, and transitive and have inconsistentprevalences. The authors argue that these dependencies pose a serious risk and highlight theneed for better dependency management and software diversity.

Abstract [sv]

Användningen av mjukvaruberoende – tredjepartsmjukvara – har blivitcentral i mjukvaruutveckling. Dessa mjukvaruberoenden i sig använder ofta själva andratredjepartsprogram, vilken skapar stora träd av mjukvaruberoende somutgör leverantörskedjan till mjukvara. Denna studie gör en dataanalys av 100 populära paket iNPM ekosystemet. Den börjar med att undersöka hur dessa träd förändras över tid och gårsedan vidare till att leta efter de vanligast förekommande paketen i träden för alla 100 programsom undersöks. Resultaten visar att träden utvecklas väldigt oförutsägbart och det finns ingatydliga mönster i hur de ändras över tid. Vidare dras slutsatsen att de vanligt förekommandepaketen tenderar att vara små, funktionellt enkla, transitiva och existera inkonsekvent i träden.Författarna argumenterar f ̈ or att dessa mjukvaruberoenden utgör en signifikant risk och menaratt det finns ett behov av bättre hantering av tredjepartsprogram och mer mångfald imjukvaruekosystemet.

Place, publisher, year, edition, pages
2023. , p. 729-740
Series
TRITA-EECS-EX ; 2023:200
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:kth:diva-341791OAI: oai:DiVA.org:kth-341791DiVA, id: diva2:1823521
Supervisors
Examiners
Projects
Kandidatexjobb i elektroteknik 2023, KTH, StockholmAvailable from: 2024-01-02 Created: 2024-01-02

Open Access in DiVA

fulltext(211487 kB)396 downloads
File information
File name FULLTEXT01.pdfFile size 211487 kBChecksum SHA-512
69786101c351a58f7bd524c3aeee40c661028b577366c4a725033372b88c624c87c2183b6acca2d3d43bbd2bb2f3942326c69263e70c99cf1db027ce9c4e9ae2
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 396 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 220 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf