审查 Bug Finder 结果
R2026b解释 Polyspace® Bug Finder™ 缺陷和编码违规,追溯结果至根本原因,以及添加审查信息
运行分析后,在 Polyspace Access™ 用户界面中审查结果。可以执行以下操作之一:
立即在 Web 浏览器中审查结果。
创建并实施用于工程审查的授权策略。
应用结果管理策略来缩小审查范围,然后再审查结果。
在了解某个 Polyspace 检查结果的根本原因后,您可以修复代码。或者,向 Polyspace 结果中添加审查信息,以将其标记为稍后修复或者对结果进行申述。您可以使用审查信息来跟踪审查进度,避免对同一检查结果进行两次审查。
如果您向 Polyspace Access Web 界面内的结果中添加审查信息,则这些信息将延用到上传至同一工程的结果中。如果您将相同信息作为注释添加到您的代码(注解),则该信息将延用到代码的任何后续分析中,无论是否在同一工程中。您还可以使用代码注解隐藏结果。
系统命令
主题
快速入门
- 解释 Polyspace Access Web 界面中的 Bug Finder 结果
解释结果详细信息中的消息,查明导致结果的根本原因。 - 调查结果列表为空的原因
了解“结果列表”窗格为空时应遵循的过程。
理解 Bug Finder 结果
- Polyspace Results in Lines Containing Macros (Polyspace Bug Finder)
See how Polyspace shows results in source code lines containing macros. - Compare Results in Polyspace Access Project to Previous Runs
View results from previous project runs and compare them to later runs.
- Understanding Changes in Polyspace Results After Product Upgrade (Polyspace Bug Finder)
- Bug Finder 分析假设 (Polyspace Bug Finder)
代码分析期间使用的假设
Polyspace Access 仪表板视图
- Dashboard in Polyspace Access Web Interface
See an overview of project results in graphical format, for instance, coding standard findings distribution by status. - Monitor Code Quality Using Quality Objectives Dashboard in Polyspace Access
Monitor the quality of your code and create custom quality objectives definitions.
- Polyspace Access Web 界面中的“代码度量”仪表板
查看代码度量的摘要和通过/失败准则。 - Evaluate Polyspace Bug Finder Results Against Bug Finder Quality Objectives (Polyspace Bug Finder)
Instead of evaluating all results of a Bug Finder analysis, you can first define a set of criteria that the analyzed project must meet and compare the Bug Finder results against those criteria.
向结果中添加审查信息
- 通过 Bug 修复或申述在 Polyspace Access 中处理结果
向结果或代码中添加审查信息,以对为何不需要 Bug 修复并避免后续分析进行申述。 - Import Review Information from Existing Polyspace Access Projects
Transfer review information for findings from code that you reuse across projects. - 为代码添加注解并隐藏已知或可接受的结果 (Polyspace Bug Finder)
查找用于申述已知问题的 Polyspace 代码注解语法。
- Define Custom Annotation Format (Polyspace Bug Finder)
- Bug Finder 缺陷组和缺陷检查项的短名称 (Polyspace Bug Finder)
- 代码复杂度度量的短名称 (Polyspace Bug Finder)
- Apply Existing Review Information to Identical Findings
Reuse justifications from one finding to justify similar findings at the same location in your code.