持续集成期间在服务器端设置 Bug Finder 分析
在提交代码后检查 C/C++ 代码中是否存在缺陷,并上传结果以便在 Web 界面中审查
您可以将用 Bug Finder 检查代码作为代码提交后的测试过程的一部分 。设置脚本,以按固定间隔定期运行或基于新的提交运行 Bug Finder 分析。这些脚本可以上传分析结果,以便在 Polyspace® Access Web 界面中进行审查,并且可以通过电子邮件向源文件的所有者发送 Polyspace 的检查结果。
DOS/UNIX 命令
polyspace-access (Polyspace Access) | (DOS/UNIX) Manage Polyspace Access results and users at the command line |
polyspace-bug-finder-server | (DOS/UNIX) 在服务器端从 Windows、Linux 或其他命令行运行 Bug Finder 分析 |
polyspace-cluster-profile-manager | (DOS/UNIX) Import MATLAB cluster profile to Polyspace Server commands |
polyspace-comments-import | (DOS/UNIX) Import review information from previous Polyspace analysis |
polyspace-configure | (DOS/UNIX) Create Polyspace project from your build system at the DOS or UNIX command line |
polyspace-report-generator | (DOS/UNIX) Generate reports for Polyspace analysis results stored locally or on Polyspace Access |
polyspace-results-export | (DOS/UNIX) Export Polyspace results to external formats such as CSV or JSON |
MATLAB API
主题
- 在服务器端运行 Polyspace Bug Finder 并将结果上传到 Web 界面
在提交后检查代码中是否存在缺陷和编码标准违规情况,并上传结果以便在 Web 界面中审查。
- 发送包含 Polyspace Bug Finder Server 结果的电子邮件通知
向开发人员发送电子邮件并在附件中包含指向 Polyspace 结果的链接。
- 从编译命令 (makefile) 创建 Polyspace 分析配置
重复使用编译命令 (makefile) 来配置 Polyspace 分析。
- 使用 Jenkins 进行 Polyspace 分析的示例脚本
利用支持 Jenkins 插件的示例脚本编写 Polyspace 运行脚本可以事半功倍。
- Offload Polyspace Analysis from Continuous Integration Server to Another Server
Send analysis to dedicated server, download results after analysis and then upload to Polyspace Access for review.
- 将 Polyspace Server 产品与 MATLAB 集成
运行安装后步骤,将 Polyspace 和 MATLAB® (Simulink®) 安装链接起来。