首页> 外文会议>IEEE International Conference on Software Maintenance and Evolution >The Co-evolution of Test Maintenance and Code Maintenance through the Lens of Fine-Grained Semantic Changes
【24h】

The Co-evolution of Test Maintenance and Code Maintenance through the Lens of Fine-Grained Semantic Changes

机译:通过细粒度语义变化镜头的测试维护和代码维护的共同演变

获取原文

摘要

Automatic testing is a widely adopted technique for improving software quality. Software developers add, remove and update test methods and test classes as part of the software development process as well as during the evolution phase, following the initial release. In this work we conduct a large scale study of 61 popular open source projects and report the relationships we have established between test maintenance, production code maintenance, and semantic changes (e.g, statement added, method removed, etc.). performed in developers' commits.We build predictive models, and show that the number of tests in a software project can be well predicted by employing code maintenance profiles (i.e., how many commits were performed in each of the maintenance activities: corrective, perfective, adaptive). Our findings also reveal that more often than not, developers perform code fixes without performing complementary test maintenance in the same commit (e.g., update an existing test or add a new one). When developers do perform test maintenance, it is likely to be affected by the semantic changes they perform as part of their commit.Our work is based on studying 61 popular open source projects, comprised of over 240,000 commits consisting of over 16,000,000 semantic change type instances, performed by over 4,000 software engineers.
机译:自动测试是一种普遍采用的技术,可提高软件质量。在初始版本之后,软件开发人员将在软件开发过程中的一部分添加,删除和更新测试方法和测试类以及在演义阶段。在这项工作中,我们进行了大规模研究的61个流行的开源项目,并报告了我们在测试维护,生产代码维护和语义变更之间建立的关系(例如,添加的语句,方法等)。在开发人员的提交中执行.we构建预测模型,并表明通过采用代码维护配置文件可以很好地预测软件项目中的测试数量(即,在每个维护活动中进行了多少个提交:纠正,完美,自适应)。我们的调查结果也揭示了,开发人员在不执行同一提交中执行代码修复的情况(例如,更新现有测试或添加新一个)而不会执行互补测试维护。当开发人员执行测试维护时,它可能会受到他们作为其提交的一部分执行的语义改变的影响。我们的工作基于研究61个流行的开源项目,该项目由超过240,000个由超过16,000,000个语义变换类型实例组成由4,000多名软件工程师进行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号