How to detect Indirect recursion in Polyspace
9 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2023-2-27
编辑: MathWorks Support Team
2024-12-12,14:24
I would like to detect indirect recursion in Polysapce.
采纳的回答
MathWorks Support Team
2024-12-10,0:00
编辑:MathWorks Support Team
2023-11-17
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!