How to detect Indirect recursion in Polyspace
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Fév 2023
Modifié(e) : MathWorks Support Team
le 12 Déc 2024 à 14:24
I would like to detect indirect recursion in Polysapce.
Réponse acceptée
MathWorks Support Team
le 10 Déc 2024 à 0:00
Modifié(e) : MathWorks Support Team
le 17 Nov 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Run Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!