Why are the metrics in the reports not given per file but only the project min and max values?

1 次查看(过去 30 天)
Hello, we´re using Polyspace R2015b CodeProver and generating reports to automaticalle read out the most important information for project leaders. Now we have a problem with reporting the metrics because the file und function metrics in the reports are not splitted in file/function as they are in Code Prover result summary. But there is only given the project min and max value. Is there a way to get the metrics splittet up in the files/functions by using another configuration setting or command line instruction? Thanks for the help and best regards, Birgit

采纳的回答

Anirban
Anirban 2018-9-6
Hello,
If you use the CodeMetrics template for report generation, you see the metrics broken down by file and function. For details, see Code Prover documentation for the option -report-template ( Same link in 15b documentation ).
However, this report shows only the code metrics and not the run-time checks or other Code Prover results. If you have license for MATLAB Report Generator, you can create a template that shows code metrics details along with other results. Start from the Developer template and add the component Code Metrics Details.
See:

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by