Skip to content
Snippets Groups Projects
metrics.log 1.88 KiB
Newer Older
Dario Pinto's avatar
Dario Pinto committed
[metrics] Defined functions (40)
======================
 calloc_Pvz (0 call); cgc_RANDOM (2 calls); cgc__terminate (7 calls);
 cgc_allocate (2 calls); cgc_check_timeout (1 call);
 cgc_copy_cgc_fd_set (2 calls); cgc_copy_os_fd_set (2 calls);
 cgc_deallocate (0 call); cgc_fdwait (0 call); cgc_fill_buffer (1 call);
 cgc_get_char (1 call); cgc_init (1 call); cgc_my_srand (1 call);
 cgc_random (0 call); cgc_read_n_bytes (0 call);
 cgc_read_until_delim_or_n (1 call); cgc_readline (4 calls);
 cgc_receive (5 calls); cgc_receive_all (0 call); cgc_recv (0 call);
 cgc_rotN (1 call); cgc_scramble (2 calls); cgc_sendall (1 call);
 cgc_sendline (0 call); cgc_strrotcpy (1 call); cgc_toInt (2 calls);
 cgc_transmit (4 calls); cgc_transmit_all (0 call);
 cgc_transmit_all_zPcz (3 calls); cgc_transmit_str (9 calls);
 cgc_try_init_prng (1 call); int2str_dPcdd (0 call); main (0 call);
 receive_bytes_iPcz (0 call); str2int_dPc (0 call); str2uint_ud32Pc (0 call);
 strcpy_zPcPc (0 call); strncpy_zPcPcz (0 call); strtok_PcPcc (0 call);
 uint2str_dPcdud32 (0 call); 

Undefined functions (8)
=======================
 cgc_aes_get_bytes (1 call); cgc_init_prng (1 call);
 cgc_initialize_flag_page (0 call); cgc_prng (0 call); cgc_recvline (0 call);
 cgc_recvuntil (0 call); cgc_streq (0 call); seed_prng (0 call); 

'Extern' global variables (0)
=============================
 

Potential entry points (18)
===========================
 calloc_Pvz; cgc_deallocate; cgc_fdwait; cgc_random; cgc_read_n_bytes;
  cgc_receive_all; cgc_recv; cgc_sendline; cgc_transmit_all; int2str_dPcdd;
  main; receive_bytes_iPcz; str2int_dPc; str2uint_ud32Pc; strcpy_zPcPc;
  strncpy_zPcPcz; strtok_PcPcc; uint2str_dPcdud32; 

Global metrics
============== 
Sloc = 786
Decision point = 140
Global variables = 8
If = 140
Loop = 25
Goto = 74
Assignment = 316
Exit point = 40
Function = 48
Function call = 81
Pointer dereferencing = 62
Cyclomatic complexity = 180