本页面提供的是上一版软件的文档。当前版本中已删除对应的英文页面。
自定义编码规则
自定义命名约定规则的描述和列表
您可以在 Bug Finder 中使用 Polyspace® 自定义编码规则实施标识符命名约定和一些编码样式约定。
可以使用检查自定义规则 (-custom-rules) 分析选项定义并激活自定义规则。有关 Bug Finder 中支持的规则的列表,请参阅 自定义编码规则。
注意
Code Prover 不再支持检查您的代码是否符合外部编码标准和计算代码度量。请将这些工作流迁移到 Bug Finder。请参阅Migrate Code Prover Workflows for Checking Coding Standards and Code Metrics to Bug Finder。
主题
- 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.