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.optimizations

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

net.sourceforge.pmd.lang.java.rule.optimizations.AbstractOptimizationRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
2
1
Total :
Per method :
10
5
Total :
Per method :
Per statement :
8
4
0.8
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):
3
3
11
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.4
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTClassOrInterfaceDeclaration,Object)
0430
assigned(NameOccurrence)
0550




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

net.sourceforge.pmd.lang.java.rule.optimizations.AvoidInstantiatingObjectsInLoopsRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
4
2
3
Total :
Per method :
19
4.75
Total :
Per method :
Per statement :
13
3.25
0.68
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
9
10
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.5
0.11
Statement Test Coverage :
Method Test Reference :
0
2


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTAllocationExpression,Object)
0440
fourthParentNotThrow(ASTAllocationExpression)
0211
fourthParentNotReturn(ASTAllocationExpression)
0211
insideLoop(ASTAllocationExpression)
01071




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

net.sourceforge.pmd.lang.java.rule.optimizations.LocalVariableCouldBeFinalRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
2
0
Total :
Per method :
13
13
Total :
Per method :
Per statement :
6
6
0.46
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
16
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.15
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTLocalVariableDeclaration,Object)
01260




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

net.sourceforge.pmd.lang.java.rule.optimizations.MethodArgumentCouldBeFinalRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | 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 :
10
3.33
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):
8
0
23
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
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTMethodDeclaration,Object)
0540
lookForViolation(Scope,Object)
0752
visit(ASTConstructorDeclaration,Object)
0310




View line in sourceStyle ErrorColumn
18Commentaire javadoc manquant.
20Commentaire javadoc manquant.9
40Commentaire javadoc manquant.9

net.sourceforge.pmd.lang.java.rule.optimizations.RedundantFieldInitializerRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
4
2
2
Total :
Per method :
58
14.5
Total :
Per method :
Per statement :
30
7.5
0.52
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
33
6
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.5
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
4
1
0.07
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
RedundantFieldInitializerRule()
0210
visit(ASTFieldDeclaration,Object)
047250
isRef(ASTFieldDeclaration,ASTVariableDeclarator)
1631
addViolation(Object,ASTVariableDeclarator)
0211




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

net.sourceforge.pmd.lang.java.rule.optimizations.UnnecessaryWrapperObjectCreationRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
1
2
1
Total :
Per method :
21
21
Total :
Per method :
Per statement :
14
14
0.67
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
20
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 :
3
3
0.14
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTPrimaryPrefix,Object)
018140




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

net.sourceforge.pmd.lang.java.rule.optimizations.UseStringBufferForStringAppendsRule

Package: net.sourceforge.pmd.lang.java.rule.optimizations | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
2
0
Total :
Per method :
28
28
Total :
Per method :
Per statement :
19
19
0.68
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):
13
0
24
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 :
3
3
0.11
Statement Test Coverage :
Method Test Reference :
0
0.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTVariableDeclaratorId,Object)
027190




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