The Software Heritage (SWH) dataset represents an invaluable source of open-source code as it aims to collect, preserve, and share all publicly available software in source code form ever produced by humankind. Although designed to archive deduplicated small files thanks to the use of a Merkle tree as the underlying data structure, querying the SWH dataset presents challenges due to the nature of these structures, which organize content based on hash values rather than any locality principle. The magnitude of the repository, coupled with the resource-intensive nature of the download process, highlights the need for specialized infrastructure and computational resources to effectively handle and study the extensive dataset housed within SWH. Currently, there is a lack of infrastructures specifically tailored for running analytics on the SWH dataset, leaving users to handle these issues manually. To address these challenges, we implemented the SWH-Analytics (SWHA) framework, a development environment that transparently runs custom analytic applications on publicly available software data preserved over time by SWH. Specifically, this work shows how SWHA can be effectively exploited to study usage patterns of free and open-source software licenses, highlighting the need to improve license literacy among developers.

Analyzing FOSS license usage in publicly available software at scale via the SWH-analytics framework

Antelmi A.
First
;
Aldinucci M.
Last
2024-01-01

Abstract

The Software Heritage (SWH) dataset represents an invaluable source of open-source code as it aims to collect, preserve, and share all publicly available software in source code form ever produced by humankind. Although designed to archive deduplicated small files thanks to the use of a Merkle tree as the underlying data structure, querying the SWH dataset presents challenges due to the nature of these structures, which organize content based on hash values rather than any locality principle. The magnitude of the repository, coupled with the resource-intensive nature of the download process, highlights the need for specialized infrastructure and computational resources to effectively handle and study the extensive dataset housed within SWH. Currently, there is a lack of infrastructures specifically tailored for running analytics on the SWH dataset, leaving users to handle these issues manually. To address these challenges, we implemented the SWH-Analytics (SWHA) framework, a development environment that transparently runs custom analytic applications on publicly available software data preserved over time by SWH. Specifically, this work shows how SWHA can be effectively exploited to study usage patterns of free and open-source software licenses, highlighting the need to improve license literacy among developers.
2024
Inglese
Comitato scientifico
1
35
35
https://link.springer.com/article/10.1007/s11227-024-06069-x
Free and open-source software; Large-scale analytics; License conflicts; License management; Software Heritage
no
   Third Party CINI - "ADMIRE - Adaptive multi-tier intelligent data manager for Exascale" - Call H2020-JTI-EuroHPC-2019-1 - Grant Agreement n. 956748 - CUP F69J21003450007
   ADMIRE
   EUROPEAN COMMISSION
   H2020
   ALDINUCCI M.-H2020 RIA - G.A. 956748
1 – prodotto con file in versione Open Access (allegherò il file al passo 6 - Carica)
262
7
Antelmi A.; Torquati M.; Corridori G.; Gregori D.; Polzella F.; Spinatelli G.; Aldinucci M.
info:eu-repo/semantics/article
open
03-CONTRIBUTO IN RIVISTA::03A-Articolo su Rivista
File in questo prodotto:
File Dimensione Formato  
s11227-024-06069-x.pdf

Accesso aperto

Tipo di file: PDF EDITORIALE
Dimensione 1.99 MB
Formato Adobe PDF
1.99 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1975935
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact