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.server.connection

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

org.apache.qpid.server.connection.IConnectionRegistry

Package: org.apache.qpid.server.connection | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
4
4
0
Total :
Per method :
5
1.25
Total :
Per method :
Per statement :
4
1
0.8
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
3
4
6
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
1
0.25
0.2
Total :
Per method :
Per statement :
10
2.5
2
Statement Test Coverage :
Method Test Reference :
0
0.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
initialise()
0110
close()
0110
registerConnection(AMQProtocolSession)
0111
deregisterConnection(AMQProtocolSession)
0111


View line in sourceCode ViolationRule
Avoid unused imports such as 'org.apache.qpid.server.protocol.AMQMinaProtocolSession' UnusedImports


View line in sourceStyle ErrorColumn
27Commentaire javadoc manquant.
28'{' devrait être sur la ligne précédente.1
30Commentaire javadoc manquant.5
30Mot-clef 'public' redondant.5
32Commentaire javadoc manquant.5
32Mot-clef 'public' redondant.5
34Commentaire javadoc manquant.5
34Mot-clef 'public' redondant.5
36Commentaire javadoc manquant.5
36Mot-clef 'public' redondant.5

org.apache.qpid.server.connection.ConnectionRegistry

Package: org.apache.qpid.server.connection | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
5
5
0
Total :
Per method :
14
2.8
Total :
Per method :
Per statement :
6
1.2
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
1
16
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
1
0.2
Total :
Per method :
Per statement :
11
2.2
0.79
Total :
Per method :
Per statement :
29
5.8
2.07
Statement Test Coverage :
Method Test Reference :
0
0.8


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
ConnectionRegistry(VirtualHost)
0211
initialise()
0110
close()
1421
registerConnection(AMQProtocolSession)
0210
deregisterConnection(AMQProtocolSession)
0210


View line in sourceCode ViolationRule
Avoid unused imports such as 'org.apache.qpid.server.protocol.AMQMinaProtocolSession' UnusedImports
Private field '_registry' could be made final; it is only initialized in the declaration or constructor. ImmutableField
Avoid unused private fields such as '_virtualHost'. UnusedPrivateField
Perhaps '_virtualHost' could be replaced by a local variable. SingularField
Private field '_virtualHost' could be made final; it is only initialized in the declaration or constructor. ImmutableField
Parameter 'virtualHost' is not assigned and could be declared final MethodArgumentCouldBeFinal
Document empty method UncommentedEmptyMethod
Local variable 'connection' could be declared final LocalVariableCouldBeFinal
Avoid instantiating new objects inside loops AvoidInstantiatingObjectsInLoops
Parameter 'connnection' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'connnection' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
33Commentaire javadoc manquant.
34'{' devrait être sur la ligne précédente.1
35La ligne excède 80 caractères.
35Commentaire javadoc manquant.5
35Il manque une espace avant '<'.17
35Il manque une espace après '<'.18
35Il manque une espace avant '>'.36
35Le nom '_registry' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.38
35Il manque une espace avant '<'.74
35Il manque une espace après '<'.75
35Il manque une espace avant '>'.93
35Il manque une espace après '>'.94
37Commentaire javadoc manquant.5
37Le nom '_virtualHost' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.25
39Commentaire javadoc manquant.5
40'{' devrait être sur la ligne précédente.5
44Commentaire javadoc manquant.5
45'{' devrait être sur la ligne précédente.5
50Balise javadoc @throws manquante pour 'AMQException'.32
51'{' devrait être sur la ligne précédente.5
53'{' devrait être sur la ligne précédente.9
56La ligne excède 80 caractères.
58La ligne excède 80 caractères.
59La ligne excède 80 caractères.
60La ligne excède 80 caractères.
64Commentaire javadoc manquant.5
65'{' devrait être sur la ligne précédente.5
69Commentaire javadoc manquant.5
70'{' devrait être sur la ligne précédente.5