Run Polyspace as You Code in Visual Studio and Review Results
These topics describe how to run a single-file analysis in Visual Studio IDE using Polyspace as You Code. For Polyspace desktop products such as Polyspace Bug Finder™, see Create Polyspace Projects from Visual Studio Build (Polyspace Bug Finder).
In Visual Studio, with the Polyspace as You Code extension, you can run a single-file analysis on file save or explicitly. The analysis checks the currently active file for defects (bugs), coding standard violations and other issues. The analysis results appear as source code markers and in a separate list.
Topics
Usage
- Run Polyspace as You Code in Visual Studio and Review Results
View Polyspace results as source code markers or in a list in Visual Studio IDE, fix issues or justify results. - Annotate Code and Hide Known or Acceptable Results (Polyspace Bug Finder)
Look up the Polyspace code annotation syntax for justifying known issues.
Installation and Configuration
- Install Polyspace as You Code Using Installer
Install Polyspace as You Code analysis engine and IDE extensions.
- Configure Polyspace as You Code Extension in Visual Studio
Set Polyspace as You Code extension settings such as analysis launch mode and build configuration.
- Generate Build Options for Polyspace as You Code Analysis in Visual Studio
Extract build configuration information from solution, build command, or JSON compilation database. - Configure Checkers for Polyspace as You Code in Visual Studio
Create, modify, or import selection of Polyspace defect checkers and coding rule violations.
- Set Baseline Polyspace as You Code Results in Visual Studio
Get baseline and focus on new results only, import review information, get integration context information.