【24h】

AN AUTOMATIC DEFECT DETECTION FOR C++ PROGRAMS

机译:C ++程序的自动缺陷检测

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

摘要

In this work a tool is developed to generate test cases automatically for C++ Programs. This approach analyses the prototypes and is focused to detect defects in the program. A defect results due to omission or commission made when developing the software. This work checks the correctness of the program when operator[] is overloaded. In the context of inheritance when virtual function is used, it has been observed that expected results are not achieved under certain circumstances. A test case has been developed to handle this situation. Test case has been prepared to ascertain the working of template functions in the context of character input. A test case has been developed to tackle dangling reference problem. In the context of exception handling, test cases have been developed to ascertain the working of the program.
机译:在这项工作中,开发了一种工具来自动为C ++程序生成测试用例。这种方法分析了原型,并专注于检测程序中的缺陷。由于开发软件时遗漏或委托导致缺陷。当operator []重载时,此工作将检查程序的正确性。在使用虚拟函数的继承上下文中,已经观察到在某些情况下无法获得预期的结果。已经开发了一个测试用例来处理这种情况。已经准备了测试用例,以确定在字符输入的上下文中模板功能的工作。已经开发了一个测试用例来解决悬而未决的参考问题。在异常处理的上下文中,已经开发了测试用例来确定程序的工作情况。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号