检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王敏[1] 马敏 张志 Wang Min;Ma Min;Zhang Zhi(College of Software Engineering,Hubei Radio and TV University,Wuhan 430074,Hubei,China)
机构地区:[1]湖北广播电视大学软件工程学院
出 处:《计算机应用与软件》2019年第10期17-22,86,共7页Computer Applications and Software
基 金:湖北省自然科学基金项目(2016CKC774);湖北省教育科学规划课题(2018GB218)
摘 要:基于路径字符串组合的基本路径集求解算法以简单的字符串处理实现了基本路径集的求解,但该算法没有考虑判断语句的条件拆分问题。提出采用决策表法解决基本路径集求解的条件拆分问题,在扫描被测程序时提取判断语句信息,将含多个条件的判断语句转化为一个决策表节点,生成含决策表节点的T基本路径集;根据提取的判断语句信息得到因果表达式,生成决策表,依据决策表生成规则路径集,按照一定规则将T基本路径集与规则路径集进行组合,则可生成满足条件覆盖的基本路径集。The basic path set solving algorithm is realized by path string combination,but the algorithm does not solve the problem of conditional statement splitting.The decision table method was proposed to solve the problem.We got the judgment statement information when scanning the tested program,and transformed a judgment statement with multiple conditions into a decision table node,then generated a T basic path set including decision table node.And we created cause-effect expression by using the judgment statement information and generated decision table,so regular path set could be created according to decision table.By combining the T basic path set with the regular path set according to certain rules,the basic path set satisfying the condition covering could be generated.
关 键 词:基本路径测试 规则路径 测试工具 智能机器人控制软件
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.219.89.207