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.extras.exchanges.diagnostic

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

org.apache.qpid.extras.exchanges.diagnostic.DiagnosticExchange

Package: org.apache.qpid.extras.exchanges.diagnostic | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
13
10
10
3
Total :
Per method :
39
3.9
Total :
Per method :
Per statement :
16
1.6
0.41
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):
14
2
28
76
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
6
0.6
Total :
Per method :
Per statement :
25
2.5
0.64
Total :
Per method :
Per statement :
28
2.8
0.72
Statement Test Coverage :
Method Test Reference :
0
0.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
DiagnosticExchangeMBean.DiagnosticExchangeMBean()
0410
DiagnosticExchangeMBean.bindings()
1210
DiagnosticExchangeMBean.createNewBinding(String,String)
1110
createMBean()
1440
getType()
0210
registerQueue(AMQShortString,AMQQueue,FieldTable)
1110
deregisterQueue(AMQShortString,AMQQueue,FieldTable)
1110
isBound(AMQShortString,AMQQueue)
0210
isBound(AMQShortString)
0210
isBound(AMQQueue)
0210
hasBindings()
0210
route(IncomingMessage)
01010
isBound(AMQShortString,FieldTable,AMQQueue)
0210


View line in sourceCode ViolationRule
Avoid unused imports such as 'java.util.List' UnusedImports
Avoid unused imports such as 'java.util.Map' UnusedImports
Avoid unused imports such as 'java.util.Collection' UnusedImports
This class has too many methods, consider refactoring it. TooManyMethods
Parameter 'binding' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'queueName' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'args' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'queue' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'args' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'queue' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'queue' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'queue' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'payload' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'value' could be declared final LocalVariableCouldBeFinal
Local variable 'key' could be declared final LocalVariableCouldBeFinal
Local variable 'headers' could be declared final LocalVariableCouldBeFinal
Local variable 'q' could be declared final LocalVariableCouldBeFinal
Local variable 'queues' could be declared final LocalVariableCouldBeFinal
Parameter 'arguments' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'queue' is not assigned and could be declared final MethodArgumentCouldBeFinal


Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
PERFORMANCEDM_NUMBER_CTORBx2route
View line in sourceStyle ErrorColumn
0Exception levée : java.lang.RuntimeException: Impossible d'obtenir les informations relatives à la classe @throws pour la balise 'AMQException'.
48La ligne excède 80 caractères.
56'{' devrait être sur la ligne précédente.1
58La ligne excède 80 caractères.
58Commentaire javadoc manquant.5
59La ligne excède 80 caractères.
59Commentaire javadoc manquant.5
64La ligne excède 80 caractères.
71'{' devrait être sur la ligne précédente.5
79Balise javadoc @throws manquante pour 'JMException'.49
80'{' devrait être sur la ligne précédente.9
94Balise javadoc @return manquante.
94Balise javadoc @throws manquante pour 'OpenDataException'.46
95'{' devrait être sur la ligne précédente.9
110La ligne excède 80 caractères.
132La ligne excède 80 caractères.
133La ligne excède 80 caractères.
154La ligne excède 80 caractères.
171La ligne excède 80 caractères.
202La ligne excède 80 caractères.
204La ligne excède 80 caractères.
205La ligne excède 80 caractères.
213La ligne contient un caractère tabulation.1
214La ligne contient un caractère tabulation.1
215La ligne contient un caractère tabulation.1
216La ligne contient un caractère tabulation.1
217La ligne contient un caractère tabulation.1
218La ligne contient un caractère tabulation.1

org.apache.qpid.extras.exchanges.diagnostic.DiagnosticExchange$DiagnosticExchangeMBean

Package: org.apache.qpid.extras.exchanges.diagnostic | 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):
0
0
Efferent/Import Class Couplings (CBO/Ce):
Afferent/Export Class Couplings (Ca):
Response for a class (RFC):
Lack of Cohesion in methods (LCOM):
3
1
6
3
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


Method :Javadocs:Source statements:Cyclometic complexity:




org.apache.qpid.extras.exchanges.diagnostic.DiagnosticExchangeType

Package: org.apache.qpid.extras.exchanges.diagnostic | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
6
4
6
0
Total :
Per method :
11
2.75
Total :
Per method :
Per statement :
4
1
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):
6
1
8
15
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
1
0.25
Total :
Per method :
Per statement :
6
1.5
0.55
Total :
Per method :
Per statement :
16
4
1.45
Statement Test Coverage :
Method Test Reference :
0
0.17


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getName()
0210
getExchangeClass()
0210
newInstance(VirtualHost,AMQShortString,boolean,int,boolean)
0410
getDefaultExchangeName()
0210


View line in sourceCode ViolationRule
Parameter 'autoDelete' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'durable' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'host' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'name' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'ticket' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'exch' could be declared final LocalVariableCouldBeFinal


View line in sourceStyle ErrorColumn
32La ligne excède 80 caractères.
32Il manque une espace avant '<'.66
32Il manque une espace après '<'.67
32Il manque une espace avant '>'.85
35Commentaire javadoc manquant.5
36'{' devrait être sur la ligne précédente.5
40Commentaire javadoc manquant.5
40Il manque une espace avant '<'.17
40Il manque une espace après '<'.18
40Il manque une espace avant '>'.36
41'{' devrait être sur la ligne précédente.5
45La ligne excède 80 caractères.
45Commentaire javadoc manquant.5
47'{' devrait être sur la ligne précédente.5
53Commentaire javadoc manquant.5
54'{' devrait être sur la ligne précédente.5