Opening book details…
Can I read Characterizing Duplicate Code Snippets between Stack Overflow and Tutorials on EtoBox?
Characterizing Duplicate Code Snippets between Stack Overflow and Tutorials by Manziba Akanda Nishi (Virginia Commonwealth University), Agnieszka Ciborowska (Virginia Commonwealth University), Kostadin Damevski (Virginia Commonwealth University) is a scholarly article available to read on EtoBox.
What is Characterizing Duplicate Code Snippets between Stack Overflow and Tutorials about?
Developers are usually unaware of the quality and lineage of information available on popular Web resources, leading to potential maintenance problems and license violations when reusing code snippets from these resources. In this paper, we study the duplication of code snippets between two popular sources of software development information: the Stack Overflow Q&A site and software development tutorials. Our goals are to empirically understand the scale of repeated information between these two sources, to gain insight into why developers copy information from one source to the other, and to understand the evolution of duplicated information over time. To this end, we correlate a set of nearly 600 tutorials on Android available on the Web to the SOTorrent dataset, which isolates code snippets from Stack Overflow posts and tracks their changes over time. Our findings reveal that there are over 1,400 duplicate code snippets related to Android on Stack Overflow. Code that was duplicated on the two sources is effective at answering Stack Overflow questions; a significant number (31%) of answers that contained a duplicate code block were chosen as the accepted answer. Qualitative analy
- Author
- Manziba Akanda Nishi (Virginia Commonwealth University), Agnieszka Ciborowska (Virginia Commonwealth University), Kostadin Damevski (Virginia Commonwealth University)
- Publisher
- IEEE
- Published
- 2019
- Language
- EN