arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.10220cs.SE
收藏

论程序设计语言对代码质量的影响

On the Impact of Programming Languages on Code Quality

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

摘要:

这篇论文是Ray等人的工作的复制,他们声称已经发现了11种程序设计语言与GitHub上托管的项目中的软件缺陷之间的统计学显著关联。首先,我们进行一个实验性的重复,重复只是部分成功,但它确实验证了原始工作的一个关键主张,即十种程序设计语言与缺陷的关联。接下来,我们对原始研究的数据和统计建模步骤进行完整的独立重新分析。我们发现了一些缺陷,这些缺陷破坏了原始研究的结论,因为只有四种语言被发现与缺陷有统计学上的显着关联,即使对于那些语言,效果也非常小。最后,我们总结了一些额外的偏见来源,应该在后续工作中进行调查,并为类似的努力提出了一些最佳实践建议。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑