Code duplication on stack overflow
Sebastian Baltes,Christoph Treude +1 more
- 27 Jun 2020
- pp 13-16
6
TL;DR: In this paper, the authors 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.
read more
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.Ccs Concepts• Software and its engineering → Maintaining software.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Crowdsmelling: A preliminary study on using collective knowledge in code smells detection
TL;DR: In this article , the authors present the results of a validation experiment for the crowd-smelling approach proposed earlier, where the wisdom of the crowd (of software developers) is used to collectively calibrate code smells detection algorithms, thereby lessening the subjectivity issue.
Clone Detection Techniques for JavaScript and Language Independence: Review
TL;DR: This paper will be focusing on clone detection research done to target clones in JavaScript code and discuss its areas of concern, and summarize language independent research done and possibility of its application on JavaScript and web applications.
On the Security Blind Spots of Software Composition Analysis
Jens Dietrich,Shawn Rasheed,Alexander Jordan,Tim White +3 more
- 19 Nov 2023
1
An Exploratory Study of Analyzing JavaScript Online Code Clones
Rakib Hossain Misu,Abdus Satter +1 more
- 01 May 2022
TL;DR: Analysis of online code reusing patterns could identify outdated code, understand developers' practices, and help to design new code search engines.
1
•Posted Content
Crowdsmelling: The use of collective knowledge in code smells detection
TL;DR: In this paper, the authors proposed a crowd-smelling approach based on supervised machine learning techniques, where the wisdom of the crowd is used to collectively calibrate code smells detection algorithms, thereby lessening the subjectivity issue.
References
Comparison and Evaluation of Clone Detection Tools
TL;DR: An experiment is presented that evaluates six clone detectors based on eight large C and Java programs (altogether almost 850 KLOC) and selects techniques that cover the whole spectrum of the state-of-the-art in clone detection.
Do code clones matter
Elmar Juergens,Florian Deissenboeck,Benjamin Hummel,Stefan Wagner +3 more
- 16 May 2009
TL;DR: For the analyzed commercial and open source systems, it was found that inconsistent changes to clones are very frequent but also identified a significant number of faults induced by such changes.
How do programmers ask and answer questions on the web? (NIER track)
Christoph Treude,Ohad Barzilay,Margaret-Anne Storey +2 more
- 21 May 2011
TL;DR: In this article, the authors analyze data from Stack Overflow to categorize the kinds of questions that are asked, and explore which questions are answered well and which ones remain unanswered.
Do Code Clones Matter
TL;DR: In this paper, the authors present the results of a large-scale case study that was undertaken to find out if inconsistent changes to cloned code can indicate faults and identify a significant number of faults induced by such changes.
You Get Where You're Looking for: The Impact of Information Sources on Code Security
Yasemin Acar,Michael Backes,Sascha Fahl,Doowon Kim,Michelle L. Mazurek,Christian Stransky +5 more
- 22 May 2016
TL;DR: Analyzing how the use of information resources impacts code security confirms that API documentation is secure but hard to use, while informal documentation such as Stack Overflow is more accessible but often leads to insecurity.
330