2018
DOI: 10.1007/s10664-018-9650-5
|View full text |Cite
|
Sign up to set email alerts
|

Usage and attribution of Stack Overflow code snippets in GitHub projects

Abstract: Stack Overflow (SO) is the most popular question-and-answer website for software developers, providing a large amount of copyable code snippets. Using those snippets raises maintenance and legal issues. SO's license (CC BY-SA 3.0) requires attribution, i.e., referencing the original question or answer, and requires derived work to adopt a compatible license. While there is a heated debate on SO's license model for code snippets and the required attribution, little is known about the extent to which snippets ar… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

1
44
0

Year Published

2019
2019
2022
2022

Publication Types

Select...
4
2
1

Relationship

2
5

Authors

Journals

citations
Cited by 68 publications
(45 citation statements)
references
References 51 publications
(65 reference statements)
1
44
0
Order By: Relevance
“…Xia et al [42] describe that it is common for developers to search for reusable code snippets on the web. In particular when developers want to copy such snippets into their projects, ATTRIBUTION links can be helpful to decide under which license the content can be used, a problem which many developers are not aware of [43].…”
Section: Related Workmentioning
confidence: 99%
“…Xia et al [42] describe that it is common for developers to search for reusable code snippets on the web. In particular when developers want to copy such snippets into their projects, ATTRIBUTION links can be helpful to decide under which license the content can be used, a problem which many developers are not aware of [43].…”
Section: Related Workmentioning
confidence: 99%
“…This section describes the data collection pipeline. Due to the large portion of unattributed SO examples in GitHub [5,6,12], it is challenging to construct a complete set of reused code from SO to GitHub. To overcome this limitation, we apply four quality-control filters to underapproximate and overapproximate code examples reused from SO to GitHub, resulting in two complementary datasets.…”
Section: Linking Stack Overflow To Githubmentioning
confidence: 99%
“…Our work is motivated by the finding that developers often resort to online Q&A forums such as Stack Overflow [3]- [6]. Despite the wide usage of SO, most developers are not aware of the SO licensing terms nor attribute to the code reused from SO [5,6,12]. Only 1.8% of GitHub repositories containing code from SO follow the licensing policy properly [5].…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations