Automating License Rule Generation to Help Maintain Rule-based OSS License Identification Tools
Open Access
- 1 January 2023
- journal article
- research article
- Published by Information Processing Society of Japan in Journal of Information Processing
- Vol. 31, 2-12
Abstract
Many license identification tools have been proposed to support OSS reuse. License identification tools automatically identify OSS licenses declared in source files. Ninka is one of the most accurate license identification tools. Because OSS licenses are often newly created or inherited, rules built into license identification tools need to be created and updated on a regular basis. However, when a large number of unknown licenses are detected in large OSS products, it is not easy to manually create new rules. In our previous studies, we proposed a method for clustering license statements that Ninka determined to be unknown. In this paper, we propose a method to automatically generate license rules from the clustered license statements. Our approach further filters the license statements from the created clusters to extract sequential patterns and converts the extracted patterns into regular expressions. We conducted conduct a case study where our method is applied to 1, 821, 3, 561 and 2, 838 unknown license statement files respectively collected from FreeBSD v10.3.0, Linux Kernel v4.4.6, and Debian v7.8.0, to confirm the usefulness of our method. As a result, we confirmed that our method successfully generated license rules that take into consideration the orthographical variants and that our method also efficiently identified licenses with a small number of license rules. Furthermore, we found that adding the license rules generated by our method to Ninka improves the licensing rule performance.Keywords
This publication has 20 references indexed in Scilit:
- Do Software Developers Understand Open Source Licenses?2017
- On the Detection of Licenses Violations in the Android Ecosystem2016
- Clustering OSS License Statements toward Automatic Generation of License Rules2016
- When and why developers adopt and change software licenses2015
- Mining succinct and high-coverage API usage patterns from source code2013
- License risks from ad hoc reuse of code from the internetCommunications of the ACM, 2011
- An Investigation into the Impact of Software Licenses on Copy-and-paste Reuse among OSS Projects2011
- Automated software license analysisAutomated Software Engineering, 2009
- Impact of license choice on Open Source Software development activityJournal of the American Society for Information Science and Technology, 2009
- The FOSSology project2008