Why is Polyspace showing under the Code Metrics that the code metrics Maximum and Minimum Stack Usage are "Not computed"?

조회 수: 1 (최근 30일)
When computing and uploading the results of a Polyspace verification for a given Polyspace project and then uploading them to Polyspace Access, then the metrics Maximum and Minimum Stack Usage are shown as "Not computed" under the section "Code Metrics", namely,
Maximum Stack Usage Not computed
Minimum Stack Usage Not computed
However, the sentence "Not computed" is hyperlinked and clicking on it leads to another page where the Maximum and Minimum Stack Usage code metrics are displayed as expected for the corresponding functions.
Why is Polyspace showing under the Code Metrics that the code metrics Maximum and Minimum Stack Usage are "Not computed"?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 9월 15일
Please check that all files are properly compiled and that there are no errors in the compilation.
Clicking on the hyperlink "Not computed" should show the functions for which the corresponding code metrics are computed and the ones forwhich have the corresponding code metrics are not computed.
If there are errors in the compilation, then this can cause that the code metrics are not computed for some functions in the corresponding source files. To have the code metrics shown in Polyspace Access one needs to have all the functions properly compiled in Polyspace and then upload the results on Polyspace Access.
I guess it is root cause: functions in ManiLab.c may have code metrics whereas only code metrics are populated in Polyspace Access after upload.

추가 답변 (0개)

태그

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by