Custom Coding Rules
You can enforce naming conventions for identifiers and some coding style conventions using the Polyspace® custom coding rules in Bug Finder.
Use the Check custom rules
(-custom-rules)
analysis option to define and activate your custom
rules. For a list of supported rules in Bug Finder, See Custom Coding Rules.
Note
Code Prover no longer supports checking compliance with external coding standards and calculating code metrics. Migrate to Bug Finder for these workflows. See Migrate Code Prover Workflows for Checking Coding Standards and Code Metrics to Bug Finder.
Topics
- Migrate Code Prover Workflows for Checking Coding Standards and Code Metrics to Bug Finder
Use Bug Finder instead of Code Prover to check compliance with various coding standards, naming conventions, and code complexity standards. Calculate code metrics by using Bug Finder.