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:28: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\php.5.1.6_total_metrics.htm
-b -SPhp 5.1.6 Total Metrics -Tf -Tl -TN -Tp -Ts -FD:\rsm
\oss\metrics\Input\php_5.1.6_file_list.lst
Php 5.1.6 Total Metrics
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
------------------------------------------------------------------------
~~ Total Metrics For 1316 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
No Sort Method
Total: Functions
LOC 340215 eLOC 273816 lLOC 190730 InCmp 55586 CycloCmp 102239
Function Points FP(LOC) 2492.9 FP(eLOC) 2008.7 FP(lLOC) 1419.0
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 12538 Total Physical Lines ..: 401960
Total LOC .............: 340215 Total Function Pts LOC : 2492.9
Total eLOC ............: 273816 Total Function Pts eLOC: 2008.7
Total lLOC.............: 190730 Total Function Pts lLOC: 1419.0
Total Cyclomatic Comp. : 102239 Total Interface Comp. .: 55586
Total Parameters ......: 22792 Total Return Points ...: 32794
Total Comment Lines ...: 53078 Total Blank Lines .....: 40303
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 32.06
Avg LOC ...............: 27.13 Avg eLOC ..............: 21.84
Avg lLOC ..............: 15.21 Avg Cyclomatic Comp. ..: 8.15
Avg Interface Comp. ...: 4.43 Avg Parameters ........: 1.82
Avg Return Points .....: 2.62 Avg Comment Lines .....: 4.23
------ ----- ----- ------ ------ -----
Max LOC ...............: 21714
Max eLOC ..............: 19505 Max lLOC ..............: 13526
Max Cyclomatic Comp. ..: 19054 Max Interface Comp. ...: 9890
Max Parameters ........: 12 Max Return Points .....: 9889
Max Comment Lines .....: 1722 Max Total Lines .......: 21778
------ ----- ----- ------ ------ -----
Min LOC ...............: 1
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 37367 4.99 Physical line length > 80 characters
2 996 0.13 Function name length > 32 characters
3 170 0.02 Ellipsis "..." are identified as function parameters
4 1035 0.14 Assignment "=" within "if" statement
5 319 0.04 Assignment "=" within "while" statement
6 241 0.03 Pre-decrement operator "--" identified
7 1993 0.27 Pre-increment operator "++" identified
8 70 0.01 "realloc" function identified
9 12121 1.62 "goto" keyword identified
10 243 0.03 Non-ANSI function prototype identified
12 2 0.00 Open and closed parenthesis "()" are not equal
13 410 0.05 "switch" statement does not have a "default"
14 480 0.06 "case" conditions do not equal "break"
16 802 0.11 Function/class/struct/interface white space < 10.0%
17 5471 0.73 Function comment content less than 10.0%
18 78 0.01 Function eLOC > maximum 200 eLOC
19 72 0.01 File white space < 10.0%
20 150 0.02 File comment content < 10.0%
22 13728 1.83 if, else, for or while not bound by scope
23 2052 0.27 "?" ternary operator identified
24 181 0.02 ANSI C++ keyword identified within C file
26 3619 0.48 void * generic type identified
27 3337 0.45 Number of function return points > 1
28 1760 0.23 Cyclomatic complexity > 10
29 133 0.02 Number of function parameters > 6
30 645142 86.09 TAB character has been identified
31 71 0.01 Class/Struct comments are < 10.0%
43 643 0.09 Keyword "continue" has been identified
44 929 0.12 Keyword "break" identified outside a "switch" structure
45 1 0.00 New and Delete counts are not equal for the file.
46 4868 0.65 Function/Class Blank Line content less < 10.0%
47 188 0.03 File Blank Line content < 10.0%
48 53 0.01 Function lLOC <= 0, non-operational function
49 120 0.02 Function appears to have null or blank parameters
102 1644 0.22 Dynamic memory using malloc is not initialized
103 312 0.04 The realloc function has been identified
104 95 0.01 A line containing just a semicolon
105 1937 0.26 A symbolic constant using #define
107 156 0.02 The closing brace is not on a standalone line
109 5115 0.68 Double pointer indirection identified
116 193 0.03 Pointer variable uninitialized
117 2 0.00 C style macro identified
118 8 0.00 Keyword struct identified
119 1024 0.14 Return is not a function
121 62 0.01 class name not proper cased
________________________________________________________________________
749393 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 1347.5 (134.75%)
Quality Notices/K eLOC = 1561.6 (156.16%)
Quality Notices/K lLOC = 3189.9 (318.99%)
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 556138 eLOC 479892 lLOC 234929 Comment 122904 Lines 743749
Average per File, metric/1316 files
LOC 422 eLOC 364 lLOC 178 Comment 93 Lines 565
Function Points FP(LOC) 3506.7 FP(eLOC) 2950.4 FP(lLOC) 1653.8
------------------------------------------------------------------------
~~ Total Language Profile ~~
Language LOC % eLOC % lLOC % Comments % Blanks % Lines %
*.h* 20.5 22.5 11.6 20.0 17.1 19.8
*.c 78.7 76.7 87.1 79.7 81.8 79.4
*.c* 0.8 0.8 1.2 0.4 1.0 0.8
------------------------------------------------------------------------
~~ Language Summary ~~
Header Include Files *.h*
LOC 113867 eLOC 107900 lLOC 27332 Comment 24532 Lines 147332
Average per File, metric/565 files
LOC 201 eLOC 190 lLOC 48 Comment 43 Lines 260
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
C Source Files *.c
LOC 437617 eLOC 367992 lLOC 204707 Comment 97902 Lines 590458
Average per File, metric/749 files
LOC 584 eLOC 491 lLOC 273 Comment 130 Lines 788
Function Points FP(LOC) 3418.9 FP(eLOC) 2874.9 FP(lLOC) 1599.3
C++ Source Files *.c*
LOC 4654 eLOC 4000 lLOC 2890 Comment 470 Lines 5959
Average per File, metric/2 files
LOC 2327 eLOC 2000 lLOC 1445 Comment 235 Lines 2979
Function Points FP(LOC) 87.8 FP(eLOC) 75.5 FP(lLOC) 54.5
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 749 C/C++ Include Files *.h: 565
C++ Source Files *.c* .: 2 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
Other Source Files ....: 0
Total File Count ......: 1316
________________________________________________________________________
~~ 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 : 85.533 Sec
: 0:00:01:25 Day:Hr:Min:Sec
Performance Benchmark: 8695 Physical Lines Processed/s
: 266702 Characters Parsed/s
________________________________________________________________________
Unclassified - Not Proprietary