首页> 外文期刊>The Journal of Systems and Software >Fast and accurate incremental feedback for students' software tests using selective mutation analysis
【24h】

Fast and accurate incremental feedback for students' software tests using selective mutation analysis

机译:使用选择性突变分析,学生的软件测试的快速准确增量反馈

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

摘要

As incorporating software testing into programming assignments becomes routine, educators have begun to assess not only the correctness of students' software, but also the adequacy of their tests. In practice, educators rely on code coverage measures, though its shortcomings are widely known. Mutation analysis is a stronger measure of test adequacy, but it is too costly to be applied beyond the small programs developed in introductory programming courses. We demonstrate how to adapt mutation analysis to provide rapid automated feedback on software tests for complex projects in large programming courses. We study a dataset of 1389 student software projects ranging from trivial to complex. We begin by showing that although the state-of-the-art in mutation analysis is practical for providing rapid feedback on projects in introductory courses, it is prohibitively expensive for the more complex projects in subsequent courses. To reduce this cost, we use a statistical procedure to select a subset of mutation operators that maintains accuracy while minimizing cost. We show that with only 2 operators, costs can be reduced by a factor of 2-3 with negligible loss in accuracy. Finally, we evaluate our approach on open-source software and report that our findings may generalize beyond our educational context.
机译:由于将软件测试纳入编程分配变为例行,教育工作者不仅开始评估学生软件的正确性,还要评估其测试的充分性。在实践中,教育工作者依赖于代码覆盖措施,尽管其缺点是广为人知的。突变分析是一种更强烈的测试充分率衡,但超出了在介绍编程课程中开发的小程序之外的昂贵。我们展示了如何调整突变分析,为大型编程课程中的复杂项目提供快速自动化反馈。我们研究了从微不足道到复杂的1389个学生软件项目的数据集。我们首先表明,尽管突变分析中的最先进是实用的,但对于在介绍性课程中提供快速反馈,这对于随后的课程中更复杂的项目来说,这对更复杂的项目来说是非常昂贵的。为了减少这一成本,我们使用统计程序选择突变算子的子集,该突变算子保持准确性,同时最小化成本。我们表明,只有2个运营商,成本可以减少2-3倍,准确性损失可忽略不计。最后,我们在开源软件上评估了我们的方法,并报告我们的发现可能概括了我们的教育背景。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号