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.framing.abstraction

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

org.apache.qpid.framing.abstraction.AbstractMethodConverter

Package: org.apache.qpid.framing.abstraction | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
3
3
3
0
Total :
Per method :
10
3.33
Total :
Per method :
Per statement :
3
1
0.3
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):
1
2
4
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
2
0.67
0.2
Total :
Per method :
Per statement :
12
4
1.2
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
AbstractMethodConverter(byte,byte)
0312
getProtocolMajorVersion()
0210
getProtocolMinorVersion()
0210


View line in sourceCode ViolationRule
Parameter 'major' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'minor' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
24Commentaire javadoc manquant.
24La ligne excède 80 caractères.
26Commentaire javadoc manquant.5
26Le nom '_protocolMajorVersion' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.24
29Commentaire javadoc manquant.5
29Le nom '_protocolMinorVersion' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.24
31Commentaire javadoc manquant.5
32'{' devrait être sur la ligne précédente.5
38Commentaire javadoc manquant.5
39'{' devrait être sur la ligne précédente.5
43Commentaire javadoc manquant.5
44'{' devrait être sur la ligne précédente.5

org.apache.qpid.framing.abstraction.ContentChunk

Package: org.apache.qpid.framing.abstraction | 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):
1
22
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 :
5
1.67
1.25
Statement Test Coverage :
Method Test Reference :
0
0.67


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getSize()
0113
getData()
0115
reduceToFit()
0110




View line in sourceStyle ErrorColumn
26Commentaire javadoc manquant.
27'{' devrait être sur la ligne précédente.1
28Commentaire javadoc manquant.5
29Commentaire javadoc manquant.5
31Commentaire javadoc manquant.5

org.apache.qpid.framing.abstraction.MessagePublishInfo

Package: org.apache.qpid.framing.abstraction | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
5
5
5
0
Total :
Per method :
6
1.2
Total :
Per method :
Per statement :
5
1
0.83
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
17
5
10
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 :
12
2.4
2
Statement Test Coverage :
Method Test Reference :
0
1


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
getExchange()
01111
setExchange(AMQShortString)
0111
isImmediate()
0116
isMandatory()
0115
getRoutingKey()
01111




View line in sourceStyle ErrorColumn
25Commentaire javadoc manquant.
26'{' devrait être sur la ligne précédente.1
28Commentaire javadoc manquant.5
28Mot-clef 'public' redondant.5
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.framing.abstraction.MessagePublishInfoConverter

Package: org.apache.qpid.framing.abstraction | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
2
2
0
Total :
Per method :
3
1.5
Total :
Per method :
Per statement :
2
1
0.67
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
1
2
1
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 :
6
3
2
Statement Test Coverage :
Method Test Reference :
0
0


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
convertToInfo(AMQMethodBody)
0110
convertToBody(MessagePublishInfo)
0110




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

org.apache.qpid.framing.abstraction.ProtocolVersionMethodConverter

Package: org.apache.qpid.framing.abstraction | 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):
3
12
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 :
5
1.67
1.25
Statement Test Coverage :
Method Test Reference :
0
1.33


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
convertToBody(ContentChunk)
0114
convertToContentChunk(AMQBody)
0111
configure()
0111




View line in sourceStyle ErrorColumn
26Commentaire javadoc manquant.
26La ligne excède 80 caractères.
28Commentaire javadoc manquant.5
29Commentaire javadoc manquant.5
31Commentaire javadoc manquant.5

org.apache.qpid.framing.abstraction.MessagePublishInfoImpl

Package: org.apache.qpid.framing.abstraction | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
10
10
10
0
Total :
Per method :
27
2.7
Total :
Per method :
Per statement :
10
1
0.37
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
11
21
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
10
1
0.37
Total :
Per method :
Per statement :
31
3.1
1.15
Statement Test Coverage :
Method Test Reference :
0
0.5


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
MessagePublishInfoImpl()
0110
MessagePublishInfoImpl(AMQShortString,boolean,boolean,AMQShortString)
0513
getExchange()
0210
setExchange(AMQShortString)
0210
isImmediate()
0210
setImmediate(boolean)
0210
isMandatory()
0210
setMandatory(boolean)
0210
getRoutingKey()
0210
setRoutingKey(AMQShortString)
0210


View line in sourceCode ViolationRule
No need to import a type that lives in the same package ImportFromSamePackage
Document empty constructor UncommentedEmptyConstructor
Parameter 'exchange' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'immediate' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'mandatory' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'exchange' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'immedate' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'mandatory' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'routingKey' is not assigned and could be declared final MethodArgumentCouldBeFinal


View line in sourceStyle ErrorColumn
26Commentaire javadoc manquant.
27'{' devrait être sur la ligne précédente.1
28Commentaire javadoc manquant.5
28Le nom '_exchange' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.28
29Commentaire javadoc manquant.5
29Le nom '_immediate' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.21
30Commentaire javadoc manquant.5
30Le nom '_mandatory' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.21
31Commentaire javadoc manquant.5
31Le nom '_routingKey' n'est pas conforme à l'expression '^[a-z][a-zA-Z0-9]*$'.28
33Commentaire javadoc manquant.5
34'{' devrait être sur la ligne précédente.5
37La ligne excède 80 caractères.
37Commentaire javadoc manquant.5
39'{' devrait être sur la ligne précédente.5
46Commentaire javadoc manquant.5
47'{' devrait être sur la ligne précédente.5
51Commentaire javadoc manquant.5
52'{' devrait être sur la ligne précédente.5
56Commentaire javadoc manquant.5
57'{' devrait être sur la ligne précédente.5
61Commentaire javadoc manquant.5
62'{' devrait être sur la ligne précédente.5
66Commentaire javadoc manquant.5
67'{' devrait être sur la ligne précédente.5
71Commentaire javadoc manquant.5
72'{' devrait être sur la ligne précédente.5
76Commentaire javadoc manquant.5
77'{' devrait être sur la ligne précédente.5
81Commentaire javadoc manquant.5
82'{' devrait être sur la ligne précédente.5