摘要
针对软件纠错性维护问题,提出了软件故障诊断的概念及一种故障模块匹配算法。软件故障诊断方法是在VC++代码的静态测试和动态测试相结合的基础上,运用故障模块匹配算法匹配二者的测试结果,生成优先诊断模块表,再利用路径覆盖的方式生成测试用例,针对可疑模块进行进一步的测试诊断,最后确定故障点。
This paper presents a conception of software fault diagnosis based on the issue of software maintenance, and puts forward a new method of fault diagnosis matches arithmetic. This method first tests the software by the combine method of static testing and dynamic testing based on VC++ program. Then matches the testing result and creates a list about the priority of diagnosis module. The test case is gained by the method of path coverage and the software is tested again. Finally it makes certain about the fault position of the software.
出处
《现代电子技术》
2005年第19期50-52,共3页
Modern Electronics Technique
基金
预研基金项目(413270205)
关键词
软件故障诊断
测试用例
代码分析
插桩
匹配算法
software fault diagnosis
test case
code analyzing
instrumentation
matching arithmetic