Rev 3020 Rev 3021
Line 1... Line 1...
1   1  
2 ROM used: 2825 (34%) 2 ROM used: 3009 (37%)
3 2979 (36%) including unused fragments 3 3092 (38%) including unused fragments
4   4  
5 3 Average locations per line 5 3 Average locations per line
6 12 Average locations per statement 6 12 Average locations per statement
7   7  
8 RAM used: 36 (10%) at main() level 8 RAM used: 37 (10%) at main() level
9 55 (15%) worst case 9 56 (15%) worst case
10   10  
11 Stack used: 6 worst case (out of 8 total available) 11 Stack used: 6 worst case (out of 8 total available)
12   12  
13 Lines Stmts % Files 13 Lines Stmts % Files
14 ----- ----- --- ----- 14 ----- ----- --- -----
15 235 140 61 main.c 15 269 158 64 main.c
16 21 0 0 main.h 16 21 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 39 C:\Program Files (x86)\PICC\drivers\lcd.c 18 408 88 36 C:\Program Files (x86)\PICC\drivers\lcd.c
19 ----- ----- 19 ----- -----
20 1087 228 Total 20 1121 246 Total
21   21  
22 Page ROM % RAM Vol Diff Functions: 22 Page ROM % RAM Vol Diff Functions:
23 ---- --- --- --- --- ---- ---------- 23 ---- --- --- --- --- ---- ----------
24 0 20 1 1 @delay_ms1 24 0 20 1 1 @delay_ms1
25 0 17 1 1 @delay_us1 25 0 17 1 1 @delay_us1
26 0 34 1 1 @PUTCHAR_1_ 26 0 34 1 1 @PUTCHAR_1_
27 0 8 0 0 @const78 27 0 8 0 0 @const78
28 Inline 3 751 4.5 lcd_read_byte 28 Inline 3 751 4.5 lcd_read_byte
29 0 49 2 2 254 3.7 lcd_read_nibble 29 0 49 2 2 254 3.7 lcd_read_nibble
30 0 44 2 1 391 2.4 lcd_send_nibble 30 0 44 1 1 391 2.4 lcd_send_nibble
31 0 92 3 3 402 3.6 lcd_send_byte 31 0 92 3 3 402 3.6 lcd_send_byte
32 0 58 2 2 666 5.0 lcd_init 32 0 58 2 2 666 5.0 lcd_init
33 0 18 1 4 191 5.8 lcd_gotoxy 33 0 18 1 4 191 5.8 lcd_gotoxy
34 0 45 2 1 354 4.7 lcd_putc 34 0 45 1 1 354 4.7 lcd_putc
35 0 7 0 0 17 1.3 RTCC_isr 35 0 7 0 0 17 1.3 RTCC_isr
36 0 19 1 0 50 1.5 TIMER1_isr 36 0 19 1 0 50 1.5 TIMER1_isr
37 0 73 3 7 166 4.5 sound_beep 37 0 73 2 7 170 4.1 sound_beep
38 Inline 5 @DIV1616 38 Inline 5 @DIV1616
39 1 931 33 15 5088 10.6 MAIN 39 1 1044 35 16 6137 12.7 MAIN
40 0 16 1 0 @const124 40 0 16 1 0 @const124
41 0 70 2 3 @PSTRINGC7_96 41 0 70 2 3 @PSTRINGC7_96
42 0 15 1 0 @const126 42 0 15 0 0 @const126
43 0 70 2 3 @PSTRINGC7_64 43 0 70 2 3 @PSTRINGC7_64
44 0 14 0 0 @const128 44 0 14 0 0 @const128
45 0 1 0 0 @const129 45 0 1 0 0 @const129
46 0 8 0 0 @const131 46 0 8 0 0 @const131
47 0 79 3 4 @PSTRINGCN7_96 47 0 79 3 4 @PSTRINGCN7_96
Line 51... Line 51...
51 0 29 1 2 @ITOF 51 0 29 1 2 @ITOF
52 0 119 4 13 @MULFF 52 0 119 4 13 @MULFF
53 0 323 11 16 @ADDFF 53 0 323 11 16 @ADDFF
54 0 33 1 4 @SFTOI 54 0 33 1 4 @SFTOI
55 0 8 0 0 @const152 55 0 8 0 0 @const152
56 0 99 4 9 @PRINTF_LU_96 56 0 99 3 9 @PRINTF_LU_96
57 0 5 0 0 @const156 57 0 21 1 3 @DIV88
-   58 0 55 2 2 @PRINTF_U_96
58 0 12 0 0 @const157 59 0 12 0 0 @const162
59 0 79 3 4 @PSTRINGCN7_64 60 0 79 3 4 @PSTRINGCN7_64
60 0 99 4 9 @PRINTF_LU_64 61 0 99 3 9 @PRINTF_LU_64
61 0 94 3 12 @PRINTF_L32U_64 62 0 94 3 12 @PRINTF_L32U_64
62   63  
63 Program metrics: 64 Program metrics:
64 Functions 11 65 Functions 11
65 Statements 228 66 Statements 246
66 Comments 188 67 Comments 195
67 Volume (V) 11427 68 Volume (V) 12590
68 Difficilty (D) 46.2 69 Difficilty (D) 48.1
69 Effort to implement (E) 528005 70 Effort to implement (E) 605765
70 Time to implement (T) 8 hours, 9 minutes 71 Time to implement (T) 9 hours, 21 minutes
71 Est Delivered Bugs (B) 2 72 Est Delivered Bugs (B) 2
72 Cyclomatic Complexity 33 73 Cyclomatic Complexity 41
73 Maintainability (MI) 91 74 Maintainability (MI) 95
74   75  
75 Segment Used Free 76 Segment Used Free
76 ----------- ---- ---- 77 ----------- ---- ----
77 00000-00003 4 0 78 00000-00003 4 0
78 00004-00037 52 0 79 00004-00037 52 0
79 00038-007FF 1838 154 80 00038-007FF 1909 83
80 00800-00FFF 931 1117 81 00800-00FFF 1044 1004
81 01000-017FF 0 2048 82 01000-017FF 0 2048
82 01800-01FFF 0 2048 83 01800-01FFF 0 2048
83   84  
84   85  
85   86