Contenuto principale

Integrazione continua

R2026b
Eseguire Bug Finder Server per il controllo automatico del codice sui server CI

È possibile controllare il codice con Polyspace® Bug Finder™ Server™ nell'ambito dei controlli successivi all'invio. Impostare gli script che eseguono un'analisi Bug Finder a intervalli regolari o in base ai nuovi invii. Gli script possono caricare i risultati di analisi per la revisione sul server web di Polyspace Access™ e inviare e-mail ai proprietari dei file sorgente con i risultati di Polyspace.

Comandi di sistema

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

API MATLAB

espandi tutto

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

Argomenti

Esecuzione dell'analisi sui file sorgente

Esecuzione dell'analisi sui progetti Polyspace Platform

Esecuzione dell'analisi utilizzando MATLAB o MATLAB Parallel Server

Caricamento dei risultati su 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

Configurazione dell'analisi sul server

Integrazione con gli strumenti CI

Informazioni complementari