Main Content

Coding Standards & Code Metrics

Migrate your workflow to Bug Finder. Use Bug Finder to check coding rules, specify custom rules, and generate code complexity metrics

Use Polyspace® Code Prover™ to calculate the stack usage metrics of your code. To check for violation of coding rules and to calculate code complexity metrics, use Polyspace Bug Finder™

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.

Polyspace Options

expand all

Calculate stack usage (-stack-usage)Compute and display the estimates of stack usage (Since R2022a)

Topics

Migrate to Bug Finder

Getting Started

MISRA or JSF Rules

Code Complexity Metrics

Related Information