On the Impact of Programming Languages on Code Quality
Abstract
This paper is a reproduction of work by Ray et al. which claimed to have uncovered a statistically significant association between eleven programming languages and software defects in projects hosted on GitHub. First we conduct an experimental repetition, repetition is only partially successful, but it does validate one of the key claims of the original work about the association of ten programming languages with defects. Next, we conduct a complete, independent reanalysis of the data and statistical modeling steps of the original study. We uncover a number of flaws that undermine the conclusions of the original study as only four languages are found to have a statistically significant association with defects, and even for those the effect size is exceedingly small. We conclude with some additional sources of bias that should be investigated in follow up work and a few best practice recommendations for similar efforts.
Cite
@article{arxiv.1901.10220,
title = {On the Impact of Programming Languages on Code Quality},
author = {Emery D. Berger and Celeste Hollenbeck and Petr Maj and Olga Vitek and Jan Vitek},
journal= {arXiv preprint arXiv:1901.10220},
year = {2020}
}
Comments
Accepted, to appear in TOPLAS (ACM Transactions of Programming Languages and Systems)