http://xradar.sourceforge.net


Statics Report - System: 1.0, Version: 0, Date: TodayDesigned for use with Checkstyle, CKJM, FindBugs, JavaNCSS, JDepend, Macaron, PMD, PMD-CPD, Java2HTML and Ant.

[Statics] packages

[scorecard] [analysis] [explanations]
{overview} {architecture} {design} {code} {test} {source control} {system specific}

Package : net.sourceforge.pmd.lang.java.ast

Subsystem : language definition module
Total Quality
[TQ= 0.25*ARCH + 0.25*DES + 0.25*CODE + 0.25*TS]

  0.4  


Architecture
[ARCH= 0.4*MOD + 0.6*COH]

  0  


Modularisation
[MOD= 1 - (count_packages(not(illegal-dependencies=0))÷total_packages)]

  0  


Cohesion
[COH= 1 - (count_packages(cycles=true)÷total_packages)]

  0  


Design
[DES= 0.20*NOM + 0.30*RFC + 0.30*CBO + 0.20*DIT]

  0.93  


Number of Methods
[NOM=  count_classes(wmc<20) ÷total-classes]

  0.96  


Response for Class
[RFC=  count_classes(rfc<50) ÷total-classes]

  0.96  


Coupling Between Objects
[CBO=  count_classes(cbo<5) ÷total-classes]

  0.82  


Depth of Inheritance Tree
[DIT=  count_classes(dit<5) ÷total-classes]

  1  


Code Quality
[CODE= 0.15*DOC + 0.4*DRY + 0.3*FRE + 0.15*STY]

  0.68  


Documentation
[DOC= javadocs÷(functions + analysed-classes)]

  0.09  


DRYness
[DRY= 1 - (classes-with-duplications÷analysed-classes)]

  0.92  


Freshness
[FRE= 1 - (classes-with-code-violations÷analysed-classes)]

  0.98  


Stylishness
[STY= 1 - (classes-with-style-errors÷analysed-classes)]

  0  
StatisticsDesignCode Quality
Total Classes
Methods
Source Statements [NCSS]
Cyclomatic Complexity [CCN]
Javadocs
Javadoc Lines [JL]

Depth of inheritance tree [DIT]
Number of Children [NOC]
Efferent Class Couplings [CBO/Ce]
Afferent Class Couplings [Ca]
Response for a Class [RFC]
Lack of Cohesion [LCOM]
136
1421
12726
6616
142
525

0.13
0.93
5.99
13.02
16.46
987.99
Afferent Couplings
Efferent Couplings
Abstractness
Instability
Distance [D]
42
8
0.1
0.16
0.74
Cmplx. per Stmt.
Cmplx. per Meth.
Code Violations
Violations per Stmt.
Style errors
St. errors per Stmt.
Duplications
Duplicated Tokens [DT]
Duplicated Tokens per Stmt.
0.52
4.66
207
0.02
1617
0.13
153
19133
1.5
Used by PackagesUses PackagesCycles
Legal Use:
net.sourceforge.pmd.cpd
Illegal Use:
net.sourceforge.pmd
net.sourceforge.pmd.lang
net.sourceforge.pmd.lang.java
net.sourceforge.pmd.lang.java.dfa
net.sourceforge.pmd.lang.java.rule
net.sourceforge.pmd.lang.java.rule.basic
net.sourceforge.pmd.lang.java.rule.codesize
net.sourceforge.pmd.lang.java.rule.controversial
net.sourceforge.pmd.lang.java.rule.coupling
net.sourceforge.pmd.lang.java.rule.design
net.sourceforge.pmd.lang.java.rule.finalizers
net.sourceforge.pmd.lang.java.rule.imports
net.sourceforge.pmd.lang.java.rule.javabeans
net.sourceforge.pmd.lang.java.rule.junit
net.sourceforge.pmd.lang.java.rule.logging
net.sourceforge.pmd.lang.java.rule.migrating
net.sourceforge.pmd.lang.java.rule.naming
net.sourceforge.pmd.lang.java.rule.optimizations
net.sourceforge.pmd.lang.java.rule.strictexception
net.sourceforge.pmd.lang.java.rule.strings
net.sourceforge.pmd.lang.java.rule.sunsecure
net.sourceforge.pmd.lang.java.rule.unnecessary
net.sourceforge.pmd.lang.java.rule.unusedcode
net.sourceforge.pmd.lang.java.symboltable
net.sourceforge.pmd.lang.java.typeresolution
net.sourceforge.pmd.lang.java.typeresolution.rules
net.sourceforge.pmd.lang.java.typeresolution.rules.imports
net.sourceforge.pmd.lang.java.xpath
net.sourceforge.pmd.util
net.sourceforge.pmd.util.designer
net.sourceforge.pmd.util.viewer.gui
net.sourceforge.pmd.util.viewer.model
test.net.sourceforge.pmd
test.net.sourceforge.pmd.ast
test.net.sourceforge.pmd.dfa
test.net.sourceforge.pmd.jaxen
test.net.sourceforge.pmd.renderers
test.net.sourceforge.pmd.stat
test.net.sourceforge.pmd.symboltable
test.net.sourceforge.pmd.testframework
test.net.sourceforge.pmd.typeresolution
Illegal Dependencies:
net.sourceforge.pmd
net.sourceforge.pmd.lang.ast
net.sourceforge.pmd.lang.java.symboltable
net.sourceforge.pmd.lang.java.typeresolution
External Dependencies:
java.io
java.lang
java.util
java.util.regex
net.sourceforge.pmd.lang.ast
net.sourceforge.pmd.lang.dfa
net.sourceforge.pmd.lang.ast
TestsSource Control
Test Suites
Tests
Source Statements per Tests
Errors
Time
Line Coverage
Line Coverage per Test
0
0
Infinity
0
0
0%
NaN%
None

Abstract ClassSource statementsCyclometic complexityViolationsStyle ErrorsDuplicationsEfferent (Import) Class Couplings (CBO / Ce)Afferent (Emport) Class Couplings (Ca)Response for Class (RFC)Lack of Cohesion in Methods (LCOM)Depth of Inheritance Rree (DIT)Statement Test CoverageMethod Test ReferenceIllegal Imports
AbstractJavaAccessNode63322903731394000.330
AbstractJavaAccessTypeNode104603464002.250
AbstractJavaNode34191618661326001.220
AbstractJavaTypeNode1047033764000.750
AccessNode372539001625300100.920
CanSuppressWarnings213015101010
Comment226801475101.40
Dimensionable324008211010
JavaNode5410035846103.250
JavaParserConstants120030021010Infinity0
JavaParserTreeConstants11101120021010Infinity0
JavaParserVisitor110109111010912510958861010
TypeNode3230015211010

Concrete ClassSource statementsCyclometic complexityViolationsStyle ErrorsDuplicationsEfferent (Import) Class Couplings (CBO / Ce)Afferent (Emport) Class Couplings (Ca)Response for Class (RFC)Lack of Cohesion in Methods (LCOM)Depth of Inheritance Rree (DIT)Statement Test CoverageMethod Test ReferenceIllegal Imports
ASTAdditiveExpression73703963002.670
ASTAllocationExpression737031563003.330
ASTAndExpression73703563000.330
ASTAnnotation211680812238001.250
ASTAnnotationMethodDeclaration737034630010
ASTAnnotationTypeBody73703463000.330
ASTAnnotationTypeDeclaration73703763001.330
ASTAnnotationTypeMemberDeclara tion73703463000.330
ASTArgumentList737039630020
ASTArguments11680414106001.250
ASTArrayDimsAndInits73703663000.330
ASTArrayInitializer73703463000.330
ASTAssertStatement73703463000.670
ASTAssignmentOperator1259031288001.80
ASTBlock1259031388002.80
ASTBlockStatement947031486001.50
ASTBooleanLiteral1259038880010
ASTBreakStatement73703763000.670
ASTCastExpression73703863000.330
ASTCatchStatement737031163002.330
ASTClassOrInterfaceBody73703763001.670
ASTClassOrInterfaceBodyDeclara tion201111191215210010
ASTClassOrInterfaceDeclaration1671105531119003.860
ASTClassOrInterfaceType737033263002.670
ASTCompilationUnit22101307461332002.560
ASTConditionalAndExpression73703863000.670
ASTConditionalExpression1259031088001.40
ASTConditionalOrExpression73703863000.670
ASTConstructorDeclaration1681105291219002.140
ASTContinueStatement73703763000.670
ASTDefaultValue73703463000.330
ASTDoStatement737031063000.670
ASTEmptyStatement73703463000.330
ASTEnumBody73703563000.330
ASTEnumConstant73703563000.670
ASTEnumDeclaration735031163001.670
ASTEqualityExpression737031063002.670
ASTExclusiveOrExpression73703563000.330
ASTExplicitConstructorInvocati on18101205101416001.120
ASTExpression737031863002.670
ASTExtendsList73703763000.670
ASTFieldDeclaration6143190102638153001.750
ASTFinallyStatement73703863000.670
ASTForInit73703763000.330
ASTForStatement737031363001.670
ASTForUpdate73703563000.330
ASTFormalParameter362211210192164002.110
ASTFormalParameters948031386001.250
ASTIfStatement1259031988002.40
ASTImplementsList73703863001.330
ASTImportDeclaration34161605202056001.420
ASTInclusiveOrExpression73703563000.330
ASTInitializer125903788000.80
ASTInstanceOfExpression73703563000.330
ASTLabeledStatement73503663000.670
ASTLiteral38171503272264002.170
ASTLocalVariableDeclaration342111210162355001.750
ASTMarkerAnnotation737036630010
ASTMemberSelector73703563000.670
ASTMemberValue73703463000.330
ASTMemberValueArrayInitializer73703463000.330
ASTMemberValuePair73703463000.670
ASTMemberValuePairs73703463000.330
ASTMethodDeclaration38241508452466002.580
ASTMethodDeclarator948042296003.250
ASTMultiplicativeExpression73703663000.670
ASTName1259044888003.40
ASTNameList73703563000.670
ASTNormalAnnotation73703463000.330
ASTNullLiteral73703963001.330
ASTPackageDeclaration9480591060010
ASTPostfixExpression737036630010
ASTPreDecrementExpression73703663000.330
ASTPreIncrementExpression73703663000.330
ASTPrimaryExpression7370335630030
ASTPrimaryPrefix1771103301017002.710
ASTPrimarySuffix21101105241424001.880
ASTPrimitiveType1671104121215000.710
ASTRSIGNEDSHIFT73703463000.330
ASTRUNSIGNEDSHIFT73703463000.330
ASTReferenceType14610041299000.830
ASTRelationalExpression73703663000.670
ASTResultType116905181110001.60
ASTReturnStatement737031663002.670
ASTShiftExpression73703563000.670
ASTSingleMemberAnnotation737035630010
ASTStatement7370310630020
ASTStatementExpression7370319630030
ASTStatementExpressionList73703563000.330
ASTSwitchLabel1259031288001.20
ASTSwitchStatement737031263001.670
ASTSynchronizedStatement73703763000.670
ASTThrowStatement1057041096001.750
ASTTryStatement1712905111110001.80
ASTType18131008192015001.830
ASTTypeArgument73703463000.330
ASTTypeArguments73703463000.330
ASTTypeBound73703463000.330
ASTTypeDeclaration1488178106001.50
ASTTypeParameter73703463000.670
ASTTypeParameters73703663000.330
ASTUnaryExpression737036630010
ASTUnaryExpressionNotPlusMinus737038630010
ASTVariableDeclarator737031463003.670
ASTVariableDeclaratorId442616012332666001.920
ASTVariableInitializer73703463000.670
ASTWhileStatement737031263001.330
ASTWildcardBounds73703463000.330
DummyJavaNode525022410040
DumpFacade16275402417020020
FormalComment313022200010
JJTJavaParserState621714011250101.080
JavaParser85404537205132134120117792120511104.890
JavaParser$10020010NaN0
JavaParser$JJCalls0112010Infinity0
JavaParser$LookaheadSuccess0113130Infinity0
JavaParserTokenManager17161040292792701460018.140
JavaParserVisitorAdapter2201091111110101125995100.460
MultiLineComment313021200010
ParseException91271122112100030
SingleLineComment313021200010
Token3312152112919101.570
Token$GTToken013200020