首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Using Defect Prediction to Improve the Bug Detection Capability of Search-Based Software Testing
【24h】

Using Defect Prediction to Improve the Bug Detection Capability of Search-Based Software Testing

机译:使用缺陷预测来提高基于搜索的软件测试的错误检测能力

获取原文

摘要

Automated test generators, such as search based software testing (SBST) techniques, replace the tedious and expensive task of manually writing test cases. SBST techniques are effective at generating tests with high code coverage. However, is high code coverage sufficient to maximise the number of bugs found? We argue that SBST needs to be focused to search for test cases in defective areas rather in non-defective areas of the code in order to maximise the likelihood of discovering the bugs. Defect prediction algorithms give useful information about the bug-prone areas in software. Therefore, we formulate the objective of this thesis: Improve the bug detection capability of SBST by incorporating defect prediction information. To achieve this, we devise two research objectives, i.e., 1) Develop a novel approach ($(mathrm{SBST}_{CL})$) that allocates time budget to classes based on the likelihood of classes being defective, and 2) Develop a novel strategy ($(mathrm{SBST}_{CL})$) to guide the underlying search algorithm (i.e., genetic algorithm) towards the defective areas in a class. Through empirical evaluation on 434 real reported bugs in the Defects4J dataset, we demonstrate that our novel approach, $(mathrm{SBST}_{CL})$, is significantly more efficient than the state of the art SBST when they are given a tight time budget in a resource constrained environment.
机译:自动化测试发生器,如基于搜索的软件测试(SBST)技术,取代手动编写测试用例的繁琐和昂贵的任务。 SBST技术在生成具有高码覆盖的测试时有效。但是,高代码覆盖率足以最大化发现的错误数量?我们认为,SBST需要专注于搜索缺陷区域的测试用例,而是在守则的非缺陷区域中,以最大限度地发现发现错误的可能性。缺陷预测算法提供有关软件中错误易发区域的有用信息。因此,我们制定本文的目的:通过结合缺陷预测信息来提高SBST的错误检测能力。为实现这一目标,我们设计了两项研究目标,即1)开发一种新颖的方法( $( mathrm {sbst} _ {cl})$ )根据课程有缺陷的可能性分配时间预算,2)制定新的策略( $( mathrm {sbst} _ {cl})$ )将底层搜索算法(即遗传算法)引导朝向类中的缺陷区域。通过对434个真实报告的错误在缺陷4J数据集中的实证评估,我们证明了我们的新方法, $( mathrm {sbst} _ {cl})$ 在给予资源受限环境中的紧密时间预算时,比现有技术的状态更效率更高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号