期刊文献+

未初始化变量的一种静态测试方法 被引量:2

Static detecting method for uninitialized variable
下载PDF
导出
摘要 软件测试系统的研制是软件测试领域的一个研究热点。未初始化变量是C/C++程序中的常见故障,该类故障极易导致计算结果错误或系统崩溃。针对C/C++语言中常见未初始化变量故障进行了分析研究,并从面向具体故障的测试思想出发,建立了C/C++语言中未初始化变量的故障模型,结合静态测试的特点,给出了一种静态查找此类故障的方法。该方法已实现,并已应用于面向故障的软件测试系统中。 Uninitialized Variable is a common kind of error in programs written in C/C++, which often causes system collapse. Firstly, the classical C/C++ uninitialized variable errors is analysed, a defect model ofuninitialized variable of C/C++ based on the defect-oriented testing strategy is established, then a detecting method of uninitialized variable errors combining the advantage of static analysis is described. This theory is implemented in a defect-oriented testing system.
出处 《计算机工程与设计》 CSCD 北大核心 2007年第4期751-754,共4页 Computer Engineering and Design
基金 总装备部十五预研基金项目(41315050107)
关键词 软件测试 静态测试 未初化变量 语法树 控制流图 software testing static testing uninitialized variable syntax tree controlling stream graph
  • 相关文献

参考文献2

二级参考文献7

  • 1[1]Musa J D, Iannino A, Okumoto K. Software reliability measurement prediction application [M]. New York McGrawHill, 1987.
  • 2[2]VoasJ. PIE: A dynamic failure-based technique [J]. IEEE Transactions on software Engineering, 1992,18 (8): 717~727.
  • 3[3]Voas J, Morell L J. Applying sensitivity analysis estimates to a minimum failure probability for software testing [C]. In Proceedings of the 8th Pacific Northwest Software Quality Conference. Portland, OR, 1990.362~371.
  • 4[4]Gutjahr W J. Partition testing vs. random testing: The influence of uncertainty [J]. Software Engineering , 1999,25(5): 661~674.
  • 5[5]Lipow M. Number of fault per line of code [J]. IEEE Transactions on software Engineering, 1982, 8 (4): 437~ 439.
  • 6[6]Goel A L, K Okumoto. A time dependent error detection rate for a large scale software system [C]. Proceedings of the 3rd USA- Japan Computer Conference. 1978,35~ 40.
  • 7聂长海,徐宝文.一种最小测试用例集生成方法[J].计算机学报,2003,26(12):1690-1695. 被引量:57

共引文献26

同被引文献18

  • 1张威,卢庆龄,万琳,肖庆.空指针引用故障模型与测试方法研究[J].计算机工程与应用,2006,42(4):71-72. 被引量:5
  • 2夏玉辉,张威,李鸣,万琳.变量定义未使用故障的一种静态测试方法[J].计算机工程与设计,2007,28(3):515-516. 被引量:3
  • 3曹文静,宫云战.引用未初始化变量故障静态测试方法研究[J].小型微型计算机系统,2007,28(5):948-951. 被引量:1
  • 4杨朝红,宫云战,肖庆,毕学军.基于模型的软件测试[J].北京化工大学学报(自然科学版),2007,34(A01):85-88. 被引量:10
  • 5John R levine,Tony Mason,Doug Brown.Lex & Yacc[M].杨作梅,张旭东,译.2版.北京:机械工业出版社,2003.
  • 6Clarke E M,Grumberg O,Peled D A.Model ehecking[M].[S.l.]: The MIT Press,2000.
  • 7Aho A V, Lain M S, Sethi R, et al.Compilers:principles, tech- niques,and tools[M].2nd ed.[S.l.]:Addison Wesley,2006.
  • 8Huang J C.Detection of data flow anomaly through program in. strumentation[J].IEEE Transactions on Software Engineering, 1979,5 (3): 226-236.
  • 9Schonberg C, Jaksic M, Weitl F, et al.Verification of Web-con- tent:a case study on technical documentation[R].2009.
  • 10Weitl F.Document verification with temporal description logics[D]. Passau: Fakultat fur Informatik and Mathematic University, 2007:114-145.

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部