LiResolver: License Incompatibility Resolution for Open Source Software

06/26/2023
by   Sihan Xu, et al.
0

Open source software (OSS) licenses regulate the conditions under which OSS can be legally reused, distributed, and modified. However, a common issue arises when incorporating third-party OSS accompanied with licenses, i.e., license incompatibility, which occurs when multiple licenses exist in one project and there are conflicts between them. Despite being problematic, fixing license incompatibility issues requires substantial efforts due to the lack of license understanding and complex package dependency. In this paper, we propose LiResolver, a fine-grained, scalable, and flexible tool to resolve license incompatibility issues for open source software. Specifically, it first understands the semantics of licenses through fine-grained entity extraction and relation extraction. Then, it detects and resolves license incompatibility issues by recommending official licenses in priority. When no official licenses can satisfy the constraints, it generates a custom license as an alternative solution. Comprehensive experiments demonstrate the effectiveness of LiResolver, with 4.09 rate for incompatibility issue localization, and 62.61 incompatible projects resolved by LiResolver. We discuss the feedback from OSS developers and the lessons learned from this work. All the datasets and the replication package of LiResolver have been made publicly available to facilitate follow-up research.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/23/2023

GiveMeLabeledIssues: An Open Source Issue Recommendation System

Developers often struggle to navigate an Open Source Software (OSS) proj...
research
12/09/2020

From One to Hundreds: Multi-Licensing in the JavaScript Ecosystem

Open source licenses create a legal framework that plays a crucial role ...
research
02/02/2022

A Versatile Dataset of Agile Open Source Software Projects

Agile software development is nowadays a widely adopted practise in both...
research
10/02/2021

The Need for a Fine-grained approach in Just-in-Time Defect Prediction

With software system complexity leading to the rise of software defects,...
research
06/13/2022

OpenCBS: An Open-Source COBOL Defects Benchmark Suite

As the current COBOL workforce retires, entry-level developers are left ...
research
03/31/2022

SLNET: A Redistributable Corpus of 3rd-party Simulink Models

MATLAB/Simulink is widely used for model-based design. Engineers create ...
research
09/24/2018

WiRe57 : A Fine-Grained Benchmark for Open Information Extraction

We build a reference for the task of Open Information Extraction, on fiv...

Please sign up or login with your details

Forgot password? Click here to reset