ROM used: 6167 (75%)
7007 (86%) including unused fragments
2 Average locations per line
9 Average locations per statement
RAM used: 29 (8%) at main() level
144 (39%) worst case
Stack used: 5 worst case (out of 8 total available)
Lines Stmts % Files
----- ----- --- -----
218 153 22 main.c
29 0 0 main.h
423 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h
2172 260 38 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\math.h
409 121 18 ..\..\..\..\..\..\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 7 SHT25.c
6 0 0 MPL3115.h
106 54 8 MPL3115.c
19 0 0 HMC5883L.h
102 46 7 HMC5883L.c
----- -----
3646 685 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 0 1 @delay_ms1
0 69 1 3 @I2C_READ_1
0 74 1 1 @I2C_WRITE_1
0 36 1 1 @PUTCHAR_1_
1 65 1 10 @FLT
0 31 1 2 @ITOF
0 204 3 14 @DIVFF
1 326 5 16 @ADDFF
0 119 2 13 @MULFF
1 37 1 2 @SITOF
Inline 21 1082 6.9 atan
0 56 1 0 55 1.1 SHT25_soft_reset
0 200 3 3 550 4.0 SHT25_setup
1 256 4 9 572 6.0 SHT25_get_temp
1 231 4 9 557 5.7 SHT25_get_hum
1 189 3 0 280 1.4 mpl3115_setA
0 171 3 0 280 1.4 mpl3115_setP
0 90 1 2 167 2.4 mpl3115_read
0 131 2 13 206 4.3 mpl3115_T
1 168 3 16 303 5.3 mpl3115_A
1 218 4 23 486 4.5 mpl3115_P
Inline 4 129 4.6 @DTOF
0 178 3 0 357 1.4 set_mag
1 96 2 1 152 2.2 mag_read
0 17 0 6 129 4.6 mag_vypocet
Inline 4 171 2.7 mag_readX
Inline 4 171 2.7 mag_readY
Inline 4 173 2.6 mag_readZ
0 110 2 2 174 2.9 TIMER1_isr
Inline 5 @MUL1616
0 7 0 0 17 1.3 TIMER0_isr
2 1188 19 10 821 7.2 azimut
0 137 2 0 125 1.8 uvitani
0 28 0 0 @const376
0 2 0 0 @const377
0 79 1 4 @PSTRINGCN7_69
0 70 1 3 125 1.8 @PSTRINGC7_69
0 19 0 0 @const381
0 6 0 0 @const382
0 5 0 0 125 1.8 @const383
0 7 0 0 @const384
0 42 1 0 @const385
Inline 2 @PSTRINGC_69
0 41 1 0 4613 5.6 @const387
0 33 1 3 @PSTRINGCN_69
3 863 14 1 4717 5.6 MAIN
1 13 0 1 4651 5.6 @SPRINTF
1 24 0 2 @PSTRINGR_405
1 101 2 9 5070 5.6 @PRINTF_LU_405
Inline 5 @FTOSD
1 70 1 13 @DIV3232
1 241 4 13 @PRINTF_L32D_405FPFPF
2 43 1 2 @PRINTF_X_405
Program metrics:
Functions 28
Statements 685
Comments 571
Volume (V) 40273
Difficilty (D) 104.8
Effort to implement (E) 4219117
Time to implement (T) 65 hours, 7 minutes
Est Delivered Bugs (B) 9
Cyclomatic Complexity 9
Maintainability (MI) 114
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-00037 52 0
00038-007FF 1982 10
00800-00FFF 2035 13
01000-017FF 1231 817
01800-01FFF 863 1185