To specify which coding standards you want to check, for instance, MISRA C®:2012 or AUTOSAR C++14, use the coding standard options. To see code complexity metrics in your analysis results, for instance, cyclomatic complexity and number of calling or called functions, use the code metrics option.
Specify Polyspace Analysis Options
Specify Polyspace® analysis options in Polyspace user interface, other IDE-s or scripts.
Check for Coding Standard Violations
Check for violations of AUTOSAR C++14, CERT® C, CERT C++MISRA C, MISRA® C++, JSF AV C++, or ISO-17961 standard with Bug Finder or Code Prover.
Enforce naming conventions and other style guidelines on C/C++ code with Polyspace.
Reduce Software Complexity by Using Polyspace Checkers
Enable and configure the software complexity checkers to identify issues that make your code difficult to read, understand, and debug.
Avoid Violations of MISRA C:2012 Rules 8.x
Avoid conflicting declarations or unintended modification of variables.
Coding Rule Subsets Checked Early in Analysis
Learn how to adjust your coding rules checking for a faster analysis.
Compute Code Complexity Metrics
Enforce limits on code complexity metrics such as cyclomatic complexity and depth of nesting.
See which code complexity metrics supported in Polyspace are part of the Hersteller Initiative Software (HIS) standard.