Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 99270
LTAnalyzer: Graph-Based Learning to Detect License Terms for Open Source Software

Authors: Guangjie Li, Shengjie Hou, Yi Tang, Zhihua Zhang, Yan He

Abstract:

Open-source software (OSS) licenses specify the conditions to use, modify and redistribute software. They define key license terms, such as copyright, patent rights, and distribution rules, to dictate the rules of using the software. However, it is impractical for developers to manually identify license terms for the complexity and length of licenses, especially when custom or modified licenses are involved in OSS. To bridge this gap, this paper proposes LTAnalyzer to perform license term identification, which automatically identifies the sentences related to license terms in OSS. LTAnalyzer is a learning-based approach that uses a graph network to capture the structure and content information of sentences related to a license term. Based on this network, a graph-based neural network is trained to differentiate license terms and select relevant sentences. Evaluations demonstrate that LTAnalyzer achieves high accuracy, with precision, recall, and Fscore values of 0.950, 0.832, and 0.891, respectively, outperforming state-of-the-art methods by up to 12.8%. For 23 common license terms, LTAnalyzer consistently achieves over 80% precision and recall. This advancement enhances the efficiency and accuracy of license term detection, supporting the growing open-source ecosystem.

Keywords: license term, software license, open source software, graph neural network

Procedia PDF Downloads 103