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] classes-net.sourceforge.pmd.lang.java.typeresolution

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

net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver

Package: net.sourceforge.pmd.lang.java.typeresolution | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
53
52
44
9
Total :
Per method :
380
7.31
Total :
Per method :
Per statement :
142
2.73
0.37
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
0
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
50
3
171
1336
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.04
Total :
Per method :
Per statement :
1
0.02
0
Total :
Per method :
Per statement :
46
0.88
0.12
Statement Test Coverage :
Method Test Reference :
0
0.39


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
ClassTypeResolver()
0211
ClassTypeResolver(ClassLoader)
0212
visit(ASTCompilationUnit,Object)
01550
visit(ASTImportDeclaration,Object)
0930
visit(ASTTypeDeclaration,Object)
0410
visit(ASTClassOrInterfaceType,Object)
0310
visit(ASTClassOrInterfaceDeclaration,Object)
0310
visit(ASTEnumDeclaration,Object)
0310
visit(ASTAnnotationTypeDeclaration,Object)
0310
visit(ASTName,Object)
01160
visit(ASTFieldDeclaration,Object)
0410
visit(ASTVariableDeclarator,Object)
0410
visit(ASTVariableDeclaratorId,Object)
0850
visit(ASTType,Object)
0410
visit(ASTReferenceType,Object)
0410
visit(ASTPrimitiveType,Object)
0310
visit(ASTExpression,Object)
0410
visit(ASTConditionalExpression,Object)
0620
visit(ASTConditionalOrExpression,Object)
0310
visit(ASTConditionalAndExpression,Object)
0310
visit(ASTInclusiveOrExpression,Object)
0410
visit(ASTExclusiveOrExpression,Object)
0410
visit(ASTAndExpression,Object)
0410
visit(ASTEqualityExpression,Object)
0310
visit(ASTInstanceOfExpression,Object)
0310
visit(ASTRelationalExpression,Object)
0310
visit(ASTShiftExpression,Object)
0410
visit(ASTAdditiveExpression,Object)
0410
visit(ASTMultiplicativeExpression,Object)
0410
visit(ASTUnaryExpression,Object)
0410
visit(ASTPreIncrementExpression,Object)
0410
visit(ASTPreDecrementExpression,Object)
0410
visit(ASTUnaryExpressionNotPlusMinus,Object)
0720
visit(ASTPostfixExpression,Object)
0410
visit(ASTCastExpression,Object)
0410
visit(ASTPrimaryExpression,Object)
0620
visit(ASTPrimaryPrefix,Object)
0620
visit(ASTPrimarySuffix,Object)
0310
visit(ASTNullLiteral,Object)
0210
visit(ASTBooleanLiteral,Object)
0310
visit(ASTLiteral,Object)
034150
visit(ASTAllocationExpression,Object)
0650
visit(ASTStatementExpression,Object)
0410
rollupTypeUnary(TypeNode)
07417
rollupTypeUnaryNumericPromotion(TypeNode)
01282
rollupTypeBinaryNumericPromotion(TypeNode)
030235
populateType(TypeNode,String)
0191018
classNameExists(String)
1532
processOnDemand(String)
0541
getClassName(ASTCompilationUnit)
0951
populateImports(ASTCompilationUnit)
11341
populateClassName(ASTCompilationUnit,String)
0311


View line in sourceCode ViolationRule
A catch statement should never catch throwable since it includes errors. AvoidCatchingThrowable


Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGEDDP2<init>
View line in sourceStyle ErrorColumn
67Commentaire javadoc manquant.
130Commentaire javadoc manquant.9
134Commentaire javadoc manquant.9
139Commentaire javadoc manquant.9
160Commentaire javadoc manquant.9
175Commentaire javadoc manquant.9
182Commentaire javadoc manquant.9
188Commentaire javadoc manquant.9
194Commentaire javadoc manquant.9
200Commentaire javadoc manquant.9
206Commentaire javadoc manquant.9
234Commentaire javadoc manquant.9
241Commentaire javadoc manquant.9
248Commentaire javadoc manquant.9
261Commentaire javadoc manquant.9
268Commentaire javadoc manquant.9
275Commentaire javadoc manquant.9
281Commentaire javadoc manquant.9
288Commentaire javadoc manquant.9
299Commentaire javadoc manquant.9
305Commentaire javadoc manquant.9
311Commentaire javadoc manquant.9
318Commentaire javadoc manquant.9
325Commentaire javadoc manquant.9
332Commentaire javadoc manquant.9
338Commentaire javadoc manquant.9
344Commentaire javadoc manquant.9
350Commentaire javadoc manquant.9
358Commentaire javadoc manquant.9
365Commentaire javadoc manquant.9
372Commentaire javadoc manquant.9
379Commentaire javadoc manquant.9
386Commentaire javadoc manquant.9
393Commentaire javadoc manquant.9
404Commentaire javadoc manquant.9
411Commentaire javadoc manquant.9
418Commentaire javadoc manquant.9
429Commentaire javadoc manquant.9
440Commentaire javadoc manquant.9
447Commentaire javadoc manquant.9
453Commentaire javadoc manquant.9
459Commentaire javadoc manquant.9
502Commentaire javadoc manquant.9
532Commentaire javadoc manquant.9
646Balise javadoc @return manquante.
646Balise javadoc @param manquante pour 'fullyQualifiedClassName'.47

net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader

Package: net.sourceforge.pmd.lang.java.typeresolution | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
2
2
0
Total :
Per method :
20
10
Total :
Per method :
Per statement :
10
5
0.5
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
2
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
3
1
23
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
3
1.5
0.15
Statement Test Coverage :
Method Test Reference :
0
2.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
PMDASMClassLoader(ClassLoader)
0212
getImportedClasses(String)
01693




Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGEDDP2<init>
BAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGEDDP2setUp
View line in sourceStyle ErrorColumn
24Commentaire javadoc manquant.
26Commentaire javadoc manquant.5
32Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.typeresolution.TypeHelper

Package: net.sourceforge.pmd.lang.java.typeresolution | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
4
0
Total :
Per method :
21
7
Total :
Per method :
Per statement :
18
6
0.86
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
1
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
3
11
18
6
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
5
1.67
0.24
Statement Test Coverage :
Method Test Reference :
0
0.75


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
isA(TypeNode,Class)
0219
isA(VariableNameDeclaration,Class)
0355
subclasses(TypeNode,Class)
015121




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
10Commentaire javadoc manquant.
12Commentaire javadoc manquant.5
16Commentaire javadoc manquant.5
22Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.typeresolution.TypeResolutionFacade

Package: net.sourceforge.pmd.lang.java.typeresolution | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
2
0
Total :
Per method :
5
5
Total :
Per method :
Per statement :
1
1
0.2
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
0
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
4
1
6
1
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
1
1
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
3
3
0.6
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
initializeWith(ClassLoader,ASTCompilationUnit)
0411




View line in sourceStyle ErrorColumn
9Le commentaire javadoc est vide.
12Dans le commentaire javadoc de la classe, il manque une balise @version.
14Commentaire javadoc manquant.5