Line 1... |
Line 1... |
1 |
|
1 |
|
2 |
ROM used: 6167 (75%) |
2 |
ROM used: 5847 (71%) |
3 |
7007 (86%) including unused fragments |
3 |
5951 (73%) including unused fragments |
4 |
|
4 |
|
5 |
2 Average locations per line |
5 |
2 Average locations per line |
6 |
9 Average locations per statement |
6 |
10 Average locations per statement |
7 |
|
7 |
|
8 |
RAM used: 29 (8%) at main() level |
8 |
RAM used: 25 (7%) at main() level |
9 |
144 (39%) worst case |
9 |
260 (71%) worst case |
10 |
|
10 |
|
11 |
Stack used: 5 worst case (out of 8 total available) |
11 |
Stack used: 5 worst case (out of 8 total available) |
12 |
|
12 |
|
13 |
Lines Stmts % Files |
13 |
Lines Stmts % Files |
14 |
----- ----- --- ----- |
14 |
----- ----- --- ----- |
15 |
218 153 22 main.c |
15 |
193 79 13 main.c |
16 |
29 0 0 main.h |
16 |
30 0 0 main.h |
17 |
423 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h |
17 |
423 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h |
18 |
2172 260 38 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\math.h |
18 |
2172 260 43 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\math.h |
19 |
409 121 18 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\string.h |
19 |
409 121 20 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\string.h |
20 |
28 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\stddef.h |
20 |
28 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\stddef.h |
21 |
28 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\ctype.h |
21 |
28 0 0 ..\..\..\..\..\..\Program Files (x86)\PICC\drivers\ctype.h |
22 |
14 0 0 SHT25.h |
22 |
14 0 0 SHT25.h |
23 |
92 51 7 SHT25.c |
23 |
92 51 8 SHT25.c |
24 |
6 0 0 MPL3115.h |
24 |
6 0 0 MPL3115.h |
25 |
106 54 8 MPL3115.c |
25 |
106 54 9 MPL3115.c |
26 |
19 0 0 HMC5883L.h |
26 |
19 0 0 HMC5883L.h |
27 |
102 46 7 HMC5883L.c |
27 |
102 46 8 HMC5883L.c |
28 |
----- ----- |
28 |
----- ----- |
29 |
3646 685 Total |
29 |
3622 611 Total |
30 |
|
30 |
|
31 |
Page ROM % RAM Vol Diff Functions: |
31 |
Page ROM % RAM Vol Diff Functions: |
32 |
---- --- --- --- --- ---- ---------- |
32 |
---- --- --- --- --- ---- ---------- |
33 |
0 20 0 1 @delay_ms1 |
33 |
0 20 0 1 @delay_ms1 |
34 |
0 69 1 3 @I2C_READ_1 |
34 |
0 77 1 3 @I2C_READ_1 |
35 |
0 74 1 1 @I2C_WRITE_1 |
35 |
0 76 1 1 @I2C_WRITE_1 |
36 |
0 36 1 1 @PUTCHAR_1_ |
36 |
Inline 1 1124 10.7 @PUTCHAR_1_ |
37 |
1 65 1 10 @FLT |
37 |
1 65 1 10 @FLT |
38 |
0 31 1 2 @ITOF |
38 |
0 31 1 2 @ITOF |
39 |
0 204 3 14 @DIVFF |
39 |
0 204 3 14 @DIVFF |
40 |
1 326 5 16 @ADDFF |
40 |
0 326 6 16 43 2.1 @ADDFF |
41 |
0 119 2 13 @MULFF |
41 |
1 119 2 13 44 1.9 @MULFF |
42 |
1 37 1 2 @SITOF |
42 |
0 39 1 2 @SITOF |
43 |
Inline 21 1082 6.9 atan |
43 |
Inline 21 1082 6.9 atan |
44 |
0 56 1 0 55 1.1 SHT25_soft_reset |
44 |
0 60 1 0 55 1.1 SHT25_soft_reset |
45 |
0 200 3 3 550 4.0 SHT25_setup |
45 |
0 224 4 3 550 4.0 SHT25_setup |
46 |
1 256 4 9 572 6.0 SHT25_get_temp |
46 |
1 282 5 9 572 6.0 SHT25_get_temp |
47 |
1 231 4 9 557 5.7 SHT25_get_hum |
47 |
1 259 4 9 557 5.7 SHT25_get_hum |
48 |
1 189 3 0 280 1.4 mpl3115_setA |
48 |
1 207 4 0 280 1.4 mpl3115_setA |
49 |
0 171 3 0 280 1.4 mpl3115_setP |
49 |
0 189 3 0 280 1.4 mpl3115_setP |
50 |
0 90 1 2 167 2.4 mpl3115_read |
50 |
0 100 2 2 167 2.4 mpl3115_read |
51 |
0 131 2 13 206 4.3 mpl3115_T |
51 |
0 159 3 13 206 4.3 mpl3115_T |
52 |
1 168 3 16 303 5.3 mpl3115_A |
52 |
1 210 4 16 303 5.3 mpl3115_A |
53 |
1 218 4 23 486 4.5 mpl3115_P |
53 |
1 266 5 23 486 4.5 mpl3115_P |
54 |
Inline 4 129 4.6 @DTOF |
54 |
Inline 4 113 1.3 @DTOF |
55 |
0 178 3 0 357 1.4 set_mag |
55 |
0 196 3 0 357 1.4 set_mag |
56 |
1 96 2 1 152 2.2 mag_read |
56 |
1 106 2 1 152 2.2 mag_read |
57 |
0 17 0 6 129 4.6 mag_vypocet |
57 |
0 23 0 6 129 4.6 mag_vypocet |
58 |
Inline 4 171 2.7 mag_readX |
58 |
Inline 4 171 2.7 mag_readX |
59 |
Inline 4 171 2.7 mag_readY |
59 |
Inline 4 171 2.7 mag_readY |
60 |
Inline 4 173 2.6 mag_readZ |
60 |
Inline 4 171 2.7 mag_readZ |
61 |
0 110 2 2 174 2.9 TIMER1_isr |
61 |
0 110 2 2 174 2.9 TIMER1_isr |
62 |
Inline 5 @MUL1616 |
62 |
Inline 5 171 2.7 @MUL1616 |
63 |
0 7 0 0 17 1.3 TIMER0_isr |
63 |
0 7 0 0 17 1.3 TIMER0_isr |
64 |
2 1188 19 10 821 7.2 azimut |
64 |
2 1342 23 10 821 7.2 azimut |
65 |
0 137 2 0 125 1.8 uvitani |
- |
|
66 |
0 28 0 0 @const376 |
65 |
0 28 0 0 821 7.2 @const375 |
67 |
0 2 0 0 @const377 |
66 |
0 2 0 0 125 1.8 @const376 |
68 |
0 79 1 4 @PSTRINGCN7_69 |
- |
|
69 |
0 70 1 3 125 1.8 @PSTRINGC7_69 |
- |
|
70 |
0 19 0 0 @const381 |
67 |
0 19 0 0 @const380 |
71 |
0 6 0 0 @const382 |
68 |
0 6 0 0 @const381 |
72 |
0 5 0 0 125 1.8 @const383 |
69 |
0 5 0 0 @const382 |
73 |
0 7 0 0 @const384 |
70 |
0 7 0 0 @const383 |
74 |
0 42 1 0 @const385 |
71 |
0 42 1 0 @const384 |
75 |
Inline 2 @PSTRINGC_69 |
- |
|
76 |
0 41 1 0 4613 5.6 @const387 |
72 |
0 41 1 0 @const386 |
77 |
0 33 1 3 @PSTRINGCN_69 |
- |
|
78 |
3 863 14 1 4717 5.6 MAIN |
73 |
2 513 9 1 1431 5.7 MAIN |
79 |
1 13 0 1 4651 5.6 @SPRINTF |
74 |
1 15 0 1 1282 4.1 @SPRINTF |
80 |
1 24 0 2 @PSTRINGR_405 |
- |
|
81 |
1 101 2 9 5070 5.6 @PRINTF_LU_405 |
- |
|
82 |
Inline 5 @FTOSD |
75 |
Inline 5 @FTOSD |
83 |
1 70 1 13 @DIV3232 |
76 |
1 72 1 13 @DIV3232 |
84 |
1 241 4 13 @PRINTF_L32D_405FPFPF |
77 |
1 277 5 13 @PRINTF_L32D_401FPFPF |
85 |
2 43 1 2 @PRINTF_X_405 |
78 |
1 67 1 2 @PSTRINGR_69 |
86 |
|
79 |
|
87 |
Program metrics: |
80 |
Program metrics: |
88 |
Functions 28 |
81 |
Functions 29 |
89 |
Statements 685 |
82 |
Statements 611 |
90 |
Comments 571 |
83 |
Comments 564 |
91 |
Volume (V) 40273 |
84 |
Volume (V) 20991 |
92 |
Difficilty (D) 104.8 |
85 |
Difficilty (D) 107.9 |
93 |
Effort to implement (E) 4219117 |
86 |
Effort to implement (E) 2265646 |
94 |
Time to implement (T) 65 hours, 7 minutes |
87 |
Time to implement (T) 34 hours, 58 minutes |
95 |
Est Delivered Bugs (B) 9 |
88 |
Est Delivered Bugs (B) 6 |
96 |
Cyclomatic Complexity 9 |
89 |
Cyclomatic Complexity 23 |
97 |
Maintainability (MI) 114 |
90 |
Maintainability (MI) 113 |
98 |
|
91 |
|
99 |
Segment Used Free |
92 |
Segment Used Free |
100 |
----------- ---- ---- |
93 |
----------- ---- ---- |
101 |
00000-00003 4 0 |
94 |
00000-00003 4 0 |
102 |
00004-00037 52 0 |
95 |
00004-00037 52 0 |
103 |
00038-007FF 1982 10 |
96 |
00038-007FF 1991 1 |
104 |
00800-00FFF 2035 13 |
97 |
00800-00FFF 1945 103 |
105 |
01000-017FF 1231 817 |
98 |
01000-017FF 1855 193 |
106 |
01800-01FFF 863 1185 |
99 |
01800-01FFF 0 2048 |
107 |
|
100 |
|
108 |
|
101 |
|
109 |
|
102 |
|