期刊文献+

一种基于故障模式状态机的测试方法 被引量:11

Study of a fault pattern state machine based testing method
在线阅读 下载PDF
导出
摘要 基于状态机对故障模式进行了统一的描述,使得故障描述更准确、无二义性。为了避免路径组合爆炸,提出基于控制流的状态集迭代分析算法进行故障检测,可以使算法的计算复杂性由O(P)(P是路径数目)减少为O(N+E)N)(N是控制流图节点数,E是控制流图边数)。由于状态机的独立性,对控制流图进行一遍迭代可以同时计算多个故障模式,大大提高测试效率。同时,该方法还采用了带条件的状态计算可以较好地减少误报的情况。 This paper uses state machines to give a formal and unified description of fault patterns. Then, a unified testing method based on iteration of state set is proposed to avoid the path-explosion problem. The algorithm's computing complexity is O( ( N + E ) N ) ( N is the number of nodes in control flow graph, E is number of edges in control flow graph). Because of the independency of the state machine, one traversal of control flow can test many fault patterns, therefore, testing efficiency can be can improved. Moreover, the paper uses conditional state computing to reduce the problem of false positives.
出处 《北京化工大学学报(自然科学版)》 CAS CSCD 北大核心 2007年第A01期73-76,共4页 Journal of Beijing University of Chemical Technology(Natural Science Edition)
基金 国家"863"计划(2006AA01Z184)
关键词 软件测试 静态分析 数据流分析 故障查找 software test static analysis dataflow analysis error detection
  • 相关文献

参考文献8

  • 1BALL T,BOUNIMOVA E,COOK B.Thorough static analysis of device drivers[C]//EuroSys,2006:73-85.
  • 2YANG J,SAR C,ENGLER D.Explode:a lightweight,general system for finding serious storage system errors[C]∥OSDI,2006:131-146.
  • 3ENGLER D,CHELF B,CHOU A,et al.Checking system rules using system-specific,programmer-written compilei extensions[C]∥The Fourth Symposium on Operating Systems Design and Implementation,2000:1-16.
  • 4ASHCRAFT K,ENGLER D.Using programmer-written compiler extensions to catch security holes[C]∥IEEE Symposium on Security and Privacy,2002:143-159.
  • 5HOVEMEYER D,PUGH W.Finding bugs is easy[J].ACM SIGPLAN Notices,2004,39(12):92-106.
  • 6HALLEM S,CHELF B,XIE Y,et al.A system and language for building system-specific,static analyses[C]∥PLDI,2002:69-82.
  • 7DAS M,LERNER S,SEIGLE M.Path-sensitive program verification in polynomial time[C]∥PLDI,2002:57-68.
  • 8AHO A V,SETHI R,ULLMAN J D.Compilers:principles,techniques,and tools[M].Beijing:Posts & Telecom Press,Pearson Education,2002:608-633.

同被引文献64

  • 1周晓宇,黄文伟,史亮,徐宝文.基于源代码插桩的C程序内存使用错误动态检测[J].舰船电子工程,2004,24(6):70-73. 被引量:6
  • 2姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 3白晓颖,赵冲冲,戴桂兰.Web服务测试研究[J].计算机科学,2006,33(2):252-256. 被引量:19
  • 4陈蕊,张广梅,李晓维.程序中不可达路径的检测方法[J].计算机工程,2006,32(16):86-88. 被引量:7
  • 5曹文静,宫云战.非法计算故障的静态测试[J].计算机辅助设计与图形学学报,2007,19(1):119-124. 被引量:1
  • 6王雅文,宫云战,杨朝红.软件测试工具综述[J].北京化工大学学报(自然科学版),2007,34(A01):1-4. 被引量:17
  • 7杨朝红,宫云战,肖庆,毕学军.基于模型的软件测试[J].北京化工大学学报(自然科学版),2007,34(A01):85-88. 被引量:10
  • 8[3]David Hovemeyer,Jaime Spacco,William Pugh.Evaluating and Tuning a Static Analysis to Find Null Pointer Bugs[C]//ACM SIGSOFT Software Engineering Notes Archive.The 6th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering (PASTE 2005).New York:ACM,2006:13-19.
  • 9[4]Minh Ngoc Ngo,Hee Beng,Kuan Tan.Detecting Large Number of Infeasible Paths through Recognizing Their Patterns[C]//Foundations of Software Engineering.Proceedings of the 6th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering.Scaling-up Static Analysis.New York:ACM,2007:215-224.
  • 10[5]David Hovemeyer,William Pugh.Finding More Null Pointer Bugs,But Not Too Many[C]//Workshop on Program Analysis for Software Tools and Engineering.Proceedings of the 7th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering.New York:ACM,2007:9-14.

引证文献11

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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