节点文献
非法计算故障的静态测试
Static Detection to Invalid Arithmetic Operations
【摘要】 针对C/C++程序中的非法计算,形式化定义了非法计算故障;建立了表达式区间运算模型、变量取值区间集产生模型和非法计算故障模型,并将其作为静态识别非法计算的基础;提出了非法计算自动测试算法.实验结果表明,文中方法具有较高的故障检测准确率和测试效率.
【Abstract】 To detect invalid arithmetic operations in C?C++ programs,formal definition of invalid arithmetic operations is given.The interval computation model of expressions,the generation model of variables’ value interval set and the fault model are established,which are the basis of identifying invalid arithmetic operations statically.The automatic testing algorithm of invalid arithmetic operations is proposed.The experimental results show that the proposed automatic testing method based could detect invalid arithmetic operations with high accuracy and efficiency.
【关键词】 软件测试;
静态测试方法;
非法计算;
故障模型;
自动测试算法;
【Key words】 software testing; static testing method; invalid arithmetic operations; fault model; automatic testing algorithm;
【Key words】 software testing; static testing method; invalid arithmetic operations; fault model; automatic testing algorithm;
【基金】 总装备部“十五”预研基金(41315050107).
- 【文献出处】 计算机辅助设计与图形学学报 ,Journal of Computer-Aided Design & Computer Graphics , 编辑部邮箱 ,2007年01期
- 【分类号】TP306.3
- 【被引频次】4
- 【下载频次】105