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

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

org.apache.qpid.config.AbstractConfig

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
4
3
2
Total :
Per method :
19
4.75
Total :
Per method :
Per statement :
13
3.25
0.68
Inheritance:Coupling:
Depth of inheritance tree (DIT):
Number of Children (NOC):
1
2
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
0
2
14
10
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
8
2
0.42
Total :
Per method :
Per statement :
25
6.25
1.32
Statement Test Coverage :
Method Test Reference :
0
0.67


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
setOptions(String[])
0940
parseInt(String,String)
0440
parseLong(String,String)
0440
setOption(String,String)
0111


View line in sourceCode ViolationRule
Parameter 'argv' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'key' could be declared final LocalVariableCouldBeFinal
Local variable 'value' could be declared final LocalVariableCouldBeFinal
System.out.print is used SystemPrintln
Parameter 'i' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'msg' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'i' 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
23Commentaire javadoc manquant.
24'{' devrait être sur la ligne précédente.1
25Commentaire javadoc manquant.5
26'{' devrait être sur la ligne précédente.5
28'{' devrait être sur la ligne précédente.9
29Il manque une espace après 'for'.16
30'{' devrait être sur la ligne précédente.13
32Il manque une espace avant '+'.38
32Il manque une espace après '+'.39
36'}' devrait être sur la même ligne.9
37Il manque une espace après 'catch'.14
38'{' devrait être sur la ligne précédente.9
44Commentaire javadoc manquant.5
45'{' devrait être sur la ligne précédente.5
47'{' devrait être sur la ligne précédente.9
49'}' devrait être sur la même ligne.9
50Il manque une espace après 'catch'.14
51'{' devrait être sur la ligne précédente.9
56Commentaire javadoc manquant.5
57'{' devrait être sur la ligne précédente.5
59'{' devrait être sur la ligne précédente.9
61'}' devrait être sur la même ligne.9
62Il manque une espace après 'catch'.14
63'{' devrait être sur la ligne précédente.9
68Commentaire javadoc manquant.5

org.apache.qpid.config.ConnectionFactoryInitialiser

Package: org.apache.qpid.config | 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):
1
3
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 :
5
5
2.5
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getFactory(ConnectorConfig)
0111




View line in sourceStyle ErrorColumn
26Commentaire javadoc manquant.
27'{' devrait être sur la ligne précédente.1
28La ligne excède 80 caractères.
28Commentaire javadoc manquant.5
28Mot-clef 'public' redondant.5

org.apache.qpid.config.ConnectorConfig

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
3
3
0
Total :
Per method :
4
1.33
Total :
Per method :
Per statement :
3
1
0.75
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
6
3
3
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :

NaN
NaN
Total :
Per method :
Per statement :
8
2.67
2
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getHost()
0111
getPort()
0111
getFactory()
0111




View line in sourceStyle ErrorColumn
23Commentaire javadoc manquant.
24'{' devrait être sur la ligne précédente.1
25Commentaire javadoc manquant.5
25Mot-clef 'public' redondant.5
26Commentaire javadoc manquant.5
26Mot-clef 'public' redondant.5
27Commentaire javadoc manquant.5
27Mot-clef 'public' redondant.5

org.apache.qpid.config.AMQConnectionFactoryInitialiser

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
1
1
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):
1
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
3
0
6
1
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
3
3
1
Total :
Per method :
Per statement :
5
5
1.67
Statement Test Coverage :
Method Test Reference :
0
0


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getFactory(ConnectorConfig)
0210


View line in sourceCode ViolationRule
No need to import a type that lives in the same package ImportFromSamePackage
No need to import a type that lives in the same package ImportFromSamePackage
Parameter 'config' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
29Commentaire javadoc manquant.
30'{' devrait être sur la ligne précédente.1
31Commentaire javadoc manquant.5
32'{' devrait être sur la ligne précédente.5
33La ligne excède 80 caractères.

org.apache.qpid.config.Connector

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
2
2
1
Total :
Per method :
9
4.5
Total :
Per method :
Per statement :
3
1.5
0.33
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
2
14
3
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
4
2
0.44
Total :
Per method :
Per statement :
9
4.5
1
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
createConnection(ConnectorConfig)
0212
getConnectionFactory(ConnectorConfig)
0621


View line in sourceCode ViolationRule
Parameter 'config' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'config' is not assigned and could be declared final MethodArgumentCouldBeFinal
Avoid using if statements without curly braces IfStmtsMustUseBraces
System.out.print is used SystemPrintln


View line in sourceStyle ErrorColumn
26Commentaire javadoc manquant.
27'{' devrait être sur la ligne précédente.1
28Commentaire javadoc manquant.5
33La ligne excède 80 caractères.
33Commentaire javadoc manquant.5
36L'instruction 'if' devrait utiliser des accolades ('{' et '}').
36La ligne excède 80 caractères.
36Il manque une espace après 'if'.11
38La ligne excède 80 caractères.

org.apache.qpid.config.JBossConnectionFactoryInitialiser

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
4
2
3
Total :
Per method :
36
9
Total :
Per method :
Per statement :
14
3.5
0.39
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):
3
0
20
10
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
16
4
0.44
Total :
Per method :
Per statement :
28
7
0.78
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getFactory(ConnectorConfig)
02080
doesDestinationExist(String,InitialContext)
0531
deployTopic(String,InitialContext)
0821
lookupMBeanServerProxy(InitialContext)
0211


View line in sourceCode ViolationRule
No need to import a type that lives in the same package ImportFromSamePackage
No need to import a type that lives in the same package ImportFromSamePackage
Parameter 'config' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'ht' could be declared final LocalVariableCouldBeFinal
Local variable 'jbossHost' could be declared final LocalVariableCouldBeFinal
Local variable 'jbossPort' could be declared final LocalVariableCouldBeFinal
Parameter 'ic' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'name' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'ic' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'name' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'mBeanServer' could be declared final LocalVariableCouldBeFinal
Local variable 'serverObjectName' could be declared final LocalVariableCouldBeFinal
Local variable 'jndiName' could be declared final LocalVariableCouldBeFinal
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
Parameter 'ic' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
37Commentaire javadoc manquant.
37La ligne excède 80 caractères.
39La ligne excède 80 caractères.
39Commentaire javadoc manquant.5
44La ligne excède 80 caractères.
47La ligne excède 80 caractères.
48La ligne excède 80 caractères.
51'{' devrait être sur la ligne précédente.9
54'{' devrait être sur la ligne précédente.13
58'{' devrait être sur la ligne précédente.13
64'}' devrait être sur la même ligne.9
66'{' devrait être sur la ligne précédente.9
68'}' devrait être sur la même ligne.9
70'{' devrait être sur la ligne précédente.9
75La ligne excède 80 caractères.
75Commentaire javadoc manquant.5
78'{' devrait être sur la ligne précédente.9
80'}' devrait être sur la même ligne.9
82'{' devrait être sur la ligne précédente.9
88Commentaire javadoc manquant.5
89'{' devrait être sur la ligne précédente.5
92La ligne excède 80 caractères.
96'{' devrait être sur la ligne précédente.9
99La ligne excède 80 caractères.
100'}' devrait être sur la même ligne.9
102'{' devrait être sur la ligne précédente.9
108La ligne excède 80 caractères.
108Commentaire javadoc manquant.5