[论文解读] An Exploratory Mixed-Methods Study on General Data Protection Regulation (GDPR) Compliance in Open-Source Software
本研究通过对开源软件(OSS)开发者的调查(N=56)与 GitHub pull request 分析(N=31,462 个 PRs)来探讨 GDPR 合规性如何影响 OSS 开发,发现 GDPR 增加开发负担并提高编码/审阅活动,开发者普遍持负面看法。
Background: Governments worldwide are considering data privacy regulations. These laws, e.g. the European Union's General Data Protection Regulation (GDPR), require software developers to meet privacy-related requirements when interacting with users' data. Prior research describes the impact of such laws on software development, but only for commercial software. Open-source software is commonly integrated into regulated software, and thus must be engineered or adapted for compliance. We do not know how such laws impact open-source software development. Aims: To understand how data privacy laws affect open-source software development. We studied the European Union's GDPR, the most prominent such law. We investigated how GDPR compliance activities influence OSS developer activity (RQ1), how OSS developers perceive fulfilling GDPR requirements (RQ2), the most challenging GDPR requirements to implement (RQ3), and how OSS developers assess GDPR compliance (RQ4). Method: We distributed an online survey to explore perceptions of GDPR implementations from open-source developers (N=56). We further conducted a repository mining study to analyze development metrics on pull requests (N=31462) submitted to open-source GitHub repositories. Results: GDPR policies complicate open-source development processes and introduce challenges for developers, primarily regarding the management of users' data, implementation costs and time, and assessments of compliance. Moreover, we observed negative perceptions of GDPR from open-source developers and significant increases in development activity, in particular metrics related to coding and reviewing activity, on GitHub pull requests related to GDPR compliance. Conclusions: Our findings motivate policy-related resources and automated tools to support data privacy regulation implementation and compliance efforts in open-source software.
研究动机与目标
- 描述 GDPR 合规性如何影响 OSS 开发活动。
- 评估 OSS 开发者对履行 GDPR 要求的看法。
- 识别对 OSS 实施中最具挑战性的 GDPR 概念。
- 评估 OSS 开发者在 OSS 项目中对 GDPR 合规性的评估方式。
提出的方法
- 进行多阶段研究,将对 OSS 开发者的在线调查(N=56)与对 GDPR 相关和非 GDPR 相关的 GitHub pull 请求的仓库挖掘分析(N=31,462)相结合。
- 对定性调查数据应用框架分析,包含试点访谈(n=3)和 Cohen’s kappa 的开放编码以评估评注者之间的一致性。
- 通过 GitHub REST API 收集 GDPR PR 和非 GDPR PR(GDPR:在 6,513 个仓库中共 15,731 个 PR;非 GDPR:15,731 个 PR),并计算每个 PR 的开发指标(评论、活跃时间、提交、增改、删除、修改的文件、状态)。
- 应用 Mann-Whitney U 检验并用 Benjamini-Hochberg 校正来比较 GDPR 与非 GDPR PR 指标,并计算效应量。
- 对 PR 标题/正文/提交信息/评审/讨论使用 NLP 情感分析(Liu-Hu、VADER、SentiArt)以随时间比较 GDPR 与非 GDPR PR。
实验结果
研究问题
- RQ1RQ1:GDPR 合规性如何影响 OSS 项目中的开发活动?
- RQ2RQ2:OSS 开发者如何看待履行 GDPR 要求?
- RQ3RQ3:OSS 开发者认为哪些 GDPR 概念在实现上最具挑战性?
- RQ4RQ4:OSS 开发者如何评估 GDPR 合规性?
主要发现
- GDPR 合规通过增加数据管理担忧、时间和成本,对 OSS 开发产生负面影响。
- GDPR 相关 PR 显示显著更多的编码和审阅活动(评论、活跃时间、提交、添加、删除、修改的文件)比非 GDPR PR 更高。
- 大多数调查受访者对 GDPR 持负面看法,指出成本、组织影响和执法担忧;少数报告积极的隐私收益。
- 情感分析表明 GDPR 相关 PR 讨论往往比非 GDPR PR 更积极,且在所研究周期中情感差异随时间稳定。
- 开发者通常依赖临时性方法而非正式法律咨询来验证 GDPR 合规性,与法律专家的互动可能阻碍开发过程。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。