遇见数据集

Is regional context associated with code quality? Mining Stack Overflow snippets across the United States – Replication Package

收藏
Zenodo2026-05-09 更新2026-05-26 收录
官方服务:

资源简介:

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.

本复现包配套于论文《地域语境是否与代码质量相关?全美Stack Overflow代码片段挖掘研究》。 本研究针对五种编程语言(SQL、JavaScript、Python、Ruby及Java)中,标注有自我申报美国地域位置的Stack Overflow问答代码片段展开分析。研究从可靠性、可读性、性能及安全性四个维度,对代码片段的质量进行评估。定量分析以美国各州及城市的违规密度为基准展开,相关分析则探究州级社会经济指标与代码质量违规模式之间的关联关系。此外,本研究还针对三个典型州的代码片段开展归纳式内容分析,为定量研究结果提供定性层面的研究深度。 本复现包包含支撑本研究方法论与研究结果的补充材料,具体包括语言分类校验、超出核心上报违规项的违规结果输出、用于LOC(代码行,Lines of Code)与LLOC(逻辑代码行,Logical Lines of Code)处理的正则表达式演示、州级与城市级补充结果、相关矩阵以及内容分析材料。 本复现包的发布旨在提升研究透明度、支持成果复现,并为该研究的实证流程提供进一步审视空间。使用时需结合原论文进行解读,尤其需关注其方法论假设、有效性威胁,以及针对地域关联的因果性或个体层面解读的警示说明。

提供机构:
Zenodo
创建时间:
2026-05-09
二维码
社区交流群
二维码
科研交流群
商业服务