/Modules/Sensors/MAG01A/SW/PIC16F887/main.sta
1,11 → 1,11
 
ROM used: 788 (10%)
788 (10%) including unused fragments
ROM used: 972 (12%)
972 (12%) including unused fragments
 
1 Average locations per line
12 Average locations per statement
2 Average locations per line
15 Average locations per statement
 
RAM used: 7 (2%) at main() level
RAM used: 12 (3%) at main() level
22 (6%) worst case
 
Stack used: 3 worst case (out of 8 total available)
12,49 → 12,49
 
Lines Stmts % Files
----- ----- --- -----
43 22 32 main.c
20 0 0 main.h
423 0 0 ..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h
32 19 29 main.c
22 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
19 0 0 HMC5883L.h
102 46 68 HMC5883L.c
102 46 71 HMC5883L.c
----- -----
607 68 Total
598 65 Total
 
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 22 3 1 @delay_ms1
0 20 2 1 @delay_ms1
Inline 3 357 1.4 @I2C_READ_1
0 52 7 1 113 1.3 @I2C_WRITE_1
0 34 4 1 152 2.2 @PUTCHAR_1_
0 107 14 1 152 2.2 mag_read
0 21 3 6 129 4.6 mag_vypocet
0 74 8 1 113 1.3 @I2C_WRITE_1
0 36 4 1 152 2.2 @PUTCHAR_1_
0 178 18 0 357 1.4 set_mag
0 155 16 1 152 2.2 mag_read
0 21 2 6 129 4.6 mag_vypocet
0 26 3 4 171 2.7 mag_readX
0 26 3 4 171 2.7 mag_readY
0 26 3 4 171 2.7 mag_readZ
0 221 28 1 658 3.3 MAIN
0 9 1 0 44 1.9 @const99
0 70 9 3 257 7.2 @PSTRINGC7_68
0 12 2 0 @const101
0 15 2 0 1071 8.0 @const102
0 15 2 0 @const106
0 128 16 9 @PRINTF_LD_68
0 181 19 6 587 3.3 MAIN
0 9 1 0 @const102
0 70 7 3 @PSTRINGC7_69
0 12 1 0 @const104
0 6 1 0 @const105
0 128 13 9 @PRINTF_LD_69
 
Program metrics:
Functions 12
Statements 68
Comments 109
Volume (V) 5531
Difficilty (D) 39.8
Effort to implement (E) 220066
Time to implement (T) 3 hours, 24 minutes
Functions 10
Statements 65
Comments 99
Volume (V) 3874
Difficilty (D) 23.6
Effort to implement (E) 91333
Time to implement (T) 1 hours, 25 minutes
Est Delivered Bugs (B) 1
Cyclomatic Complexity 3
Maintainability (MI) 61
Cyclomatic Complexity 1
Maintainability (MI) 60
 
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 784 1260
00004-007FF 968 1076
00800-00FFF 0 2048
01000-017FF 0 2048
01800-01FFF 0 2048