
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!