# On the Impact of Programming Languages on Code Quality

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

arXiv: 1901.10220 · 2020-04-29

## TL;DR

This study replicates and critically reanalyzes prior research on programming languages and code defects, finding fewer significant associations and emphasizing the importance of rigorous statistical methods.

## Contribution

It provides a thorough reanalysis of previous findings, identifying flaws and refining conclusions about language-defect associations in software projects.

## Key findings

- Only four languages show significant defect associations
- Effect sizes for these associations are very small
- Original claims about eleven languages are not fully supported

## 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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1901.10220/full.md

## Figures

11 figures with captions in the complete paper: https://tomesphere.com/paper/1901.10220/full.md

## References

23 references — full list in the complete paper: https://tomesphere.com/paper/1901.10220/full.md

---
Source: https://tomesphere.com/paper/1901.10220