Skip to main content
QUICK REVIEW

[Paper Review] Code forking in open-source software: a requirements perspective

Neil Ernst, Steve Easterbrook|arXiv (Cornell University)|Apr 16, 2010
Software Engineering ResearchComputer Science24 references25 citations
TL;DR

This paper investigates code forking in open-source software from a requirements engineering perspective, using Trac's fork into DrProject as a case study. It finds that forking successfully addressed new requirements—specifically usability and maintainability—demonstrating that forking can be an effective strategy for adapting existing OSS to new contexts when functional needs diverge.

ABSTRACT

To fork a project is to copy the existing code base and move in a direction different than that of the erstwhile project leadership. Forking provides a rapid way to address new requirements by adapting an existing solution. However, it can also create a plethora of similar tools, and fragment the developer community. Hence, it is not always clear whether forking is the right strategy. In this paper, we describe a mixed-methods exploratory case study that investigated the process of forking a project. The study concerned the forking of an open-source tool for managing software projects, Trac. Trac was forked to address differing requirements in an academic setting. The paper makes two contributions to our understanding of code forking. First, our exploratory study generated several theories about code forking in open source projects, for further research. Second, we investigated one of these theories in depth, via a quantitative study. We conjectured that the features of the OSS forking process would allow new requirements to be addressed. We show that the forking process in this case was successful at fulfilling the new projects requirements.

Motivation & Objective

  • To understand the role of requirements in driving code forking in open-source projects.
  • To examine the process and challenges of forking an existing open-source tool to meet new functional and non-functional requirements.
  • To evaluate whether forking can effectively address new requirements not present in the original project.
  • To explore the social, technical, and maintainability implications of forking from a requirements engineering standpoint.

Proposed method

  • Conducted a mixed-methods sequential study: first qualitative (grounded theory) analysis of interviews and surveys with Trac and DrProject developers.
  • Identified key theories about forking, then selected one for quantitative validation.
  • Measured codebase maintainability using static code metrics (e.g., cyclomatic complexity, code churn) on both Trac and DrProject.
  • Assessed usability through qualitative interface analysis, focusing on interface complexity and user-friendliness.
  • Used a confirmatory approach to test whether the forked system satisficed key non-functional requirements.
  • Applied reverse engineering techniques to compare goal models and assess trade-offs in requirements evolution.

Experimental results

Research questions

  • RQ1What role do differing requirements play in motivating the forking of open-source software?
  • RQ2How does forking impact the maintainability and usability of the resulting software systems?
  • RQ3To what extent can a fork successfully address new requirements not present in the original project?
  • RQ4What are the social and technical trade-offs involved in forking, particularly regarding community cohesion and code evolution?
  • RQ5How do non-functional requirements like modularity and testability change across a forked system?

Key findings

  • The DrProject fork successfully addressed new requirements specific to undergraduate software project management, particularly in usability and maintainability.
  • Code metrics showed that DrProject had improved maintainability compared to Trac, with lower cyclomatic complexity and better code structure.
  • Qualitative usability analysis indicated that DrProject’s interface was simpler and more intuitive for novice users compared to Trac.
  • The fork did not result in negative community feedback, suggesting that technical motivations for forking can coexist with community goodwill.
  • The primary costs of forking were the loss of shared bug fixes and the challenge of building a new community from scratch.
  • The study confirms that forking can be a viable strategy for adapting open-source software to new domains when requirements diverge significantly.

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.