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

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

net.sourceforge.pmd.lang.java.rule.strings.AppendCharacterWithCharRule

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

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


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTLiteral,Object)
0960




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

net.sourceforge.pmd.lang.java.rule.strings.AvoidDuplicateLiteralsRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
3
1
Total :
Per method :
89
29.67
Total :
Per method :
Per statement :
28
9.33
0.31
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
50
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 :
13
4.33
0.15
Statement Test Coverage :
Method Test Reference :
0
4


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
ExceptionParser.ExceptionParser(char)
0210
ExceptionParser.parse(String)
02060
AvoidDuplicateLiteralsRule()
0710
visit(ASTCompilationUnit,Object)
02990
visit(ASTLiteral,Object)
018110




View line in sourceStyle ErrorColumn
27Commentaire javadoc manquant.
29Commentaire javadoc manquant.5
32Commentaire javadoc manquant.5
35Commentaire javadoc manquant.5
38Commentaire javadoc manquant.5
41Commentaire javadoc manquant.5
44Commentaire javadoc manquant.5
47Commentaire javadoc manquant.
52Commentaire javadoc manquant.9
56Commentaire javadoc manquant.9
88Commentaire javadoc manquant.5
97Commentaire javadoc manquant.5
144Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.strings.AvoidDuplicateLiteralsRule$ExceptionParser

Package: net.sourceforge.pmd.lang.java.rule.strings | 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):
0
1
11
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.strings.ConsecutiveLiteralAppendsRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
11
10
2
9
Total :
Per method :
136
13.6
Total :
Per method :
Per statement :
63
6.3
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):
19
0
58
43
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
6
0.6
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
4
0.4
0.03
Statement Test Coverage :
Method Test Reference :
0
7


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
ConsecutiveLiteralAppendsRule()
0210
visit(ASTVariableDeclaratorId,Object)
045190
checkConstructor(ASTVariableDeclaratorId,Object)
11081
processAdditive(Object,int,Node,Node)
018102
isAdditive(Node)
1962
getFirstParentBlock(Node)
11251
getSwitchParent(Node,Node)
11241
checkForViolation(Node,Object,int)
1422
isAppendingStringLiteral(Node)
0531
isStringBuffer(ASTVariableDeclaratorId)
0751

View line in source of duplicated classesLinesTokensStart of code fragment
(225) net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveLiteralAppendsRule
(279) net/sourceforge/pmd/lang/java/rule/strings/InsufficientStringBufferDeclarationRule
3683 } /** * Locate the block that the given node is in, if any * * @param node .....
(258) net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveLiteralAppendsRule
(314) net/sourceforge/pmd/lang/java/rule/strings/InsufficientStringBufferDeclarationRule
1478 private static Node getSwitchParent(Node parentNode, Node lastNode) { int allChildren .....



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

net.sourceforge.pmd.lang.java.rule.strings.InefficientEmptyStringCheckRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
3
0
Total :
Per method :
9
4.5
Total :
Per method :
Per statement :
7
3.5
0.78
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 :
2
1
Total :
Per method :
Per statement :

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


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
isTargetMethod(NameOccurrence)
1660
appliesToClassName(String)
0210




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

net.sourceforge.pmd.lang.java.rule.strings.InefficientStringBufferingRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
2
2
Total :
Per method :
53
17.67
Total :
Per method :
Per statement :
39
13
0.74
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):
15
3
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.06
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTAdditiveExpression,Object)
033220
isInStringBufferOperation(Node,int,String)
013124
isAllocatedStringBuffer(ASTAdditiveExpression)
0651




View line in sourceStyle ErrorColumn
31Commentaire javadoc manquant.
33Commentaire javadoc manquant.5
85Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.strings.InsufficientStringBufferDeclarationRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
13
11
2
11
Total :
Per method :
182
16.55
Total :
Per method :
Per statement :
72
6.55
0.4
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
60
76
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
4
0.36
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
2
0.18
0.01
Statement Test Coverage :
Method Test Reference :
0
6


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTVariableDeclaratorId,Object)
044160
storeBlockStatistics(Integer,int,Node)
11550
processBlocks(Integer)
01030
processAdditive(Node)
01161
isLiteral(String)
0543
processNode(Node)
01461
getConstructorLength(Node,int)
039151
getInitialLength(Node)
01271
isAdditive(Node)
0211
getFirstParentBlock(Node)
11251
getSwitchParent(Node,Node)
11241

View line in source of duplicated classesLinesTokensStart of code fragment
(225) net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveLiteralAppendsRule
(279) net/sourceforge/pmd/lang/java/rule/strings/InsufficientStringBufferDeclarationRule
3683 } /** * Locate the block that the given node is in, if any * * @param node .....
(258) net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveLiteralAppendsRule
(314) net/sourceforge/pmd/lang/java/rule/strings/InsufficientStringBufferDeclarationRule
1478 private static Node getSwitchParent(Node parentNode, Node lastNode) { int allChildren .....



Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
CORRECTNESSNP_NULL_ON_SOME_PATHNP2getConstructorLength
View line in sourceStyle ErrorColumn
37Dans le commentaire javadoc de la classe, il manque une balise @version.
47Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.java.rule.strings.StringInstantiationRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
2
0
Total :
Per method :
22
22
Total :
Per method :
Per statement :
15
15
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
12
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
0.5


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




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

net.sourceforge.pmd.lang.java.rule.strings.StringToStringRule

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

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


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




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

net.sourceforge.pmd.lang.java.rule.strings.UnnecessaryCaseChangeRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
3
2
2
Total :
Per method :
44
14.67
Total :
Per method :
Per statement :
29
9.67
0.66
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
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.07
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTPrimaryExpression,Object)
017120
getBadPrefixOrNull(ASTPrimaryExpression,int)
019101
getBadSuffixOrNull(ASTPrimaryExpression,int)
0771




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

net.sourceforge.pmd.lang.java.rule.strings.UseIndexOfCharRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
3
1
4
Total :
Per method :
9
3
Total :
Per method :
Per statement :
3
1
0.33
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
8
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.67
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
4
1.33
0.44
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
targetTypename()
0210
methodNames()
0210
isViolationArgument(Node)
1210




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

net.sourceforge.pmd.lang.java.rule.strings.UseStringBufferLengthRule

Package: net.sourceforge.pmd.lang.java.rule.strings | 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 :
17
5.67
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):
8
0
25
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.67
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
4
1.33
0.14
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTCompilationUnit,Object)
0310
visit(ASTName,Object)
016100
isViolation(Node,Node)
1861




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

net.sourceforge.pmd.lang.java.rule.strings.UselessStringValueOfRule

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
2
1
Total :
Per method :
37
18.5
Total :
Per method :
Per statement :
24
12
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):
9
0
18
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.08
Statement Test Coverage :
Method Test Reference :
0
0.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
visit(ASTPrimaryPrefix,Object)
020150
isPrimitive(Node)
01691




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