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 'Device details' section of the Configuration Parameter > Hardware Implementation pane: char 8, short 16, int 32, long 32, float 32, double 64, pointer 64 bits. If your model contains a Variant block, the Static Code Metrics Report does not contain data for the inactive variant. Actual object code metrics might differ due to target specific compiler and platform settings. Consult the Code Generation Advisor help.png for options to improve code efficiency.

Table of Contents

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

1. File Information [hide]

[-] Summary

Number of .c files : 1  
Number of .h files : 10  
Lines of code : 209  
Lines : 572  

[-] File details

File Name Lines of Code Lines Generated On
HighBeamAssist.c 50 116 06/30/2024 9:10 PM
rtwtypes.h 38 99 06/30/2024 9:10 PM
Rte_Type.h 38 67 06/30/2024 9:10 PM
Rte_HighBeamAssist.h 26 61 06/30/2024 9:10 PM
Platform_Types.h 22 45 11/13/2022 5:15 PM
Compiler.h 10 30 02/01/2022 12:03 AM
HighBeamAssist.h 10 57 06/30/2024 9:10 PM
Std_Types.h 6 25 02/01/2022 12:03 AM
HighBeamAssist_private.h 5 31 06/30/2024 9:10 PM
HighBeamAssist_types.h 4 30 06/30/2024 9:10 PM
HighBeamAssist_MemMap.h 0 11 06/30/2024 9:10 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. Self stack numbers include the size of local non-static variables, input parameters, and the return variable of the function. 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
[+]  Runnable_MS 4 4 7 25 2
[+]  Runnable_HL 2 2 31 52 6
      Runnable_Init 0 0 0 4 1