control flow graph for mccabe complexity

2 views (last 30 days)
coconutMocha
coconutMocha on 23 Jun 2016
I'd like to create a control flow graph given the output of the function which checks the cyclomatic complexity of a given MATLAB script (checkcode). However, when I run this function, all that appears to output is a scalar quantity: L 0 (C 0): The McCabe complexity is 3. Is there a way to derive the control flow chart from this single value? Or is there a way to access additional information? Thanks for your help in advance.

Answers (0)

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!