Contenu principal

Intégration continue

R2026b
Exécuter Bug Finder Server pour le contrôle automatisé du code sur les serveurs de CI

Vous pouvez vérifier votre code avec Polyspace® Bug Finder™ Server™ dans le cadre des contrôles post-soumission. Configurez des scripts qui exécutent une analyse Bug Finder à intervalles réguliers ou en fonction des nouvelles soumissions. Les scripts peuvent charger les résultats d’analyse sur le serveur web Polyspace Access™ en vue de leur revue et envoyer par e-mail les résultats Polyspace aux propriétaires des fichiers source.

Commandes système

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

développer tout

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

Rubriques

Exécuter une analyse des fichiers source

Exécuter une analyse des projets de plateforme Polyspace

Exécuter une analyse avec MATLAB ou MATLAB Parallel Server

Charger les résultats dans 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

Configurer une analyse sur un serveur

Intégrer des outils CI

Informations connexes