如果计算流复杂度时控制流程图由多个起始和/或终止节点组成,会发生什么情况 [英] What would happen if a control flow graph consists of multiple start and/or stop nodes when calculating Cyclomatic Complexity

查看:417
本文介绍了如果计算流复杂度时控制流程图由多个起始和/或终止节点组成,会发生什么情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在控制流程图中有多个开始或停止节点时,它将如何影响环复杂性,如果您能解释环复杂性与开始/停止节点之间的关系,将有很大帮助。 / p>

I want to know how will it affect to the Cyclomatic Complexity when having multiple start or stop nodes in a control flow diagram.If you could explain the relationship between Cyclomatic Complexity and Start/Stop nodes it will be a great help.

推荐答案

•控制流程图可以由许多开始和停止组成。但是根据麦凯布(McCabe)的理论,如果它由多个起点和终点组成,则不满足该公式。

• A control flow graph can consist of many starts and stops. But according to McCabe's theory, if it is consist of multiple starts and stops it doesn't satisfy the formula.

这篇关于如果计算流复杂度时控制流程图由多个起始和/或终止节点组成,会发生什么情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆