CISPA
Browse

Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets

Download (1.78 MB)
conference contribution
posted on 2025-05-21, 13:43 authored by Sven BugielSven Bugiel, Alfusainey JallowAlfusainey Jallow
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.

History

Primary Research Area

  • Empirical and Behavioral Security

Name of Conference

Usenix Security Symposium (USENIX-Security)

CISPA Affiliation

  • Yes

Open Access Type

  • Green

BibTeX

@conference{Bugiel:Jallow:2025, title = "Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets", author = "Bugiel, Sven" AND "Jallow, Alfusainey", year = 2025, month = 2 }

Usage metrics

    Categories

    No categories selected

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC