Tuesday, May 7, 2013

Java Code Metrics


Google CodePro AnalytiX - Metrics


http://sourceforge.net/projects/metrics/


I liked Google Analytix. It is simple, easy to use, fast and accurate


Update site @ 
http://dl.google.com/eclipse/inst/codepro/latest/3.6   for eclipse 3.6


Tested Results for my plug-in:



Lines of Code: 5,18,178
This is a count of the number of lines in the target elements that contain characters other than white space and comments

Number of Lines:  This represents lines of code with comments.

Global Results

Metric Name
Value
Abstractness
4.8%
Average Block Depth
1.18
Average Cyclomatic Complexity
2.94
Average Lines Of Code Per Method
12.96
Average Number of Constructors Per Type
0.45
Average Number of Fields Per Type
2.84
Average Number of Methods Per Type
5.79
Average Number of Parameters
0.90
Comments Ratio
5%
Efferent Couplings
3,302
Lines of Code
518,178
Number of Characters
26,077,514
Number of Comments
26,156
Number of Constructors
2,636
Number of Fields
27,006
Number of Lines
695,811
Number of Methods
33,343
Number of Packages
220
Number of Semicolons
308,386
Number of Types
5,751
Weighted Methods
107,977

No comments:

Post a Comment