Rev 3275 Rev 3283
Line 1... Line 1...
1   1  
2 ROM used: 2940 (36%) 2 ROM used: 3183 (39%)
3 3000 (37%) including unused fragments 3 3186 (39%) including unused fragments
4   4  
5 3 Average locations per line 5 1 Average locations per line
6 16 Average locations per statement 6 7 Average locations per statement
7   7  
8 RAM used: 21 (6%) at main() level 8 RAM used: 27 (7%) at main() level
9 46 (12%) worst case 9 52 (14%) 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 58 30 17 main.c 15 69 35 7 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 408 88 49 C:\Program Files (x86)\PICC\drivers\lcd.c 18 408 88 19 C:\Program Files (x86)\PICC\drivers\lcd.c
19 14 0 0 ..\SHT25.h 19 14 0 0 ..\SHT25.h
20 92 51 28 ..\SHT25.c 20 92 51 11 ..\SHT25.c
21 8 0 0 ..\LTS01.h 21 8 0 0 ..\LTS01.h
22 22 11 6 ..\LTS01.c 22 22 11 2 ..\LTS01.c
-   23 25 0 0 ..\.\HMC5883L.h
-   24 76 28 6 ..\HMC5883L.c
-   25 2172 260 55 C:\Program Files (x86)\PICC\drivers\math.h
23 ----- ----- 26 ----- -----
24 1047 180 Total 27 3331 473 Total
25   28  
26 Page ROM % RAM Vol Diff Functions: 29 Page ROM % RAM Vol Diff Functions:
27 ---- --- --- --- --- ---- ---------- 30 ---- --- --- --- --- ---- ----------
28 0 20 1 1 @delay_ms1 31 0 20 1 1 @delay_ms1
29 0 69 2 3 @I2C_READ_1 32 0 69 2 3 @I2C_READ_1
30 0 74 3 1 @I2C_WRITE_1 33 0 74 2 1 @I2C_WRITE_1
31 0 8 0 0 @const80 34 0 8 0 0 @const80
32 Inline 3 751 4.5 lcd_read_byte 35 Inline 3 751 4.5 lcd_read_byte
33 0 49 2 2 254 3.7 lcd_read_nibble 36 0 49 2 2 254 3.7 lcd_read_nibble
34 0 44 1 1 391 2.4 lcd_send_nibble 37 0 44 1 1 391 2.4 lcd_send_nibble
35 0 92 3 3 402 3.6 lcd_send_byte 38 0 92 3 3 402 3.6 lcd_send_byte
36 0 56 2 2 666 5.0 lcd_init 39 0 56 2 2 666 5.0 lcd_init
37 0 18 1 4 191 5.8 lcd_gotoxy 40 0 18 1 4 191 5.8 lcd_gotoxy
38 0 45 2 1 354 4.7 lcd_putc 41 0 45 1 1 354 4.7 lcd_putc
39 0 207 7 9 572 6.0 SHT25_get_temp 42 0 207 7 9 572 6.0 SHT25_get_temp
40 0 29 1 2 @ITOF 43 0 29 1 2 572 6.0 @ITOF
41 0 202 7 14 @DIVFF 44 0 202 6 14 @DIVFF
42 0 117 4 13 @MULFF 45 0 117 4 13 @MULFF
43 0 321 11 16 @ADDFF 46 0 321 10 16 @ADDFF
44 0 182 6 9 554 5.9 SHT25_get_hum 47 0 182 6 9 554 5.9 SHT25_get_hum
45 0 176 6 6 354 3.9 LTS01_get_temp 48 0 176 6 6 382 2.7 LTS01_get_temp
46 Inline 2 1053 3.9 @SITOF 49 Inline 2 382 2.7 @SITOF
-   50 0 57 2 2 102 1.8 hmc5883l_write_reg
-   51 1 145 5 6 636 3.3 hmc5883l_read_data
47 1 400 14 15 1053 3.9 MAIN 52 1 443 14 15 1342 4.4 MAIN
48 0 6 0 0 @const141 53 0 6 0 0 1381 4.4 @const282
49 0 72 2 3 @PSTRINGC7_9600_62_63 54 0 72 2 3 @PSTRINGC7_9600_62_63
50 0 9 0 0 @const143 55 0 9 0 0 @const284
51 0 7 0 0 @const144 56 0 7 0 0 @const285
52 0 8 0 0 @const145 57 0 8 0 0 @const286
53 0 70 2 3 @PSTRINGC7_98 58 0 70 2 3 @PSTRINGC7_98
54 0 6 0 0 @const147 59 0 6 0 0 @const288
55 0 31 1 5 @FTOSD 60 0 31 1 5 @FTOSD
56 0 66 2 13 @DIV3232 61 0 66 2 13 @DIV3232
57 1 218 7 13 @PRINTF_L32D_98FPFPF 62 1 218 7 13 @PRINTF_L32D_98FPFPF
58 1 120 4 9 @PRINTF_LD_9600_62_63 63 1 118 4 9 @PRINTF_LD_9600_62_63
59 1 214 7 13 @PRINTF_L32D_9600_62_63FPFPF 64 1 214 7 13 @PRINTF_L32D_9600_62_63FPFPF
60   65  
61 Program metrics: 66 Program metrics:
62 Functions 12 67 Functions 16
63 Statements 180 68 Statements 473
64 Comments 201 69 Comments 472
65 Volume (V) 10540 70 Volume (V) 14718
66 Difficilty (D) 50.7 71 Difficilty (D) 64.8
67 Effort to implement (E) 534809 72 Effort to implement (E) 953628
68 Time to implement (T) 8 hours, 15 minutes 73 Time to implement (T) 14 hours, 43 minutes
69 Est Delivered Bugs (B) 2 74 Est Delivered Bugs (B) 3
70 Cyclomatic Complexity 8 75 Cyclomatic Complexity 8
71 Maintainability (MI) 95 76 Maintainability (MI) 123
72   77  
73 Segment Used Free 78 Segment Used Free
74 ----------- ---- ---- 79 ----------- ---- ----
75 00000-00003 4 0 80 00000-00003 4 0
76 00004-007FF 1984 60 81 00004-007FF 2041 3
77 00800-00FFF 952 1096 82 00800-00FFF 1138 910
78 01000-017FF 0 2048 83 01000-017FF 0 2048
79 01800-01FFF 0 2048 84 01800-01FFF 0 2048
80   85  
81   86  
82   87