coder.report.generateCodeMetrics
Generate static code metrics report
Syntax
Description
coder.report.generateCodeMetrics(
generates a static code metrics report for the code generated frommodel
)model
without generating a full code generation report. The default file name of the static code metrics report ismetrics.html
.
您还可以通过使用该函数在代码生成报告中生成静态代码指标报告coder.report.generate
or by selectingGenerate Static Code Metrics for Modelin the Configuration Parameters dialog box.
coder.report.generateCodeMetrics(
generates the static code metrics report for thesubsystem
)subsystem
. The build folder for the subsystem must be present in the current working folder.
coder.report.generateCodeMetrics(___,
specifies options by using one or moreName,Value
)Name,Value
pair arguments.