ROM used: 1146 (14%)
1146 (14%) including unused fragments
0 Average locations per line
4 Average locations per statement
RAM used: 13 (4%) at main() level
26 (7%) worst case
Stack used: 3 worst case (out of 8 total available)
Lines Stmts % Files
----- ----- --- -----
46 21 7 main.c
20 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
2172 260 84 C:\Program Files (x86)\PICC\drivers\math.h
16 0 0 MMA8451Q.h
60 28 9 MMA8451Q.c
----- -----
2737 309 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 22 2 1 @delay_ms1
0 69 6 3 @I2C_READ_1
0 74 6 1 @I2C_WRITE_1
0 36 3 1 @PUTCHAR_1_
0 59 5 0 80 1.2 setAK
0 269 23 8 558 4.7 akR
Inline 6 272 5.5 @DIVS1616
0 16 1 2 68 2.4 akX
0 16 1 2 68 2.4 akY
0 16 1 2 68 2.4 akZ
0 227 20 1 584 3.3 MAIN
0 17 1 0 343 8.6 @const232
0 70 6 3 367 7.0 @PSTRINGC7_69
0 12 1 0 264 6.8 @const234
0 11 1 0 153 4.7 @const235
0 7 1 0 315 6.5 @const236
0 79 7 4 288 6.0 @PSTRINGCN7_69
0 128 11 9 209 5.2 @PRINTF_LD_69
0 7 1 0 346 7.5 @const241
0 7 1 0 318 6.5 @const242
Program metrics:
Functions 16
Statements 309
Comments 351
Volume (V) 7495
Difficilty (D) 80.2
Effort to implement (E) 600964
Time to implement (T) 9 hours, 16 minutes
Est Delivered Bugs (B) 2
Cyclomatic Complexity 25
Maintainability (MI) 132
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 1142 902
00800-00FFF 0 2048
01000-017FF 0 2048
01800-01FFF 0 2048