ROM used: 3155 (39%)
3423 (42%) including unused fragments
4 Average locations per line
14 Average locations per statement
RAM used: 78 (21%) at main() level
100 (27%) worst case
Stack used: 4 worst case (out of 8 total available)
Lines Stmts % Files
----- ----- --- -----
354 196 90 main.c
20 0 0 main.h
423 0 0 ..\..\..\..\..\Program Files (x86)\PICC\devices\16F887.h
10 0 0 BQ34Z100.h
70 22 10 BQ34Z100.c
----- -----
877 218 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 1 1 @delay_ms1
0 69 2 3 @I2C_READ_1
0 74 2 1 @I2C_WRITE_1
0 36 1 1 @PUTCHAR_1_
0 193 6 8 478 4.2 cteniBAT
0 14 0 2 59 2.3 batNAP
0 14 0 2 59 2.3 batPROUD
0 14 0 2 59 2.3 batSTAV
0 260 8 1 1962 3.9 batMODE
0 3 0 0 @const113
0 70 2 3 @PSTRINGC7_69
0 112 4 1 567 4.1 setHUB
0 3 0 0 @const117
0 277 9 6 547 3.0 batdata
0 29 1 2 @ITOF
0 223 7 14 @DIVFF
0 37 1 2 @SITOF
0 134 4 13 @MULFF
0 31 1 4 @SFTOI
1 1028 33 4 3175 7.4 MAIN
0 13 0 1 @SPRINTF
0 128 4 9 @PRINTF_LD_136
0 22 1 2 @PSTRINGR_69
1 347 11 16 @ADDFF
Program metrics:
Functions 8
Statements 218
Comments 151
Volume (V) 9290
Difficilty (D) 30.1
Effort to implement (E) 279607
Time to implement (T) 4 hours, 19 minutes
Est Delivered Bugs (B) 1
Cyclomatic Complexity 26
Maintainability (MI) 102
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 1776 268
00800-00FFF 1375 673
01000-017FF 0 2048
01800-01FFF 0 2048