Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets (Extended Version)

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jallow, Alfusainey, Bugiel, Sven
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917977123717120
author Jallow, Alfusainey
Bugiel, Sven
author_facet Jallow, Alfusainey
Bugiel, Sven
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_16948
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets (Extended Version)
Jallow, Alfusainey
Bugiel, Sven
Cryptography and Security
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.
title Stack Overflow Meets Replication: Security Research Amid Evolving Code Snippets (Extended Version)
topic Cryptography and Security
url https://arxiv.org/abs/2501.16948