...
首页> 外文期刊>Empirical Software Engineering >Analyzing the effects of test driven development in GitHub
【24h】

Analyzing the effects of test driven development in GitHub

机译:在GitHub中分析测试驱动开发的效果

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:测试是软件开发生命周期中不可或缺的一部分,通过不同的过程模型以不同的严格程度进行测试。敏捷过程模型建议将测试驱动开发(TDD)作为降低成本和提高代码质量的主要实践。这项工作的目的是对这种做法进行成本效益分析。为此,我们对在某种程度上采用TDD的GitHub存储库进行了比较分析,以确定TDD如何影响软件开发效率和软件质量。我们根据2015年归档的GitHub存储库实施TDD的严格程度对其进行分类,从而创建了TDD频谱。然后,我们将该TDD频谱上这些存储库的各个子集与相同大小的控件集进行匹配和比较。控件集是来自所有GitHub存储库中符合某些特征的示例,并且至少包含一个测试文件。我们比较了TDD集与控件集在以下特征上的不同之处:测试文件数,平均提交速度,错误引用提交数,记录的问题数,持续集成的使用情况,拉取请求的数目以及分发的数量。每位作者提交。我们发现Java TDD项目相对较少。此外,我们用来比较类似TDD的项目和非TDD的项目的任何度量标准之间都几乎没有显着差异。因此,我们的结果并未揭示使用TDD的任何明显好处。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号