EUVIMEDObjevte EUVIMED
Crossref

On the Impact of Programming Languages on Code Quality

Emery D. Berger, Celeste Hollenbeck, Petr Maj, Olga Vitek, Jan Vitek

ACM Transactions on Programming Languages and Systems · 2019-12-31 · 41 (4) · 1-24

DOI: 10.1145/3340571 ↗

At a glance

Journal article in ACM Transactions on Programming Languages and Systems, published online on 2019-10-12. Written by Emery D. Berger and 4 co-authors. Cited 64 times so far (Crossref); 31 references. Funded by: Czech Ministry of Education, Youth and Sports, NSF, European Research Council under the European Union's Horizon 2020 research and innovation programme.

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

In a 2014 article, Ray, Posnett, Devanbu, and Filkov claimed to have uncovered a statistically significant association between 11 programming languages and software defects in 729 projects hosted on GitHub. Specifically, their work answered four research questions relating to software defects and programming languages. With data and code provided by the authors, the present article first attempts to conduct an experimental repetition of the original study. The repetition is only partially successful, due to missing code and issues with the classification of languages. The second part of this work focuses on their main claim, the association between bugs and languages, and performs a complete, independent reanalysis of the data and of the statistical modeling steps undertaken by Ray et al. in 2014. This reanalysis uncovers a number of serious flaws that reduce the number of languages with an association with defects down from 11 to only 4. Moreover, the practical effect size is exceedingly small. These results thus undermine the conclusions of the original study. Correcting the record is important, as many subsequent works have cited the 2014 article and have asserted, without evidence, a causal link between the choice of programming language for a given task and the number of software defects. Causation is not supported by the data at hand; and, in our opinion, even after fixing the methodological flaws we uncovered, too many unaccounted sources of bias remain to hope for a meaningful comparison of bug rates across languages.

Funding

  • Czech Ministry of Education, Youth and Sports
  • NSF
  • European Research Council under the European Union's Horizon 2020 research and innovation programme

Cite

APA

Berger, E. D., Hollenbeck, C., Maj, P., Vitek, O., & Vitek, J. (2019). On the Impact of Programming Languages on Code Quality. ACM Transactions on Programming Languages and Systems, 41(4), 1-24. https://doi.org/10.1145/3340571

Vancouver

Berger ED, Hollenbeck C, Maj P, Vitek O, Vitek J. On the Impact of Programming Languages on Code Quality. ACM Transactions on Programming Languages and Systems. 2019;41(4):1-24. doi:10.1145/3340571

BibTeX
@article{Berger2019,
  author = {Berger, Emery D. and Hollenbeck, Celeste and Maj, Petr and Vitek, Olga and Vitek, Jan},
  title = {On the Impact of Programming Languages on Code Quality},
  journal = {ACM Transactions on Programming Languages and Systems},
  year = {2019},
  volume = {41},
  number = {4},
  pages = {1--24},
  doi = {10.1145/3340571}
}
Start for free →