SQA NextDate Analysis
$ brew update
$ brew install graphviz
or
connect 'http://www.webgraphviz.com/'
To generate graph image from '.dot' to '.png' image.
run dot -Tpng nextdate.dot -o images/nextdate.png
.
To Calulcate edges and nodes
run gc -vne nextdate.dot
Nodes | Edges | Components |
---|---|---|
41 | 56 | 1 |
cyclomatic number of graph
V(G) = e – n + p
So, V(G) = 56 – 41 + 1 = 16