生成报告
根据测试或代码探查结果生成报告
您可以根据测试或代码探查结果生成 XML 或 HTML 报告以用于存档和认证。如果您希望以人类可读的格式审查结果,请生成 HTML 报告。否则,请生成 XML 报告以进行进一步处理。
系统命令
polyspace-test -report | (System Command) Generate reports from test or code profiling results |
工具
| Polyspace 平台设置 | Settings for Polyspace Platform user interface (自 R2023b 起) |
主题
生成测试报告
- Generate Reports from C/C++ Test Results
Generate reports with test requirements, specifications, and results. - Generate Reports of C/C++ Test Results Using Python API for Polyspace
Save Polyspace® Test™ results as XML or HTML reports. - Structure of HTML Reports Generated from C/C++ Test Results
Test reports in HTML format contain an index with an overview of the results and a per-suite breakdown of the test results.
生成代码探查报告
- Generate Reports from C/C++ Code Profiling Results
Generate reports from code coverage, execution time, or memory use results. - Structure of HTML Reports Generated from C/C++ Code Profiling Results
Code profiling reports in HTML format contain a summary of code profiling, along with detailed breakdown per file and function. - Structure of HTML Reports Generated from C/C++ Code Sanitizer Results
Code sanitization reports in HTML format contain a summary of code profiling, along with detailed breakdown per file, function and flagged expression. - Review and Address Execution Time Results
After calculating the execution time of your code, review the results and address bottlenecks in execution time. - Review and Address Memory Use Results
After calculating the stack memory use of your code, review the results and address possible stack overflow.
自定义报告
- Report C/C++ Test Specifications with Test Results
Generate reports of test specifications when reporting test results. - Report Only Failing Assessments in C/C++ Test Reports
Omit passing assessments when reporting test results. - Customize Content and Style of Polyspace Test Reports
Add headers, footers and other custom sections to reports generated from C/C++ test and code profiling results.