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

基于圈复杂度的软件测试方法研究
引用本文:荣志文,李嘉,蔡立志. 基于圈复杂度的软件测试方法研究[J]. 软件产业与工程, 2012, 0(1): 45-48
作者姓名:荣志文  李嘉  蔡立志
作者单位:上海市计算机软件评测重点实验(SSTL) 上海201112
基金项目:软件专业技术服务平台建设与完善(10DZ2291800)
摘    要:圈复杂度是一种代码复杂度的衡量标准。在软件测试中,圈复杂度可以用来衡量一个模块判定结构的复杂程度,数量上表现为独立路径条数,即合理的预防错误所需测试的最少路径条数。圈复杂度计算为软件流程测试用例的生成起到极大的辅助作用,并便于对软件质量进行度量。实践经验表明,圈复杂度与程序中存在的缺陷数量有着很大的相关性,本文就圈复杂度在实际项目中的应用进行了探讨。

关 键 词:圈复杂度  软件质量  测试用例  流程

Software ,testing method researching of Cyclomatic complexity
RONG Zhiwen , LI Jia , CAI Lizhi. Software ,testing method researching of Cyclomatic complexity[J]. Software Industry and Engineering, 2012, 0(1): 45-48
Authors:RONG Zhiwen    LI Jia    CAI Lizhi
Affiliation:RONG Zhiwen LI Jia CAI Lizhi (Shanghai Key Laboratory of Computer Software Testing & Evaluating(SSTL), Shanghai 201112, China)
Abstract:Cyclomatic complexity is a benchmark of code complexity. In software testing, cyclomatic complexity can be used to measure the complexity of a decision structure. The quantity of decision structure can be described as the number of independent path, which also means the minimum path number to test to prevent error. Cyclomatic complexity calculation plays a significant role in generating test cases for software business flow. Cyclomatic complexity calculation is convenient to measure the software quality. The paper indicates that cyclomatic complexity is greatly related to the number of bugs in software, also discusses the application of cyclomatic complexity in a practical project.
Keywords:Cyclomatic Complexity Software Quality Test Case Business Flow
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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