What would happen if a control flow graph consists of multiple start and/or stop nodes when calculating Cyclomatic Complexity

允我心安 提交于 2020-03-26 04:02:57

问题


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.


回答1:


• 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.



来源:https://stackoverflow.com/questions/60485378/what-would-happen-if-a-control-flow-graph-consists-of-multiple-start-and-or-stop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!