Is the cyclomatic complexity metric generated for S-functions when using Simulink Verification and Validation 2.3 (R2008a)?
1 view (last 30 days)
Show older comments
I would like to know if the cyclomatic complexity metric is applied to legacy C code, for instance, in an S-function. There is an option to "Include cyclomatic complexity numbers in block details".
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
Cyclomatic complexity is calculated per subsystem and it works with
Simulink, Stateflow and Embedded MATLAB only. It will not be reported for the legacy code in S-Functions.
0 Comments
More Answers (0)
See Also
Categories
Find more on Verification, Validation, and Test 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!