Lune

USENIX Security2025顶会

Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets

Alfusainey Jallow, Sven Bugiel

摘要

We study the impact of Stack Overflow code evolution on the stability of prior research findings derived from Stack Overflow data and provide recommendations for future studies. We systematically reviewed papers published between 2005--2023 to identify key aspects of Stack Overflow that can affect study results, such as the language or context of code snippets. Our analysis reveals that certain aspects are non-stationary over time, which could lead to different conclusions if experiments are repeated at different times. We replicated six studies using a more recent dataset to demonstrate this risk. Our findings show that four papers produced significantly different results than the original findings, preventing the same conclusions from being drawn with a newer dataset version. Consequently, we recommend treating Stack Overflow as a time series data source to provide context for interpreting cross-sectional research conclusions.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • Stack Overflow Considered Helpful! Deep Learning Security Nudges Towards Stronger Cryptography 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
  • Stack Overflow Considered Helpful! Deep Learning Security Nudges Towards Stronger Cryptography 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper15

  1. You Get Where You're Looking for: The Impact of Information Sources on Code SecurityYasemin Acar, Michael Backes, Sascha Fahl, Doowon Kim 等S&P 2016 · 325 次引用
  2. Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application SecurityFelix Fischer, Konstantin Böttinger, Huang Xiao, Christian Stransky 等S&P 2017 · 293 次引用
  3. Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 次引用
  4. Reproducibility and Replicability of Web Measurement StudiesNurullah Demir, Matteo Große-Kampmann, Tobias Urban, Christian Wressnegger 等WWW 2022 · 47 次引用
  5. Stack Overflow Considered Helpful! Deep Learning Security Nudges Towards Stronger CryptographyFelix Fischer, Huang Xiao, Ching-yu Kao, Yannick Stachelscheid 等USENIX Security 2019 · 44 次引用

相关 Paper

  1. Measuring the Effects of Stack Overflow Code Snippet Evolution on Open-Source Software SecurityAlfusainey Jallow, Michael Schilling, Michael Backes, Sven BugielS&P 2024 · 6 次引用
  2. Demystifying Issues, Challenges, and Solutions for Multilingual Software DevelopmentHaoran Yang, Weile Lian, Shaowei Wang, Haipeng CaiICSE 2023 · 11 次引用
  3. Sharing Software-Evolution Datasets: Practices, Challenges, and RecommendationsDavid Broneske, Sebastian Kittan, Jacob KrügerFSE 2024 · 4 次引用
  4. Code Cloning in Solidity Smart Contracts: Prevalence, Evolution, and Impact on DevelopmentRan Mo, Haopeng Song, Wei Ding, Chaochao WuICSE 2025 · 1 次引用
  5. On the vulnerability proneness of multilingual codeWen Li, Li Li, Haipeng CaiFSE 2022 · 22 次引用
黄昏的海面,两侧是细线勾勒的悬崖