Resource Standard Metrics for C, C++ and Java
Visual Metrics Version 6.01
License Type: Shareware Evaluation License
Licensed To : Shareware End User - Distribute Freely
License No. : SW1380 License Date: Sat Dec 05 12:31:28 1998
(C) 2001 M Squared Technologies Run Date: Fri Jun 22 19:31:56 2001
________________________________________________________________________
~~ Quality Analysis ~~
File: maccomp.c
Date: Tue Jul 13 20:03:18 1999 File Size: 8127 Bytes
________________________________________________________________________
NOTICE #1: Line 32, Line character length = 103. This width
exceeds the standard terminal width of 95 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 1 4.76 Physical line length exceeds 95 characters
22 20 95.24 if, else, for or while not bound by scope
________________________________________________________________________
21 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 89.7 ( 8.97%)
Quality Notices/K eLOC = 111.7 ( 11.17%)
Quality Notices/K lLOC = 214.3 ( 21.43%)
------------------------------------------------------------------------
~~ 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
Shareware evaluation licenses process only files.
Paid licenses enable wild cards and file/project totals.
________________________________________________________________________