Hauptinhalt

Kontinuierliche Integration (CI)

R2026b
Ausführen von Bug Finder Server zur automatisierten Code-Überprüfung auf CI-Servern

Sie können Ihren Code mit Polyspace® Bug Finder™ Server™ im Rahmen der Überprüfung nach Einreichung prüfen. Richten Sie Skripte ein, die in regelmäßigen Abständen oder bei neuen Einreichungen eine Bug Finder-Analyse durchführen. Die Skripte können die Analyseergebnisse zur Überprüfung auf den Polyspace Access™-Webserver hochladen und E-Mails mit den Polyspace-Ergebnissen an die Besitzer der Quelldateien senden.

Systembefehle

polyspace-bug-finder-server(System Command) Run a Bug Finder analysis on a server from Windows, Linux, or other command line
polyspace-cluster-profile-manager(System Command) Import MATLAB cluster profile to Polyspace Server commands
polyspace-comments-import(System Command) Import review information from previous Polyspace analysis
polyspace-configure(System Command) Create Polyspace Platform project, workspace, or options file from build command or compilation database
polyspace-project -generate-launching-script-for(System Command) Generate files needed to run static analysis on a Polyspace Platform project
polyspace-report-generator(System Command) Generate reports from Polyspace analysis results stored locally or on Polyspace Access
polyspace-results-export(System Command) Export Polyspace results to external formats such as CSV or JSON

MATLAB API

alle erweitern

polyspacerootGet Polyspace installation folder
polyspaceBugFinderServerRun analysis with Polyspace Bug Finder Server using MATLAB scripts
polyspaceConfigureCreate Polyspace Platform project, workspace, or options file from build command or compilation database
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.OptionsCreate object for running Polyspace analysis on handwritten code
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

Themen

Ausführen der Analyse für Quelldateien

Ausführen der Analyse für Polyspace-Plattform-Projekte

Ausführen der Analyse mit MATLAB oder MATLAB Parallel Server

Hochladen der Ergebnisse in Polyspace Access

  • Project Administration (Polyspace Access)
    Organize projects, manage permissions, and track code quality trends across analysis runs
  • Review Bug Finder Results (Polyspace Access)
    Interpret Polyspace Bug Finder defects and coding rule violations, trace results to root cause, and add review information

Konfigurieren der Analyse auf dem Server

Integrieren mit CI-Tools

Verwandte Informationen