How to detect Indirect recursion in Polyspace

9 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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 个)

标签

尚未输入任何标签。

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by