/Modules/Sensors/MAG01A/SW/PIC16F887/main.sta
1,55 → 1,56
 
ROM used: 821 (10%)
821 (10%) including unused fragments
ROM used: 775 (9%)
775 (9%) including unused fragments
 
1 Average locations per line
15 Average locations per statement
0 Average locations per line
3 Average locations per statement
 
RAM used: 18 (5%) at main() level
27 (7%) worst case
RAM used: 28 (8%) at main() level
38 (10%) worst case
 
Stack used: 2 worst case (out of 8 total available)
 
Lines Stmts % Files
----- ----- --- -----
70 28 50 main.c
72 18 6 main.c
22 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
19 0 0 HMC5883L.h
86 28 50 HMC5883L.c
86 28 9 HMC5883L.c
2172 260 85 C:\Program Files (x86)\PICC\drivers\math.h
----- -----
620 56 Total
2794 306 Total
 
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 69 8 3 357 1.4 @I2C_READ_1
0 74 9 1 113 1.3 @I2C_WRITE_1
0 36 4 1 152 2.2 @PUTCHAR_1_
0 69 9 3 357 1.4 @I2C_READ_1
0 74 10 1 113 1.3 @I2C_WRITE_1
0 35 5 1 152 2.2 @PUTCHAR_1_
0 57 7 2 102 1.8 hmc5883l_write_reg
0 127 15 6 627 3.5 hmc5883l_read_data
0 229 28 6 1048 7.4 MAIN
0 9 1 0 171 2.7 @const100
0 70 9 3 171 2.7 @PSTRINGC7_69
0 12 1 0 171 2.7 @const102
0 6 1 0 587 3.3 @const103
0 128 16 9 @PRINTF_LD_69
0 127 16 6 636 3.3 hmc5883l_read_data
0 184 24 16 693 3.9 MAIN
0 9 1 0 @const237
0 70 9 3 @PSTRINGC7_69
0 12 2 0 @const239
0 6 1 0 @const240
0 128 17 9 @PRINTF_LD_69
 
Program metrics:
Functions 10
Statements 56
Comments 119
Volume (V) 5424
Difficilty (D) 29.5
Effort to implement (E) 160169
Time to implement (T) 2 hours, 28 minutes
Est Delivered Bugs (B) 1
Cyclomatic Complexity 4
Maintainability (MI) 70
Functions 6
Statements 306
Comments 377
Volume (V) 2949
Difficilty (D) 13.9
Effort to implement (E) 40971
Time to implement (T) 38 minutes
Est Delivered Bugs (B) 0
Cyclomatic Complexity 1
Maintainability (MI) 61
 
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 817 1227
00004-007FF 771 1273
00800-00FFF 0 2048
01000-017FF 0 2048
01800-01FFF 0 2048