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.rule.design

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

net.sourceforge.pmd.lang.java.rule.design.AccessorClassGenerationRule

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)
0210
visit(ASTCompilationUnit,Object)
0410
ClassData.ClassData(String)
0510
ClassData.addInstantiation(AllocData)
0210
ClassData.getInstantiationIterator()
0210
ClassData.addConstructor(ASTConstructorDeclaration)
0210
ClassData.getPrivateConstructorIterator()
0210
ClassData.getClassName()
0210
ClassData.addClassQualifyingName(String)
0210
ClassData.getClassQualifyingNamesList()
0210
AllocData.AllocData(ASTAllocationExpression,String,String)
01970
AllocData.getName()
0210
AllocData.getArgumentCount()
0210
AllocData.getASTAllocationExpression()
0210
AllocData.isArray()
0210
visit(ASTClassOrInterfaceDeclaration,Object)
151140
visit(ASTConstructorDeclaration,Object)
1420
visit(ASTAllocationExpression,Object)
0750
processRule(Object)
01181
getCurrentClassData()
0432
setClassID(int)
0211
getClassID()
0211
stripString(String,String)
0821




View line in sourceStyle ErrorColumn
36Dans le commentaire javadoc de la classe, il manque une balise @version.
42Commentaire javadoc manquant.5
46Commentaire javadoc manquant.5
52Commentaire javadoc manquant.
97Commentaire javadoc manquant.
155Balise javadoc @return manquante.
155Balise javadoc @param manquante pour 'node'.56
155Balise javadoc @param manquante pour 'data'.69
225Balise javadoc @return manquante.
225Balise javadoc @param manquante pour 'node'.51
225Balise javadoc @param manquante pour 'data'.64
232Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.AccessorClassGenerationRule$AllocData

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:




net.sourceforge.pmd.lang.java.rule.design.AccessorClassGenerationRule$ClassData

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:




net.sourceforge.pmd.lang.java.rule.design.AssignmentToNonFinalStaticRule

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)
0950
initializedInConstructor(NameOccurrence)
0940




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
20Le commentaire javadoc est vide.
23Dans le commentaire javadoc de la classe, il manque une balise @version.
25Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.AvoidDeeplyNestedIfStmtsRule

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()
0210
visit(ASTCompilationUnit,Object)
0410
visit(ASTIfStatement,Object)
0830




View line in sourceStyle ErrorColumn
11Commentaire javadoc manquant.
24Commentaire javadoc manquant.5
28Commentaire javadoc manquant.5
34Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.AvoidReassigningParametersRule

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)
0410
lookForViolation(NameOccurrence,Object)
0790
visit(ASTConstructorDeclaration,Object)
0410




View line in sourceStyle ErrorColumn
15Commentaire javadoc manquant.
17Commentaire javadoc manquant.9
41Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.CloseResourceRule

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()
0310
visit(ASTCompilationUnit,Object)
0650
visit(ASTMethodDeclaration,Object)
01560
ensureClosed(ASTLocalVariableDeclaration,ASTVariableDeclaratorId,Object)
056251
variableIsPassedToMethod(ASTPrimaryExpression,String)
0841




View line in sourceStyle ErrorColumn
46Dans le commentaire javadoc de la classe, il manque une balise @version.
57Commentaire javadoc manquant.5
62Commentaire javadoc manquant.5
73Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.CompareObjectsWithEqualsRule

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)
0221
isAllocation(Node)
1231
visit(ASTEqualityExpression,Object)
022190




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

net.sourceforge.pmd.lang.java.rule.design.ConfusingTernaryRule

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)
0850
visit(ASTConditionalExpression,Object)
0630
isMatch(Node)
0244
isUnaryNot(Node)
0221
isNotEquals(Node)
0221
isConditionalWithAllMatches(Node)
01191
isParenthesisAroundMatch(Node)
011101




View line in sourceStyle ErrorColumn
39Dans le commentaire javadoc de la classe, il manque une balise @author.
39Dans le commentaire javadoc de la classe, il manque une balise @version.
41Commentaire javadoc manquant.5
56Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule

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)
0710
MethodInvocation.isSuper()
0210
MethodInvocation.getName()
0210
MethodInvocation.getArgumentCount()
0210
MethodInvocation.getReferenceNames()
0210
MethodInvocation.getQualifierNames()
0210
MethodInvocation.getASTPrimaryExpression()
0210
MethodInvocation.getMethod(ASTPrimaryExpression)
093280
MethodInvocation.show()
01330
ConstructorInvocation.ConstructorInvocation(ASTExplicitConstructorInvocation)
0720
ConstructorInvocation.getASTExplicitConstructorInvocation()
0210
ConstructorInvocation.getArgumentCount()
0210
ConstructorInvocation.getName()
0210
MethodHolder.MethodHolder(ASTMethodDeclarator)
0210
MethodHolder.setCalledMethod(String)
0210
MethodHolder.getCalled()
0210
MethodHolder.getASTMethodDeclarator()
0210
MethodHolder.isDangerous()
0210
MethodHolder.setDangerous()
0210
ConstructorHolder.ConstructorHolder(ASTConstructorDeclaration)
0210
ConstructorHolder.getASTConstructorDeclaration()
0210
ConstructorHolder.getCalledConstructor()
0420
ConstructorHolder.getASTExplicitConstructorInvocation()
0730
ConstructorHolder.initCI()
0620
ConstructorHolder.isDangerous()
0210
ConstructorHolder.setDangerous(boolean)
0210
compareNodes(Node,Node)
0631
MethodHolderComparator.compare(MethodHolder,MethodHolder)
0210
ConstructorHolderComparator.compare(ConstructorHolder,ConstructorHolder)
0210
EvalPackage.EvalPackage()
0110
EvalPackage.EvalPackage(String)
0610
NullEvalPackage.NullEvalPackage()
0610
getCurrentEvalPackage()
0213
putEvalPackage(EvalPackage)
1210
removeCurrentEvalPackage()
0212
clearEvalPackages()
0211
visitClassDec(ASTClassOrInterfaceDeclaration,Object)
126141
evaluateDangerOfMethods(MethodInvocation)
11780
evaluateDangerOfConstructors1(MethodInvocation,MethodHolder)
11690
evaluateDangerOfConstructors2(MethodInvocation)
11580
visit(ASTCompilationUnit,Object)
0310
visit(ASTEnumDeclaration,Object)
0210
visit(ASTClassOrInterfaceDeclaration,Object)
0830
visit(ASTConstructorDeclaration,Object)
01350
visit(ASTMethodDeclarator,Object)
01260
addCalledMethodsOfNode(Node,MethodInvocation,String)
1410
addCalledMethodsOfNodeImpl(ASTPrimaryExpression,MethodInvocation,String)
0530
findMethod(ASTPrimaryExpression,String)
116121
getNameFromPrefix(ASTPrimaryPrefix)
1731




View line in sourceStyle ErrorColumn
43Dans le commentaire javadoc de la classe, il manque une balise @version.
368Commentaire javadoc manquant.
396Commentaire javadoc manquant.
426Commentaire javadoc manquant.
486Commentaire javadoc manquant.
492Commentaire javadoc manquant.
521Commentaire javadoc manquant.
725Commentaire javadoc manquant.5
731Commentaire javadoc manquant.5
741Balise javadoc @return manquante.
742Balise javadoc @param manquante pour 'node'.56
742Balise javadoc @param manquante pour 'data'.69
768Balise javadoc @return manquante.
769Balise javadoc @param manquante pour 'node'.51
769Balise javadoc @param manquante pour 'data'.64
798Balise javadoc @return manquante.
799Balise javadoc @param manquante pour 'node'.45
799Balise javadoc @param manquante pour 'data'.58
835Le commentaire javadoc est vide.

net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$1

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:




net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$ConstructorHolder

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: CategoryTypeAbbreviationPriorityMethod NameField Name
PERFORMANCESIC_INNER_SHOULD_BE_STATICSIC2

net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$ConstructorHolderComparator

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: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLESe2

net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$ConstructorInvocation

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:




net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$EvalPackage

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:




net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$MethodHolder

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:




net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$MethodHolderComparator

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: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLESe2

net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$MethodInvocation

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:




net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule$NullEvalPackage

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:




net.sourceforge.pmd.lang.java.rule.design.ExcessiveLengthRule

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)
0212
visit(JavaNode,Object)
0820




View line in sourceStyle ErrorColumn
20Dans le commentaire javadoc de la classe, il manque une balise @author.
20Dans le commentaire javadoc de la classe, il manque une balise @version.
23Commentaire javadoc manquant.5
27Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.ExcessiveNodeCountRule

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)
0213
visit(JavaNode,Object)
01230




View line in sourceStyle ErrorColumn
25Dans le commentaire javadoc de la classe, il manque une balise @author.
25Dans le commentaire javadoc de la classe, il manque une balise @version.
28Commentaire javadoc manquant.5
32Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.GenericClassCounterRule

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()
0510
arrayAsList(String[])
0621
init()
0811
start(RuleContext)
0310
visit(ASTCompilationUnit,Object)
0310
visit(ASTImportDeclaration,Object)
0740
visit(ASTClassOrInterfaceType,Object)
0850
addAMatch(Node,Object)
0511
searchForAMatch(String,Node)
0311
end(RuleContext)
0730




Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
PERFORMANCEDM_STRING_VOID_CTORDm2<clinit>
STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHODST2initcounterLabel
PERFORMANCEURF_UNREAD_FIELDUrF2operand
View line in sourceStyle ErrorColumn
48Dans le commentaire javadoc de la classe, il manque une balise @version.
77Commentaire javadoc manquant.9
94Commentaire javadoc manquant.9
108Commentaire javadoc manquant.10
115Commentaire javadoc manquant.6
121Commentaire javadoc manquant.6
136Commentaire javadoc manquant.9
171Commentaire javadoc manquant.9

net.sourceforge.pmd.lang.java.rule.design.IdempotentOperationsRule

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)
023260




View line in sourceStyle ErrorColumn
15Commentaire javadoc manquant.
17Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.ImmutableFieldRule

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)
013100
initializedWhenDeclared(VariableNameDeclaration)
0211
initializedInConstructor(NameOccurrence,ASTConstructorDeclaration)
027140
inLoopOrTry(Node)
0241
inAnonymousInnerClass(Node)
0321
findAllConstructors(ASTClassOrInterfaceDeclaration)
0411




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

net.sourceforge.pmd.lang.java.rule.design.NonThreadSafeSingletonRule

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()
0310
visit(ASTCompilationUnit,Object)
0510
visit(ASTFieldDeclaration,Object)
0430
visit(ASTMethodDeclaration,Object)
032170




View line in sourceStyle ErrorColumn
25Commentaire javadoc manquant.
42Commentaire javadoc manquant.5
47Commentaire javadoc manquant.5
55Commentaire javadoc manquant.5
63Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.PositionalIteratorRule

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)
01470
getVariableName(String)
0212
collectNames(String,String,Node)
0860
hasNameAsChild(Node)
0751
getName(Node)
0761




View line in sourceStyle ErrorColumn
14Commentaire javadoc manquant.
16Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.PreserveStackTraceRule

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)
030170
visit(ASTVariableDeclarator,Object)
01380
useInitCause(Node,ASTCatchStatement)
0441
isThrownExceptionOfType(ASTThrowStatement,String)
0211
ck(Object,String,ASTThrowStatement,ASTArgumentList)
01041




View line in sourceStyle ErrorColumn
26Le commentaire javadoc est vide.
32Dans le commentaire javadoc de la classe, il manque une balise @version.
43Commentaire javadoc manquant.5
93Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.SimplifyBooleanReturnsRule

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)
0960
visit(ASTIfStatement,Object)
038270
hasOneBlockStmt(Node)
0251
getDescendant(Node,int)
1741
terminatesInBooleanLiteral(Node)
0221
eachNodeHasOneChild(Node)
0651
getLastChild(Node)
0431
isNodesEqualWithUnaryExpression(Node,Node)
01231
isNodesEquals(Node,Node)
013101
isSimpleReturn(Node)
0221




View line in sourceStyle ErrorColumn
22Commentaire javadoc manquant.
24Commentaire javadoc manquant.5
41Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.SingularFieldRule

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()
0310
visit(ASTFieldDeclaration,Object)
055250
isInAssignment(Node)
0841




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
28Le commentaire javadoc est vide.
32Dans le commentaire javadoc de la classe, il manque une balise @version.
42Commentaire javadoc manquant.5
47Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.SwitchDensityRule

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()
0210
SwitchDensity.addStatement()
0210
SwitchDensity.addStatements(int)
0210
SwitchDensity.getStatementCount()
0210
SwitchDensity.getDensity()
0430
SwitchDensityRule()
0310
visit(ASTSwitchStatement,Object)
01430
visit(ASTStatement,Object)
0520
visit(ASTSwitchLabel,Object)
0520




View line in sourceStyle ErrorColumn
12Le commentaire javadoc est vide.
24Dans le commentaire javadoc de la classe, il manque une balise @version.
26Commentaire javadoc manquant.
54Commentaire javadoc manquant.5
59Commentaire javadoc manquant.5
83Commentaire javadoc manquant.5
93Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.SwitchDensityRule$1

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:




net.sourceforge.pmd.lang.java.rule.design.SwitchDensityRule$SwitchDensity

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:




net.sourceforge.pmd.lang.java.rule.design.UnnecessaryLocalBeforeReturnRule

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)
0450
visit(ASTReturnStatement,Object)
018120
isMethodCall(ASTReturnStatement)
1641




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

net.sourceforge.pmd.lang.java.rule.design.UnsynchronizedStaticDateFormatterRule

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)
015100




View line in sourceStyle ErrorColumn
30Dans le commentaire javadoc de la classe, il manque une balise @version.
36Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.UseCollectionIsEmptyRule

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)
0210
isTargetMethod(NameOccurrence)
1540




View line in sourceStyle ErrorColumn
16Dans le commentaire javadoc de la classe, il manque une balise @version.
18Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.design.UseSingletonRule

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)
041200




View line in sourceStyle ErrorColumn
17Commentaire javadoc manquant.
19Commentaire javadoc manquant.5