Rebuttal to Berger et al., TOPLAS 2019

Baishakhi Ray, Prem Devanbu, Vladimir FilkovarXiv 2019

Introduction

The process of scientific discovery often involves intense debate, particularly when high-stakes empirical studies are challenged by reproduction efforts. This paper serves as a detailed rebuttal by Ray et al. to a critique published by Berger et al. in TOPLAS 2019. The critique aimed to debunk Ray et al.’s landmark study on the relationship between programming languages and code quality. Ray et al. argue that the critics actually confirmed their core findings but utilized overly conservative statistical methods and misleading framing to claim a contradiction.

The Problem: Interpreting Replication

In 2014 and 2017, Ray et al. published a massive study of GitHub projects suggesting that certain programming languages (notably functional ones) are less prone to bugs. Berger et al.’s 2019 "reproduction study" claimed these results were "beyond repair." This rebuttal addresses the fundamental challenge of scientific replication: how to interpret results when two groups analyze the same data but reach different conclusions due to statistical choices and data cleaning "triage."

Methodology of the Rebuttal

Ray et al. perform a meta-analysis of the critique, focusing on three main areas:

  • Statistical Comparison: They contrast the use of the Bonferroni correction (used by the critics) with the False Discovery Rate (FDR). They argue the former is "overly conservative" for exploratory empirical studies, effectively washing out real, albeit small, effects.
  • Data Visualization Audit: They analyze the critics' charts to show how specific choices misrepresented the amount of "missing data" in the original study.
  • Manual Verification: They performed a manual audit of a subset of commits that the critics claimed were mislabeled, finding that the original automated labels were often more accurate than the critics' manual annotations.

Key Insights: Statistical Sword-Fighting

A major point of contention is the handling of p-values. Ray et al. demonstrate that if a more balanced correction like FDR is used, the original results remain statistically significant. Furthermore, they point out that the critics focused heavily on an early conference abstract (FSE 2014) rather than the refined journal version (CACM 2017), which had already addressed several issues like TypeScript classification.

Comparison of coefficients and p-values between the original studies (FSE and CACM) and the repetition across various programming languages.

As shown in the figure above, the coefficients produced by the repetition study are remarkably similar to those in the original FSE and CACM papers. The primary difference lies in the p-values, which are sensitive to the choice of correction method.

The Impact of Reclassification

The authors also address the subjectivity of language classification (e.g., "Strong" vs. "Weak" typing). By comparing the original results with repetition and reclassification models, they show that core patterns persist even when categories are shifted.

Comparison of original results against repetition and reclassification models for language paradigms.

The table above illustrates that while reclassification can change the significance of certain paradigms, the underlying coefficients for the "Repetition" model (b) are nearly identical to the "Original" model (a).

Key Results and Conclusion

Ray et al. demonstrate that using the critics' own "cleaned" data with a standard FDR correction, 7 out of 9 of the original language-bug associations remain significant. Both studies ultimately agree that the effect of programming language on bug-proneness is small. However, Ray et al. argue that "small" does not mean "non-existent."

The rebuttal highlights that manual human labeling is just as prone to error as automated methods and that the "missing data" highlighted by critics was often an artifact of specific file extension handling rather than a systemic failure. Ultimately, the paper reinforces the original conclusion: while modest, the choice of programming language does have a statistically significant impact on software quality.

Summary updated

BibTeX
@misc{ray2019rebuttal,
  author = {Baishakhi Ray and Prem Devanbu and Vladimir Filkov},
  title = {{Rebuttal to Berger et al., TOPLAS 2019}},
  year = {2019},
  eprint = {1911.07393},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07393},
}
Figure