Rev 2926 Rev 2984
Line 1... Line 1...
1   1  
2 ROM used: 788 (10%) 2 ROM used: 972 (12%)
3 788 (10%) including unused fragments 3 972 (12%) including unused fragments
4   4  
5 1 Average locations per line 5 2 Average locations per line
6 12 Average locations per statement 6 15 Average locations per statement
7   7  
8 RAM used: 7 (2%) at main() level 8 RAM used: 12 (3%) at main() level
9 22 (6%) worst case 9 22 (6%) worst case
10   10  
11 Stack used: 3 worst case (out of 8 total available) 11 Stack used: 3 worst case (out of 8 total available)
12   12  
13 Lines Stmts % Files 13 Lines Stmts % Files
14 ----- ----- --- ----- 14 ----- ----- --- -----
15 43 22 32 main.c 15 32 19 29 main.c
16 20 0 0 main.h 16 22 0 0 main.h
17 423 0 0 ..\..\..\..\..\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 68 HMC5883L.c 19 102 46 71 HMC5883L.c
20 ----- ----- 20 ----- -----
21 607 68 Total 21 598 65 Total
22   22  
23 Page ROM % RAM Vol Diff Functions: 23 Page ROM % RAM Vol Diff Functions:
24 ---- --- --- --- --- ---- ---------- 24 ---- --- --- --- --- ---- ----------
25 0 22 3 1 @delay_ms1 25 0 20 2 1 @delay_ms1
26 Inline 3 357 1.4 @I2C_READ_1 26 Inline 3 357 1.4 @I2C_READ_1
27 0 52 7 1 113 1.3 @I2C_WRITE_1 27 0 74 8 1 113 1.3 @I2C_WRITE_1
28 0 34 4 1 152 2.2 @PUTCHAR_1_ 28 0 36 4 1 152 2.2 @PUTCHAR_1_
-   29 0 178 18 0 357 1.4 set_mag
29 0 107 14 1 152 2.2 mag_read 30 0 155 16 1 152 2.2 mag_read
30 0 21 3 6 129 4.6 mag_vypocet 31 0 21 2 6 129 4.6 mag_vypocet
31 0 26 3 4 171 2.7 mag_readX 32 0 26 3 4 171 2.7 mag_readX
32 0 26 3 4 171 2.7 mag_readY 33 0 26 3 4 171 2.7 mag_readY
33 0 26 3 4 171 2.7 mag_readZ 34 0 26 3 4 171 2.7 mag_readZ
34 0 221 28 1 658 3.3 MAIN 35 0 181 19 6 587 3.3 MAIN
35 0 9 1 0 44 1.9 @const99 36 0 9 1 0 @const102
36 0 70 9 3 257 7.2 @PSTRINGC7_68 37 0 70 7 3 @PSTRINGC7_69
37 0 12 2 0 @const101 38 0 12 1 0 @const104
38 0 15 2 0 1071 8.0 @const102 -  
39 0 15 2 0 @const106 39 0 6 1 0 @const105
40 0 128 16 9 @PRINTF_LD_68 40 0 128 13 9 @PRINTF_LD_69
41   41  
42 Program metrics: 42 Program metrics:
43 Functions 12 43 Functions 10
44 Statements 68 44 Statements 65
45 Comments 109 45 Comments 99
46 Volume (V) 5531 46 Volume (V) 3874
47 Difficilty (D) 39.8 47 Difficilty (D) 23.6
48 Effort to implement (E) 220066 48 Effort to implement (E) 91333
49 Time to implement (T) 3 hours, 24 minutes 49 Time to implement (T) 1 hours, 25 minutes
50 Est Delivered Bugs (B) 1 50 Est Delivered Bugs (B) 1
51 Cyclomatic Complexity 3 51 Cyclomatic Complexity 1
52 Maintainability (MI) 61 52 Maintainability (MI) 60
53   53  
54 Segment Used Free 54 Segment Used Free
55 ----------- ---- ---- 55 ----------- ---- ----
56 00000-00003 4 0 56 00000-00003 4 0
57 00004-007FF 784 1260 57 00004-007FF 968 1076
58 00800-00FFF 0 2048 58 00800-00FFF 0 2048
59 01000-017FF 0 2048 59 01000-017FF 0 2048
60 01800-01FFF 0 2048 60 01800-01FFF 0 2048
61   61  
62   62