
How to detect Indirect recursion in Polyspace
4 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2023 年 2 月 27 日
編集済み: MathWorks Support Team
2024 年 12 月 12 日
I would like to detect indirect recursion in Polysapce.
採用された回答
MathWorks Support Team
2024 年 12 月 10 日
編集済み: 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 件)
参考
カテゴリ
Help Center および File Exchange で Run Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!