Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

持续集成期间在服务器端设置 Bug Finder 分析

在提交代码后检查 C/C++ 代码中是否存在缺陷,并上传结果以便在 Web 界面中审查

您可以将用 Bug Finder 检查代码作为代码提交后的测试过程的一部分 。设置脚本,以按固定间隔定期运行或基于新的提交运行 Bug Finder 分析。这些脚本可以上传分析结果,以便在 Polyspace® Access Web 界面中进行审查,并且可以通过电子邮件向源文件的所有者发送 Polyspace 的检查结果。

DOS/UNIX 命令

polyspace-access(DOS/UNIX) Manage upload, download or export of Polyspace results from the Polyspace Access web interface
polyspace-bug-finder-server(DOS/UNIX) Run a Bug Finder analysis on a server from Windows, Linux, or other command line
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

全部展开

polyspacerootGet Polyspace installation folder
polyspaceBugFinderServerRun analysis with Polyspace Bug Finder Server using MATLAB scripts
polyspaceConfigureCreate Polyspace project from your build system at the MATLAB command line
polyspace_reportGenerate reports from Polyspace analysis results
polyspacePackNGoGenerate and package options files to run Polyspace analysis on code generated from Simulink model
polyspacesetupIntegrate Polyspace installation with Simulink
polyspace.Project Run Polyspace analysis on C and C++ code and read results
polyspace.GenericTargetOptionsCreate a generic target configuration
polyspace.DefectsOptionsCreate custom list of defects to check
polyspace.CodingRulesOptionsCreate custom list of coding rules to check
polyspace.BugFinderResultsRead Polyspace Bug Finder results from MATLAB
polyspace.Project.Configuration PropertiesCustomize Polyspace analysis of handwritten code with options object properties

主题