![]() |
|
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.util |
|
[scorecard] [analysis] [explanations] | |
{overview} {architecture} {design} {code} {test} {source control} {system specific} |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 1 1 1 0 | Total : Per method : | 2 2 | Total : Per method : Per statement : | 1 1 0.5 |
||
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 4 1 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 : | 3 3 1.5 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
getLine(int) | 0 | 1 | 1 | 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. | |
4 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 1 1 1 0 | Total : Per method : | 2 2 | Total : Per method : Per statement : | 1 1 0.5 |
||
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 8 1 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 : | 2 2 1 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|---|---|---|
applyTo(E) | 0 | 1 | 1 |
View line in source | Style Error | Column |
---|---|---|
6 | Commentaire javadoc manquant. | |
7 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 1 2 0 | Total : Per method : | 4 4 | Total : Per method : Per statement : | 2 2 0.5 |
||
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 4 6 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.5 | Statement Test Coverage : Method Test Reference : | 0 0.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|---|---|---|
apply(E,E) | 0 | 3 | 2 |
View line in source | Style Error | Column |
---|---|---|
8 | Commentaire javadoc manquant. | |
10 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 11 9 6 5 | Total : Per method : | 225 25 | Total : Per method : Per statement : | 66 7.33 0.29 |
||
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): | 20 3 84 43 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 0 0 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 20 2.22 0.09 | Statement Test Coverage : Method Test Reference : | 0 1.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
Result.compareTo(Result) | 0 | 7 | 5 | 0 |
Result.Result(long,Rule) | 0 | 3 | 1 | 0 |
findBooleanSwitch(String[],String) | 0 | 5 | 4 | 1 |
findOptionalStringValue(String[],String,String) | 0 | 5 | 4 | 1 |
main(String[]) | 0 | 36 | 9 | 0 |
parseStress(LanguageVersion,DataSource) | 0 | 8 | 2 | 0 |
stress(LanguageVersion,RuleSet,DataSource,Result,boolean) | 0 | 23 | 5 | 0 |
BenchmarkResult.BenchmarkResult(int,String) | 0 | 3 | 1 | 0 |
BenchmarkResult.BenchmarkResult(int,String,long,long) | 0 | 5 | 1 | 0 |
BenchmarkResult.getType() | 0 | 2 | 1 | 0 |
BenchmarkResult.getName() | 0 | 2 | 1 | 0 |
BenchmarkResult.getTime() | 0 | 2 | 1 | 0 |
BenchmarkResult.getCount() | 0 | 2 | 1 | 0 |
BenchmarkResult.update(long,long) | 0 | 3 | 1 | 0 |
BenchmarkResult.compareTo(BenchmarkResult) | 0 | 6 | 4 | 0 |
mark(int,long,long) | 0 | 2 | 1 | 5 |
mark(int,String,long,long) | 0 | 15 | 9 | 3 |
reset() | 0 | 2 | 1 | 0 |
report() | 0 | 68 | 14 | 1 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
31 | Commentaire javadoc manquant. | |
33 | Commentaire javadoc manquant. | |
71 | Commentaire javadoc manquant. | 5 |
166 | Commentaire javadoc manquant. | 5 |
167 | Commentaire javadoc manquant. | 5 |
168 | Commentaire javadoc manquant. | 5 |
169 | Commentaire javadoc manquant. | 5 |
170 | Commentaire javadoc manquant. | 5 |
171 | Commentaire javadoc manquant. | 5 |
172 | Commentaire javadoc manquant. | 5 |
173 | Commentaire javadoc manquant. | 5 |
174 | Commentaire javadoc manquant. | 5 |
175 | Commentaire javadoc manquant. | 5 |
180 | Commentaire javadoc manquant. | 5 |
200 | Commentaire javadoc manquant. | |
241 | Commentaire javadoc manquant. | 5 |
245 | Commentaire javadoc manquant. | 5 |
262 | Commentaire javadoc manquant. | 5 |
266 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 9 9 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 10 6 |
||||
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.33 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | Eq | 2 | compareTo |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 3 3 0 | Total : Per method : |
NaN | Total : Per method : Per statement : |
NaN NaN |
||
Inheritance: | Coupling: | ||||||
Depth of inheritance tree (DIT): Number of Children (NOC): | 1 0 |
Efferent/Import Class Couplings (CBO/Ce): Afferent/Export Class Couplings (Ca): Response for a class (RFC): Lack of Cohesion in methods (LCOM): | 1 1 6 1 |
||||
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.33 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: |
---|
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | Eq | 2 | compareTo |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 10 9 7 3 | Total : Per method : | 47 5.22 | Total : Per method : Per statement : | 21 2.33 0.45 |
||
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 4 29 27 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 8 0.89 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 9 1 0.19 | Statement Test Coverage : Method Test Reference : | 0 1.43 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
ClassUtil() | 0 | 1 | 1 | 0 |
getPrimitiveTypeFor(String) | 1 | 2 | 1 | 0 |
computeClassShortNames() | 1 | 5 | 1 | 1 |
getClassShortNames() | 0 | 2 | 1 | 1 |
getTypeFor(String) | 1 | 8 | 5 | 3 |
asShortestName(Class) | 1 | 3 | 2 | 1 |
withoutPackageName(String) | 1 | 3 | 2 | 2 |
methodFor(Class,String,Class[]) | 1 | 10 | 5 | 2 |
asMethodGroupsByTypeName(Method[]) | 1 | 8 | 3 | 0 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
15 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
17 | Commentaire javadoc manquant. | 5 |
46 | Balise HTML trouvée dans la javadoc : <Class, String> | 19 |
56 | Commentaire javadoc manquant. | 5 |
87 | Balise javadoc @param manquante pour 'type'. | 50 |
100 | Balise javadoc @param manquante pour 'fullTypeName'. | 52 |
135 | Balise HTML trouvée dans la javadoc : <String, List<Method>> | 19 |
137 | Balise javadoc @param manquante pour 'methods'. | 79 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 7 6 2 5 | Total : Per method : | 52 8.67 | Total : Per method : Per statement : | 16 2.67 0.31 |
||
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): | 0 1 42 15 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 1 0.17 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 3 0.5 0.06 | Statement Test Coverage : Method Test Reference : | 0 4 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
ClasspathClassLoader(String,ClassLoader) | 0 | 2 | 1 | 1 |
initURLs(String) | 0 | 9 | 4 | 1 |
addClasspathURLs(URL,String) | 0 | 6 | 2 | 0 |
addFileURLs(URL,URL) | 0 | 16 | 5 | 0 |
createURLFromPath(String) | 0 | 3 | 1 | 2 |
toString() | 0 | 14 | 3 | 0 |
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | DP | 2 | prependClasspath |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
23 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
27 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 15 14 13 2 | Total : Per method : | 88 6.29 | Total : Per method : Per statement : | 60 4.29 0.68 |
||
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 13 44 93 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 13 0.93 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 18 1.29 0.2 | Statement Test Coverage : Method Test Reference : | 0 0.92 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
CollectionUtil() | 0 | 1 | 1 | 0 |
getCollectionTypeFor(String) | 1 | 5 | 3 | 1 |
isCollectionType(String,boolean) | 1 | 4 | 4 | 2 |
isCollectionType(Class,boolean) | 1 | 4 | 4 | 1 |
asSet(T[]) | 1 | 2 | 1 | 0 |
mapFrom(K[],V[]) | 1 | 7 | 4 | 0 |
invertedMapFrom(V) | 1 | 5 | 2 | 0 |
arraysAreEqual(Object,Object) | 1 | 6 | 5 | 2 |
valuesAreTransitivelyEqual(Object[],Object[]) | 1 | 11 | 11 | 1 |
areEqual(Object,Object) | 0 | 10 | 9 | 4 |
isEmpty(Object[]) | 1 | 2 | 2 | 2 |
areSemanticEquals(T[],T[]) | 1 | 6 | 5 | 0 |
addWithoutDuplicates(T[],T) | 1 | 8 | 4 | 0 |
addWithoutDuplicates(T[],T[]) | 1 | 14 | 5 | 0 |
Bug: Category | Type | Abbreviation | Priority | Method Name | Field Name |
---|---|---|---|---|---|
CORRECTNESS | EC_BAD_ARRAY_COMPARE | EC | 2 | areSemanticEquals |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
20 | Commentaire javadoc manquant. | 5 |
24 | Commentaire javadoc manquant. | 5 |
87 | Balise javadoc @param manquante pour '<T>'. | 20 |
100 | Balise javadoc @param manquante pour '<K>'. | 20 |
100 | Balise javadoc @param manquante pour '<V>'. | 23 |
117 | Balise javadoc @param manquante pour '<K>'. | 20 |
117 | Balise javadoc @param manquante pour '<V>'. | 23 |
199 | Balise javadoc @param manquante pour 'items'. | 44 |
212 | Balise javadoc @param manquante pour '<T>'. | 20 |
212 | Balise javadoc @param manquante pour 'a'. | 53 |
212 | Balise javadoc @param manquante pour 'b'. | 60 |
229 | Balise javadoc @param manquante pour '<T>'. | 20 |
229 | Balise javadoc @param manquante pour 'values'. | 52 |
229 | Balise javadoc @param manquante pour 'newValue'. | 62 |
251 | Balise javadoc @param manquante pour '<T>'. | 20 |
251 | Balise javadoc @param manquante pour 'values'. | 52 |
251 | Balise javadoc @param manquante pour 'newValues'. | 64 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 5 5 4 1 | Total : Per method : | 27 5.4 | Total : Per method : Per statement : | 13 2.6 0.48 |
||
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 8 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 5 1 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 0.8 0.15 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
CompoundIterator(T) | 1 | 3 | 1 | 0 |
hasNext() | 1 | 2 | 1 | 0 |
next() | 1 | 6 | 4 | 0 |
remove() | 1 | 6 | 3 | 0 |
getNextIterator() | 0 | 7 | 4 | 3 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
13 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
13 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
17 | Le commentaire javadoc est vide. |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 2 2 2 | Total : Per method : | 19 9.5 | Total : Per method : Per statement : | 7 3.5 0.37 |
||
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 15 2 |
||||
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 : | 4 2 0.21 | Statement Test Coverage : Method Test Reference : | 0 2.5 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
findFilesFrom(String,FilenameFilter,boolean) | 0 | 5 | 1 | 3 |
scanDirectory(File,File,boolean) | 1 | 11 | 6 | 0 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
11 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
11 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
16 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 4 2 2 | Total : Per method : | 37 9.25 | Total : Per method : Per statement : | 16 4 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): | 7 2 41 6 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 3 0.75 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 3 0.75 0.08 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
FileUtil() | 0 | 1 | 1 | 0 |
getFileNameWithoutExtension(String) | 1 | 6 | 2 | 0 |
collectFiles(String,FilenameFilter) | 1 | 5 | 2 | 2 |
collect(DataSource,String,FilenameFilter) | 0 | 24 | 11 | 0 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
24 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
24 | Dans le commentaire javadoc de la classe, il manque une balise @version. |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 2 0 1 1 | Total : Per method : | 4 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 10 5 1 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 0 NaN | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 5 Infinity 1.25 | Statement Test Coverage : Method Test Reference : | 0 3 |
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 '^\/\*\*[ ]*$'. | |
3 | Commentaire javadoc manquant. | |
5 | Commentaire javadoc manquant. | 5 |
7 | Commentaire javadoc manquant. | 5 |
9 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 3 3 2 1 | Total : Per method : | 17 5.67 | Total : Per method : Per statement : | 12 4 0.71 |
||
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 2 16 3 |
||||
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 : | 8 2.67 0.47 | Statement Test Coverage : Method Test Reference : | 0 1 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
ResourceLoader() | 0 | 1 | 1 | 0 |
loadResourceAsStream(String) | 1 | 5 | 3 | 3 |
loadResourceAsStream(String,ClassLoader) | 1 | 10 | 8 | 4 |
View line in source | Style Error | Column |
---|---|---|
14 | Commentaire javadoc manquant. | |
25 | Balise javadoc @return manquante. | |
25 | Balise javadoc @param manquante pour 'name'. | 59 |
25 | Balise javadoc @throws manquante pour 'RuleSetNotFoundException'. | 72 |
37 | Balise javadoc @return manquante. | |
37 | Balise javadoc @param manquante pour 'name'. | 59 |
37 | Balise javadoc @param manquante pour 'loader'. | 77 |
37 | Balise javadoc @throws manquante pour 'RuleSetNotFoundException'. | 92 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 18 17 15 3 | Total : Per method : | 188 11.06 | Total : Per method : Per statement : | 93 5.47 0.49 |
||
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 22 60 143 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 11 0.65 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 10 0.59 0.05 | Statement Test Coverage : Method Test Reference : | 0 1.13 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
StringUtil() | 0 | 1 | 1 | 0 |
isEmpty(String) | 1 | 7 | 7 | 11 |
areSemanticEquals(String,String) | 1 | 6 | 5 | 0 |
replaceString(String,char,String) | 0 | 15 | 5 | 5 |
replaceString(String,String,String) | 0 | 15 | 5 | 4 |
appendXmlEscaped(StringBuffer,String) | 1 | 2 | 1 | 5 |
htmlEncode(String) | 0 | 4 | 1 | 1 |
appendXmlEscaped(StringBuffer,String,boolean) | 0 | 26 | 9 | 1 |
substringsOf(String,char) | 1 | 21 | 11 | 6 |
substringsOf(String,String) | 1 | 15 | 7 | 1 |
asStringOn(StringBuffer,Iterator,String) | 1 | 7 | 4 | 0 |
lengthOfShortestIn(String[]) | 1 | 9 | 6 | 1 |
maxCommonLeadingWhitespaceForAll(String[]) | 1 | 15 | 9 | 1 |
trimStartOn(String[],int) | 1 | 7 | 4 | 1 |
lpad(String,int) | 1 | 7 | 2 | 1 |
isSame(String,String,boolean,boolean,boolean) | 0 | 14 | 9 | 1 |
asString(Object[],String) | 1 | 9 | 7 | 1 |
View line in source of duplicated classes | Lines | Tokens | Start of code fragment |
---|---|---|---|
(64) net/sourceforge/pmd/util/StringUtil
(83) net/sourceforge/pmd/util/StringUtil | 11 | 85 |
int index = original.indexOf(oldString);
if (index < 0) {
return original;
} else {
f ..... |
View line in source | Style Error | Column |
---|---|---|
10 | Commentaire javadoc manquant. | |
12 | Commentaire javadoc manquant. | 9 |
32 | Balise javadoc @param manquante pour 'value'. | 42 |
55 | Balise javadoc @param manquante pour 'a'. | 56 |
55 | Balise javadoc @param manquante pour 'b'. | 66 |
63 | Commentaire javadoc manquant. | 5 |
82 | Commentaire javadoc manquant. | 5 |
112 | Commentaire javadoc manquant. | 5 |
313 | Balise javadoc @param manquante pour 'strings'. | 53 |
313 | Balise javadoc @param manquante pour 'trimDepth'. | 66 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 4 3 3 1 | Total : Per method : | 19 6.33 | Total : Per method : Per statement : | 4 1.33 0.21 |
||
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 17 0 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 0 0 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 4 1.33 0.21 | Statement Test Coverage : Method Test Reference : | 0 0.67 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
visit(ASTCompilationUnit,Object) | 0 | 6 | 1 | 0 |
visit(ASTClassOrInterfaceDeclaration,Object) | 0 | 6 | 1 | 0 |
spaces() | 0 | 5 | 2 | 2 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
7 | Commentaire javadoc manquant. | |
11 | Commentaire javadoc manquant. | 5 |
19 | Commentaire javadoc manquant. | 5 |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : | 10 10 9 1 | Total : Per method : | 42 4.2 | Total : Per method : Per statement : | 20 2 0.48 |
||
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 2 31 3 |
||||
Javadocs: | Code violations: | Style Errors: | Unit Test Coverage | ||||
Total : Per method : | 10 1 | Total : Per method : Per statement : |
NaN NaN | Total : Per method : Per statement : | 2 0.2 0.05 | Statement Test Coverage : Method Test Reference : | 0 1.22 |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
TypeMap(int) | 1 | 2 | 1 | 6 |
TypeMap(Class) | 1 | 3 | 1 | 0 |
add(Class) | 0 | 9 | 5 | 6 |
contains(Class) | 1 | 2 | 1 | 2 |
contains(String) | 1 | 2 | 1 | 2 |
typeFor(String) | 1 | 2 | 1 | 4 |
add(Class) | 1 | 3 | 2 | 6 |
asInverseWithShortName() | 1 | 7 | 2 | 1 |
size() | 1 | 2 | 1 | 1 |
storeShortest(Map,Object,String) | 1 | 8 | 5 | 1 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
15 | Dans le commentaire javadoc de la classe, il manque une balise @version. |
Package: net.sourceforge.pmd.util | Class source |
Methods: | Source statements: | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|
Total: Total Declared: Public : Private : |
1 NaN | Total : Per method : | 34 34 | Total : Per method : Per statement : | 10 10 0.29 |
||
Inheritance: | Coupling: | ||||||
Depth of inheritance tree (DIT): Number of Children (NOC): |
|
Efferent/Import Class Couplings (CBO/Ce): Afferent/Export Class Couplings (Ca): Response for a class (RFC): Lack of Cohesion in methods (LCOM): |
|
||||
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 : | 4 4 0.12 | Statement Test Coverage : Method Test Reference : | 0 NaN |
Method : | Javadocs: | Source statements: | Cyclometic complexity: | Test References: |
---|---|---|---|---|
main(String[]) | 0 | 33 | 10 | 0 |
View line in source | Style Error | Column |
---|---|---|
1 | La ligne ne correspond pas à la ligne d'en-tête attendue '^\/\*\*[ ]*$'. | |
27 | Dans le commentaire javadoc de la classe, il manque une balise @author. | |
27 | Dans le commentaire javadoc de la classe, il manque une balise @version. | |
28 | Commentaire javadoc manquant. | 5 |