![]() |
|
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.rule.design |
|
[scorecard] [analysis] [explanations] | |
{overview} {architecture} {design} {code} {test} {source control} {system specific} |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 12 10 6 6 | Total : Per method : | 155 15.5 | Total : Per method : Per statement : | 57 5.7 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): | 11 1 57 26 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 3 0.3 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 12 1.2 0.08 | Statement Test Coverage : Method Test Reference : | 0 1.67 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTEnumDeclaration,Object) | 0 | 2 | 1 | 0 |
visit(ASTCompilationUnit,Object) | 0 | 4 | 1 | 0 |
ClassData.ClassData(String) | 0 | 5 | 1 | 0 |
ClassData.addInstantiation(AllocData) | 0 | 2 | 1 | 0 |
ClassData.getInstantiationIterator() | 0 | 2 | 1 | 0 |
ClassData.addConstructor(ASTConstructorDeclaration) | 0 | 2 | 1 | 0 |
ClassData.getPrivateConstructorIterator() | 0 | 2 | 1 | 0 |
ClassData.getClassName() | 0 | 2 | 1 | 0 |
ClassData.addClassQualifyingName(String) | 0 | 2 | 1 | 0 |
ClassData.getClassQualifyingNamesList() | 0 | 2 | 1 | 0 |
AllocData.AllocData(ASTAllocationExpression,String,String) | 0 | 19 | 7 | 0 |
AllocData.getName() | 0 | 2 | 1 | 0 |
AllocData.getArgumentCount() | 0 | 2 | 1 | 0 |
AllocData.getASTAllocationExpression() | 0 | 2 | 1 | 0 |
AllocData.isArray() | 0 | 2 | 1 | 0 |
visit(ASTClassOrInterfaceDeclaration,Object) | 1 | 51 | 14 | 0 |
visit(ASTConstructorDeclaration,Object) | 1 | 4 | 2 | 0 |
visit(ASTAllocationExpression,Object) | 0 | 7 | 5 | 0 |
processRule(Object) | 0 | 11 | 8 | 1 |
getCurrentClassData() | 0 | 4 | 3 | 2 |
setClassID(int) | 0 | 2 | 1 | 1 |
getClassID() | 0 | 2 | 1 | 1 |
stripString(String,String) | 0 | 8 | 2 | 1 |
View line in source | Style Error | Column |
---|---|---|
36 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
42 | Commentaire javadoc manquant. | 5 |
46 | Commentaire javadoc manquant. | 5 |
52 | Commentaire javadoc manquant. | |
97 | Commentaire javadoc manquant. | |
155 | Balise javadoc @return manquante. | |
155 | Balise javadoc @param manquante pour 'node'. | 56 |
155 | Balise javadoc @param manquante pour 'data'. | 69 |
225 | Balise javadoc @return manquante. | |
225 | Balise javadoc @param manquante pour 'node'. | 51 |
225 | Balise javadoc @param manquante pour 'data'. | 64 |
232 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 5 5 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 6 2 24 2 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.8 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 8 8 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 2 1 12 8 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 3 2 2 1 | Total : Per method : | 19 9.5 | Total : Per method : Per statement : | 9 4.5 0.47 |
||
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): | 8 0 23 3 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.5 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 2 0.21 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTClassOrInterfaceDeclaration,Object) | 0 | 9 | 5 | 0 |
initializedInConstructor(NameOccurrence) | 0 | 9 | 4 | 0 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
20 | Le commentaire javadoc est vide. | |
23 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
25 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 3 3 1 | Total : Per method : | 18 6 | Total : Per method : Per statement : | 5 1.67 0.28 |
||
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): | 6 0 14 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 : | 4 1.33 0.22 | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
AvoidDeeplyNestedIfStmtsRule() | 0 | 2 | 1 | 0 |
visit(ASTCompilationUnit,Object) | 0 | 4 | 1 | 0 |
visit(ASTIfStatement,Object) | 0 | 8 | 3 | 0 |
View line in source | Style Error | Column |
---|---|---|
11 | Commentaire javadoc manquant. | |
24 | Commentaire javadoc manquant. | 5 |
28 | Commentaire javadoc manquant. | 5 |
34 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 3 3 1 | Total : Per method : | 16 5.33 | Total : Per method : Per statement : | 11 3.67 0.69 |
||
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): | 8 0 29 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 : | 3 1 0.19 | Statement Test Coverage : Method Test Reference : | 0 0.67 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTMethodDeclarator,Object) | 0 | 4 | 1 | 0 |
lookForViolation(NameOccurrence,Object) | 0 | 7 | 9 | 0 |
visit(ASTConstructorDeclaration,Object) | 0 | 4 | 1 | 0 |
View line in source | Style Error | Column |
---|---|---|
15 | Commentaire javadoc manquant. | |
17 | Commentaire javadoc manquant. | 9 |
41 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 6 5 3 3 | Total : Per method : | 93 18.6 | Total : Per method : Per statement : | 41 8.2 0.44 |
||
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): | 20 0 51 1 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.2 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 0.8 0.04 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
CloseResourceRule() | 0 | 3 | 1 | 0 |
visit(ASTCompilationUnit,Object) | 0 | 6 | 5 | 0 |
visit(ASTMethodDeclaration,Object) | 0 | 15 | 6 | 0 |
ensureClosed(ASTLocalVariableDeclaration,ASTVariableDeclaratorId,Object) | 0 | 56 | 25 | 1 |
variableIsPassedToMethod(ASTPrimaryExpression,String) | 0 | 8 | 4 | 1 |
View line in source | Style Error | Column |
---|---|---|
46 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
57 | Commentaire javadoc manquant. | 5 |
62 | Commentaire javadoc manquant. | 5 |
73 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 3 2 2 | Total : Per method : | 27 9 | Total : Per method : Per statement : | 24 8 0.89 |
||
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): | 7 0 16 6 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.33 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 3 1 0.11 | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
hasName(Node) | 0 | 2 | 2 | 1 |
isAllocation(Node) | 1 | 2 | 3 | 1 |
visit(ASTEqualityExpression,Object) | 0 | 22 | 19 | 0 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
11 | Commentaire javadoc manquant. | |
28 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 8 7 3 5 | Total : Per method : | 43 6.14 | Total : Per method : Per statement : | 35 5 0.81 |
||
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): | 11 0 20 28 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.14 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 0.57 0.09 | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTIfStatement,Object) | 0 | 8 | 5 | 0 |
visit(ASTConditionalExpression,Object) | 0 | 6 | 3 | 0 |
isMatch(Node) | 0 | 2 | 4 | 4 |
isUnaryNot(Node) | 0 | 2 | 2 | 1 |
isNotEquals(Node) | 0 | 2 | 2 | 1 |
isConditionalWithAllMatches(Node) | 0 | 11 | 9 | 1 |
isParenthesisAroundMatch(Node) | 0 | 11 | 10 | 1 |
View line in source | Style Error | Column |
---|---|---|
39 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
39 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
41 | Commentaire javadoc manquant. | 5 |
56 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 22 18 6 16 | Total : Per method : | 382 21.22 | Total : Per method : Per statement : | 146 8.11 0.38 |
||
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): | 20 4 97 205 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 9 0.5 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 19 1.06 0.05 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
MethodInvocation.MethodInvocation(ASTPrimaryExpression,String,String,String,int,boolean) | 0 | 7 | 1 | 0 |
MethodInvocation.isSuper() | 0 | 2 | 1 | 0 |
MethodInvocation.getName() | 0 | 2 | 1 | 0 |
MethodInvocation.getArgumentCount() | 0 | 2 | 1 | 0 |
MethodInvocation.getReferenceNames() | 0 | 2 | 1 | 0 |
MethodInvocation.getQualifierNames() | 0 | 2 | 1 | 0 |
MethodInvocation.getASTPrimaryExpression() | 0 | 2 | 1 | 0 |
MethodInvocation.getMethod(ASTPrimaryExpression) | 0 | 93 | 28 | 0 |
MethodInvocation.show() | 0 | 13 | 3 | 0 |
ConstructorInvocation.ConstructorInvocation(ASTExplicitConstructorInvocation) | 0 | 7 | 2 | 0 |
ConstructorInvocation.getASTExplicitConstructorInvocation() | 0 | 2 | 1 | 0 |
ConstructorInvocation.getArgumentCount() | 0 | 2 | 1 | 0 |
ConstructorInvocation.getName() | 0 | 2 | 1 | 0 |
MethodHolder.MethodHolder(ASTMethodDeclarator) | 0 | 2 | 1 | 0 |
MethodHolder.setCalledMethod(String) | 0 | 2 | 1 | 0 |
MethodHolder.getCalled() | 0 | 2 | 1 | 0 |
MethodHolder.getASTMethodDeclarator() | 0 | 2 | 1 | 0 |
MethodHolder.isDangerous() | 0 | 2 | 1 | 0 |
MethodHolder.setDangerous() | 0 | 2 | 1 | 0 |
ConstructorHolder.ConstructorHolder(ASTConstructorDeclaration) | 0 | 2 | 1 | 0 |
ConstructorHolder.getASTConstructorDeclaration() | 0 | 2 | 1 | 0 |
ConstructorHolder.getCalledConstructor() | 0 | 4 | 2 | 0 |
ConstructorHolder.getASTExplicitConstructorInvocation() | 0 | 7 | 3 | 0 |
ConstructorHolder.initCI() | 0 | 6 | 2 | 0 |
ConstructorHolder.isDangerous() | 0 | 2 | 1 | 0 |
ConstructorHolder.setDangerous(boolean) | 0 | 2 | 1 | 0 |
compareNodes(Node,Node) | 0 | 6 | 3 | 1 |
MethodHolderComparator.compare(MethodHolder,MethodHolder) | 0 | 2 | 1 | 0 |
ConstructorHolderComparator.compare(ConstructorHolder,ConstructorHolder) | 0 | 2 | 1 | 0 |
EvalPackage.EvalPackage() | 0 | 1 | 1 | 0 |
EvalPackage.EvalPackage(String) | 0 | 6 | 1 | 0 |
NullEvalPackage.NullEvalPackage() | 0 | 6 | 1 | 0 |
getCurrentEvalPackage() | 0 | 2 | 1 | 3 |
putEvalPackage(EvalPackage) | 1 | 2 | 1 | 0 |
removeCurrentEvalPackage() | 0 | 2 | 1 | 2 |
clearEvalPackages() | 0 | 2 | 1 | 1 |
visitClassDec(ASTClassOrInterfaceDeclaration,Object) | 1 | 26 | 14 | 1 |
evaluateDangerOfMethods(MethodInvocation) | 1 | 17 | 8 | 0 |
evaluateDangerOfConstructors1(MethodInvocation,MethodHolder) | 1 | 16 | 9 | 0 |
evaluateDangerOfConstructors2(MethodInvocation) | 1 | 15 | 8 | 0 |
visit(ASTCompilationUnit,Object) | 0 | 3 | 1 | 0 |
visit(ASTEnumDeclaration,Object) | 0 | 2 | 1 | 0 |
visit(ASTClassOrInterfaceDeclaration,Object) | 0 | 8 | 3 | 0 |
visit(ASTConstructorDeclaration,Object) | 0 | 13 | 5 | 0 |
visit(ASTMethodDeclarator,Object) | 0 | 12 | 6 | 0 |
addCalledMethodsOfNode(Node,MethodInvocation,String) | 1 | 4 | 1 | 0 |
addCalledMethodsOfNodeImpl(ASTPrimaryExpression,MethodInvocation,String) | 0 | 5 | 3 | 0 |
findMethod(ASTPrimaryExpression,String) | 1 | 16 | 12 | 1 |
getNameFromPrefix(ASTPrimaryPrefix) | 1 | 7 | 3 | 1 |
View line in source | Style Error | Column |
---|---|---|
43 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
368 | Commentaire javadoc manquant. | |
396 | Commentaire javadoc manquant. | |
426 | Commentaire javadoc manquant. | |
486 | Commentaire javadoc manquant. | |
492 | Commentaire javadoc manquant. | |
521 | Commentaire javadoc manquant. | |
725 | Commentaire javadoc manquant. | 5 |
731 | Commentaire javadoc manquant. | 5 |
741 | Balise javadoc @return manquante. | |
742 | Balise javadoc @param manquante pour 'node'. | 56 |
742 | Balise javadoc @param manquante pour 'data'. | 69 |
768 | Balise javadoc @return manquante. | |
769 | Balise javadoc @param manquante pour 'node'. | 51 |
769 | Balise javadoc @param manquante pour 'data'. | 64 |
798 | Balise javadoc @return manquante. | |
799 | Balise javadoc @param manquante pour 'node'. | 45 |
799 | Balise javadoc @param manquante pour 'data'. | 58 |
835 | Le commentaire javadoc est vide. |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 0 0 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 0 3 0 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 NaN |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 7 6 1 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 4 2 13 7 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | SIC | 2 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 2 2 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 5 1 7 6 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Se | 2 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 4 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 2 2 10 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 2 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
Inheritance: | Coupling: | ||||||
Depth of inheritance tree (DIT): Number of Children (NOC): | 1 1 |
Efferent/Import Class Couplings (CBO/Ce): Afferent/Export Class Couplings (Ca): Response for a class (RFC): Lack of Cohesion in methods (LCOM): | 3 2 7 1 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 3.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 6 6 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 1 2 7 9 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 2 2 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 5 1 7 6 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Se | 2 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 9 8 1 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 6 1 33 24 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.75 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 1 1 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 1 1 4 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 6 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 2 2 0 | Total : Per method : | 12 6 | Total : Per method : Per statement : | 3 1.5 0.25 |
||
Inheritance: | Coupling: | ||||||
Depth of inheritance tree (DIT): Number of Children (NOC): | 0 2 |
Efferent/Import Class Couplings (CBO/Ce): Afferent/Export Class Couplings (Ca): Response for a class (RFC): Lack of Cohesion in methods (LCOM): | 5 2 13 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.5 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 2 0.33 | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
ExcessiveLengthRule(Class) | 0 | 2 | 1 | 2 |
visit(JavaNode,Object) | 0 | 8 | 2 | 0 |
View line in source | Style Error | Column |
---|---|---|
20 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
20 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
23 | Commentaire javadoc manquant. | 5 |
27 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 2 2 0 | Total : Per method : | 16 8 | Total : Per method : Per statement : | 4 2 0.25 |
||
Inheritance: | Coupling: | ||||||
Depth of inheritance tree (DIT): Number of Children (NOC): | 0 3 |
Efferent/Import Class Couplings (CBO/Ce): Afferent/Export Class Couplings (Ca): Response for a class (RFC): Lack of Cohesion in methods (LCOM): | 5 3 15 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.5 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 2 0.25 | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
ExcessiveNodeCountRule(Class) | 0 | 2 | 1 | 3 |
visit(JavaNode,Object) | 0 | 12 | 3 | 0 |
View line in source | Style Error | Column |
---|---|---|
25 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
25 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
28 | Commentaire javadoc manquant. | 5 |
32 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 11 10 6 5 | Total : Per method : | 67 6.7 | Total : Per method : Per statement : | 20 2 0.3 |
||
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): | 10 0 46 23 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.1 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 8 0.8 0.12 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
GenericClassCounterRule() | 0 | 5 | 1 | 0 |
arrayAsList(String[]) | 0 | 6 | 2 | 1 |
init() | 0 | 8 | 1 | 1 |
start(RuleContext) | 0 | 3 | 1 | 0 |
visit(ASTCompilationUnit,Object) | 0 | 3 | 1 | 0 |
visit(ASTImportDeclaration,Object) | 0 | 7 | 4 | 0 |
visit(ASTClassOrInterfaceType,Object) | 0 | 8 | 5 | 0 |
addAMatch(Node,Object) | 0 | 5 | 1 | 1 |
searchForAMatch(String,Node) | 0 | 3 | 1 | 1 |
end(RuleContext) | 0 | 7 | 3 | 0 |
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
PERFORMANCE | DM_STRING_VOID_CTOR | Dm | 2 | <clinit> | |
STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | ST | 2 | init | counterLabel |
PERFORMANCE | URF_UNREAD_FIELD | UrF | 2 | operand |
View line in source | Style Error | Column |
---|---|---|
48 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
77 | Commentaire javadoc manquant. | 9 |
94 | Commentaire javadoc manquant. | 9 |
108 | Commentaire javadoc manquant. | 10 |
115 | Commentaire javadoc manquant. | 6 |
121 | Commentaire javadoc manquant. | 6 |
136 | Commentaire javadoc manquant. | 9 |
171 | Commentaire javadoc manquant. | 9 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 1 2 0 | Total : Per method : | 24 24 | Total : Per method : Per statement : | 26 26 1.08 |
||
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): | 8 0 17 1 |
||||
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 : | 2 2 0.08 | Statement Test Coverage : Method Test Reference : | 0 0.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTStatementExpression,Object) | 0 | 23 | 26 | 0 |
View line in source | Style Error | Column |
---|---|---|
15 | Commentaire javadoc manquant. | |
17 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 7 6 2 5 | Total : Per method : | 55 9.17 | Total : Per method : Per statement : | 32 5.33 0.58 |
||
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): | 10 0 40 21 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.17 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 3 0.5 0.05 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTClassOrInterfaceDeclaration,Object) | 0 | 13 | 10 | 0 |
initializedWhenDeclared(VariableNameDeclaration) | 0 | 2 | 1 | 1 |
initializedInConstructor(NameOccurrence,ASTConstructorDeclaration) | 0 | 27 | 14 | 0 |
inLoopOrTry(Node) | 0 | 2 | 4 | 1 |
inAnonymousInnerClass(Node) | 0 | 3 | 2 | 1 |
findAllConstructors(ASTClassOrInterfaceDeclaration) | 0 | 4 | 1 | 1 |
View line in source | Style Error | Column |
---|---|---|
27 | Le commentaire javadoc est vide. | |
30 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
36 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 5 4 4 1 | Total : Per method : | 50 12.5 | Total : Per method : Per statement : | 22 5.5 0.44 |
||
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): | 14 0 41 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 : | 5 1.25 0.1 | Statement Test Coverage : Method Test Reference : | 0 2 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
NonThreadSafeSingletonRule() | 0 | 3 | 1 | 0 |
visit(ASTCompilationUnit,Object) | 0 | 5 | 1 | 0 |
visit(ASTFieldDeclaration,Object) | 0 | 4 | 3 | 0 |
visit(ASTMethodDeclaration,Object) | 0 | 32 | 17 | 0 |
View line in source | Style Error | Column |
---|---|---|
25 | Commentaire javadoc manquant. | |
42 | Commentaire javadoc manquant. | 5 |
47 | Commentaire javadoc manquant. | 5 |
55 | Commentaire javadoc manquant. | 5 |
63 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 6 5 2 4 | Total : Per method : | 39 7.8 | Total : Per method : Per statement : | 25 5 0.64 |
||
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 0 25 15 |
||||
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 : | 2 0.4 0.05 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTWhileStatement,Object) | 0 | 14 | 7 | 0 |
getVariableName(String) | 0 | 2 | 1 | 2 |
collectNames(String,String,Node) | 0 | 8 | 6 | 0 |
hasNameAsChild(Node) | 0 | 7 | 5 | 1 |
getName(Node) | 0 | 7 | 6 | 1 |
View line in source | Style Error | Column |
---|---|---|
14 | Commentaire javadoc manquant. | |
16 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 6 5 3 3 | Total : Per method : | 63 12.6 | Total : Per method : Per statement : | 34 6.8 0.54 |
||
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): | 16 0 46 15 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.2 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 0.8 0.06 | Statement Test Coverage : Method Test Reference : | 0 1.33 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTCatchStatement,Object) | 0 | 30 | 17 | 0 |
visit(ASTVariableDeclarator,Object) | 0 | 13 | 8 | 0 |
useInitCause(Node,ASTCatchStatement) | 0 | 4 | 4 | 1 |
isThrownExceptionOfType(ASTThrowStatement,String) | 0 | 2 | 1 | 1 |
ck(Object,String,ASTThrowStatement,ASTArgumentList) | 0 | 10 | 4 | 1 |
View line in source | Style Error | Column |
---|---|---|
26 | Le commentaire javadoc est vide. | |
32 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
43 | Commentaire javadoc manquant. | 5 |
93 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 11 10 3 8 | Total : Per method : | 96 9.6 | Total : Per method : Per statement : | 67 6.7 0.7 |
||
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): | 12 0 27 55 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.1 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 3 0.3 0.03 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTMethodDeclaration,Object) | 0 | 9 | 6 | 0 |
visit(ASTIfStatement,Object) | 0 | 38 | 27 | 0 |
hasOneBlockStmt(Node) | 0 | 2 | 5 | 1 |
getDescendant(Node,int) | 1 | 7 | 4 | 1 |
terminatesInBooleanLiteral(Node) | 0 | 2 | 2 | 1 |
eachNodeHasOneChild(Node) | 0 | 6 | 5 | 1 |
getLastChild(Node) | 0 | 4 | 3 | 1 |
isNodesEqualWithUnaryExpression(Node,Node) | 0 | 12 | 3 | 1 |
isNodesEquals(Node,Node) | 0 | 13 | 10 | 1 |
isSimpleReturn(Node) | 0 | 2 | 2 | 1 |
View line in source | Style Error | Column |
---|---|---|
22 | Commentaire javadoc manquant. | |
24 | Commentaire javadoc manquant. | 5 |
41 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 3 2 2 | Total : Per method : | 69 23 | Total : Per method : Per statement : | 30 10 0.43 |
||
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): | 14 0 36 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.33 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 5 1.67 0.07 | Statement Test Coverage : Method Test Reference : | 0 3 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
SingularFieldRule() | 0 | 3 | 1 | 0 |
visit(ASTFieldDeclaration,Object) | 0 | 55 | 25 | 0 |
isInAssignment(Node) | 0 | 8 | 4 | 1 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
28 | Le commentaire javadoc est vide. | |
32 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
42 | Commentaire javadoc manquant. | 5 |
47 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 4 4 0 | Total : Per method : | 43 10.75 | Total : Per method : Per statement : | 15 3.75 0.35 |
||
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): | 11 0 22 6 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.25 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 7 1.75 0.16 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
SwitchDensity.addSwitchLabel() | 0 | 2 | 1 | 0 |
SwitchDensity.addStatement() | 0 | 2 | 1 | 0 |
SwitchDensity.addStatements(int) | 0 | 2 | 1 | 0 |
SwitchDensity.getStatementCount() | 0 | 2 | 1 | 0 |
SwitchDensity.getDensity() | 0 | 4 | 3 | 0 |
SwitchDensityRule() | 0 | 3 | 1 | 0 |
visit(ASTSwitchStatement,Object) | 0 | 14 | 3 | 0 |
visit(ASTStatement,Object) | 0 | 5 | 2 | 0 |
visit(ASTSwitchLabel,Object) | 0 | 5 | 2 | 0 |
View line in source | Style Error | Column |
---|---|---|
12 | Le commentaire javadoc est vide. | |
24 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
26 | Commentaire javadoc manquant. | |
54 | Commentaire javadoc manquant. | 5 |
59 | Commentaire javadoc manquant. | 5 |
83 | Commentaire javadoc manquant. | 5 |
93 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 0 0 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 0 2 0 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 NaN |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 7 5 2 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
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): | 1 1 8 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : |
NaN NaN | Statement Test Coverage : Method Test Reference : | 0 1.8 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 3 3 1 | Total : Per method : | 29 9.67 | Total : Per method : Per statement : | 21 7 0.72 |
||
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): | 10 0 31 6 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.33 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 1.33 0.14 | Statement Test Coverage : Method Test Reference : | 0 0.67 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTMethodDeclaration,Object) | 0 | 4 | 5 | 0 |
visit(ASTReturnStatement,Object) | 0 | 18 | 12 | 0 |
isMethodCall(ASTReturnStatement) | 1 | 6 | 4 | 1 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
16 | Commentaire javadoc manquant. | |
18 | Commentaire javadoc manquant. | 5 |
27 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 3 1 2 1 | Total : Per method : | 17 17 | Total : Per method : Per statement : | 10 10 0.59 |
||
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): | 9 0 17 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 : | 2 2 0.12 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTFieldDeclaration,Object) | 0 | 15 | 10 | 0 |
View line in source | Style Error | Column |
---|---|---|
30 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
36 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 3 2 3 0 | Total : Per method : | 8 4 | Total : Per method : Per statement : | 5 2.5 0.62 |
||
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 0 9 3 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 2 1 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 2 1 0.25 | Statement Test Coverage : Method Test Reference : | 0 0 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
appliesToClassName(String) | 0 | 2 | 1 | 0 |
isTargetMethod(NameOccurrence) | 1 | 5 | 4 | 0 |
View line in source | Style Error | Column |
---|---|---|
16 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
18 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.lang.java.rule.design | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 1 2 0 | Total : Per method : | 42 42 | Total : Per method : Per statement : | 20 20 0.48 |
||
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): | 10 0 21 1 |
||||
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 : | 2 2 0.05 | Statement Test Coverage : Method Test Reference : | 0 0.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTClassOrInterfaceBody,Object) | 0 | 41 | 20 | 0 |
View line in source | Style Error | Column |
---|---|---|
17 | Commentaire javadoc manquant. | |
19 | Commentaire javadoc manquant. | 5 |