ROM used: 5847 (71%)
5951 (73%) including unused fragments
2 Average locations per line
10 Average locations per statement
RAM used: 25 (7%) at main() level
260 (71%) worst case
Stack used: 5 worst case (out of 8 total available)
Lines Stmts % Files
----- ----- --- -----
193 79 13 main.c
30 0 0 main.h
423 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h
2172 260 43 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\math.h
409 121 20 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\string.h
28 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\stddef.h
28 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\ctype.h
14 0 0 SHT25.h
92 51 8 SHT25.c
6 0 0 MPL3115.h
106 54 9 MPL3115.c
19 0 0 HMC5883L.h
102 46 8 HMC5883L.c
----- -----
3622 611 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 0 1 @delay_ms1
0 77 1 3 @I2C_READ_1
0 76 1 1 @I2C_WRITE_1
Inline 1 1124 10.7 @PUTCHAR_1_
1 65 1 10 @FLT
0 31 1 2 @ITOF
0 204 3 14 @DIVFF
0 326 6 16 43 2.1 @ADDFF
1 119 2 13 44 1.9 @MULFF
0 39 1 2 @SITOF
Inline 21 1082 6.9 atan
0 60 1 0 55 1.1 SHT25_soft_reset
0 224 4 3 550 4.0 SHT25_setup
1 282 5 9 572 6.0 SHT25_get_temp
1 259 4 9 557 5.7 SHT25_get_hum
1 207 4 0 280 1.4 mpl3115_setA
0 189 3 0 280 1.4 mpl3115_setP
0 100 2 2 167 2.4 mpl3115_read
0 159 3 13 206 4.3 mpl3115_T
1 210 4 16 303 5.3 mpl3115_A
1 266 5 23 486 4.5 mpl3115_P
Inline 4 113 1.3 @DTOF
0 196 3 0 357 1.4 set_mag
1 106 2 1 152 2.2 mag_read
0 23 0 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
0 110 2 2 174 2.9 TIMER1_isr
Inline 5 171 2.7 @MUL1616
0 7 0 0 17 1.3 TIMER0_isr
2 1342 23 10 821 7.2 azimut
0 28 0 0 821 7.2 @const375
0 2 0 0 125 1.8 @const376
0 19 0 0 @const380
0 6 0 0 @const381
0 5 0 0 @const382
0 7 0 0 @const383
0 42 1 0 @const384
0 41 1 0 @const386
2 513 9 1 1431 5.7 MAIN
1 15 0 1 1282 4.1 @SPRINTF
Inline 5 @FTOSD
1 72 1 13 @DIV3232
1 277 5 13 @PRINTF_L32D_401FPFPF
1 67 1 2 @PSTRINGR_69
Program metrics:
Functions 29
Statements 611
Comments 564
Volume (V) 20991
Difficilty (D) 107.9
Effort to implement (E) 2265646
Time to implement (T) 34 hours, 58 minutes
Est Delivered Bugs (B) 6
Cyclomatic Complexity 23
Maintainability (MI) 113
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-00037 52 0
00038-007FF 1991 1
00800-00FFF 1945 103
01000-017FF 1855 193
01800-01FFF 0 2048