Why isn't a justification appearing in the generated Polyspace report, although I can view it in the Polyspace UI?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 25 de Mayo de 2021
Editada: MathWorks Support Team
el 26 de Oct. de 2021
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?
Respuesta aceptada
MathWorks Support Team
el 22 de Oct. de 2021
Editada: MathWorks Support Team
el 26 de Oct. de 2021
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Bug Finder Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!