首页 | 本学科首页   官方微博 | 高级检索  
     

汇编程序覆盖测试中分支路径数的计算
引用本文:唐科,汪文勇,向渝,罗光春.汇编程序覆盖测试中分支路径数的计算[J].电子科技大学学报(自然科学版),2005,34(2):236-239.
作者姓名:唐科  汪文勇  向渝  罗光春
作者单位:1.电子科技大学计算机科学与工程学院 成都 610054
摘    要:说明了覆盖测试是软件测试中的重要方法,是软件动态测试的基本手段。并提出通过基本块存储矩阵和邻接表来处理汇编语言程序流图,从而计算其分支路径数的算法并验证其正确性,为进一步的分支覆盖率计算奠定基础。实验证明,该方法能高效准确地计算出给定汇编程序的分支路径数。

关 键 词:覆盖测试    基本块    程序流图    存储矩阵    邻接表
收稿时间:2004-11-25

An Algorithm for Calculating the Branch Routes of an Assembly Program in Software Coverage Testing
TANG Ke,WANG Wen-yong,XIANG Yu,LUO Guang-chun.An Algorithm for Calculating the Branch Routes of an Assembly Program in Software Coverage Testing[J].Journal of University of Electronic Science and Technology of China,2005,34(2):236-239.
Authors:TANG Ke  WANG Wen-yong  XIANG Yu  LUO Guang-chun
Affiliation:1.School of Computer Science and Engineering,UEST of China Chengdu 610054
Abstract:Coverage testing is a basic method for dynamic software testing. An algorithm is proposed for calculating the branch routes of an embedded assembly program in software coverage testing. The correctness of the algorithm is verified on a sample assembly program and it's time complexity is analyzed also.
Keywords:
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《电子科技大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《电子科技大学学报(自然科学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号