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

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

net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
7
6
4
3
Total :
Per method :
43
7.17
Total :
Per method :
Per statement :
15
2.5
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):
10
0
15
7
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 :
14
2.33
0.33
Statement Test Coverage :
Method Test Reference :
0
2.75


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AvoidBranchingStatementAsLastInLoopRule()
0710
visit(ASTBreakStatement,Object)
0210
visit(ASTContinueStatement,Object)
0210
visit(ASTReturnStatement,Object)
0210
check(String,Node,Object)
01470
hasPropertyValue(String,String)
0640




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
13Commentaire javadoc manquant.
15Commentaire javadoc manquant.5
16Commentaire javadoc manquant.5
17Commentaire javadoc manquant.5
23Commentaire javadoc manquant.5
26Commentaire javadoc manquant.5
29Commentaire javadoc manquant.5
33Commentaire javadoc manquant.5
43Commentaire javadoc manquant.5
48Commentaire javadoc manquant.5
53Commentaire javadoc manquant.5
58Commentaire javadoc manquant.5
76Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.basic.AvoidMultipleUnaryOperatorsRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
4
3
1
Total :
Per method :
35
8.75
Total :
Per method :
Per statement :
18
4.5
0.51
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
9
6
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
5
1.25
0.14
Statement Test Coverage :
Method Test Reference :
0
0.67


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AvoidMultipleUnaryOperatorsRule()
0310
visit(ASTUnaryExpression,Object)
0310
visit(ASTUnaryExpressionNotPlusMinus,Object)
0310
checkUnaryDescendent(Node,Object)
025152




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

net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
8
7
3
5
Total :
Per method :
102
14.57
Total :
Per method :
Per statement :
66
9.43
0.65
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
37
16
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 :
20
2.86
0.2
Statement Test Coverage :
Method Test Reference :
0
5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AvoidUsingHardCodedIPRule()
0410
visit(ASTCompilationUnit,Object)
01450
visit(ASTLiteral,Object)
0970
isLatinDigit(char)
0222
isHexCharacter(char)
0251
isIPv4(char,String)
012112
isIPv6(char,String,boolean,boolean)
047351




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
11Commentaire javadoc manquant.
13Commentaire javadoc manquant.5
14Commentaire javadoc manquant.5
15Commentaire javadoc manquant.5
17Commentaire javadoc manquant.5
22Commentaire javadoc manquant.5
25Commentaire javadoc manquant.5
28Commentaire javadoc manquant.5
29Commentaire javadoc manquant.5
31Commentaire javadoc manquant.5
32Commentaire javadoc manquant.5
33Commentaire javadoc manquant.5
35Commentaire javadoc manquant.5
42Commentaire javadoc manquant.5
59Commentaire javadoc manquant.5
79Commentaire javadoc manquant.5
83Commentaire javadoc manquant.5
87Commentaire javadoc manquant.5
111Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingOctalValuesRule

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

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


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AvoidUsingOctalValuesRule()
0210
visit(ASTLiteral,Object)
0740




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

net.sourceforge.pmd.lang.java.rule.basic.BigIntegerInstantiationRule

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

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


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTAllocationExpression,Object)
018170




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

net.sourceforge.pmd.lang.java.rule.basic.BooleanInstantiationRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
4
5
0
Total :
Per method :
37
9.25
Total :
Per method :
Per statement :
27
6.75
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):
13
0
26
0
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.19
Statement Test Coverage :
Method Test Reference :
0
0.2


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTCompilationUnit,Object)
0310
visit(ASTImportDeclaration,Object)
0430
visit(ASTAllocationExpression,Object)
0860
visit(ASTPrimaryPrefix,Object)
020170




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

net.sourceforge.pmd.lang.java.rule.basic.BrokenNullCheckRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
6
5
2
4
Total :
Per method :
80
16
Total :
Per method :
Per statement :
44
8.8
0.55
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
39
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 :
3
0.6
0.04
Statement Test Coverage :
Method Test Reference :
0
2.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTIfStatement,Object)
0930
checkForViolations(ASTIfStatement,Object,Node)
028191
primaryExpressionsAreEqual(ASTPrimaryExpression,ASTPrimaryExpression)
01371
findExpressionNames(Node,String)
121100
findNullCompareExpression(ASTEqualityExpression)
0851




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

net.sourceforge.pmd.lang.java.rule.basic.CheckSkipResultRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
2
0
Total :
Per method :
20
20
Total :
Per method :
Per statement :
11
11
0.55
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
18
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.15
Statement Test Coverage :
Method Test Reference :
0
0.5


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




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

net.sourceforge.pmd.lang.java.rule.basic.DoubleCheckedLockingRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
9
8
5
4
Total :
Per method :
86
10.75
Total :
Per method :
Per statement :
55
6.88
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):
20
0
47
30
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.25
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
5
0.62
0.06
Statement Test Coverage :
Method Test Reference :
0
1.2


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTClassOrInterfaceDeclaration,Object)
0430
visit(ASTCompilationUnit,Object)
0620
visit(ASTFieldDeclaration,Object)
0530
visit(ASTMethodDeclaration,Object)
039220
ifVerify(ASTIfStatement,String)
012101
findNonVariableStmt(String,ASTPrimaryExpression,ASTPrimaryExpression)
1751
matchName(ASTPrimaryExpression,String)
0762
getNameFromPrimaryPrefix(ASTPrimaryPrefix)
0442




View line in sourceStyle ErrorColumn
48Dans le commentaire javadoc de la classe, il manque une balise @version.
52Commentaire javadoc manquant.5
60Commentaire javadoc manquant.5
71Commentaire javadoc manquant.5
81Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.basic.OverrideBothEqualsAndHashcodeRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
4
0
Total :
Per method :
47
15.67
Total :
Per method :
Per statement :
25
8.33
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):
8
0
24
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.67
0.11
Statement Test Coverage :
Method Test Reference :
0
1.25


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTClassOrInterfaceDeclaration,Object)
01160
visit(ASTImplementsList,Object)
0960
visit(ASTMethodDeclarator,Object)
022130




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