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-org.apache.qpid.configuration

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

org.apache.qpid.configuration.Configured

Package: org.apache.qpid.configuration | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2

2
0
Total :
Per method :

NaN
Total :
Per method :
Per statement :

NaN
NaN
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
1
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
0
0
2
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 :
5
NaN
NaN
Statement Test Coverage :
Method Test Reference :
0
0


Method :Javadocs:Source statements:Cyclometic complexity:




View line in sourceStyle ErrorColumn
29La ligne excède 80 caractères.
34'{' devrait être sur la ligne précédente.1
35La première ligne doit se terminer avec un point.
40La première ligne doit se terminer avec un point.
41La ligne excède 80 caractères.

org.apache.qpid.configuration.Configuration

Package: org.apache.qpid.configuration | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
9
8
7
2
Total :
Per method :
43
5.38
Total :
Per method :
Per statement :
18
2.25
0.42
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):
8
2
29
16
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.25
Total :
Per method :
Per statement :
11
1.38
0.26
Total :
Per method :
Per statement :
58
7.25
1.35
Statement Test Coverage :
Method Test Reference :
0
1.71


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
Configuration()
0111
processCommandline(String[])
0631
setConfig(File)
0212
setOption(Option)
1211
getOptionValue(String)
1750
loadConfig(File)
0311
loadConfig()
0841
getConfigFile()
0212
InitException.InitException(String,Throwable)
0210


View line in sourceCode ViolationRule
The Logger variable declaration does not contain the static and final modifiers LoggerIsNotStaticFinal
Document empty constructor UncommentedEmptyConstructor
Parameter 'args' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'file' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'option' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'option' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'file' is not assigned and could be declared final MethodArgumentCouldBeFinal
Avoid if (x != y) ..; else ..; ConfusingTernary
Prefer StringBuffer over += for concatenating strings UseStringBufferForStringAppends
Parameter 'cause' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'msg' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
0Il manque un caractère NewLine à la fin du fichier
32Commentaire javadoc manquant.
33'{' devrait être sur la ligne précédente.1
34Commentaire javadoc manquant.5
36Commentaire javadoc manquant.5
36Le nom 'QPIDHOME' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.18
38La ligne excède 80 caractères.
38Commentaire javadoc manquant.5
38Le nom '_devlog' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.27
40Commentaire javadoc manquant.5
41Commentaire javadoc manquant.5
43Commentaire javadoc manquant.5
43Le nom '_options' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.29
44Commentaire javadoc manquant.5
44Le nom '_commandLine' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.27
45Commentaire javadoc manquant.5
45Le nom '_configFile' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.20
48Commentaire javadoc manquant.5
49'{' devrait être sur la ligne précédente.5
53Commentaire javadoc manquant.5
54'{' devrait être sur la ligne précédente.5
56'{' devrait être sur la ligne précédente.9
58'}' devrait être sur la même ligne.9
60'{' devrait être sur la ligne précédente.9
65La ligne excède 80 caractères.
68Commentaire javadoc manquant.5
69'{' devrait être sur la ligne précédente.5
77'{' devrait être sur la ligne précédente.5
81La première ligne doit se terminer avec un point.
83La ligne excède 80 caractères.
84La ligne excède 80 caractères.
87'{' devrait être sur la ligne précédente.5
89'{' devrait être sur la ligne précédente.9
91'}' devrait être sur la même ligne.9
93'{' devrait être sur la ligne précédente.9
99Commentaire javadoc manquant.5
100'{' devrait être sur la ligne précédente.5
105Commentaire javadoc manquant.5
106'{' devrait être sur la ligne précédente.5
108'{' devrait être sur la ligne précédente.9
109La ligne excède 80 caractères.
112'{' devrait être sur la ligne précédente.13
117'}' devrait être sur la même ligne.9
119'{' devrait être sur la ligne précédente.9
120La ligne excède 80 caractères.
133La ligne excède 80 caractères.
148La ligne excède 80 caractères.
149La ligne excède 80 caractères.
154La ligne excède 80 caractères.
157La ligne excède 80 caractères.
160La ligne excède 80 caractères.
169La ligne excède 80 caractères.
175Commentaire javadoc manquant.5
176'{' devrait être sur la ligne précédente.5
181Commentaire javadoc manquant.
182'{' devrait être sur la ligne précédente.5
183Commentaire javadoc manquant.9
184'{' devrait être sur la ligne précédente.9

org.apache.qpid.configuration.Configuration$InitException

Package: org.apache.qpid.configuration | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
1

0
1
Total :
Per method :

NaN
Total :
Per method :
Per statement :

NaN
NaN
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
3
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
1
3
2
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :

NaN
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :

NaN
NaN
Statement Test Coverage :
Method Test Reference :
0
Infinity


Method :Javadocs:Source statements:Cyclometic complexity:




Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
PERFORMANCESIC_INNER_SHOULD_BE_STATICSIC2

org.apache.qpid.configuration.PropertyException

Package: org.apache.qpid.configuration | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
1
1
1
0
Total :
Per method :
3
3
Total :
Per method :
Per statement :
1
1
0.33
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
0
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
2
2
2
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
1
1
Total :
Per method :
Per statement :
3
3
1
Total :
Per method :
Per statement :
4
4
1.33
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
PropertyException(String,Throwable)
0212


View line in sourceCode ViolationRule
Avoid unused imports such as 'org.apache.qpid.protocol.AMQConstant' UnusedImports
Parameter 'cause' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'message' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
27La ligne excède 80 caractères.
38'{' devrait être sur la ligne précédente.1
39Commentaire javadoc manquant.5
40'{' devrait être sur la ligne précédente.5

org.apache.qpid.configuration.PropertyUtils

Package: org.apache.qpid.configuration | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
2
1
Total :
Per method :
45
22.5
Total :
Per method :
Per statement :
16
8
0.36
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
23
3
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
3
1.5
Total :
Per method :
Per statement :
17
8.5
0.38
Total :
Per method :
Per statement :
20
10
0.44
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
replaceProperties(String)
11772
parsePropertyString(String,String,String)
12790


View line in sourceCode ViolationRule
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. UseSingleton
Parameter 'value' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'fragments' could be declared final LocalVariableCouldBeFinal
Local variable 'propertyRefs' could be declared final LocalVariableCouldBeFinal
Local variable 'sb' could be declared final LocalVariableCouldBeFinal
Local variable 'j' could be declared final LocalVariableCouldBeFinal
Local variable 'propertyName' could be declared final LocalVariableCouldBeFinal
Local variable 'replacement' could be declared final LocalVariableCouldBeFinal
Avoid using implementation types like 'ArrayList'; use the interface instead LooseCoupling
Avoid using implementation types like 'ArrayList'; use the interface instead LooseCoupling
Parameter 'fragments' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'propertyRefs' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'value' is not assigned and could be declared final MethodArgumentCouldBeFinal
String.indexOf(char) is faster than String.indexOf(String). UseIndexOfChar
Avoid if (x != y) ..; else ..; ConfusingTernary
Local variable 'endName' could be declared final LocalVariableCouldBeFinal
Local variable 'propertyName' could be declared final LocalVariableCouldBeFinal


View line in sourceStyle ErrorColumn
0Exception levée : java.lang.RuntimeException: Impossible d'obtenir les informations relatives à la classe @throws pour la balise 'PropertyException'.
34La ligne excède 80 caractères.
35La ligne excède 80 caractères.
37La ligne excède 80 caractères.
38La ligne excède 80 caractères.
42'{' devrait être sur la ligne précédente.1
44La ligne excède 80 caractères.
45La ligne excède 80 caractères.
48La ligne excède 80 caractères.
51La ligne excède 80 caractères.
54La ligne excède 80 caractères.
55La ligne excède 80 caractères.
57La ligne excède 80 caractères.
83La ligne excède 80 caractères.
96La ligne excède 80 caractères.
100La ligne excède 80 caractères.
101La ligne excède 80 caractères.
102La ligne excède 80 caractères.
104La ligne excède 80 caractères.
148La ligne excède 80 caractères.