Static Code Metrics Report

The static code metrics report provides statistics of the generated code. Metrics are estimated from static analysis of the generated code using the C data types specified in the Hardware Settings > Test Hardware: char 8, short 16, int 32, long 32, float 32, double 64, pointer 32 bits. Actual object code metrics might differ due to target specific compiler and platform settings.

Table of Contents

  1. File Information
  2. Global Variables
  3. Function Information

1. File Information [hide]

[-] Summary

Number of .c files : 3  
Number of .h files : 5  
Lines of code : 181  
Lines : 419  

[-] File details

File Name Lines of Code Lines Generated On
rtwtypes.h 95 164 04/02/2014 12:52 PM
nrt.c 41 92 04/02/2014 12:52 PM
nrt.h 11 30 04/02/2014 12:52 PM
nrt_initialize.h 10 29 04/02/2014 12:52 PM
nrt_terminate.h 10 29 04/02/2014 12:52 PM
nrt_initialize.c 5 27 04/02/2014 12:52 PM
nrt_terminate.c 5 28 04/02/2014 12:52 PM
nrt_types.h 4 20 04/02/2014 12:52 PM

2. Global Variables [hide]

Global variables defined in the generated code.
Global Variable Size (bytes) Reads / Writes Reads / Writes in a Function
Total 0 0 

3. Function Information [hide]

View function metrics in a call tree format or table format. Accumulated stack numbers include the estimated stack size of the function plus the maximum of the accumulated stack size of the subroutines that the function calls.
View:Call Tree | Table
Function Name Accumulated Stack Size (bytes) Self Stack Size (bytes) Lines of Code Lines Complexity
[+]  nrt 24 24 36 58 6
      nrt_initialize 0 0 0 3 1
      nrt_terminate 0 0 0 4 1