How to detect Indirect recursion in Polyspace
10 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Feb 2023
Edited: MathWorks Support Team
on 12 Dec 2024 at 14:24
I would like to detect indirect recursion in Polysapce.
Accepted Answer
MathWorks Support Team
on 10 Dec 2024 at 0:00
Edited: MathWorks Support Team
on 17 Nov 2023
There are two code metrics (so no Bug Finder defects or Code Prover checks) that can help :
If you combine examples both of the Direct Recursion and Indirect Recursion with the One Call Graph Cycle provided in the above second manual and run them in Polyspace, you can see that subtracting the Number of Direct Recursions from the Number of Recursions determines the number of Indirect Recursion.
0 Comments
More Answers (0)
See Also
Categories
Find more on Run Settings 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!