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

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

net.sourceforge.pmd.lang.java.rule.controversial.AssignmentInOperandRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
2
1
Total :
Per method :
16
8
Total :
Per method :
Per statement :
15
7.5
0.94
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
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
2
0.25
Statement Test Coverage :
Method Test Reference :
0
3.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AssignmentInOperandRule()
0510
visit(ASTExpression,Object)
06140




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

net.sourceforge.pmd.lang.java.rule.controversial.DaaRuleViolation

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
5
5
0
Total :
Per method :
19
3.8
Total :
Per method :
Per statement :
5
1
0.26
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):
5
1
6
2
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 :
6
1.2
0.32
Statement Test Coverage :
Method Test Reference :
0
1.8


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
DaaRuleViolation(Rule,RuleContext,Node,String,String,String,int,int)
0611
getVariableName()
0211
getBeginLine()
0211
getEndLine()
0211
getType()
0211




View line in sourceStyle ErrorColumn
19Dans le commentaire javadoc de la classe, il manque une balise @version.
25Commentaire javadoc manquant.5
33Commentaire javadoc manquant.5
37Commentaire javadoc manquant.5
41Commentaire javadoc manquant.5
45Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.controversial.DataflowAnomalyAnalysisRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
9
8
4
5
Total :
Per method :
75
9.38
Total :
Per method :
Per statement :
32
4
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):
17
0
52
12
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
1
0.12
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
6
0.75
0.08
Statement Test Coverage :
Method Test Reference :
0
3.25


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
Usage.Usage(int,DataFlowNode)
0310
Usage.toString()
0210
DataflowAnomalyAnalysisRule()
0310
visit(ASTClassOrInterfaceDeclaration,Object)
0410
visit(ASTMethodDeclaration,Object)
0810
execute(CurrentPath)
01570
checkVariableAccess(DataFlowNode,VariableAccess,Usage)
01370
addDaaViolation(Object,Node,String,String,int,int)
01051
maxNumberOfViolationsReached()
0212
violationAlreadyExists(String,String,int,int)
0571




View line in sourceStyle ErrorColumn
31Dans le commentaire javadoc de la classe, il manque une balise @version.
45Commentaire javadoc manquant.
59Commentaire javadoc manquant.5
64Commentaire javadoc manquant.5
70Commentaire javadoc manquant.5
83Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.controversial.DataflowAnomalyAnalysisRule$Usage

Package: net.sourceforge.pmd.lang.java.rule.controversial | 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
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.5


Method :Javadocs:Source statements:Cyclometic complexity:




net.sourceforge.pmd.lang.java.rule.controversial.DontImportSunRule

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

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


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTImportDeclaration,Object)
0530




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

net.sourceforge.pmd.lang.java.rule.controversial.NullAssignmentRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
2
2
Total :
Per method :
22
7.33
Total :
Per method :
Per statement :
16
5.33
0.73
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
15
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 :
2
0.67
0.09
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTNullLiteral,Object)
016110
isAssignmentToFinalField(ASTStatementExpression)
0331
isBadTernary(ASTConditionalExpression)
0221




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

net.sourceforge.pmd.lang.java.rule.controversial.OnlyOneReturnRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
3
0
Total :
Per method :
17
8.5
Total :
Per method :
Per statement :
9
4.5
0.53
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
14
3
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
3
1.5
0.18
Statement Test Coverage :
Method Test Reference :
0
0.33


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTClassOrInterfaceDeclaration,Object)
0430
visit(ASTMethodDeclaration,Object)
01260




View line in sourceStyle ErrorColumn
16Commentaire javadoc manquant.
18Commentaire javadoc manquant.5
26Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.controversial.SuspiciousOctalEscapeRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
2
2
Total :
Per method :
38
12.67
Total :
Per method :
Per statement :
22
7.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):
3
0
14
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.08
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTLiteral,Object)
033180
isOctal(char)
0221
isDecimal(char)
0221




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