ROM used: 3214 (39%)
3410 (42%) including unused fragments
1 Average locations per line
9 Average locations per statement
RAM used: 7 (2%) at main() level
71 (19%) worst case
Stack used: 3 worst case (out of 8 total available)
Lines Stmts % Files
----- ----- --- -----
117 56 15 main.c
20 0 0 main.h
423 0 0 ..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h
2172 260 72 ..\..\..\..\..\Program Files (x86)\PICC\drivers\math.h
19 0 0 HMC5883L.h
102 46 13 HMC5883L.c
----- -----
2853 362 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 1 1 @delay_ms1
Inline 3 357 1.4 @I2C_READ_1
0 52 2 1 113 1.3 @I2C_WRITE_1
0 34 1 1 152 2.2 @PUTCHAR_1_
0 63 2 10 113 1.3 @FLT
0 202 6 14 171 2.7 @DIVFF
0 321 10 16 171 2.7 @ADDFF
0 117 4 13 171 2.7 @MULFF
0 37 1 2 @SITOF
Inline 21 1082 6.9 atan
0 124 4 0 357 1.4 set_mag
0 107 3 1 152 2.2 mag_read
0 21 1 6 129 4.6 mag_vypocet
Inline 4 171 2.7 mag_readX
Inline 4 171 2.7 mag_readY
Inline 4 171 2.7 mag_readZ
1 1070 33 10 1007 7.2 azimut
0 23 1 0 367 7.0 @const237
0 37 1 2 264 6.8 @PSTRINGC_68
0 4 0 0 153 4.7 @const239
0 70 2 3 315 6.5 @PSTRINGC7_68
0 4 0 0 288 6.0 @const241
0 4 0 0 209 5.2 @const242
1 292 9 1 635 3.3 MAIN
0 22 1 0 475 7.2 @const247
0 23 1 0 129 4.6 @const253
0 15 0 0 436 7.9 @const254
0 79 2 4 @PSTRINGCN7_68
Inline 5 @FTOSD
0 66 2 13 236 4.9 @DIV3232
0 233 7 13 55 1.1 @PRINTF_L32D_68FPFPF
0 14 0 0 550 4.0 @const265
0 128 4 9 572 6.0 @PRINTF_LD_68
0 14 0 0 557 5.7 @const268
0 14 0 0 280 1.4 @const269
Program metrics:
Functions 31
Statements 362
Comments 352
Volume (V) 18773
Difficilty (D) 126.8
Effort to implement (E) 2380534
Time to implement (T) 36 hours, 44 minutes
Est Delivered Bugs (B) 6
Cyclomatic Complexity 31
Maintainability (MI) 54
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 1848 196
00800-00FFF 1362 686
01000-017FF 0 2048
01800-01FFF 0 2048