How to detect Indirect recursion in Polyspace

조회 수: 4 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2023년 2월 27일
편집: MathWorks Support Team 2024년 12월 12일
I would like to detect indirect recursion in Polysapce.

채택된 답변

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

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by