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

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

org.apache.qpid.nclient.MessagePartListener

Package: org.apache.qpid.nclient | 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
1
1
0
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
2
Total :
Per method :
Per statement :
2
2
1
Total :
Per method :
Per statement :
4
4
2
Statement Test Coverage :
Method Test Reference :
0
0


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
messageTransfer(MessageTransfer)
1110


View line in sourceCode ViolationRule
Avoid unused imports such as 'java.nio.ByteBuffer' UnusedImports
Avoid unused imports such as 'org.apache.qpid.transport.Header' UnusedImports


View line in sourceStyle ErrorColumn
33La ligne excède 80 caractères.
37'{' devrait être sur la ligne précédente.1
39La première ligne doit se terminer avec un point.
44Mot-clef 'public' redondant.5

org.apache.qpid.nclient.JMSTestCase

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

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
2
1
2
0
Total :
Per method :
38
38
Total :
Per method :
Per statement :
7
7
0.18
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
0
25
1
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
0
0
Total :
Per method :
Per statement :
28
28
0.74
Total :
Per method :
Per statement :
27
27
0.71
Statement Test Coverage :
Method Test Reference :
0
0


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
MessageListener$1.onMessage(Message)
0720
ExceptionListener$2.onException(JMSException)
0210
main(String[])
03740


View line in sourceCode ViolationRule
Avoid unused imports such as 'org.apache.qpid.client.AMQTopic' UnusedImports
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 'args' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'con' could be declared final LocalVariableCouldBeFinal
Local variable 'ssn' could be declared final LocalVariableCouldBeFinal
Local variable 'dest' could be declared final LocalVariableCouldBeFinal
Local variable 'prod' could be declared final LocalVariableCouldBeFinal
Local variable 'browser' could be declared final LocalVariableCouldBeFinal
Local variable 'msg' could be declared final LocalVariableCouldBeFinal
Local variable 'msg2' could be declared final LocalVariableCouldBeFinal
Local variable 'enu' could be declared final LocalVariableCouldBeFinal
This for loop could be simplified to a while loop ForLoopShouldBeWhileLoop
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
Local variable 'cons' could be declared final LocalVariableCouldBeFinal
Local variable 'm' could be declared final LocalVariableCouldBeFinal
Parameter 'm' is not assigned and could be declared final MethodArgumentCouldBeFinal
Local variable 'm2' could be declared final LocalVariableCouldBeFinal
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
System.out.print is used SystemPrintln
Avoid printStackTrace(); use a logger call instead. AvoidPrintStackTrace
Parameter 'e' is not assigned and could be declared final MethodArgumentCouldBeFinal
Avoid printStackTrace(); use a logger call instead. AvoidPrintStackTrace
System.out.print is used SystemPrintln
Avoid empty while statements EmptyWhileStmt
System.out.print is used SystemPrintln
Avoid printStackTrace(); use a logger call instead. AvoidPrintStackTrace


Bug: CategoryTypeAbbreviationPriorityMethod NameField Name
CORRECTNESSIL_INFINITE_LOOPIL1main
STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUERCN2main
View line in sourceStyle ErrorColumn
37Commentaire javadoc manquant.
38'{' devrait être sur la ligne précédente.1
40Commentaire javadoc manquant.5
41'{' devrait être sur la ligne précédente.5
44'{' devrait être sur la ligne précédente.9
45La ligne excède 80 caractères.
50La ligne excède 80 caractères.
50Il manque une espace après ','.84
52La ligne excède 80 caractères.
52Il manque une espace après 'cast'.61
66Il manque une espace après ';'.18
67'{' devrait être sur la ligne précédente.12
72La ligne excède 80 caractères.
73La ligne excède 80 caractères.
77'{' devrait être sur la ligne précédente.17
78Il manque une espace après 'cast'.71
80'{' devrait être sur la ligne précédente.21
84'}' devrait être sur la même ligne.21
85Il manque une espace après 'catch'.26
86'{' devrait être sur la ligne précédente.21
96'{' devrait être sur la ligne précédente.16
103'{' devrait être sur la ligne précédente.12
103Le bloc devrait contenir au moins une instruction.12
117La ligne excède 80 caractères.
128'}' devrait être sur la même ligne.9
129Il manque une espace après 'catch'.14
130'{' devrait être sur la ligne précédente.9

org.apache.qpid.nclient.JMSTestCase$1

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

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

1
1
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):
0
1
10
1
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.nclient.JMSTestCase$2

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

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

1
1
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):
0
1
4
1
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: