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: Sun Sep 10 21:15:02 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\firefox_1.5.0.2_total_metri
cs.htm -b -SFirefox 1.5.0.2 Total Metrics -Tf -Tl -TN -Tp
-Ts -FD:\rsm\oss\metrics\Input\firefox_1.5.0.2_file_list.l
st
Firefox 1.5.0.2 Total Metrics
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
------------------------------------------------------------------------
~~ Total Metrics For 10970 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
No Sort Method
Total: Functions
LOC 1706654 eLOC 1319580 lLOC 930338 InCmp 342279 CycloCmp 430570
Function Points FP(LOC) 25965.2 FP(eLOC) 19864.3FP(lLOC) 14062.0
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 93882 Total Physical Lines ..: 2139412
Total LOC .............: 1706654 Total Function Pts LOC : 25965.2
Total eLOC ............: 1319580 Total Function Pts eLOC: 19864.3
Total lLOC.............: 930338 Total Function Pts lLOC: 14062.0
Total Cyclomatic Comp. : 430570 Total Interface Comp. .: 342279
Total Parameters ......: 163677 Total Return Points ...: 178602
Total Comment Lines ...: 277604 Total Blank Lines .....: 249518
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 22.79
Avg LOC ...............: 18.18 Avg eLOC ..............: 14.06
Avg lLOC ..............: 9.91 Avg Cyclomatic Comp. ..: 4.59
Avg Interface Comp. ...: 3.65 Avg Parameters ........: 1.74
Avg Return Points .....: 1.90 Avg Comment Lines .....: 2.96
------ ----- ----- ------ ------ -----
Max LOC ...............: 2861
Max eLOC ..............: 2667 Max lLOC ..............: 1697
Max Cyclomatic Comp. ..: 748 Max Interface Comp. ...: 257
Max Parameters ........: 22 Max Return Points .....: 254
Max Comment Lines .....: 1715 Max Total Lines .......: 4278
------ ----- ----- ------ ------ -----
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 90275 8.04 Physical line length > 80 characters
2 1678 0.15 Function name length > 32 characters
3 520 0.05 Ellipsis "..." are identified as function parameters
4 7026 0.63 Assignment "=" within "if" statement
5 1092 0.10 Assignment "=" within "while" statement
6 1964 0.17 Pre-decrement operator "--" identified
7 5666 0.50 Pre-increment operator "++" identified
8 134 0.01 "realloc" function identified
9 8904 0.79 "goto" keyword identified
10 582 0.05 Non-ANSI function prototype identified
12 15 0.00 Open and closed parenthesis "()" are not equal
13 1088 0.10 "switch" statement does not have a "default"
14 1516 0.14 "case" conditions do not equal "break"
15 56 0.00 Friend class has been identified
16 2123 0.19 Function/class/struct/interface white space < 10.0%
17 35461 3.16 Function comment content less than 10.0%
18 259 0.02 Function eLOC > maximum 200 eLOC
19 161 0.01 File white space < 10.0%
20 410 0.04 File comment content < 10.0%
22 100668 8.97 if, else, for or while not bound by scope
23 8246 0.73 "?" ternary operator identified
24 35079 3.12 ANSI C++ keyword identified within C file
26 14671 1.31 void * generic type identified
27 31460 2.80 Number of function return points > 1
28 8832 0.79 Cyclomatic complexity > 10
29 1610 0.14 Number of function parameters > 6
30 656177 58.44 TAB character has been identified
31 890 0.08 Class/Struct comments are < 10.0%
32 24 0.00 Using namespace construct identified
34 952 0.08 Class specification contains a pointer to data
35 703 0.06 Class specification contains public data
36 1325 0.12 Class specification contains protected data
37 181 0.02 Base Class does not contain a virtual destructor
38 106 0.01 Exception Handling "try"- "catch" has been identified
39 11 0.00 Number of class/struct methods exceeds specified maximum 100
41 13 0.00 Number of derived classes exceeds the specified maximum 10
42 323 0.03 Multiple inheritance has been identified
43 2870 0.26 Keyword "continue" has been identified
44 6086 0.54 Keyword "break" identified outside a "switch" structure
45 1632 0.15 New and Delete counts are not equal for the file.
46 27338 2.43 Function/Class Blank Line content less < 10.0%
47 648 0.06 File Blank Line content < 10.0%
48 4253 0.38 Function lLOC <= 0, non-operational function
49 15308 1.36 Function appears to have null or blank parameters
102 1806 0.16 Dynamic memory using malloc is not initialized
103 251 0.02 The realloc function has been identified
104 439 0.04 A line containing just a semicolon
105 4824 0.43 A symbolic constant using #define
107 538 0.05 The closing brace is not on a standalone line
109 16949 1.51 Double pointer indirection identified
116 59 0.01 Pointer variable uninitialized
117 1862 0.17 C style macro identified
118 4677 0.42 Keyword struct identified
119 11599 1.03 Return is not a function
121 1546 0.14 class name not proper cased
________________________________________________________________________
1122886 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 428.0 ( 42.80%)
Quality Notices/K eLOC = 516.9 ( 51.69%)
Quality Notices/K lLOC = 964.7 ( 96.47%)
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 2623346 eLOC 2172520 lLOC 1163927 Comment 940463 Lines 4011689
Average per File, metric/10970 files
LOC 239 eLOC 198 lLOC 106 Comment 85 Lines 365
Function Points FP(LOC) 33937.4 FP(eLOC) 27359.3FP(lLOC) 15516.8
------------------------------------------------------------------------
~~ Total Language Profile ~~
Language LOC % eLOC % lLOC % Comments % Blanks % Lines %
*.h* 14.6 16.2 11.4 35.2 18.8 19.4
*.c 28.7 29.0 30.6 21.5 22.8 26.2
*.c* 56.3 54.3 57.5 42.8 58.0 53.9
*.cs 0.2 0.2 0.2 0.2 0.2 0.2
*.java 0.2 0.2 0.2 0.3 0.2 0.3
------------------------------------------------------------------------
~~ Language Summary ~~
Header Include Files *.h*
LOC 384165 eLOC 352718 lLOC 132749 Comment 330892 Lines 779909
Average per File, metric/4783 files
LOC 80 eLOC 73 lLOC 27 Comment 69 Lines 163
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
C Source Files *.c
LOC 751785 eLOC 631056 lLOC 356334 Comment 202227 Lines 1051666
Average per File, metric/1567 files
LOC 479 eLOC 402 lLOC 227 Comment 129 Lines 671
Function Points FP(LOC) 5873.3 FP(eLOC) 4930.1 FP(lLOC) 2783.9
C++ Source Files *.c*
LOC 1476192 eLOC 1180176 lLOC 669136 Comment 402209 Lines 2160415
Average per File, metric/4497 files
LOC 328 eLOC 262 lLOC 148 Comment 89 Lines 480
Function Points FP(LOC) 27852.7 FP(eLOC) 22267.5FP(lLOC) 12625.2
Java Source File *.jav*
LOC 5325 eLOC 4202 lLOC 2848 Comment 2929 Lines 10571
Average per File, metric/79 files
LOC 67 eLOC 53 lLOC 36 Comment 37 Lines 133
Function Points FP(LOC) 100.5 FP(eLOC) 79.3 FP(lLOC) 53.7
C# Source File *.cs
LOC 5879 eLOC 4368 lLOC 2860 Comment 2206 Lines 9128
Average per File, metric/44 files
LOC 133 eLOC 99 lLOC 65 Comment 50 Lines 207
Function Points FP(LOC) 110.9 FP(eLOC) 82.4 FP(lLOC) 54.0
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 1567 C/C++ Include Files *.h: 4783
C++ Source Files *.c* .: 4497 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 44 Java Source File *.jav*: 79
Other Source Files ....: 0
Total File Count ......: 10970
________________________________________________________________________
~~ 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 : 1832.615 Sec
: 0:00:30:32 Day:Hr:Min:Sec
Performance Benchmark: 2189 Physical Lines Processed/s
: 67568 Characters Parsed/s
________________________________________________________________________
Unclassified - Not Proprietary