/Modules/Sensors/MAG01A/SW/PIC16F887/main.sta
1,18 → 1,18
 
ROM used: 799 (10%)
799 (10%) including unused fragments
ROM used: 762 (9%)
762 (9%) including unused fragments
 
0 Average locations per line
3 Average locations per statement
2 Average locations per statement
 
RAM used: 28 (8%) at main() level
38 (10%) worst case
RAM used: 12 (3%) at main() level
21 (6%) worst case
 
Stack used: 2 worst case (out of 8 total available)
 
Lines Stmts % Files
----- ----- --- -----
48 19 6 main.c
43 19 6 main.c
22 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
25 0 0 HMC5883L.h
19,39 → 19,38
76 28 9 HMC5883L.c
2172 260 85 C:\Program Files (x86)\PICC\drivers\math.h
----- -----
2766 307 Total
2761 307 Total
 
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 22 3 1 @delay_ms1
0 69 9 3 @I2C_READ_1
0 74 9 1 @I2C_WRITE_1
0 36 5 1 @PUTCHAR_1_
0 74 10 1 @I2C_WRITE_1
0 57 7 2 102 1.8 hmc5883l_write_reg
0 127 16 6 636 3.3 hmc5883l_read_data
0 185 23 16 722 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 16 9 @PRINTF_LD_69
0 127 17 6 636 3.3 hmc5883l_read_data
0 190 25 0 595 3.3 MAIN
0 9 1 0 78 2.7 @const229
0 72 9 3 722 3.9 @PSTRINGC7_9600_62_63
0 14 2 0 @const231
0 6 1 0 @const232
0 118 15 9 @PRINTF_LD_9600_62_63
 
Program metrics:
Functions 3
Functions 5
Statements 307
Comments 358
Volume (V) 1829
Difficilty (D) 8.6
Effort to implement (E) 15712
Time to implement (T) 15 minutes
Comments 356
Volume (V) 2913
Difficilty (D) 14.9
Effort to implement (E) 43483
Time to implement (T) 40 minutes
Est Delivered Bugs (B) 0
Cyclomatic Complexity 1
Maintainability (MI) 16
Maintainability (MI) 95
 
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 795 1249
00004-007FF 758 1286
00800-00FFF 0 2048
01000-017FF 0 2048
01800-01FFF 0 2048