节点文献
基于拓扑结构的程序复杂性度量研究
Research of Program Complexity Based on Topology Structure
【摘要】 基于程序拓扑结构,分析传统McCabe复杂性度量法,提出封闭区域个数统计法和判定结点个数统计法两种快速、直观、简便的计算方法,并提出路径复杂度算法,由此定义判定树类拓扑结构程序以路径数即分支数作为程序复杂度,同时提出了降低复杂度的程序设计方法,以实例进行对比验证,实践证明该方法简单、可行、有效.
【Abstract】 Based on topology structure of program,enclosed area integer counting method and determination point integer counting method which are fast,intuitive and simple are introduced by analyzing traditional McCabe method of complexity measure,and the path complexity measure algorithm is proposed,of which the branching number is taken as complexity measure of the program to determination tree topology.A programming method that reduces complexity of the program to determination tree topology is proposed,which is proved to be simple,feasible and effective.
【关键词】 McCabe;
结构复杂性;
程序复杂性度量;
软件度量;
【Key words】 McCabe; structure complexity; program complexity measure; software measure;
【Key words】 McCabe; structure complexity; program complexity measure; software measure;
【基金】 甘肃省科技支撑项目(0708GKCA050)
- 【文献出处】 兰州工业高等专科学校学报 ,Journal of Lanzhou Polytechnic College , 编辑部邮箱 ,2012年01期
- 【分类号】TP311.52
- 【下载频次】58