摘要
软件测试是软件开发过程中不可缺少的重要组成部分,贯穿整个软件开发过程。在软件测试方法中,白盒测试和黑盒测试是经常使用的测试技术。白盒测试中的基本路径测试方法是解决复杂路径测试最有效的方法,而圈复杂度的计算则是基本路径测试方法中非常重要的环节。实践经验表明,圈复杂度和程序可能存在的缺陷数量有着很大的相关性,本文就基本路径测试方法中如何正确计算圈复杂度进行了探讨。
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...
出处
《软件导刊》
2010年第1期10-12,共3页
Software Guide
关键词
软件测试
控制流图
基本路径
独立路径
分解
圈复杂度
Software Testing
Control Flow Graph
Basic Path
Independent Path
Decomposition
Cyclomatic Complexity