ROM used: 972 (12%)
972 (12%) including unused fragments
2 Average locations per line
15 Average locations per statement
RAM used: 12 (3%) at main() level
22 (6%) worst case
Stack used: 3 worst case (out of 8 total available)
Lines Stmts % Files
----- ----- --- -----
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 71 HMC5883L.c
----- -----
598 65 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 2 1 @delay_ms1
Inline 3 357 1.4 @I2C_READ_1
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 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 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 1
Maintainability (MI) 60
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 968 1076
00800-00FFF 0 2048
01000-017FF 0 2048
01800-01FFF 0 2048