MATLAB Answers

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

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

  댓글 수: 0

로그인 to comment.

답변 수: 1

Anirban 님의 답변 6 Sep 2018
 채택된 답변

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

로그인 to comment.



Translated by