arrow
返回

Analyzing the effects of test driven development in GitHub

delete2017-11-25
delete11
PRE
AI
N
Neil C. Borle *
M
Meysam Feghhi
E
Eleni Stroulia
R
Russell Greiner
A
Abram Hindle
DOI:10.1007/s10664-017-9576-3delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Testing is an integral part of the software development lifecycle, approached with varying degrees of rigor by different process models. Agile process models recommend Test Driven Development (TDD) as a key practice for reducing costs and improving code quality. The objective of this work is to perform a cost-benefit analysis of this practice. To that end, we have conducted a comparative analysis of GitHub repositories that adopts TDD to a lesser or greater extent, in order to determine how TDD affects software development productivity and software quality. We classified GitHub repositories archived in 2015 in terms of how rigorously they practiced TDD, thus creating a TDD spectrum. We then matched and compared various subsets of these repositories on this TDD spectrum with control sets of equal size. The control sets were samples from all GitHub repositories that matched certain characteristics, and that contained at least one test file. We compared how the TDD sets differed from the control sets on the following characteristics: number of test files, average commit velocity, number of bug-referencing commits, number of issues recorded, usage of continuous integration, number of pull requests, and distribution of commits per author. We found that Java TDD projects were relatively rare. In addition, there were very few significant differences in any of the metrics we used to compare TDD-like and non-TDD projects; therefore, our results do not reveal any observable benefits from using TDD.
Keyword:
Test driven development
Human factors in software development
GitHub repositories
Continuous integration
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
university of alberta
学者数:
5.1W
论文数: 4.9W
被引数: 65
引用论文

引用论文

MRI of the Renal Veins
err1992-11-01
err0
PREAI
errClare M. C. Tempany; Ronald A. Morton; Fray F. Marshall
err分享
err收藏
Test Code Quality and Its Relation to Issue Handling Performance
err2014-11-01
err83
errOAAI
errAthanasiou, Dimitrios; Nugroho, Ariadi; Visser, Joost; Zaidman, Andy
err分享
err收藏