Resource Standard Metrics for C, C++ and Java Visual Metrics Version 5.53 License Type: Site Multi-Network License - 10000 Users Licensed To : M Squared Technologies License No. : ST1000 License Date: Fri Jun 25 06:09:01 1999 (C) 2000 M Squared Technologies Run Date: Tue Oct 10 21:45:32 2000 ________________________________________________________________________ ~~ Quality Analysis ~~ File: maccomp.c Date: Tue Jul 13 20:03:18 1999 File Size: 8127 Bytes ________________________________________________________________________ NOTICE #1: Line 31, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 32, Line character length = 103. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 33, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 35, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 36, Line character length = 83. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 37, Line character length = 83. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 38, Line character length = 83. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 39, Line character length = 83. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 40, Line character length = 83. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 43, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 44, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 57, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 58, Line character length = 81. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 61, Line character length = 91. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 63, Line character length = 91. This width exceeds the standard terminal width of 80 characters. NOTICE #1: Line 67, Line character length = 81. This width exceeds the standard terminal width of 80 characters. ------------------------- Macro Begin Line: 78 ------------------------- Macro: SQR ~~ Macro Quality Notices ~~ Macro: SQR -------------------------- Macro End Line: 78 -------------------------- ------------------------- Macro Begin Line: 79 ------------------------- Macro: ABS ~~ Macro Quality Notices ~~ Macro: ABS -------------------------- Macro End Line: 79 -------------------------- ------------------------- Macro Begin Line: 80 ------------------------- Macro: MIN ~~ Macro Quality Notices ~~ Macro: MIN -------------------------- Macro End Line: 80 -------------------------- ------------------------- Macro Begin Line: 81 ------------------------- Macro: MAX ~~ Macro Quality Notices ~~ Macro: MAX -------------------------- Macro End Line: 81 -------------------------- ------------------------- Macro Begin Line: 82 ------------------------- Macro: ISEVEN ~~ Macro Quality Notices ~~ Macro: ISEVEN -------------------------- Macro End Line: 82 -------------------------- ------------------------- Macro Begin Line: 83 ------------------------- Macro: ISODD ~~ Macro Quality Notices ~~ Macro: ISODD -------------------------- Macro End Line: 83 -------------------------- NOTICE #22: Line 97, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 99, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 107, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 109, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 117, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 119, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 127, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 129, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 137, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 139, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 153, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 155, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 162, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 164, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 171, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 173, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 180, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 182, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. NOTICE #22: Line 189, The keyword, 'if', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'if' statement. NOTICE #22: Line 191, The keyword, 'else', appears not to be delimited with scope { .. } operators around its content. This could cause a maintenance problem where code falls outside the intended scope of the 'else' statement. ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 234 eLOC 188 lLOC 98 Comment 59 Lines 334 ________________________________________________________________________ End of File: maccomp.c ~~ Total Metrics For 1 Files ~~ ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 234 eLOC 188 lLOC 98 Comment 59 Lines 334 ------------------------------------------------------------------------ ~~ Project Quality Profile ~~ Type Count Percent Quality Notice ________________________________________________________________________ 1 16 44.44 Physical line length exceeds 80 characters 22 20 55.56 if, else, for or while not bound by scope ________________________________________________________________________ 36 100.00 Total Quality Notices ~~ Quality Notice Density ~~ Basis: 1000 (K) Quality Notices/K LOC = 153.8 ( 15.38%) Quality Notices/K eLOC = 191.5 ( 19.15%) Quality Notices/K lLOC = 367.3 ( 36.73%) ------------------------------------------------------------------------ ~~ File Summary ~~ C Source Files *.c ....: 1 C/C++ Include Files *.h: 0 C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0 Other Source Files ....: 0 Java Source File *.jav*: 0 Total File Count ......: 1 ________________________________________________________________________