![]() |
|
http://xradar.sourceforge.net |
| Statics Report - System: 1.0, Version: 0, Date: Today | Designed 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} | |
| 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) | 0 | 2 | 1 | 6 |
| jjtOpen() | 0 | 1 | 1 | 0 |
| jjtClose() | 0 | 1 | 1 | 0 |
| jjtSetParent(Node) | 0 | 2 | 1 | 0 |
| jjtGetParent() | 0 | 2 | 1 | 3 |
| jjtAddChild(Node,int) | 0 | 9 | 3 | 0 |
| jjtGetChild(int) | 0 | 2 | 1 | 2 |
| jjtGetNumChildren() | 0 | 2 | 2 | 2 |
| jjtGetId() | 0 | 2 | 1 | 0 |
| toString() | 0 | 1 | 1 | 0 |
| getImage() | 0 | 2 | 1 | 0 |
| setImage(String) | 0 | 2 | 1 | 0 |
| hasImageEqualTo(String) | 0 | 2 | 2 | 0 |
| getBeginLine() | 0 | 2 | 1 | 0 |
| testingOnly__setBeginLine(int) | 0 | 2 | 1 | 0 |
| getBeginColumn() | 0 | 8 | 7 | 0 |
| testingOnly__setBeginColumn(int) | 0 | 2 | 1 | 0 |
| getEndLine() | 0 | 2 | 1 | 0 |
| testingOnly__setEndLine(int) | 0 | 2 | 1 | 0 |
| getEndColumn() | 0 | 2 | 1 | 0 |
| testingOnly__setEndColumn(int) | 0 | 2 | 1 | 0 |
| getDataFlowNode() | 0 | 6 | 5 | 0 |
| setDataFlowNode(DataFlowNode) | 0 | 2 | 1 | 0 |
| getNthParent(int) | 1 | 9 | 6 | 0 |
| getFirstParentOfType(T) | 1 | 5 | 3 | 0 |
| getParentsOfType(T) | 1 | 8 | 3 | 0 |
| findDescendantsOfType(T) | 1 | 4 | 1 | 0 |
| findDescendantsOfType(T,T,boolean) | 1 | 2 | 1 | 0 |
| findDescendantsOfType(Node,T,T,boolean) | 0 | 9 | 6 | 0 |
| findChildrenOfType(T) | 1 | 8 | 3 | 0 |
| isFindBoundary() | 0 | 2 | 1 | 0 |
| getAsDocument() | 0 | 8 | 4 | 0 |
| appendElement(org.w3c.dom.Node) | 0 | 14 | 4 | 0 |
| getFirstDescendantOfType(T) | 1 | 2 | 1 | 0 |
| getFirstChildOfType(T) | 1 | 7 | 4 | 0 |
| getFirstDescendantOfType(T,Node) | 0 | 10 | 6 | 0 |
| hasDescendantOfType(T) | 1 | 2 | 1 | 0 |
| findChildNodesWithXPath(String) | 1 | 2 | 1 | 1 |
| hasDescendantMatchingXPath(String) | 1 | 4 | 4 | 0 |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 20 | Commentaire javadoc manquant. | |
| 22 | Commentaire javadoc manquant. | 5 |
| 23 | Commentaire javadoc manquant. | 5 |
| 24 | Commentaire javadoc manquant. | 5 |
| 27 | Commentaire javadoc manquant. | 5 |
| 28 | Commentaire javadoc manquant. | 5 |
| 29 | Commentaire javadoc manquant. | 5 |
| 30 | Commentaire javadoc manquant. | 5 |
| 33 | Commentaire javadoc manquant. | 5 |
| 37 | Commentaire javadoc manquant. | 5 |
| 40 | Commentaire javadoc manquant. | 5 |
| 43 | Commentaire javadoc manquant. | 5 |
| 47 | Commentaire javadoc manquant. | 5 |
| 51 | Commentaire javadoc manquant. | 5 |
| 62 | Commentaire javadoc manquant. | 5 |
| 66 | Commentaire javadoc manquant. | 5 |
| 70 | Commentaire javadoc manquant. | 5 |
| 78 | Balise javadoc @return manquante. | |
| 81 | Commentaire javadoc manquant. | 5 |
| 85 | Commentaire javadoc manquant. | 5 |
| 89 | Commentaire javadoc manquant. | 5 |
| 93 | Commentaire javadoc manquant. | 5 |
| 97 | Commentaire javadoc manquant. | 5 |
| 101 | Commentaire javadoc manquant. | 5 |
| 113 | Commentaire javadoc manquant. | 5 |
| 117 | Commentaire javadoc manquant. | 5 |
| 121 | Commentaire javadoc manquant. | 5 |
| 125 | Commentaire javadoc manquant. | 5 |
| 129 | Commentaire javadoc manquant. | 5 |
| 133 | Commentaire javadoc manquant. | 5 |
| 143 | Commentaire javadoc manquant. | 5 |
| 152 | Balise javadoc @throws inutilisé pour 'IllegalArgumentException'. | 8 |
| 174 | Balise javadoc @param manquante pour '<T>'. | 13 |
| 188 | Balise javadoc @param manquante pour '<T>'. | 13 |
| 249 | Commentaire javadoc manquant. | 5 |
| 253 | Commentaire javadoc manquant. | 5 |
| 265 | Commentaire javadoc manquant. | 5 |
| 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) | 0 | 2 | 1 | 3 |
| getFileName() | 0 | 3 | 2 | 1 |
| setSuppressMarker(String) | 0 | 2 | 1 | 0 |
| getSuppressMap() | 0 | 2 | 1 | 0 |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 8 | Commentaire javadoc manquant. | |
| 14 | Commentaire javadoc manquant. | 5 |
| 15 | Commentaire javadoc manquant. | 5 |
| 17 | Commentaire javadoc manquant. | 5 |
| 21 | Commentaire javadoc manquant. | 5 |
| 26 | Commentaire javadoc manquant. | 5 |
| 30 | Commentaire javadoc manquant. | 5 |
| 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() | 1 | 1 | 1 | 80 |
| getColumn() | 1 | 1 | 1 | 0 |
| getLine() | 1 | 1 | 1 | 0 |
| getEndColumn() | 1 | 1 | 1 | 6 |
| getEndLine() | 1 | 1 | 1 | 6 |
| getBeginColumn() | 1 | 1 | 1 | 3 |
| getBeginLine() | 1 | 1 | 1 | 3 |
| backup(int) | 1 | 1 | 1 | 5 |
| BeginToken() | 1 | 1 | 1 | 3 |
| GetImage() | 1 | 1 | 1 | 6 |
| GetSuffix(int) | 0 | 1 | 1 | 2 |
| Done() | 1 | 1 | 1 | 0 |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 20 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
| 20 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
| 27 | Balise javadoc @return manquante. | |
| 27 | Balise javadoc @throws manquante pour 'java.io.IOException'. | 26 |
| 34 | Balise javadoc @return manquante. | |
| 41 | Balise javadoc @return manquante. | |
| 47 | Balise javadoc @return manquante. | |
| 53 | Balise javadoc @return manquante. | |
| 59 | Balise javadoc @return manquante. | |
| 65 | Balise javadoc @return manquante. | |
| 73 | Balise javadoc @param manquante pour 'amount'. | 19 |
| 80 | Balise javadoc @return manquante. | |
| 80 | Balise javadoc @throws manquante pour 'java.io.IOException'. | 28 |
| 88 | Balise javadoc @return manquante. | |
| 101 | Balise javadoc @return manquante. | |
| 101 | Balise javadoc @param manquante pour 'len'. | 24 |
| 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() | 1 | 1 | 1 | 2 |
| jjtClose() | 1 | 1 | 1 | 4 |
| jjtSetParent(Node) | 1 | 1 | 1 | 4 |
| jjtGetParent() | 0 | 1 | 1 | 61 |
| jjtAddChild(Node,int) | 1 | 1 | 1 | 5 |
| jjtGetChild(int) | 1 | 1 | 1 | 95 |
| jjtGetNumChildren() | 1 | 1 | 1 | 75 |
| jjtGetId() | 0 | 1 | 1 | 1 |
| getImage() | 0 | 1 | 1 | 45 |
| setImage(String) | 0 | 1 | 1 | 0 |
| hasImageEqualTo(String) | 0 | 1 | 1 | 3 |
| getBeginLine() | 0 | 1 | 1 | 9 |
| getBeginColumn() | 0 | 1 | 1 | 9 |
| getEndLine() | 0 | 1 | 1 | 4 |
| getEndColumn() | 0 | 1 | 1 | 4 |
| getDataFlowNode() | 0 | 1 | 1 | 3 |
| setDataFlowNode(DataFlowNode) | 0 | 1 | 1 | 1 |
| isFindBoundary() | 0 | 1 | 1 | 1 |
| getNthParent(int) | 0 | 1 | 1 | 2 |
| getFirstParentOfType(T) | 0 | 1 | 1 | 0 |
| getParentsOfType(T) | 0 | 1 | 1 | 0 |
| findChildrenOfType(T) | 0 | 1 | 1 | 0 |
| findDescendantsOfType(T) | 0 | 1 | 1 | 0 |
| findDescendantsOfType(T,T,boolean) | 0 | 1 | 1 | 0 |
| getFirstChildOfType(T) | 0 | 1 | 1 | 0 |
| getFirstDescendantOfType(T) | 0 | 1 | 1 | 0 |
| hasDescendantOfType(T) | 0 | 1 | 1 | 0 |
| findChildNodesWithXPath(String) | 1 | 1 | 1 | 0 |
| hasDescendantMatchingXPath(String) | 1 | 1 | 1 | 2 |
| getAsDocument() | 1 | 1 | 1 | 1 |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 16 | Commentaire javadoc manquant. | |
| 34 | Balise javadoc @param manquante pour 'parent'. | 28 |
| 36 | Commentaire javadoc manquant. | 5 |
| 42 | Balise javadoc @param manquante pour 'child'. | 27 |
| 42 | Balise javadoc @param manquante pour 'index'. | 38 |
| 51 | Balise javadoc @return manquante. | |
| 56 | Balise javadoc @return manquante. | |
| 58 | Commentaire javadoc manquant. | 5 |
| 60 | Commentaire javadoc manquant. | 5 |
| 62 | Commentaire javadoc manquant. | 5 |
| 64 | Commentaire javadoc manquant. | 5 |
| 66 | Commentaire javadoc manquant. | 5 |
| 68 | Commentaire javadoc manquant. | 5 |
| 70 | Commentaire javadoc manquant. | 5 |
| 72 | Commentaire javadoc manquant. | 5 |
| 74 | Commentaire javadoc manquant. | 5 |
| 76 | Commentaire javadoc manquant. | 5 |
| 78 | Commentaire javadoc manquant. | 5 |
| 80 | Commentaire javadoc manquant. | 5 |
| 82 | Commentaire javadoc manquant. | 5 |
| 84 | Commentaire javadoc manquant. | 5 |
| 94 | Balise javadoc @param manquante pour '<T>'. | 6 |
| 102 | Balise javadoc @param manquante pour '<T>'. | 6 |
| 111 | Balise javadoc @param manquante pour '<T>'. | 6 |
| 121 | Balise javadoc @param manquante pour '<T>'. | 6 |
| 129 | Balise javadoc @param manquante pour '<T>'. | 6 |
| 137 | Balise javadoc @param manquante pour '<T>'. | 6 |
| 146 | Balise javadoc @throws manquante pour 'JaxenException'. | 77 |
| 162 | Balise javadoc @return manquante. |
| 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 source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 6 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
| 6 | Dans le commentaire javadoc de la classe, il manque une balise @version. |
| 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) | 0 | 41 | 40 | 1 |
| setTabSize(int) | 0 | 2 | 1 | 0 |
| getTabSize(int) | 0 | 2 | 1 | 0 |
| ExpandBuff(boolean) | 0 | 27 | 4 | 1 |
| FillBuff() | 0 | 18 | 8 | 1 |
| ReadByte() | 0 | 4 | 2 | 1 |
| BeginToken() | 1 | 10 | 4 | 0 |
| AdjustBuffSize() | 0 | 15 | 5 | 1 |
| UpdateLineColumn(char) | 0 | 27 | 7 | 1 |
| readChar() | 1 | 43 | 22 | 1 |
| getColumn() | 1 | 2 | 1 | 0 |
| getLine() | 1 | 2 | 1 | 0 |
| getEndColumn() | 1 | 2 | 1 | 0 |
| getEndLine() | 1 | 2 | 1 | 0 |
| getBeginColumn() | 1 | 2 | 1 | 0 |
| getBeginLine() | 1 | 2 | 1 | 0 |
| backup(int) | 1 | 4 | 2 | 2 |
| JavaCharStream(java.io.Reader,int,int,int) | 1 | 9 | 1 | 0 |
| JavaCharStream(java.io.Reader,int,int) | 1 | 2 | 1 | 0 |
| JavaCharStream(java.io.Reader) | 1 | 2 | 1 | 0 |
| ReInit(java.io.Reader,int,int,int) | 1 | 13 | 3 | 0 |
| ReInit(java.io.Reader,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.Reader) | 1 | 2 | 1 | 0 |
| JavaCharStream(java.io.InputStream,String,int,int,int) | 1 | 2 | 2 | 0 |
| JavaCharStream(java.io.InputStream,int,int,int) | 1 | 2 | 1 | 0 |
| JavaCharStream(java.io.InputStream,String,int,int) | 1 | 2 | 1 | 0 |
| JavaCharStream(java.io.InputStream,int,int) | 1 | 2 | 1 | 0 |
| JavaCharStream(java.io.InputStream,String) | 1 | 2 | 1 | 0 |
| JavaCharStream(java.io.InputStream) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,String,int,int,int) | 1 | 2 | 2 | 0 |
| ReInit(java.io.InputStream,int,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,String,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,String) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream) | 1 | 2 | 1 | 0 |
| GetImage() | 1 | 5 | 3 | 0 |
| GetSuffix(int) | 1 | 8 | 2 | 0 |
| Done() | 1 | 5 | 1 | 0 |
| adjustBeginLineColumn(int,int) | 1 | 25 | 7 | 0 |
| View line in source of duplicated classes | Lines | Tokens | Start of code fragment |
|---|---|---|---|
| (560) net/sourceforge/pmd/lang/ast/JavaCharStream
(418) net/sourceforge/pmd/lang/ast/SimpleCharStream | 54 | 216 |
buffer = null;
bufline = null;
bufcolumn = null;
}
/**
* Method to adjust l ..... |
| (81) net/sourceforge/pmd/lang/ast/JavaCharStream
(32) net/sourceforge/pmd/lang/ast/SimpleCharStream | 29 | 189 |
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 | 32 | 162 |
ReInit(dstream, startline, startcolumn, 4096);
}
/** Get token literal value. */
public ..... |
| (213) net/sourceforge/pmd/lang/ast/JavaCharStream
(142) net/sourceforge/pmd/lang/ast/SimpleCharStream | 54 | 146 |
}
protected void UpdateLineColumn(char c)
{
column++;
if (prevCharIsLF)
{
..... |
| (487) net/sourceforge/pmd/lang/ast/JavaCharStream
(346) net/sourceforge/pmd/lang/ast/SimpleCharStream | 21 | 138 |
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 | 50 | 99 |
}
/**
* @deprecated
* @see #getEndColumn
*/
public int getColumn() {
return ..... |
| (415) net/sourceforge/pmd/lang/ast/JavaCharStream
(274) net/sourceforge/pmd/lang/ast/SimpleCharStream | 19 | 91 |
public SimpleCharStream(java.io.Reader dstream)
{
this(dstream, 1, 1, 4096);
}
/** R ..... |
| View line in source | Code Violation | Rule |
|---|---|---|
| A catch statement should never catch throwable since it includes errors. | AvoidCatchingThrowable |
| Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
|---|---|---|---|---|---|
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | AdjustBuffSize | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | BeginToken | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | Done | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ExpandBuff | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | FillBuff | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | GetImage | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | GetSuffix | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReadByte | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | UpdateLineColumn |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 10 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
| 10 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
| 14 | Commentaire javadoc manquant. | 3 |
| 63 | Commentaire javadoc manquant. | 3 |
| 64 | Commentaire javadoc manquant. | 3 |
| 65 | Commentaire javadoc manquant. | 3 |
| 66 | Commentaire javadoc manquant. | 3 |
| 67 | Commentaire javadoc manquant. | 3 |
| 69 | Commentaire javadoc manquant. | 3 |
| 70 | Commentaire javadoc manquant. | 3 |
| 72 | Commentaire javadoc manquant. | 3 |
| 73 | Commentaire javadoc manquant. | 3 |
| 75 | Commentaire javadoc manquant. | 3 |
| 77 | Commentaire javadoc manquant. | 3 |
| 78 | Commentaire javadoc manquant. | 3 |
| 79 | Commentaire javadoc manquant. | 3 |
| 80 | Commentaire javadoc manquant. | 3 |
| 81 | Commentaire javadoc manquant. | 3 |
| 82 | Commentaire javadoc manquant. | 3 |
| 84 | Commentaire javadoc manquant. | 3 |
| 85 | Commentaire javadoc manquant. | 3 |
| 87 | Commentaire javadoc manquant. | 3 |
| 135 | Commentaire javadoc manquant. | 3 |
| 167 | Commentaire javadoc manquant. | 3 |
| 175 | Le commentaire javadoc est vide. | |
| 176 | Balise javadoc @throws manquante pour 'java.io.IOException'. | 35 |
| 195 | Commentaire javadoc manquant. | 3 |
| 215 | Commentaire javadoc manquant. | 3 |
| 256 | Balise javadoc @return manquante. | |
| 256 | Balise javadoc @throws manquante pour 'java.io.IOException'. | 33 |
| 348 | Le commentaire javadoc est vide. | |
| 352 | Balise javadoc @return manquante. | |
| 356 | Le commentaire javadoc est vide. | |
| 360 | Balise javadoc @return manquante. | |
| 365 | Balise javadoc @return manquante. | |
| 370 | Balise javadoc @return manquante. | |
| 374 | Le commentaire javadoc est vide. | |
| 379 | Le commentaire javadoc est vide. | |
| 385 | Balise javadoc @param manquante pour 'amount'. | 26 |
| 393 | Balise javadoc @param manquante pour 'dstream'. | 40 |
| 394 | Balise javadoc @param manquante pour 'startline'. | 22 |
| 394 | Balise javadoc @param manquante pour 'startcolumn'. | 37 |
| 394 | Balise javadoc @param manquante pour 'buffersize'. | 54 |
| 408 | Balise javadoc @param manquante pour 'dstream'. | 40 |
| 409 | Balise javadoc @param manquante pour 'startline'. | 45 |
| 409 | Balise javadoc @param manquante pour 'startcolumn'. | 60 |
| 415 | Balise javadoc @param manquante pour 'dstream'. | 40 |
| 420 | Balise javadoc @param manquante pour 'dstream'. | 37 |
| 421 | Balise javadoc @param manquante pour 'startline'. | 22 |
| 421 | Balise javadoc @param manquante pour 'startcolumn'. | 37 |
| 421 | Balise javadoc @param manquante pour 'buffersize'. | 54 |
| 441 | Balise javadoc @param manquante pour 'dstream'. | 37 |
| 442 | Balise javadoc @param manquante pour 'startline'. | 45 |
| 442 | Balise javadoc @param manquante pour 'startcolumn'. | 60 |
| 448 | Balise javadoc @param manquante pour 'dstream'. | 37 |
| 453 | Balise javadoc @param manquante pour 'dstream'. | 45 |
| 453 | Balise javadoc @param manquante pour 'encoding'. | 61 |
| 453 | Balise javadoc @param manquante pour 'startline'. | 75 |
| 454 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 454 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 454 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 43 |
| 460 | Balise javadoc @param manquante pour 'dstream'. | 45 |
| 460 | Balise javadoc @param manquante pour 'startline'. | 58 |
| 461 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 461 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 467 | Balise javadoc @param manquante pour 'dstream'. | 45 |
| 467 | Balise javadoc @param manquante pour 'encoding'. | 61 |
| 467 | Balise javadoc @param manquante pour 'startline'. | 75 |
| 468 | Balise javadoc @param manquante pour 'startcolumn'. | 29 |
| 468 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 49 |
| 474 | Balise javadoc @param manquante pour 'dstream'. | 45 |
| 474 | Balise javadoc @param manquante pour 'startline'. | 58 |
| 475 | Balise javadoc @param manquante pour 'startcolumn'. | 29 |
| 481 | Balise javadoc @param manquante pour 'dstream'. | 45 |
| 481 | Balise javadoc @param manquante pour 'encoding'. | 61 |
| 481 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 78 |
| 487 | Balise javadoc @param manquante pour 'dstream'. | 45 |
| 493 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 493 | Balise javadoc @param manquante pour 'encoding'. | 58 |
| 493 | Balise javadoc @param manquante pour 'startline'. | 72 |
| 494 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 494 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 494 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 43 |
| 500 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 500 | Balise javadoc @param manquante pour 'startline'. | 55 |
| 501 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 501 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 506 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 506 | Balise javadoc @param manquante pour 'encoding'. | 58 |
| 506 | Balise javadoc @param manquante pour 'startline'. | 72 |
| 507 | Balise javadoc @param manquante pour 'startcolumn'. | 26 |
| 507 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 46 |
| 512 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 512 | Balise javadoc @param manquante pour 'startline'. | 55 |
| 513 | Balise javadoc @param manquante pour 'startcolumn'. | 26 |
| 518 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 518 | Balise javadoc @param manquante pour 'encoding'. | 58 |
| 518 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 75 |
| 524 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 529 | Le commentaire javadoc est vide. | |
| 539 | Le commentaire javadoc est vide. | |
| 540 | Balise javadoc @param manquante pour 'len'. | 31 |
| 568 | Balise javadoc @param manquante pour 'newLine'. | 41 |
| 568 | Balise javadoc @param manquante pour 'newCol'. | 54 |
| 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() | 0 | 2 | 1 | 2 |
| ParseException(String) | 0 | 2 | 1 | 4 |
| ParseException(Throwable) | 0 | 2 | 1 | 2 |
| ParseException(String,Throwable) | 0 | 2 | 1 | 0 |
| Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
|---|---|---|---|---|---|
| BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | Nm | 1 | ||
| BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | Nm | 1 |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 3 | Commentaire javadoc manquant. | |
| 5 | Commentaire javadoc manquant. | 5 |
| 9 | Commentaire javadoc manquant. | 5 |
| 13 | Commentaire javadoc manquant. | 5 |
| 17 | Commentaire javadoc manquant. | 5 |
| 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) | 0 | 2 | 1 | 0 |
| getTabSize(int) | 0 | 2 | 1 | 0 |
| ExpandBuff(boolean) | 0 | 28 | 4 | 1 |
| FillBuff() | 0 | 32 | 13 | 1 |
| BeginToken() | 1 | 5 | 1 | 0 |
| UpdateLineColumn(char) | 0 | 27 | 7 | 1 |
| readChar() | 1 | 11 | 5 | 1 |
| getColumn() | 1 | 2 | 1 | 0 |
| getLine() | 1 | 2 | 1 | 0 |
| getEndColumn() | 1 | 2 | 1 | 0 |
| getEndLine() | 1 | 2 | 1 | 0 |
| getBeginColumn() | 1 | 2 | 1 | 0 |
| getBeginLine() | 1 | 2 | 1 | 0 |
| backup(int) | 1 | 4 | 2 | 1 |
| SimpleCharStream(java.io.Reader,int,int,int) | 1 | 8 | 1 | 0 |
| SimpleCharStream(java.io.Reader,int,int) | 1 | 2 | 1 | 0 |
| SimpleCharStream(java.io.Reader) | 1 | 2 | 1 | 0 |
| ReInit(java.io.Reader,int,int,int) | 1 | 12 | 3 | 0 |
| ReInit(java.io.Reader,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.Reader) | 1 | 2 | 1 | 0 |
| SimpleCharStream(java.io.InputStream,String,int,int,int) | 1 | 2 | 2 | 0 |
| SimpleCharStream(java.io.InputStream,int,int,int) | 1 | 2 | 1 | 0 |
| SimpleCharStream(java.io.InputStream,String,int,int) | 1 | 2 | 1 | 0 |
| SimpleCharStream(java.io.InputStream,int,int) | 1 | 2 | 1 | 0 |
| SimpleCharStream(java.io.InputStream,String) | 1 | 2 | 1 | 0 |
| SimpleCharStream(java.io.InputStream) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,String,int,int,int) | 1 | 2 | 2 | 0 |
| ReInit(java.io.InputStream,int,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,String) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,String,int,int) | 1 | 2 | 1 | 0 |
| ReInit(java.io.InputStream,int,int) | 1 | 2 | 1 | 0 |
| GetImage() | 1 | 5 | 3 | 0 |
| GetSuffix(int) | 1 | 8 | 2 | 0 |
| Done() | 1 | 4 | 1 | 0 |
| adjustBeginLineColumn(int,int) | 1 | 25 | 7 | 0 |
| View line in source of duplicated classes | Lines | Tokens | Start of code fragment |
|---|---|---|---|
| (560) net/sourceforge/pmd/lang/ast/JavaCharStream
(418) net/sourceforge/pmd/lang/ast/SimpleCharStream | 54 | 216 |
buffer = null;
bufline = null;
bufcolumn = null;
}
/**
* Method to adjust l ..... |
| (81) net/sourceforge/pmd/lang/ast/JavaCharStream
(32) net/sourceforge/pmd/lang/ast/SimpleCharStream | 29 | 189 |
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 | 32 | 162 |
ReInit(dstream, startline, startcolumn, 4096);
}
/** Get token literal value. */
public ..... |
| (213) net/sourceforge/pmd/lang/ast/JavaCharStream
(142) net/sourceforge/pmd/lang/ast/SimpleCharStream | 54 | 146 |
}
protected void UpdateLineColumn(char c)
{
column++;
if (prevCharIsLF)
{
..... |
| (487) net/sourceforge/pmd/lang/ast/JavaCharStream
(346) net/sourceforge/pmd/lang/ast/SimpleCharStream | 21 | 138 |
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 | 50 | 99 |
}
/**
* @deprecated
* @see #getEndColumn
*/
public int getColumn() {
return ..... |
| (415) net/sourceforge/pmd/lang/ast/JavaCharStream
(274) net/sourceforge/pmd/lang/ast/SimpleCharStream | 19 | 91 |
public SimpleCharStream(java.io.Reader dstream)
{
this(dstream, 1, 1, 4096);
}
/** R ..... |
| View line in source | Code Violation | Rule |
|---|---|---|
| A catch statement should never catch throwable since it includes errors. | AvoidCatchingThrowable |
| Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
|---|---|---|---|---|---|
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | BeginToken | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | Done | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ExpandBuff | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | FillBuff | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | GetImage | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | GetSuffix | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | ReInit | |
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | UpdateLineColumn |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 10 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
| 10 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
| 14 | Commentaire javadoc manquant. | 3 |
| 15 | Commentaire javadoc manquant. | 3 |
| 16 | Commentaire javadoc manquant. | 3 |
| 19 | Commentaire javadoc manquant. | 3 |
| 20 | Commentaire javadoc manquant. | 3 |
| 22 | Commentaire javadoc manquant. | 3 |
| 23 | Commentaire javadoc manquant. | 3 |
| 25 | Commentaire javadoc manquant. | 3 |
| 26 | Commentaire javadoc manquant. | 3 |
| 28 | Commentaire javadoc manquant. | 3 |
| 30 | Commentaire javadoc manquant. | 3 |
| 31 | Commentaire javadoc manquant. | 3 |
| 32 | Commentaire javadoc manquant. | 3 |
| 33 | Commentaire javadoc manquant. | 3 |
| 35 | Commentaire javadoc manquant. | 3 |
| 36 | Commentaire javadoc manquant. | 3 |
| 39 | Commentaire javadoc manquant. | 3 |
| 89 | Commentaire javadoc manquant. | 3 |
| 135 | Balise javadoc @return manquante. | |
| 135 | Balise javadoc @throws manquante pour 'java.io.IOException'. | 35 |
| 144 | Commentaire javadoc manquant. | 3 |
| 185 | Balise javadoc @return manquante. | |
| 185 | Balise javadoc @throws manquante pour 'java.io.IOException'. | 33 |
| 206 | Le commentaire javadoc est vide. | |
| 211 | Balise javadoc @return manquante. | |
| 215 | Le commentaire javadoc est vide. | |
| 220 | Balise javadoc @return manquante. | |
| 225 | Balise javadoc @return manquante. | |
| 230 | Balise javadoc @return manquante. | |
| 235 | Balise javadoc @return manquante. | |
| 240 | Balise javadoc @return manquante. | |
| 245 | Balise javadoc @param manquante pour 'amount'. | 26 |
| 253 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 253 | Balise javadoc @param manquante pour 'startline'. | 55 |
| 254 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 254 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 267 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 267 | Balise javadoc @param manquante pour 'startline'. | 55 |
| 268 | Balise javadoc @param manquante pour 'startcolumn'. | 31 |
| 274 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 280 | Balise javadoc @param manquante pour 'dstream'. | 37 |
| 280 | Balise javadoc @param manquante pour 'startline'. | 50 |
| 281 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 281 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 300 | Balise javadoc @param manquante pour 'dstream'. | 37 |
| 300 | Balise javadoc @param manquante pour 'startline'. | 50 |
| 301 | Balise javadoc @param manquante pour 'startcolumn'. | 26 |
| 307 | Balise javadoc @param manquante pour 'dstream'. | 37 |
| 312 | Balise javadoc @param manquante pour 'dstream'. | 47 |
| 312 | Balise javadoc @param manquante pour 'encoding'. | 63 |
| 312 | Balise javadoc @param manquante pour 'startline'. | 77 |
| 313 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 313 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 313 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 43 |
| 319 | Balise javadoc @param manquante pour 'dstream'. | 47 |
| 319 | Balise javadoc @param manquante pour 'startline'. | 60 |
| 320 | Balise javadoc @param manquante pour 'startcolumn'. | 7 |
| 320 | Balise javadoc @param manquante pour 'buffersize'. | 24 |
| 326 | Balise javadoc @param manquante pour 'dstream'. | 47 |
| 326 | Balise javadoc @param manquante pour 'encoding'. | 63 |
| 326 | Balise javadoc @param manquante pour 'startline'. | 77 |
| 327 | Balise javadoc @param manquante pour 'startcolumn'. | 31 |
| 327 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 51 |
| 333 | Balise javadoc @param manquante pour 'dstream'. | 47 |
| 333 | Balise javadoc @param manquante pour 'startline'. | 60 |
| 334 | Balise javadoc @param manquante pour 'startcolumn'. | 31 |
| 340 | Balise javadoc @param manquante pour 'dstream'. | 47 |
| 340 | Balise javadoc @param manquante pour 'encoding'. | 63 |
| 340 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 80 |
| 346 | Balise javadoc @param manquante pour 'dstream'. | 47 |
| 352 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 352 | Balise javadoc @param manquante pour 'encoding'. | 58 |
| 352 | Balise javadoc @param manquante pour 'startline'. | 72 |
| 353 | Balise javadoc @param manquante pour 'startcolumn'. | 31 |
| 353 | Balise javadoc @param manquante pour 'buffersize'. | 48 |
| 353 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 67 |
| 359 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 359 | Balise javadoc @param manquante pour 'startline'. | 55 |
| 360 | Balise javadoc @param manquante pour 'startcolumn'. | 31 |
| 360 | Balise javadoc @param manquante pour 'buffersize'. | 48 |
| 366 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 366 | Balise javadoc @param manquante pour 'encoding'. | 58 |
| 366 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 75 |
| 372 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 377 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 377 | Balise javadoc @param manquante pour 'encoding'. | 58 |
| 377 | Balise javadoc @param manquante pour 'startline'. | 72 |
| 378 | Balise javadoc @param manquante pour 'startcolumn'. | 26 |
| 378 | Balise javadoc @throws manquante pour 'java.io.UnsupportedEncodingException'. | 46 |
| 383 | Balise javadoc @param manquante pour 'dstream'. | 42 |
| 383 | Balise javadoc @param manquante pour 'startline'. | 55 |
| 384 | Balise javadoc @param manquante pour 'startcolumn'. | 26 |
| 389 | Balise javadoc @return manquante. | |
| 399 | Balise javadoc @return manquante. | |
| 399 | Balise javadoc @param manquante pour 'len'. | 31 |
| 426 | Balise javadoc @param manquante pour 'newLine'. | 41 |
| 426 | Balise javadoc @param manquante pour 'newCol'. | 54 |
| 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) | 1 | 39 | 13 | 1 |
| LexicalError(boolean,int,int,int,String,char) | 1 | 2 | 2 | 1 |
| getMessage() | 1 | 2 | 1 | 0 |
| TokenMgrError() | 1 | 1 | 1 | 0 |
| TokenMgrError(String,int) | 1 | 3 | 1 | 4 |
| TokenMgrError(boolean,int,int,int,String,char,int) | 1 | 2 | 1 | 3 |
| View line in source of duplicated classes | Lines | Tokens | Start of code fragment |
|---|---|---|---|
| (43) net/sourceforge/pmd/lang/ast/TokenMgrError
(152) net/sourceforge/pmd/lang/java/ast/ParseException | 44 | 205 |
protected String add_escapes(String str) {
StringBuffer retval = new StringBuffer();
..... |
| View line in source | Code Violation | Rule |
|---|---|---|
| Overriding method merely calls super | UselessOverridingMethod |
| Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
|---|---|---|---|---|---|
| BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | Nm | 2 | LexicalError |
| View line in source | Style Error | Column |
|---|---|---|
| 1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
| 6 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
| 6 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
| 43 | Balise javadoc @return manquante. | |
| 43 | Balise javadoc @param manquante pour 'str'. | 52 |
| 100 | Balise javadoc @return manquante. | |
| 100 | Balise javadoc @param manquante pour 'EOFSeen'. | 49 |
| 100 | Balise javadoc @param manquante pour 'lexState'. | 62 |
| 100 | Balise javadoc @param manquante pour 'errorLine'. | 76 |
| 100 | Balise javadoc @param manquante pour 'errorColumn'. | 91 |
| 100 | Balise javadoc @param manquante pour 'errorAfter'. | 111 |
| 100 | Balise javadoc @param manquante pour 'curChar'. | 128 |
| 117 | Balise javadoc @return manquante. | |
| 130 | Balise javadoc @param manquante pour 'message'. | 32 |
| 130 | Balise javadoc @param manquante pour 'reason'. | 45 |
| 136 | Balise javadoc @param manquante pour 'EOFSeen'. | 33 |
| 136 | Balise javadoc @param manquante pour 'lexState'. | 46 |
| 136 | Balise javadoc @param manquante pour 'errorLine'. | 60 |
| 136 | Balise javadoc @param manquante pour 'errorColumn'. | 75 |
| 136 | Balise javadoc @param manquante pour 'errorAfter'. | 95 |
| 136 | Balise javadoc @param manquante pour 'curChar'. | 112 |
| 136 | Balise javadoc @param manquante pour 'reason'. | 125 |