A Study of Potential Code Borrowing and License Violations in Java Projects on GitHub
Not on the map. Why?
Abstract (arXiv)
With an ever-increasing amount of open source software, the popularity of services like GitHub that facilitate code reuse, and common misconceptions about the licensing of open source software, the problem of license violations in the code is getting more and more prominent. In this study, we compile an extensive corpus of popular Java projects from GitHub, search it for code clones and perform an original analysis of possible code borrowing and license violations on the level of code fragments. We chose Java as a language because of its popularity in industry, where the plagiarism problem is especially relevant because of possible legal action. We analyze and discuss distribution of 94 different discovered and manually evaluated licenses in files and projects, differences in the licensing of files, distribution of potential code borrowing between licenses, various types of possible license violations, most violated licenses, etc. Studying possible license violations in specific blocks of code, we have discovered that 29.6% of them might be involved in potential code borrowing and 9.4% of them could potentially violate original licenses.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 12 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 4.
5 papers.
- 2021CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoningcited by 47
- 2024PeaTMOSS: A Dataset and Initial Analysis of Pre-Trained Models in Open-Source Softwarecited by 9
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2024Full Line Code Completion: Bringing AI to Desktopcited by 4
- 2024Untangling Knots: Leveraging LLM for Error Resolution in Computational Notebookscited by 2
- 2024Full Line Code Completion: Bringing AI to Desktop14 May 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024Untangling Knots: Leveraging LLM for Error Resolution in Computational Notebooks26 Mar 2024
- 2024PeaTMOSS: A Dataset and Initial Analysis of Pre-Trained Models in Open-Source Software1 Feb 2024
- 2021CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoning25 Oct 2021