How to detect Indirect recursion in Polyspace

4 visualizaciones (últimos 30 días)
I would like to detect indirect recursion in Polysapce.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 10 de Dic. de 2024
Editada: MathWorks Support Team el 17 de Nov. de 2023
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.

Más respuestas (0)

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by