http://xradar.sourceforge.net |
Statics Report - System: 1.0, Version: 0, Date: Today | Designed 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} |
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() | 0 | 2 | 1 | 1 |
ClassTypeResolver(ClassLoader) | 0 | 2 | 1 | 2 |
visit(ASTCompilationUnit,Object) | 0 | 15 | 5 | 0 |
visit(ASTImportDeclaration,Object) | 0 | 9 | 3 | 0 |
visit(ASTTypeDeclaration,Object) | 0 | 4 | 1 | 0 |
visit(ASTClassOrInterfaceType,Object) | 0 | 3 | 1 | 0 |
visit(ASTClassOrInterfaceDeclaration,Object) | 0 | 3 | 1 | 0 |
visit(ASTEnumDeclaration,Object) | 0 | 3 | 1 | 0 |
visit(ASTAnnotationTypeDeclaration,Object) | 0 | 3 | 1 | 0 |
visit(ASTName,Object) | 0 | 11 | 6 | 0 |
visit(ASTFieldDeclaration,Object) | 0 | 4 | 1 | 0 |
visit(ASTVariableDeclarator,Object) | 0 | 4 | 1 | 0 |
visit(ASTVariableDeclaratorId,Object) | 0 | 8 | 5 | 0 |
visit(ASTType,Object) | 0 | 4 | 1 | 0 |
visit(ASTReferenceType,Object) | 0 | 4 | 1 | 0 |
visit(ASTPrimitiveType,Object) | 0 | 3 | 1 | 0 |
visit(ASTExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTConditionalExpression,Object) | 0 | 6 | 2 | 0 |
visit(ASTConditionalOrExpression,Object) | 0 | 3 | 1 | 0 |
visit(ASTConditionalAndExpression,Object) | 0 | 3 | 1 | 0 |
visit(ASTInclusiveOrExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTExclusiveOrExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTAndExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTEqualityExpression,Object) | 0 | 3 | 1 | 0 |
visit(ASTInstanceOfExpression,Object) | 0 | 3 | 1 | 0 |
visit(ASTRelationalExpression,Object) | 0 | 3 | 1 | 0 |
visit(ASTShiftExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTAdditiveExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTMultiplicativeExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTUnaryExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTPreIncrementExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTPreDecrementExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTUnaryExpressionNotPlusMinus,Object) | 0 | 7 | 2 | 0 |
visit(ASTPostfixExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTCastExpression,Object) | 0 | 4 | 1 | 0 |
visit(ASTPrimaryExpression,Object) | 0 | 6 | 2 | 0 |
visit(ASTPrimaryPrefix,Object) | 0 | 6 | 2 | 0 |
visit(ASTPrimarySuffix,Object) | 0 | 3 | 1 | 0 |
visit(ASTNullLiteral,Object) | 0 | 2 | 1 | 0 |
visit(ASTBooleanLiteral,Object) | 0 | 3 | 1 | 0 |
visit(ASTLiteral,Object) | 0 | 34 | 15 | 0 |
visit(ASTAllocationExpression,Object) | 0 | 6 | 5 | 0 |
visit(ASTStatementExpression,Object) | 0 | 4 | 1 | 0 |
rollupTypeUnary(TypeNode) | 0 | 7 | 4 | 17 |
rollupTypeUnaryNumericPromotion(TypeNode) | 0 | 12 | 8 | 2 |
rollupTypeBinaryNumericPromotion(TypeNode) | 0 | 30 | 23 | 5 |
populateType(TypeNode,String) | 0 | 19 | 10 | 18 |
classNameExists(String) | 1 | 5 | 3 | 2 |
processOnDemand(String) | 0 | 5 | 4 | 1 |
getClassName(ASTCompilationUnit) | 0 | 9 | 5 | 1 |
populateImports(ASTCompilationUnit) | 1 | 13 | 4 | 1 |
populateClassName(ASTCompilationUnit,String) | 0 | 3 | 1 | 1 |
View line in source | Code Violation | Rule |
---|---|---|
A catch statement should never catch throwable since it includes errors. | AvoidCatchingThrowable |
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | DP | 2 | <init> |
View line in source | Style Error | Column |
---|---|---|
67 | Commentaire javadoc manquant. | |
130 | Commentaire javadoc manquant. | 9 |
134 | Commentaire javadoc manquant. | 9 |
139 | Commentaire javadoc manquant. | 9 |
160 | Commentaire javadoc manquant. | 9 |
175 | Commentaire javadoc manquant. | 9 |
182 | Commentaire javadoc manquant. | 9 |
188 | Commentaire javadoc manquant. | 9 |
194 | Commentaire javadoc manquant. | 9 |
200 | Commentaire javadoc manquant. | 9 |
206 | Commentaire javadoc manquant. | 9 |
234 | Commentaire javadoc manquant. | 9 |
241 | Commentaire javadoc manquant. | 9 |
248 | Commentaire javadoc manquant. | 9 |
261 | Commentaire javadoc manquant. | 9 |
268 | Commentaire javadoc manquant. | 9 |
275 | Commentaire javadoc manquant. | 9 |
281 | Commentaire javadoc manquant. | 9 |
288 | Commentaire javadoc manquant. | 9 |
299 | Commentaire javadoc manquant. | 9 |
305 | Commentaire javadoc manquant. | 9 |
311 | Commentaire javadoc manquant. | 9 |
318 | Commentaire javadoc manquant. | 9 |
325 | Commentaire javadoc manquant. | 9 |
332 | Commentaire javadoc manquant. | 9 |
338 | Commentaire javadoc manquant. | 9 |
344 | Commentaire javadoc manquant. | 9 |
350 | Commentaire javadoc manquant. | 9 |
358 | Commentaire javadoc manquant. | 9 |
365 | Commentaire javadoc manquant. | 9 |
372 | Commentaire javadoc manquant. | 9 |
379 | Commentaire javadoc manquant. | 9 |
386 | Commentaire javadoc manquant. | 9 |
393 | Commentaire javadoc manquant. | 9 |
404 | Commentaire javadoc manquant. | 9 |
411 | Commentaire javadoc manquant. | 9 |
418 | Commentaire javadoc manquant. | 9 |
429 | Commentaire javadoc manquant. | 9 |
440 | Commentaire javadoc manquant. | 9 |
447 | Commentaire javadoc manquant. | 9 |
453 | Commentaire javadoc manquant. | 9 |
459 | Commentaire javadoc manquant. | 9 |
502 | Commentaire javadoc manquant. | 9 |
532 | Commentaire javadoc manquant. | 9 |
646 | Balise javadoc @return manquante. | |
646 | Balise javadoc @param manquante pour 'fullyQualifiedClassName'. | 47 |
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) | 0 | 2 | 1 | 2 |
getImportedClasses(String) | 0 | 16 | 9 | 3 |
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | DP | 2 | <init> | |
BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | DP | 2 | setUp |
View line in source | Style Error | Column |
---|---|---|
24 | Commentaire javadoc manquant. | |
26 | Commentaire javadoc manquant. | 5 |
32 | Commentaire javadoc manquant. | 5 |
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) | 0 | 2 | 1 | 9 |
isA(VariableNameDeclaration,Class) | 0 | 3 | 5 | 5 |
subclasses(TypeNode,Class) | 0 | 15 | 12 | 1 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
10 | Commentaire javadoc manquant. | |
12 | Commentaire javadoc manquant. | 5 |
16 | Commentaire javadoc manquant. | 5 |
22 | Commentaire javadoc manquant. | 5 |
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) | 0 | 4 | 1 | 1 |
View line in source | Style Error | Column |
---|---|---|
9 | Le commentaire javadoc est vide. | |
12 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
14 | Commentaire javadoc manquant. | 5 |