Unclassified - Not Proprietary
Resource Standard Metrics™ for C, C++, C# and Java
Version 6.92 - mSquaredTechnologies.com
License Type: Site Multi-Network License - 100 Users
Licensed To : M Squared Technologies LLC
License No. : ST1001 License Date: Thu Mar 31 06:29:35 2005
Build Date : Sep 10 2006 Maintenance Date: Tue May 01 06:40:29 2007
©1996-2006 M Squared Technologies™ Run Date: Mon Sep 11 02:24:37 2006
________________________________________________________________________
License File: C:\Program Files\MSquared\M2 RSM\rsm.lic
Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg
Command Line: -H -OD:\rsm\oss\metrics\Output\mysql_5.0.25_total_metrics.
htm -b -SMySQL 5.0.25 Total Metrics -Tf -Tl -TN -Tp -Ts -F
D:\rsm\oss\metrics\Input\mysql_5.0.25_file_list.lst
MySQL 5.0.25 Total Metrics
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
------------------------------------------------------------------------
~~ Total Metrics For 1973 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
No Sort Method
Total: Functions
LOC 604220 eLOC 481519 lLOC 331942 InCmp 93570 CycloCmp 141401
Function Points FP(LOC) 8693.5 FP(eLOC) 6872.0 FP(lLOC) 4769.1
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 24973 Total Physical Lines ..: 744090
Total LOC .............: 604220 Total Function Pts LOC : 8693.5
Total eLOC ............: 481519 Total Function Pts eLOC: 6872.0
Total lLOC.............: 331942 Total Function Pts lLOC: 4769.1
Total Cyclomatic Comp. : 141401 Total Interface Comp. .: 93570
Total Parameters ......: 45442 Total Return Points ...: 48128
Total Comment Lines ...: 114705 Total Blank Lines .....: 70639
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 29.80
Avg LOC ...............: 24.19 Avg eLOC ..............: 19.28
Avg lLOC ..............: 13.29 Avg Cyclomatic Comp. ..: 5.66
Avg Interface Comp. ...: 3.75 Avg Parameters ........: 1.82
Avg Return Points .....: 1.93 Avg Comment Lines .....: 4.59
------ ----- ----- ------ ------ -----
Max LOC ...............: 2217
Max eLOC ..............: 1703 Max lLOC ..............: 869
Max Cyclomatic Comp. ..: 727 Max Interface Comp. ...: 125
Max Parameters ........: 22 Max Return Points .....: 124
Max Comment Lines .....: 356 Max Total Lines .......: 2625
------ ----- ----- ------ ------ -----
Min LOC ...............: 0
Min eLOC ..............: 0 Min lLOC ..............: 0
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
Min Parameters ........: 0 Min Return Points .....: 1
Min Comment Lines .....: 0 Min Total Lines .......: 1
------------------------------------------------------------------------
~~ Project Quality Profile ~~
Type Count Percent Quality Notice
________________________________________________________________________
1 8496 1.26 Physical line length > 80 characters
2 335 0.05 Function name length > 32 characters
3 232 0.03 Ellipsis "..." are identified as function parameters
4 9299 1.38 Assignment "=" within "if" statement
5 1069 0.16 Assignment "=" within "while" statement
6 503 0.07 Pre-decrement operator "--" identified
7 978 0.15 Pre-increment operator "++" identified
8 39 0.01 "realloc" function identified
9 7305 1.08 "goto" keyword identified
10 1570 0.23 Non-ANSI function prototype identified
12 3 0.00 Open and closed parenthesis "()" are not equal
13 432 0.06 "switch" statement does not have a "default"
14 752 0.11 "case" conditions do not equal "break"
16 1087 0.16 Function/class/struct/interface white space < 10.0%
17 10429 1.55 Function comment content less than 10.0%
18 118 0.02 Function eLOC > maximum 200 eLOC
19 49 0.01 File white space < 10.0%
20 227 0.03 File comment content < 10.0%
22 37876 5.62 if, else, for or while not bound by scope
23 5391 0.80 "?" ternary operator identified
24 5889 0.87 ANSI C++ keyword identified within C file
26 2492 0.37 void * generic type identified
27 7394 1.10 Number of function return points > 1
28 3074 0.46 Cyclomatic complexity > 10
29 403 0.06 Number of function parameters > 6
30 525611 78.06 TAB character has been identified
31 134 0.02 Class/Struct comments are < 10.0%
32 7 0.00 Using namespace construct identified
34 117 0.02 Class specification contains a pointer to data
35 214 0.03 Class specification contains public data
37 27 0.00 Base Class does not contain a virtual destructor
42 22 0.00 Multiple inheritance has been identified
43 1550 0.23 Keyword "continue" has been identified
44 1912 0.28 Keyword "break" identified outside a "switch" structure
45 196 0.03 New and Delete counts are not equal for the file.
46 12610 1.87 Function/Class Blank Line content less < 10.0%
47 189 0.03 File Blank Line content < 10.0%
48 414 0.06 Function lLOC <= 0, non-operational function
49 3847 0.57 Function appears to have null or blank parameters
102 1170 0.17 Dynamic memory using malloc is not initialized
103 306 0.05 The realloc function has been identified
104 337 0.05 A line containing just a semicolon
105 2354 0.35 A symbolic constant using #define
107 607 0.09 The closing brace is not on a standalone line
109 3260 0.48 Double pointer indirection identified
116 213 0.03 Pointer variable uninitialized
117 577 0.09 C style macro identified
118 1297 0.19 Keyword struct identified
119 10895 1.62 Return is not a function
121 61 0.01 class name not proper cased
________________________________________________________________________
673369 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 647.0 ( 64.70%)
Quality Notices/K eLOC = 752.6 ( 75.26%)
Quality Notices/K lLOC = 1599.9 (159.99%)
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 1040701 eLOC 894768 lLOC 420881 Comment 272270 Lines 1432523
Average per File, metric/1973 files
LOC 527 eLOC 453 lLOC 213 Comment 137 Lines 726
Function Points FP(LOC) 13139.2 FP(eLOC) 11020.1FP(lLOC) 5631.1
------------------------------------------------------------------------
~~ Total Language Profile ~~
Language LOC % eLOC % lLOC % Comments % Blanks % Lines %
*.h* 7.4 8.1 7.2 15.9 8.4 8.7
*.c 43.8 45.5 37.4 37.8 41.3 42.4
*.c* 48.8 46.4 55.4 46.3 50.2 48.9
------------------------------------------------------------------------
~~ Language Summary ~~
Header Include Files *.h*
LOC 77099 eLOC 72238 lLOC 30096 Comment 43205 Lines 124403
Average per File, metric/468 files
LOC 164 eLOC 154 lLOC 64 Comment 92 Lines 265
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
C Source Files *.c
LOC 456059 eLOC 406976 lLOC 157591 Comment 102920 Lines 607909
Average per File, metric/895 files
LOC 509 eLOC 454 lLOC 176 Comment 114 Lines 679
Function Points FP(LOC) 3563.0 FP(eLOC) 3179.5 FP(lLOC) 1231.2
C++ Source Files *.c*
LOC 507543 eLOC 415554 lLOC 233194 Comment 126145 Lines 700211
Average per File, metric/610 files
LOC 832 eLOC 681 lLOC 382 Comment 206 Lines 1147
Function Points FP(LOC) 9576.3 FP(eLOC) 7840.6 FP(lLOC) 4399.9
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 895 C/C++ Include Files *.h: 468
C++ Source Files *.c* .: 610 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
Other Source Files ....: 0
Total File Count ......: 1973
________________________________________________________________________
~~ Performance Benchmark ~~
A process benchmark has been determined for this metrics analysis.
The elapsed time for processing is effected by the I/O response of
standard out or the redirection device. The fastest RSM benchmarks
result from redirecting the output to a file on a local file system.
The benchmark is intended for comparative purposes and is not designed
to yield a definitive result.
Process Timer
-------------------------------
Elapsed Time : 204.684 Sec
: 0:00:03:24 Day:Hr:Min:Sec
Performance Benchmark: 6999 Physical Lines Processed/s
: 219900 Characters Parsed/s
________________________________________________________________________
Unclassified - Not Proprietary