Line 1... |
Line 1... |
1 |
|
1 |
|
2 |
ROM used: 775 (9%) |
2 |
ROM used: 799 (10%) |
3 |
775 (9%) including unused fragments |
3 |
799 (10%) including unused fragments |
4 |
|
4 |
|
5 |
0 Average locations per line |
5 |
0 Average locations per line |
6 |
3 Average locations per statement |
6 |
3 Average locations per statement |
7 |
|
7 |
|
8 |
RAM used: 28 (8%) at main() level |
8 |
RAM used: 28 (8%) at main() level |
Line 10... |
Line 10... |
10 |
|
10 |
|
11 |
Stack used: 2 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 |
72 18 6 main.c |
15 |
48 19 6 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 |
25 0 0 HMC5883L.h |
19 |
86 28 9 HMC5883L.c |
19 |
76 28 9 HMC5883L.c |
20 |
2172 260 85 C:\Program Files (x86)\PICC\drivers\math.h |
20 |
2172 260 85 C:\Program Files (x86)\PICC\drivers\math.h |
21 |
----- ----- |
21 |
----- ----- |
22 |
2794 306 Total |
22 |
2766 307 Total |
23 |
|
23 |
|
24 |
Page ROM % RAM Vol Diff Functions: |
24 |
Page ROM % RAM Vol Diff Functions: |
25 |
---- --- --- --- --- ---- ---------- |
25 |
---- --- --- --- --- ---- ---------- |
- |
|
26 |
0 22 3 1 @delay_ms1 |
26 |
0 69 9 3 357 1.4 @I2C_READ_1 |
27 |
0 69 9 3 @I2C_READ_1 |
27 |
0 74 10 1 113 1.3 @I2C_WRITE_1 |
28 |
0 74 9 1 @I2C_WRITE_1 |
28 |
0 35 5 1 152 2.2 @PUTCHAR_1_ |
29 |
0 36 5 1 @PUTCHAR_1_ |
29 |
0 57 7 2 102 1.8 hmc5883l_write_reg |
30 |
0 57 7 2 102 1.8 hmc5883l_write_reg |
30 |
0 127 16 6 636 3.3 hmc5883l_read_data |
31 |
0 127 16 6 636 3.3 hmc5883l_read_data |
31 |
0 184 24 16 693 3.9 MAIN |
32 |
0 185 23 16 722 3.9 MAIN |
32 |
0 9 1 0 @const237 |
33 |
0 9 1 0 @const237 |
33 |
0 70 9 3 @PSTRINGC7_69 |
34 |
0 70 9 3 @PSTRINGC7_69 |
34 |
0 12 2 0 @const239 |
35 |
0 12 2 0 @const239 |
35 |
0 6 1 0 @const240 |
36 |
0 6 1 0 @const240 |
36 |
0 128 17 9 @PRINTF_LD_69 |
37 |
0 128 16 9 @PRINTF_LD_69 |
37 |
|
38 |
|
38 |
Program metrics: |
39 |
Program metrics: |
39 |
Functions 6 |
40 |
Functions 3 |
40 |
Statements 306 |
41 |
Statements 307 |
41 |
Comments 377 |
42 |
Comments 358 |
42 |
Volume (V) 2949 |
43 |
Volume (V) 1829 |
43 |
Difficilty (D) 13.9 |
44 |
Difficilty (D) 8.6 |
44 |
Effort to implement (E) 40971 |
45 |
Effort to implement (E) 15712 |
45 |
Time to implement (T) 38 minutes |
46 |
Time to implement (T) 15 minutes |
46 |
Est Delivered Bugs (B) 0 |
47 |
Est Delivered Bugs (B) 0 |
47 |
Cyclomatic Complexity 1 |
48 |
Cyclomatic Complexity 1 |
48 |
Maintainability (MI) 61 |
49 |
Maintainability (MI) 16 |
49 |
|
50 |
|
50 |
Segment Used Free |
51 |
Segment Used Free |
51 |
----------- ---- ---- |
52 |
----------- ---- ---- |
52 |
00000-00003 4 0 |
53 |
00000-00003 4 0 |
53 |
00004-007FF 771 1273 |
54 |
00004-007FF 795 1249 |
54 |
00800-00FFF 0 2048 |
55 |
00800-00FFF 0 2048 |
55 |
01000-017FF 0 2048 |
56 |
01000-017FF 0 2048 |
56 |
01800-01FFF 0 2048 |
57 |
01800-01FFF 0 2048 |
57 |
|
58 |
|
58 |
|
59 |
|