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

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

org.apache.qpid.server.output.ProtocolOutputConverter

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
7
7
7
0
Total :
Per method :
10
1.43
Total :
Per method :
Per statement :
8
1.14
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):
5
13
7
21
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 :
15
2.14
1.5
Statement Test Coverage :
Method Test Reference :
0
0.86


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
confirmConsumerAutoClose(int,AMQShortString)
0112
Factory.newInstance(AMQProtocolSession)
0110
writeDeliver(QueueEntry,int,long,AMQShortString)
0111
writeGetOk(QueueEntry,int,long,int)
0111
getProtocolMinorVersion()
0111
getProtocolMajorVersion()
0111
writeReturn(AMQMessage,int,int,AMQShortString)
0111
writeFrame(AMQDataBlock)
0110




View line in sourceStyle ErrorColumn
36Commentaire javadoc manquant.
37'{' devrait être sur la ligne précédente.1
38Commentaire javadoc manquant.5
40Commentaire javadoc manquant.
41'{' devrait être sur la ligne précédente.5
42Commentaire javadoc manquant.9
45La ligne excède 80 caractères.
45Commentaire javadoc manquant.5
48La ligne excède 80 caractères.
48Commentaire javadoc manquant.5
50Commentaire javadoc manquant.5
52Commentaire javadoc manquant.5
54La ligne excède 80 caractères.
54Commentaire javadoc manquant.5
57Commentaire javadoc manquant.5

org.apache.qpid.server.output.ProtocolOutputConverter$Factory

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

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

1
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):
2
5
1
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
1


Method :Javadocs:Source statements:Cyclometic complexity:




org.apache.qpid.server.output.ProtocolOutputConverterRegistry

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
4
2
2
2
Total :
Per method :
9
4.5
Total :
Per method :
Per statement :
2
1
0.22
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
12
0
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 :
18
9
2
Statement Test Coverage :
Method Test Reference :
0
1.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
register(ProtocolVersion,Factory)
0210
getConverter(AMQProtocolSession)
0211


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 'converter' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'version' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'session' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
36Commentaire javadoc manquant.
37'{' devrait être sur la ligne précédente.1
39Commentaire javadoc manquant.5
39Il manque une espace avant '<'.29
39Il manque une espace après '<'.30
39Il manque une espace avant '>'.54
39Le nom '_registry' n'est pas conforme à l'expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.56
40Il manque une espace avant '<'.24
40Il manque une espace après '<'.25
40Il manque une espace avant '>'.49
40Il manque une espace après '>'.50
45La ligne excède 80 caractères.
46La ligne excède 80 caractères.
50Commentaire javadoc manquant.5
51'{' devrait être sur la ligne précédente.5
53Il manque une espace après ','.31
57La ligne excède 80 caractères.
57Commentaire javadoc manquant.5