Is regional context associated with code quality? Mining Stack Overflow snippets across the United States – Replication Package
收藏资源简介:
This replication package accompanies the manuscript “Is Regional Context Associated with Code Quality? Mining Stack Overflow Snippets Across the United States”. The study examines Stack Overflow answer snippets associated with self-reported United States locations across five programming languages: SQL, JavaScript, Python, Ruby, and Java. It evaluates snippet-level quality across four dimensions: reliability, readability, performance, and security. The quantitative analysis benchmarks violation densities across US states and cities, while the correlational analysis examines how state-level socioeconomic indicators are associated with code-quality violation patterns. The study also includes inductive content analyses of snippets from three representative states to provide qualitative depth to the quantitative findings. This package contains supplementary materials supporting the study’s methodology and results, including language-classification checks, violation outputs beyond the top reported violations, regular-expression demonstrations for LOC and LLOC processing, state- and city-level supplementary results, correlation matrices, and content-analysis materials. The package is provided to support transparency, reproducibility, and further examination of the study’s empirical pipeline. It should be interpreted in conjunction with the manuscript, particularly its methodological assumptions, threats to validity, and caution against causal or individual-level interpretations of regional associations.



