Skip to main content
QUICK REVIEW

[Paper Review] An Exploratory Mixed-Methods Study on General Data Protection Regulation (GDPR) Compliance in Open-Source Software

Lucas Franke, Huayu Liang|arXiv (Cornell University)|Jun 20, 2024
Privacy, Security, and Data ProtectionSocial Sciences5 citations
TL;DR

This study explores how GDPR compliance affects open-source software (OSS) development via a survey of OSS developers (N=56) and a GitHub pull request analysis (N=31,462 PRs), finding GDPR adds development burden and increases coding/review activity, with generally negative developer perceptions.

ABSTRACT

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.

Motivation & Objective

  • Characterize how GDPR compliance affects OSS development activities.
  • Assess OSS developers’ perceptions of fulfilling GDPR requirements.
  • Identify the most challenging GDPR concepts for OSS implementation.
  • Evaluate how OSS developers assess GDPR compliance within OSS projects.

Proposed method

  • Conducted a multi-phase study combining an online survey of OSS developers (N=56) with a repository mining analysis of GDPR-related and non-GDPR-related GitHub pull requests (N=31,462).
  • Applied framework analysis for qualitative survey data with pilot interviews (n=3) and open coding with Cohen’s kappa for inter-rater reliability.
  • Collected GDPR and non-GDPR PRs via GitHub REST API (GDPR: 15,731 PRs across 6,513 repos; non-GDPR: 15,731 PRs) and computed development metrics per PR (comments, active time, commits, additions, deletions, changed files, status).
  • Applied Mann-Whitney U tests with Benjamini-Hochberg correction to compare GDPR vs non-GDPR PR metrics and computed effect sizes.
  • Employed NLP sentiment analysis (Liu-Hu, VADER, SentiArt) on PR titles/bodies/commit messages/reviews/discussions to compare GDPR vs non-GDPR PRs over time.

Experimental results

Research questions

  • RQ1RQ1: How does GDPR compliance influence development activity on OSS projects?
  • RQ2RQ2: How do OSS developers perceive fulfilling GDPR requirements?
  • RQ3RQ3: What GDPR concepts do OSS developers find most challenging to implement?
  • RQ4RQ4: How do OSS developers assess GDPR compliance?

Key findings

  • GDPR compliance negatively affects OSS development by increasing data management concerns, time, and costs.
  • GDPR-related PRs show significantly more coding and review activity (comments, active time, commits, additions, deletions, changed files) than non-GDPR PRs.
  • Most survey respondents report negative perceptions of GDPR, citing cost, organizational impact, and enforcement concerns; a minority report positive privacy benefits.
  • Sentiment analysis indicates GDPR-related PR discussions tend to have more positive sentiment than non-GDPR PRs, with time-stable sentiment differences across the period studied.
  • Developers often rely on ad hoc methods rather than formal legal consultation to verify GDPR compliance, and interactions with legal experts can hinder development processes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.