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:45:35 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\linux_2.6.17_total_metrics.
htm -b -SLinux Kernel 2.6.17 Total Metrics -Tf -Tl -TN -Tp
-Ts -FD:\rsm\oss\metrics\Input\linux_2.6.17_file_list.lst
Linux Kernel 2.6.17 Total Metrics
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
------------------------------------------------------------------------
~~ Total Metrics For 15995 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
No Sort Method
Total: Functions
LOC 2895979 eLOC 2414429 lLOC 1689356 InCmp 516176 CycloCmp 690606
Function Points FP(LOC) 22124.4 FP(eLOC) 18518.3FP(lLOC) 12958.7
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 134967 Total Physical Lines ..: 3664516
Total LOC .............: 2895979 Total Function Pts LOC : 22124.4
Total eLOC ............: 2414429 Total Function Pts eLOC: 18518.3
Total lLOC.............: 1689356 Total Function Pts lLOC: 12958.7
Total Cyclomatic Comp. : 690606 Total Interface Comp. .: 516176
Total Parameters ......: 245008 Total Return Points ...: 271168
Total Comment Lines ...: 554249 Total Blank Lines .....: 448338
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 27.15
Avg LOC ...............: 21.46 Avg eLOC ..............: 17.89
Avg lLOC ..............: 12.52 Avg Cyclomatic Comp. ..: 5.12
Avg Interface Comp. ...: 3.82 Avg Parameters ........: 1.82
Avg Return Points .....: 2.01 Avg Comment Lines .....: 4.11
------ ----- ----- ------ ------ -----
Max LOC ...............: 1791
Max eLOC ..............: 1603 Max lLOC ..............: 931
Max Cyclomatic Comp. ..: 349 Max Interface Comp. ...: 191
Max Parameters ........: 22 Max Return Points .....: 186
Max Comment Lines .....: 1470 Max Total Lines .......: 2244
------ ----- ----- ------ ------ -----
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 92981 1.18 Physical line length > 80 characters
2 1001 0.01 Function name length > 32 characters
3 1109 0.01 Ellipsis "..." are identified as function parameters
4 15380 0.20 Assignment "=" within "if" statement
5 1597 0.02 Assignment "=" within "while" statement
6 2213 0.03 Pre-decrement operator "--" identified
7 4771 0.06 Pre-increment operator "++" identified
8 7 0.00 "realloc" function identified
9 37310 0.47 "goto" keyword identified
10 330 0.00 Non-ANSI function prototype identified
12 17 0.00 Open and closed parenthesis "()" are not equal
13 3182 0.04 "switch" statement does not have a "default"
14 4424 0.06 "case" conditions do not equal "break"
16 6121 0.08 Function/class/struct/interface white space < 10.0%
17 58063 0.74 Function comment content less than 10.0%
18 455 0.01 Function eLOC > maximum 200 eLOC
19 1063 0.01 File white space < 10.0%
20 2346 0.03 File comment content < 10.0%
22 203693 2.59 if, else, for or while not bound by scope
23 19660 0.25 "?" ternary operator identified
24 3590 0.05 ANSI C++ keyword identified within C file
26 25720 0.33 void * generic type identified
27 46045 0.59 Number of function return points > 1
28 15418 0.20 Cyclomatic complexity > 10
29 891 0.01 Number of function parameters > 6
30 7179064 91.31 TAB character has been identified
31 2348 0.03 Class/Struct comments are < 10.0%
34 7 0.00 Class specification contains a pointer to data
39 1 0.00 Number of class/struct methods exceeds specified maximum 100
42 3 0.00 Multiple inheritance has been identified
43 6920 0.09 Keyword "continue" has been identified
44 10739 0.14 Keyword "break" identified outside a "switch" structure
46 47429 0.60 Function/Class Blank Line content less < 10.0%
47 1084 0.01 File Blank Line content < 10.0%
48 1712 0.02 Function lLOC <= 0, non-operational function
49 100 0.00 Function appears to have null or blank parameters
102 5488 0.07 Dynamic memory using malloc is not initialized
103 486 0.01 The realloc function has been identified
104 958 0.01 A line containing just a semicolon
105 39000 0.50 A symbolic constant using #define
107 1098 0.01 The closing brace is not on a standalone line
109 4917 0.06 Double pointer indirection identified
116 498 0.01 Pointer variable uninitialized
119 13470 0.17 Return is not a function
________________________________________________________________________
7862709 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 1675.6 (167.56%)
Quality Notices/K eLOC = 1898.1 (189.81%)
Quality Notices/K lLOC = 3747.8 (374.78%)
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 4692467 eLOC 4142481 lLOC 2097942 Comment 1382451 Lines 6662242
Average per File, metric/15995 files
LOC 293 eLOC 258 lLOC 131 Comment 86 Lines 416
Function Points FP(LOC) 29855.0 FP(eLOC) 25881.3FP(lLOC) 14499.6
------------------------------------------------------------------------
~~ Total Language Profile ~~
Language LOC % eLOC % lLOC % Comments % Blanks % Lines %
*.h* 18.6 20.0 11.5 28.4 18.4 19.4
*.c 81.4 80.0 88.5 71.6 81.6 80.6
------------------------------------------------------------------------
~~ Language Summary ~~
Header Include Files *.h*
LOC 871031 eLOC 829677 lLOC 241992 Comment 393199 Lines 1294271
Average per File, metric/7873 files
LOC 110 eLOC 105 lLOC 30 Comment 49 Lines 164
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
C Source Files *.c
LOC 3821436 eLOC 3312804 lLOC 1855950 Comment 989252 Lines 5367971
Average per File, metric/8122 files
LOC 470 eLOC 407 lLOC 228 Comment 121 Lines 660
Function Points FP(LOC) 29855.0 FP(eLOC) 25881.3FP(lLOC) 14499.6
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 8122 C/C++ Include Files *.h: 7873
C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
Other Source Files ....: 0
Total File Count ......: 15995
________________________________________________________________________
~~ 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 : 16721.047 Sec
: 0:04:38:41 Day:Hr:Min:Sec
Performance Benchmark: 398 Physical Lines Processed/s
: 11222 Characters Parsed/s
________________________________________________________________________
Unclassified - Not Proprietary