Why isn't a justification appearing in the generated Polyspace report, although I can view it in the Polyspace UI?
조회 수: 10 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2021년 5월 25일
편집: MathWorks Support Team
2021년 10월 26일
To justify a defect found in a Polyspace project, a code annotation is added directly in the code. Although it can be seen this added annotation in the Polyspace UI along with its justification, the generated Polyspace report does not contain the corresponding justification and the defect is marked as "Unreviewed".
Why isn't a justification appearing in the generated Polyspace report, although I can view it in the Polyspace UI?
채택된 답변
MathWorks Support Team
2021년 10월 22일
편집: MathWorks Support Team
2021년 10월 26일
The code annotation that contains a justification for a defect found in a particular line of code needs to be added in the same line (and not before) the line of code that causes the defect, unless a block of code instead of a single line of code is to be justified, in which case the annotation needs to be added right before ('polyspace-begin') and right after ('polyspace-end') the block of code that is meant to be annotated/justified. For more information, please visit the following documentation page,
If the annotation of a single line of code is added before the corresponding line of code that causes the defect, then this is not going to be considered as a justification in the generated report.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Bug Finder Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!