The GNU project states that if a person contributes less than 15 lines of code to a project, their contributions are not "legally significant for copyright purposes".
Say there is a Web app project that uses the Bootstrap library. One of the contributors to the Web app project has merged just 1 pull request, with only 2 changes. The following was removed from style.css
:
body {
padding: 2rem 0;
}
And in index.html
, <body>
is changed to <body class="my-4">
.
Would this contribution be considered 1 line of code (if only including additions in the count), or 4 lines of code (including the sum of the additions and subtractions)?
In this scenario, the original author of the Web app project neglected to add a license to the repository, technically making it proprietary. The author seeks permission from all the contributors to re-license the code under a free license like the MIT (Expat), but some of them (including the above contributor) never responds. If the number of lines from each contributors totals to less than 15 lines, then assuming that the GNU project's counsel is correct, the author can change the repository license to the MIT (Expat) without committing copyright infringement.
P.S. This question bears some similarities to the "Can there be a copyright on negative code?" question, but that question is more general and does not take into account the issue of counting source lines of code.