Please use this identifier to cite or link to this item:
Scopus Web of Science® Altmetric
Type: Conference paper
Title: Code duplication on stack overflow
Author: Baltes, S.
Treude, C.
Citation: International Conference on Software Engineering, 2020, pp.13-16
Publisher: ACM
Publisher Place: online
Issue Date: 2020
Series/Report no.: International Conference on Software Engineering
ISBN: 9781450371261
ISSN: 0270-5257
Conference Name: ACM/IEEE International Conference on Software Engineering (ICSE) (6 Jul 2020 - 11 Jul 2020 : virtual online)
Statement of
Sebastian Baltes and Christoph Treude
Abstract: Despite the unarguable importance of Stack Overflow (SO) for the daily work of many software developers and despite existing knowledge about the impact of code duplication on software maintainability, the prevalence and implications of code clones on SO have not yet received the attention they deserve. In this paper, we motivate why studies on code duplication within SO are needed and how existing studies on code reuse differ from this new research direction. We present similarities and differences between code clones in general and code clones on SO and point to open questions that need to be addressed to be able to make data-informed decisions about how to properly handle clones on this important platform. We present results from a first preliminary investigation, indicating that clones on SO are common and diverse. We further point to specific challenges, including incentives for users to clone successful answers and difficulties with bulk edits on the platform, and conclude with possible directions for future work.
Keywords: Code duplication; code clones; software maintenance; software evolution; software licenses; stack overflow
Rights: © 2020 Copyright held by the owner/author(s). Publication rights licensed to ACM.
DOI: 10.1145/3377816.3381744
Grant ID:
Published version:
Appears in Collections:Aurora harvest 4
Computer Science publications

Files in This Item:
There are no files associated with this item.

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.