1 |
|
1 |
|
2 |
ROM used: 799 (10%) |
2 |
ROM used: 762 (9%) |
3 |
799 (10%) including unused fragments |
3 |
762 (9%) including unused fragments |
4 |
|
4 |
|
5 |
0 Average locations per line |
5 |
0 Average locations per line |
6 |
3 Average locations per statement |
6 |
2 Average locations per statement |
7 |
|
7 |
|
8 |
RAM used: 28 (8%) at main() level |
8 |
RAM used: 12 (3%) at main() level |
9 |
38 (10%) worst case |
9 |
21 (6%) worst case |
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 |
48 19 6 main.c |
15 |
43 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 |
25 0 0 HMC5883L.h |
18 |
25 0 0 HMC5883L.h |
19 |
76 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 |
2766 307 Total |
22 |
2761 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 22 3 1 @delay_ms1 |
27 |
0 69 9 3 @I2C_READ_1 |
27 |
0 69 9 3 @I2C_READ_1 |
28 |
0 74 9 1 @I2C_WRITE_1 |
28 |
0 74 10 1 @I2C_WRITE_1 |
29 |
0 36 5 1 @PUTCHAR_1_ |
- |
|
30 |
0 57 7 2 102 1.8 hmc5883l_write_reg |
29 |
0 57 7 2 102 1.8 hmc5883l_write_reg |
31 |
0 127 16 6 636 3.3 hmc5883l_read_data |
30 |
0 127 17 6 636 3.3 hmc5883l_read_data |
32 |
0 185 23 16 722 3.9 MAIN |
31 |
0 190 25 0 595 3.3 MAIN |
33 |
0 9 1 0 @const237 |
32 |
0 9 1 0 78 2.7 @const229 |
34 |
0 70 9 3 @PSTRINGC7_69 |
33 |
0 72 9 3 722 3.9 @PSTRINGC7_9600_62_63 |
35 |
0 12 2 0 @const239 |
34 |
0 14 2 0 @const231 |
36 |
0 6 1 0 @const240 |
35 |
0 6 1 0 @const232 |
37 |
0 128 16 9 @PRINTF_LD_69 |
36 |
0 118 15 9 @PRINTF_LD_9600_62_63 |
38 |
|
37 |
|
39 |
Program metrics: |
38 |
Program metrics: |
40 |
Functions 3 |
39 |
Functions 5 |
41 |
Statements 307 |
40 |
Statements 307 |
42 |
Comments 358 |
41 |
Comments 356 |
43 |
Volume (V) 1829 |
42 |
Volume (V) 2913 |
44 |
Difficilty (D) 8.6 |
43 |
Difficilty (D) 14.9 |
45 |
Effort to implement (E) 15712 |
44 |
Effort to implement (E) 43483 |
46 |
Time to implement (T) 15 minutes |
45 |
Time to implement (T) 40 minutes |
47 |
Est Delivered Bugs (B) 0 |
46 |
Est Delivered Bugs (B) 0 |
48 |
Cyclomatic Complexity 1 |
47 |
Cyclomatic Complexity 1 |
49 |
Maintainability (MI) 16 |
48 |
Maintainability (MI) 95 |
50 |
|
49 |
|
51 |
Segment Used Free |
50 |
Segment Used Free |
52 |
----------- ---- ---- |
51 |
----------- ---- ---- |
53 |
00000-00003 4 0 |
52 |
00000-00003 4 0 |
54 |
00004-007FF 795 1249 |
53 |
00004-007FF 758 1286 |
55 |
00800-00FFF 0 2048 |
54 |
00800-00FFF 0 2048 |
56 |
01000-017FF 0 2048 |
55 |
01000-017FF 0 2048 |
57 |
01800-01FFF 0 2048 |
56 |
01800-01FFF 0 2048 |
58 |
|
57 |
|
59 |
|
58 |
|
60 |
|
59 |
|