In Polyspace code prover, I would like to determine the Code Complexity Metrics "Program Maximum Stack Usage" and "Program Minimum Stack Usage".
I have used the '-code-metrics' option and also activated the checkers PROG_MAX_STACK and PROG_MIN_STACK, but still I am not able to see the corresponding metrics in my Access dashboard.
(In the result list I can find stack usage values for functions but I get "Not computed" at project level.)
The code project has no 'open' run-time red checks, so I don't understand why the value is not calculated.
I had one red check related to infinite loop, but I've justified it as it is an intended loop used to manage background task.
Best Answer