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

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

net.sourceforge.pmd.lang.ast.AbstractNode

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
39
39
36
3
Total :
Per method :
166
4.26
Total :
Per method :
Per statement :
86
2.21
0.52
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
1
4
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
7
4
77
697
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
11
0.28
Total :
Per method :
Per statement :
4
0.1
0.02
Total :
Per method :
Per statement :
38
0.97
0.23
Statement Test Coverage :
Method Test Reference :
0
0.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AbstractNode(int)
0216
jjtOpen()
0110
jjtClose()
0110
jjtSetParent(Node)
0210
jjtGetParent()
0213
jjtAddChild(Node,int)
0930
jjtGetChild(int)
0212
jjtGetNumChildren()
0222
jjtGetId()
0210
toString()
0110
getImage()
0210
setImage(String)
0210
hasImageEqualTo(String)
0220
getBeginLine()
0210
testingOnly__setBeginLine(int)
0210
getBeginColumn()
0870
testingOnly__setBeginColumn(int)
0210
getEndLine()
0210
testingOnly__setEndLine(int)
0210
getEndColumn()
0210
testingOnly__setEndColumn(int)
0210
getDataFlowNode()
0650
setDataFlowNode(DataFlowNode)
0210
getNthParent(int)
1960
getFirstParentOfType(T)
1530
getParentsOfType(T)
1830
findDescendantsOfType(T)
1410
findDescendantsOfType(T,T,boolean)
1210
findDescendantsOfType(Node,T,T,boolean)
0960
findChildrenOfType(T)
1830
isFindBoundary()
0210
getAsDocument()
0840
appendElement(org.w3c.dom.Node)
01440
getFirstDescendantOfType(T)
1210
getFirstChildOfType(T)
1740
getFirstDescendantOfType(T,Node)
01060
hasDescendantOfType(T)
1210
findChildNodesWithXPath(String)
1211
hasDescendantMatchingXPath(String)
1440


View line in sourceCode ViolationRule
JUnit 4 tests that execute tests should use the @Test annotation JUnit4TestShouldUseTestAnnotation
JUnit 4 tests that execute tests should use the @Test annotation JUnit4TestShouldUseTestAnnotation
JUnit 4 tests that execute tests should use the @Test annotation JUnit4TestShouldUseTestAnnotation
JUnit 4 tests that execute tests should use the @Test annotation JUnit4TestShouldUseTestAnnotation


View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
20Commentaire javadoc manquant.
22Commentaire javadoc manquant.5
23Commentaire javadoc manquant.5
24Commentaire javadoc manquant.5
27Commentaire javadoc manquant.5
28Commentaire javadoc manquant.5
29Commentaire javadoc manquant.5
30Commentaire javadoc manquant.5
33Commentaire javadoc manquant.5
37Commentaire javadoc manquant.5
40Commentaire javadoc manquant.5
43Commentaire javadoc manquant.5
47Commentaire javadoc manquant.5
51Commentaire javadoc manquant.5
62Commentaire javadoc manquant.5
66Commentaire javadoc manquant.5
70Commentaire javadoc manquant.5
78Balise javadoc @return manquante.
81Commentaire javadoc manquant.5
85Commentaire javadoc manquant.5
89Commentaire javadoc manquant.5
93Commentaire javadoc manquant.5
97Commentaire javadoc manquant.5
101Commentaire javadoc manquant.5
113Commentaire javadoc manquant.5
117Commentaire javadoc manquant.5
121Commentaire javadoc manquant.5
125Commentaire javadoc manquant.5
129Commentaire javadoc manquant.5
133Commentaire javadoc manquant.5
143Commentaire javadoc manquant.5
152Balise javadoc @throws inutilisé pour 'IllegalArgumentException'.8
174Balise javadoc @param manquante pour '<T>'.13
188Balise javadoc @param manquante pour '<T>'.13
249Commentaire javadoc manquant.5
253Commentaire javadoc manquant.5
265Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.ast.AbstractTokenManager

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
6
4
5
1
Total :
Per method :
13
3.25
Total :
Per method :
Per statement :
5
1.25
0.38
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
1
3
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
0
7
11
5
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 :
8
2
0.62
Statement Test Coverage :
Method Test Reference :
0
1.2


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
setFileName(String)
0213
getFileName()
0321
setSuppressMarker(String)
0210
getSuppressMap()
0210




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

net.sourceforge.pmd.lang.ast.CharStream

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
12
12
12
0
Total :
Per method :
13
1.08
Total :
Per method :
Per statement :
12
1
0.92
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
13
12
66
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
12
1
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
17
1.42
1.31
Statement Test Coverage :
Method Test Reference :
0
0.75


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
readChar()
11180
getColumn()
1110
getLine()
1110
getEndColumn()
1116
getEndLine()
1116
getBeginColumn()
1113
getBeginLine()
1113
backup(int)
1115
BeginToken()
1113
GetImage()
1116
GetSuffix(int)
0112
Done()
1110




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
20Dans le commentaire javadoc de la classe, il manque une balise @author.
20Dans le commentaire javadoc de la classe, il manque une balise @version.
27Balise javadoc @return manquante.
27Balise javadoc @throws manquante pour 'java.io.IOException'.26
34Balise javadoc @return manquante.
41Balise javadoc @return manquante.
47Balise javadoc @return manquante.
53Balise javadoc @return manquante.
59Balise javadoc @return manquante.
65Balise javadoc @return manquante.
73Balise javadoc @param manquante pour 'amount'.19
80Balise javadoc @return manquante.
80Balise javadoc @throws manquante pour 'java.io.IOException'.28
88Balise javadoc @return manquante.
101Balise javadoc @return manquante.
101Balise javadoc @param manquante pour 'len'.24

net.sourceforge.pmd.lang.ast.Node

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
30
30
30
0
Total :
Per method :
31
1.03
Total :
Per method :
Per statement :
30
1
0.97
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
299
30
435
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
9
0.3
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
30
1
0.97
Statement Test Coverage :
Method Test Reference :
0
0.93


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
jjtOpen()
1112
jjtClose()
1114
jjtSetParent(Node)
1114
jjtGetParent()
01161
jjtAddChild(Node,int)
1115
jjtGetChild(int)
11195
jjtGetNumChildren()
11175
jjtGetId()
0111
getImage()
01145
setImage(String)
0110
hasImageEqualTo(String)
0113
getBeginLine()
0119
getBeginColumn()
0119
getEndLine()
0114
getEndColumn()
0114
getDataFlowNode()
0113
setDataFlowNode(DataFlowNode)
0111
isFindBoundary()
0111
getNthParent(int)
0112
getFirstParentOfType(T)
0110
getParentsOfType(T)
0110
findChildrenOfType(T)
0110
findDescendantsOfType(T)
0110
findDescendantsOfType(T,T,boolean)
0110
getFirstChildOfType(T)
0110
getFirstDescendantOfType(T)
0110
hasDescendantOfType(T)
0110
findChildNodesWithXPath(String)
1110
hasDescendantMatchingXPath(String)
1112
getAsDocument()
1111




View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
16Commentaire javadoc manquant.
34Balise javadoc @param manquante pour 'parent'.28
36Commentaire javadoc manquant.5
42Balise javadoc @param manquante pour 'child'.27
42Balise javadoc @param manquante pour 'index'.38
51Balise javadoc @return manquante.
56Balise javadoc @return manquante.
58Commentaire javadoc manquant.5
60Commentaire javadoc manquant.5
62Commentaire javadoc manquant.5
64Commentaire javadoc manquant.5
66Commentaire javadoc manquant.5
68Commentaire javadoc manquant.5
70Commentaire javadoc manquant.5
72Commentaire javadoc manquant.5
74Commentaire javadoc manquant.5
76Commentaire javadoc manquant.5
78Commentaire javadoc manquant.5
80Commentaire javadoc manquant.5
82Commentaire javadoc manquant.5
84Commentaire javadoc manquant.5
94Balise javadoc @param manquante pour '<T>'.6
102Balise javadoc @param manquante pour '<T>'.6
111Balise javadoc @param manquante pour '<T>'.6
121Balise javadoc @param manquante pour '<T>'.6
129Balise javadoc @param manquante pour '<T>'.6
137Balise javadoc @param manquante pour '<T>'.6
146Balise javadoc @throws manquante pour 'JaxenException'.77
162Balise javadoc @return manquante.

net.sourceforge.pmd.lang.ast.RootNode

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
0
0
0
0
Total :
Per method :
1
Infinity
Total :
Per method :
Per statement :
0
NaN
0
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 :
1
Infinity
Total :
Per method :
Per statement :

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


Method :Javadocs:Source statements:Cyclometic complexity:




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

net.sourceforge.pmd.lang.ast.JavaCharStream

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
39
39
31
8
Total :
Per method :
321
8.23
Total :
Per method :
Per statement :
137
3.51
0.43
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
5
53
405
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
32
0.82
Total :
Per method :
Per statement :
1
0.03
0
Total :
Per method :
Per statement :
105
2.69
0.33
Statement Test Coverage :
Method Test Reference :
0
1.03


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
hexval(char)
041401
setTabSize(int)
0210
getTabSize(int)
0210
ExpandBuff(boolean)
02741
FillBuff()
01881
ReadByte()
0421
BeginToken()
11040
AdjustBuffSize()
01551
UpdateLineColumn(char)
02771
readChar()
143221
getColumn()
1210
getLine()
1210
getEndColumn()
1210
getEndLine()
1210
getBeginColumn()
1210
getBeginLine()
1210
backup(int)
1422
JavaCharStream(java.io.Reader,int,int,int)
1910
JavaCharStream(java.io.Reader,int,int)
1210
JavaCharStream(java.io.Reader)
1210
ReInit(java.io.Reader,int,int,int)
11330
ReInit(java.io.Reader,int,int)
1210
ReInit(java.io.Reader)
1210
JavaCharStream(java.io.InputStream,String,int,int,int)
1220
JavaCharStream(java.io.InputStream,int,int,int)
1210
JavaCharStream(java.io.InputStream,String,int,int)
1210
JavaCharStream(java.io.InputStream,int,int)
1210
JavaCharStream(java.io.InputStream,String)
1210
JavaCharStream(java.io.InputStream)
1210
ReInit(java.io.InputStream,String,int,int,int)
1220
ReInit(java.io.InputStream,int,int,int)
1210
ReInit(java.io.InputStream,String,int,int)
1210
ReInit(java.io.InputStream,int,int)
1210
ReInit(java.io.InputStream,String)
1210
ReInit(java.io.InputStream)
1210
GetImage()
1530
GetSuffix(int)
1820
Done()
1510
adjustBeginLineColumn(int,int)
12570

View line in source of duplicated classesLinesTokensStart of code fragment
(560) net/sourceforge/pmd/lang/ast/JavaCharStream
(418) net/sourceforge/pmd/lang/ast/SimpleCharStream
54216 buffer = null; bufline = null; bufcolumn = null; } /** * Method to adjust l .....
(81) net/sourceforge/pmd/lang/ast/JavaCharStream
(32) net/sourceforge/pmd/lang/ast/SimpleCharStream
29189 protected int inBuf = 0; protected int tabSize = 8; protected void setTabSize(int i) { tabS .....
(526) net/sourceforge/pmd/lang/ast/JavaCharStream
(386) net/sourceforge/pmd/lang/ast/SimpleCharStream
32162 ReInit(dstream, startline, startcolumn, 4096); } /** Get token literal value. */ public .....
(213) net/sourceforge/pmd/lang/ast/JavaCharStream
(142) net/sourceforge/pmd/lang/ast/SimpleCharStream
54146 } protected void UpdateLineColumn(char c) { column++; if (prevCharIsLF) { .....
(487) net/sourceforge/pmd/lang/ast/JavaCharStream
(346) net/sourceforge/pmd/lang/ast/SimpleCharStream
21138 public SimpleCharStream(java.io.InputStream dstream) { this(dstream, 1, 1, 4096); } .....
(346) net/sourceforge/pmd/lang/ast/JavaCharStream
(204) net/sourceforge/pmd/lang/ast/SimpleCharStream
5099 } /** * @deprecated * @see #getEndColumn */ public int getColumn() { return .....
(415) net/sourceforge/pmd/lang/ast/JavaCharStream
(274) net/sourceforge/pmd/lang/ast/SimpleCharStream
1991 public SimpleCharStream(java.io.Reader dstream) { this(dstream, 1, 1, 4096); } /** R .....

View line in sourceCode ViolationRule
A catch statement should never catch throwable since it includes errors. AvoidCatchingThrowable


Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2AdjustBuffSize
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2BeginToken
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2Done
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ExpandBuff
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2FillBuff
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2GetImage
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2GetSuffix
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReadByte
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2UpdateLineColumn
View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
10Dans le commentaire javadoc de la classe, il manque une balise @author.
10Dans le commentaire javadoc de la classe, il manque une balise @version.
14Commentaire javadoc manquant.3
63Commentaire javadoc manquant.3
64Commentaire javadoc manquant.3
65Commentaire javadoc manquant.3
66Commentaire javadoc manquant.3
67Commentaire javadoc manquant.3
69Commentaire javadoc manquant.3
70Commentaire javadoc manquant.3
72Commentaire javadoc manquant.3
73Commentaire javadoc manquant.3
75Commentaire javadoc manquant.3
77Commentaire javadoc manquant.3
78Commentaire javadoc manquant.3
79Commentaire javadoc manquant.3
80Commentaire javadoc manquant.3
81Commentaire javadoc manquant.3
82Commentaire javadoc manquant.3
84Commentaire javadoc manquant.3
85Commentaire javadoc manquant.3
87Commentaire javadoc manquant.3
135Commentaire javadoc manquant.3
167Commentaire javadoc manquant.3
175Le commentaire javadoc est vide.
176Balise javadoc @throws manquante pour 'java.io.IOException'.35
195Commentaire javadoc manquant.3
215Commentaire javadoc manquant.3
256Balise javadoc @return manquante.
256Balise javadoc @throws manquante pour 'java.io.IOException'.33
348Le commentaire javadoc est vide.
352Balise javadoc @return manquante.
356Le commentaire javadoc est vide.
360Balise javadoc @return manquante.
365Balise javadoc @return manquante.
370Balise javadoc @return manquante.
374Le commentaire javadoc est vide.
379Le commentaire javadoc est vide.
385Balise javadoc @param manquante pour 'amount'.26
393Balise javadoc @param manquante pour 'dstream'.40
394Balise javadoc @param manquante pour 'startline'.22
394Balise javadoc @param manquante pour 'startcolumn'.37
394Balise javadoc @param manquante pour 'buffersize'.54
408Balise javadoc @param manquante pour 'dstream'.40
409Balise javadoc @param manquante pour 'startline'.45
409Balise javadoc @param manquante pour 'startcolumn'.60
415Balise javadoc @param manquante pour 'dstream'.40
420Balise javadoc @param manquante pour 'dstream'.37
421Balise javadoc @param manquante pour 'startline'.22
421Balise javadoc @param manquante pour 'startcolumn'.37
421Balise javadoc @param manquante pour 'buffersize'.54
441Balise javadoc @param manquante pour 'dstream'.37
442Balise javadoc @param manquante pour 'startline'.45
442Balise javadoc @param manquante pour 'startcolumn'.60
448Balise javadoc @param manquante pour 'dstream'.37
453Balise javadoc @param manquante pour 'dstream'.45
453Balise javadoc @param manquante pour 'encoding'.61
453Balise javadoc @param manquante pour 'startline'.75
454Balise javadoc @param manquante pour 'startcolumn'.7
454Balise javadoc @param manquante pour 'buffersize'.24
454Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.43
460Balise javadoc @param manquante pour 'dstream'.45
460Balise javadoc @param manquante pour 'startline'.58
461Balise javadoc @param manquante pour 'startcolumn'.7
461Balise javadoc @param manquante pour 'buffersize'.24
467Balise javadoc @param manquante pour 'dstream'.45
467Balise javadoc @param manquante pour 'encoding'.61
467Balise javadoc @param manquante pour 'startline'.75
468Balise javadoc @param manquante pour 'startcolumn'.29
468Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.49
474Balise javadoc @param manquante pour 'dstream'.45
474Balise javadoc @param manquante pour 'startline'.58
475Balise javadoc @param manquante pour 'startcolumn'.29
481Balise javadoc @param manquante pour 'dstream'.45
481Balise javadoc @param manquante pour 'encoding'.61
481Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.78
487Balise javadoc @param manquante pour 'dstream'.45
493Balise javadoc @param manquante pour 'dstream'.42
493Balise javadoc @param manquante pour 'encoding'.58
493Balise javadoc @param manquante pour 'startline'.72
494Balise javadoc @param manquante pour 'startcolumn'.7
494Balise javadoc @param manquante pour 'buffersize'.24
494Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.43
500Balise javadoc @param manquante pour 'dstream'.42
500Balise javadoc @param manquante pour 'startline'.55
501Balise javadoc @param manquante pour 'startcolumn'.7
501Balise javadoc @param manquante pour 'buffersize'.24
506Balise javadoc @param manquante pour 'dstream'.42
506Balise javadoc @param manquante pour 'encoding'.58
506Balise javadoc @param manquante pour 'startline'.72
507Balise javadoc @param manquante pour 'startcolumn'.26
507Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.46
512Balise javadoc @param manquante pour 'dstream'.42
512Balise javadoc @param manquante pour 'startline'.55
513Balise javadoc @param manquante pour 'startcolumn'.26
518Balise javadoc @param manquante pour 'dstream'.42
518Balise javadoc @param manquante pour 'encoding'.58
518Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.75
524Balise javadoc @param manquante pour 'dstream'.42
529Le commentaire javadoc est vide.
539Le commentaire javadoc est vide.
540Balise javadoc @param manquante pour 'len'.31
568Balise javadoc @param manquante pour 'newLine'.41
568Balise javadoc @param manquante pour 'newCol'.54

net.sourceforge.pmd.lang.ast.ParseException

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
4
4
0
Total :
Per method :
9
2.25
Total :
Per method :
Per statement :
4
1
0.44
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
4
2
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
0
8
8
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 :
6
1.5
0.67
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
ParseException()
0212
ParseException(String)
0214
ParseException(Throwable)
0212
ParseException(String,Throwable)
0210




Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICENM_SAME_SIMPLE_NAME_AS_SUPERCLASSNm1
BAD_PRACTICENM_SAME_SIMPLE_NAME_AS_SUPERCLASSNm1
View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
3Commentaire javadoc manquant.
5Commentaire javadoc manquant.5
9Commentaire javadoc manquant.5
13Commentaire javadoc manquant.5
17Commentaire javadoc manquant.5

net.sourceforge.pmd.lang.ast.SimpleCharStream

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
36
36
31
5
Total :
Per method :
234
6.5
Total :
Per method :
Per statement :
75
2.08
0.32
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
49
338
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
32
0.89
Total :
Per method :
Per statement :
1
0.03
0
Total :
Per method :
Per statement :
100
2.78
0.43
Statement Test Coverage :
Method Test Reference :
0
0.87


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
setTabSize(int)
0210
getTabSize(int)
0210
ExpandBuff(boolean)
02841
FillBuff()
032131
BeginToken()
1510
UpdateLineColumn(char)
02771
readChar()
11151
getColumn()
1210
getLine()
1210
getEndColumn()
1210
getEndLine()
1210
getBeginColumn()
1210
getBeginLine()
1210
backup(int)
1421
SimpleCharStream(java.io.Reader,int,int,int)
1810
SimpleCharStream(java.io.Reader,int,int)
1210
SimpleCharStream(java.io.Reader)
1210
ReInit(java.io.Reader,int,int,int)
11230
ReInit(java.io.Reader,int,int)
1210
ReInit(java.io.Reader)
1210
SimpleCharStream(java.io.InputStream,String,int,int,int)
1220
SimpleCharStream(java.io.InputStream,int,int,int)
1210
SimpleCharStream(java.io.InputStream,String,int,int)
1210
SimpleCharStream(java.io.InputStream,int,int)
1210
SimpleCharStream(java.io.InputStream,String)
1210
SimpleCharStream(java.io.InputStream)
1210
ReInit(java.io.InputStream,String,int,int,int)
1220
ReInit(java.io.InputStream,int,int,int)
1210
ReInit(java.io.InputStream,String)
1210
ReInit(java.io.InputStream)
1210
ReInit(java.io.InputStream,String,int,int)
1210
ReInit(java.io.InputStream,int,int)
1210
GetImage()
1530
GetSuffix(int)
1820
Done()
1410
adjustBeginLineColumn(int,int)
12570

View line in source of duplicated classesLinesTokensStart of code fragment
(560) net/sourceforge/pmd/lang/ast/JavaCharStream
(418) net/sourceforge/pmd/lang/ast/SimpleCharStream
54216 buffer = null; bufline = null; bufcolumn = null; } /** * Method to adjust l .....
(81) net/sourceforge/pmd/lang/ast/JavaCharStream
(32) net/sourceforge/pmd/lang/ast/SimpleCharStream
29189 protected int inBuf = 0; protected int tabSize = 8; protected void setTabSize(int i) { tabS .....
(526) net/sourceforge/pmd/lang/ast/JavaCharStream
(386) net/sourceforge/pmd/lang/ast/SimpleCharStream
32162 ReInit(dstream, startline, startcolumn, 4096); } /** Get token literal value. */ public .....
(213) net/sourceforge/pmd/lang/ast/JavaCharStream
(142) net/sourceforge/pmd/lang/ast/SimpleCharStream
54146 } protected void UpdateLineColumn(char c) { column++; if (prevCharIsLF) { .....
(487) net/sourceforge/pmd/lang/ast/JavaCharStream
(346) net/sourceforge/pmd/lang/ast/SimpleCharStream
21138 public SimpleCharStream(java.io.InputStream dstream) { this(dstream, 1, 1, 4096); } .....
(346) net/sourceforge/pmd/lang/ast/JavaCharStream
(204) net/sourceforge/pmd/lang/ast/SimpleCharStream
5099 } /** * @deprecated * @see #getEndColumn */ public int getColumn() { return .....
(415) net/sourceforge/pmd/lang/ast/JavaCharStream
(274) net/sourceforge/pmd/lang/ast/SimpleCharStream
1991 public SimpleCharStream(java.io.Reader dstream) { this(dstream, 1, 1, 4096); } /** R .....

View line in sourceCode ViolationRule
A catch statement should never catch throwable since it includes errors. AvoidCatchingThrowable


Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2BeginToken
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2Done
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ExpandBuff
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2FillBuff
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2GetImage
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2GetSuffix
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2ReInit
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2UpdateLineColumn
View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
10Dans le commentaire javadoc de la classe, il manque une balise @author.
10Dans le commentaire javadoc de la classe, il manque une balise @version.
14Commentaire javadoc manquant.3
15Commentaire javadoc manquant.3
16Commentaire javadoc manquant.3
19Commentaire javadoc manquant.3
20Commentaire javadoc manquant.3
22Commentaire javadoc manquant.3
23Commentaire javadoc manquant.3
25Commentaire javadoc manquant.3
26Commentaire javadoc manquant.3
28Commentaire javadoc manquant.3
30Commentaire javadoc manquant.3
31Commentaire javadoc manquant.3
32Commentaire javadoc manquant.3
33Commentaire javadoc manquant.3
35Commentaire javadoc manquant.3
36Commentaire javadoc manquant.3
39Commentaire javadoc manquant.3
89Commentaire javadoc manquant.3
135Balise javadoc @return manquante.
135Balise javadoc @throws manquante pour 'java.io.IOException'.35
144Commentaire javadoc manquant.3
185Balise javadoc @return manquante.
185Balise javadoc @throws manquante pour 'java.io.IOException'.33
206Le commentaire javadoc est vide.
211Balise javadoc @return manquante.
215Le commentaire javadoc est vide.
220Balise javadoc @return manquante.
225Balise javadoc @return manquante.
230Balise javadoc @return manquante.
235Balise javadoc @return manquante.
240Balise javadoc @return manquante.
245Balise javadoc @param manquante pour 'amount'.26
253Balise javadoc @param manquante pour 'dstream'.42
253Balise javadoc @param manquante pour 'startline'.55
254Balise javadoc @param manquante pour 'startcolumn'.7
254Balise javadoc @param manquante pour 'buffersize'.24
267Balise javadoc @param manquante pour 'dstream'.42
267Balise javadoc @param manquante pour 'startline'.55
268Balise javadoc @param manquante pour 'startcolumn'.31
274Balise javadoc @param manquante pour 'dstream'.42
280Balise javadoc @param manquante pour 'dstream'.37
280Balise javadoc @param manquante pour 'startline'.50
281Balise javadoc @param manquante pour 'startcolumn'.7
281Balise javadoc @param manquante pour 'buffersize'.24
300Balise javadoc @param manquante pour 'dstream'.37
300Balise javadoc @param manquante pour 'startline'.50
301Balise javadoc @param manquante pour 'startcolumn'.26
307Balise javadoc @param manquante pour 'dstream'.37
312Balise javadoc @param manquante pour 'dstream'.47
312Balise javadoc @param manquante pour 'encoding'.63
312Balise javadoc @param manquante pour 'startline'.77
313Balise javadoc @param manquante pour 'startcolumn'.7
313Balise javadoc @param manquante pour 'buffersize'.24
313Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.43
319Balise javadoc @param manquante pour 'dstream'.47
319Balise javadoc @param manquante pour 'startline'.60
320Balise javadoc @param manquante pour 'startcolumn'.7
320Balise javadoc @param manquante pour 'buffersize'.24
326Balise javadoc @param manquante pour 'dstream'.47
326Balise javadoc @param manquante pour 'encoding'.63
326Balise javadoc @param manquante pour 'startline'.77
327Balise javadoc @param manquante pour 'startcolumn'.31
327Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.51
333Balise javadoc @param manquante pour 'dstream'.47
333Balise javadoc @param manquante pour 'startline'.60
334Balise javadoc @param manquante pour 'startcolumn'.31
340Balise javadoc @param manquante pour 'dstream'.47
340Balise javadoc @param manquante pour 'encoding'.63
340Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.80
346Balise javadoc @param manquante pour 'dstream'.47
352Balise javadoc @param manquante pour 'dstream'.42
352Balise javadoc @param manquante pour 'encoding'.58
352Balise javadoc @param manquante pour 'startline'.72
353Balise javadoc @param manquante pour 'startcolumn'.31
353Balise javadoc @param manquante pour 'buffersize'.48
353Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.67
359Balise javadoc @param manquante pour 'dstream'.42
359Balise javadoc @param manquante pour 'startline'.55
360Balise javadoc @param manquante pour 'startcolumn'.31
360Balise javadoc @param manquante pour 'buffersize'.48
366Balise javadoc @param manquante pour 'dstream'.42
366Balise javadoc @param manquante pour 'encoding'.58
366Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.75
372Balise javadoc @param manquante pour 'dstream'.42
377Balise javadoc @param manquante pour 'dstream'.42
377Balise javadoc @param manquante pour 'encoding'.58
377Balise javadoc @param manquante pour 'startline'.72
378Balise javadoc @param manquante pour 'startcolumn'.26
378Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'.46
383Balise javadoc @param manquante pour 'dstream'.42
383Balise javadoc @param manquante pour 'startline'.55
384Balise javadoc @param manquante pour 'startcolumn'.26
389Balise javadoc @return manquante.
399Balise javadoc @return manquante.
399Balise javadoc @param manquante pour 'len'.31
426Balise javadoc @param manquante pour 'newLine'.41
426Balise javadoc @param manquante pour 'newCol'.54

net.sourceforge.pmd.lang.ast.TokenMgrError

Package: net.sourceforge.pmd.lang.ast | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
6
6
4
2
Total :
Per method :
55
9.17
Total :
Per method :
Per statement :
19
3.17
0.35
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
4
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
1
4
23
15
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
7
1.17
Total :
Per method :
Per statement :
1
0.17
0.02
Total :
Per method :
Per statement :
22
3.67
0.4
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
addEscapes(String)
139131
LexicalError(boolean,int,int,int,String,char)
1221
getMessage()
1210
TokenMgrError()
1110
TokenMgrError(String,int)
1314
TokenMgrError(boolean,int,int,int,String,char,int)
1213

View line in source of duplicated classesLinesTokensStart of code fragment
(43) net/sourceforge/pmd/lang/ast/TokenMgrError
(152) net/sourceforge/pmd/lang/java/ast/ParseException
44205 protected String add_escapes(String str) { StringBuffer retval = new StringBuffer(); .....

View line in sourceCode ViolationRule
Overriding method merely calls super UselessOverridingMethod


Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
BAD_PRACTICENM_METHOD_NAMING_CONVENTIONNm2LexicalError
View line in sourceStyle ErrorColumn
1La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'.
6Dans le commentaire javadoc de la classe, il manque une balise @author.
6Dans le commentaire javadoc de la classe, il manque une balise @version.
43Balise javadoc @return manquante.
43Balise javadoc @param manquante pour 'str'.52
100Balise javadoc @return manquante.
100Balise javadoc @param manquante pour 'EOFSeen'.49
100Balise javadoc @param manquante pour 'lexState'.62
100Balise javadoc @param manquante pour 'errorLine'.76
100Balise javadoc @param manquante pour 'errorColumn'.91
100Balise javadoc @param manquante pour 'errorAfter'.111
100Balise javadoc @param manquante pour 'curChar'.128
117Balise javadoc @return manquante.
130Balise javadoc @param manquante pour 'message'.32
130Balise javadoc @param manquante pour 'reason'.45
136Balise javadoc @param manquante pour 'EOFSeen'.33
136Balise javadoc @param manquante pour 'lexState'.46
136Balise javadoc @param manquante pour 'errorLine'.60
136Balise javadoc @param manquante pour 'errorColumn'.75
136Balise javadoc @param manquante pour 'errorAfter'.95
136Balise javadoc @param manquante pour 'curChar'.112
136Balise javadoc @param manquante pour 'reason'.125