基本路径测试方法之圈复杂度计算 |
| |
引用本文: | 肖自乾,王弗雄,陈经优. 基本路径测试方法之圈复杂度计算[J]. 人天科学研究, 2010, 0(1) |
| |
作者姓名: | 肖自乾 王弗雄 陈经优 |
| |
作者单位: | 海南软件职业技术学院 |
| |
摘 要: | 软件测试是软件开发过程中不可缺少的重要组成部分,贯穿整个软件开发过程。在软件测试方法中,白盒测试和黑盒测试是经常使用的测试技术。白盒测试中的基本路径测试方法是解决复杂路径测试最有效的方法,而圈复杂度的计算则是基本路径测试方法中非常重要的环节。实践经验表明,圈复杂度和程序可能存在的缺陷数量有着很大的相关性,本文就基本路径测试方法中如何正确计算圈复杂度进行了探讨。
|
关 键 词: | 软件测试 控制流图 基本路径 独立路径 分解 圈复杂度 |
Cyclomatic Complexity Calculation in Basic Path Testing Method |
| |
Abstract: | Software testing is an important part of the software development process,it runs through the entire process.In the software testing methods,the white-box testing and black-box testing are often used in testing technology.In white-box testing methods,the Basic path testing is the most effective method to solve complex path testing.Further,in the basic path testing method,the calculation of cyclo-matic complexity is a very important process.Practical experience shows that the program deficiencies may exist r... |
| |
Keywords: | Software Testing Control Flow Graph Basic Path Independent Path Decomposition Cyclomatic Complexity |
本文献已被 维普 等数据库收录! |
|