Line 1... |
Line 1... |
1 |
|
1 |
|
2 |
ROM used: 972 (12%) |
2 |
ROM used: 821 (10%) |
3 |
972 (12%) including unused fragments |
3 |
821 (10%) including unused fragments |
4 |
|
4 |
|
5 |
2 Average locations per line |
5 |
1 Average locations per line |
6 |
15 Average locations per statement |
6 |
15 Average locations per statement |
7 |
|
7 |
|
8 |
RAM used: 12 (3%) at main() level |
8 |
RAM used: 18 (5%) at main() level |
9 |
22 (6%) worst case |
9 |
27 (7%) worst case |
10 |
|
10 |
|
11 |
Stack used: 3 worst case (out of 8 total available) |
11 |
Stack used: 2 worst case (out of 8 total available) |
12 |
|
12 |
|
13 |
Lines Stmts % Files |
13 |
Lines Stmts % Files |
14 |
----- ----- --- ----- |
14 |
----- ----- --- ----- |
15 |
32 19 29 main.c |
15 |
70 28 50 main.c |
16 |
22 0 0 main.h |
16 |
22 0 0 main.h |
17 |
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h |
17 |
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h |
18 |
19 0 0 HMC5883L.h |
18 |
19 0 0 HMC5883L.h |
19 |
102 46 71 HMC5883L.c |
19 |
86 28 50 HMC5883L.c |
20 |
----- ----- |
20 |
----- ----- |
21 |
598 65 Total |
21 |
620 56 Total |
22 |
|
22 |
|
23 |
Page ROM % RAM Vol Diff Functions: |
23 |
Page ROM % RAM Vol Diff Functions: |
24 |
---- --- --- --- --- ---- ---------- |
24 |
---- --- --- --- --- ---- ---------- |
25 |
0 20 2 1 @delay_ms1 |
- |
|
26 |
Inline 3 357 1.4 @I2C_READ_1 |
25 |
0 69 8 3 357 1.4 @I2C_READ_1 |
27 |
0 74 8 1 113 1.3 @I2C_WRITE_1 |
26 |
0 74 9 1 113 1.3 @I2C_WRITE_1 |
28 |
0 36 4 1 152 2.2 @PUTCHAR_1_ |
27 |
0 36 4 1 152 2.2 @PUTCHAR_1_ |
29 |
0 178 18 0 357 1.4 set_mag |
- |
|
30 |
0 155 16 1 152 2.2 mag_read |
- |
|
31 |
0 21 2 6 129 4.6 mag_vypocet |
- |
|
32 |
0 26 3 4 171 2.7 mag_readX |
- |
|
33 |
0 26 3 4 171 2.7 mag_readY |
28 |
0 57 7 2 102 1.8 hmc5883l_write_reg |
34 |
0 26 3 4 171 2.7 mag_readZ |
29 |
0 127 15 6 627 3.5 hmc5883l_read_data |
35 |
0 181 19 6 587 3.3 MAIN |
30 |
0 229 28 6 1048 7.4 MAIN |
36 |
0 9 1 0 @const102 |
31 |
0 9 1 0 171 2.7 @const100 |
37 |
0 70 7 3 @PSTRINGC7_69 |
32 |
0 70 9 3 171 2.7 @PSTRINGC7_69 |
38 |
0 12 1 0 @const104 |
33 |
0 12 1 0 171 2.7 @const102 |
39 |
0 6 1 0 @const105 |
34 |
0 6 1 0 587 3.3 @const103 |
40 |
0 128 13 9 @PRINTF_LD_69 |
35 |
0 128 16 9 @PRINTF_LD_69 |
41 |
|
36 |
|
42 |
Program metrics: |
37 |
Program metrics: |
43 |
Functions 10 |
38 |
Functions 10 |
44 |
Statements 65 |
39 |
Statements 56 |
45 |
Comments 99 |
40 |
Comments 119 |
46 |
Volume (V) 3874 |
41 |
Volume (V) 5424 |
47 |
Difficilty (D) 23.6 |
42 |
Difficilty (D) 29.5 |
48 |
Effort to implement (E) 91333 |
43 |
Effort to implement (E) 160169 |
49 |
Time to implement (T) 1 hours, 25 minutes |
44 |
Time to implement (T) 2 hours, 28 minutes |
50 |
Est Delivered Bugs (B) 1 |
45 |
Est Delivered Bugs (B) 1 |
51 |
Cyclomatic Complexity 1 |
46 |
Cyclomatic Complexity 4 |
52 |
Maintainability (MI) 60 |
47 |
Maintainability (MI) 70 |
53 |
|
48 |
|
54 |
Segment Used Free |
49 |
Segment Used Free |
55 |
----------- ---- ---- |
50 |
----------- ---- ---- |
56 |
00000-00003 4 0 |
51 |
00000-00003 4 0 |
57 |
00004-007FF 968 1076 |
52 |
00004-007FF 817 1227 |
58 |
00800-00FFF 0 2048 |
53 |
00800-00FFF 0 2048 |
59 |
01000-017FF 0 2048 |
54 |
01000-017FF 0 2048 |
60 |
01800-01FFF 0 2048 |
55 |
01800-01FFF 0 2048 |
61 |
|
56 |
|
62 |
|
57 |
|