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.mina.transport.vmpipe

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

org.apache.mina.transport.vmpipe.QpidVmPipeConnector

Package: org.apache.mina.transport.vmpipe | Class source

Methods:Source statements:Cyclomatic Complexity
Total:
Total Declared:
Public :
Private :
6
4
4
2
Total :
Per method :
44
11
Total :
Per method :
Per statement :
16
4
0.36
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):
23
2
42
11
Javadocs:Code violations:Style Errors:Unit Test Coverage
Total :
Per method :
2
0.5
Total :
Per method :
Per statement :
18
4.5
0.41
Total :
Per method :
Per statement :
98
24.5
2.23
Statement Test Coverage :
Method Test Reference :
0
2


Method :Javadocs:Source statements:Cyclometic complexity:Test References:
BaseIoConnectorConfig$2.getSessionConfig()
0210
QpidVmPipeConnector()
1111
connect(SocketAddress,IoHandler,IoServiceConfig)
0210
connect(SocketAddress,SocketAddress,IoHandler,IoServiceConfig)
034121
getDefaultConfig()
0211


View line in sourceCode ViolationRule
Avoid unused imports such as 'org.apache.mina.common.support.BaseIoConnector' UnusedImports
Document empty constructor UncommentedEmptyConstructor
Parameter 'address' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'config' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'handler' is not assigned and could be declared final MethodArgumentCouldBeFinal
Avoid reassigning parameters such as 'config' AvoidReassigningParameters
Parameter 'address' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'handler' is not assigned and could be declared final MethodArgumentCouldBeFinal
Parameter 'localAddress' is not assigned and could be declared final MethodArgumentCouldBeFinal
Avoid using if statements without curly braces IfStmtsMustUseBraces
Avoid using if statements without curly braces IfStmtsMustUseBraces
Avoid using if statements without curly braces IfStmtsMustUseBraces
Local variable 'entry' could be declared final LocalVariableCouldBeFinal
Local variable 'future' could be declared final LocalVariableCouldBeFinal
Local variable 'localSession' could be declared final LocalVariableCouldBeFinal
Local variable 'remoteSession' could be declared final LocalVariableCouldBeFinal
Local variable 'filterChain' could be declared final LocalVariableCouldBeFinal
Local variable 'filterChain' could be declared final LocalVariableCouldBeFinal


View line in sourceStyle ErrorColumn
0Il manque un caractère NewLine à la fin du fichier
46La ligne excède 80 caractères.
49'{' devrait être sur la ligne précédente.1
50Commentaire javadoc manquant.5
50Il manque une espace après '{'.78
50Il manque une espace avant '}'.78
51Commentaire javadoc manquant.5
54'{' devrait être sur la ligne précédente.9
63'{' devrait être sur la ligne précédente.5
66La ligne excède 80 caractères.
66Commentaire javadoc manquant.5
66Il y a une espace de trop après '('.34
66Il y a une espace de trop avant ')'.99
68Il y a une espace de trop après '('.24
68Il y a une espace de trop avant ')'.55
71La ligne excède 80 caractères.
71Commentaire javadoc manquant.5
71Il y a une espace de trop après '('.34
71Il y a une espace de trop avant ')'.127
73L'instruction 'if' devrait utiliser des accolades ('{' et '}').
73Il manque une espace après 'if'.11
73Il y a une espace de trop après '('.12
73Il y a une espace de trop avant ')'.28
74Il y a une espace de trop après '('.44
74Il y a une espace de trop avant ')'.54
75L'instruction 'if' devrait utiliser des accolades ('{' et '}').
75Il manque une espace après 'if'.11
75Il y a une espace de trop après '('.12
75Il y a une espace de trop avant ')'.28
76Il y a une espace de trop après '('.44
76Il y a une espace de trop avant ')'.54
77L'instruction 'if' devrait utiliser des accolades ('{' et '}').
77Il manque une espace après 'if'.11
77Il y a une espace de trop après '('.12
77Il y a une espace de trop après '!'.14
77Il y a une espace de trop après '('.16
77Il y a une espace de trop avant ')'.49
77Il y a une espace de trop avant ')'.51
79La ligne excède 80 caractères.
79Il y a une espace de trop avant ')'.81
81Il manque une espace après 'if'.11
81Il y a une espace de trop après '('.12
81Il y a une espace de trop avant ')'.27
82'{' devrait être sur la ligne précédente.9
86Il y a une espace de trop après '('.25
86Il y a une espace de trop avant ')'.32
86Il y a une espace de trop après '('.68
86Il y a une espace de trop avant ')'.76
87Il manque une espace après 'if'.11
87Il y a une espace de trop après '('.12
87Il y a une espace de trop avant ')'.26
88'{' devrait être sur la ligne précédente.9
90Il y a une espace de trop après '('.37
90Il y a une espace de trop avant ')'.72
90Il y a une espace de trop avant ')'.74
102Il y a une espace de trop avant ')'.26
107'{' devrait être sur la ligne précédente.9
109La ligne excède 80 caractères.
109Il y a une espace de trop après '('.74
109Il y a une espace de trop avant ')'.86
110La ligne excède 80 caractères.
110Il y a une espace de trop après '('.72
110Il y a une espace de trop avant ')'.84
111Il y a une espace de trop après '('.65
111Il y a une espace de trop avant ')'.77
114Il y a une espace de trop après '('.53
114Il y a une espace de trop avant ')'.67
115Il y a une espace de trop après '('.62
115Il y a une espace de trop avant ')'.76
116'}' devrait être sur la même ligne.9
117Il manque une espace après 'catch'.14
117Il y a une espace de trop après '('.15
117Il y a une espace de trop avant ')'.27
118'{' devrait être sur la ligne précédente.9
119Il y a une espace de trop après '('.60
119Il y a une espace de trop avant ')'.62
126'{' devrait être sur la ligne précédente.9
128Il y a une espace de trop après '('.59
128Il y a une espace de trop avant ')'.71
129Il y a une espace de trop après '('.61
129Il y a une espace de trop avant ')'.73
130Il y a une espace de trop après '('.54
130Il y a une espace de trop avant ')'.66
133La ligne excède 80 caractères.
133Il y a une espace de trop après '('.39
133Il y a une espace de trop avant ')'.84
134Il y a une espace de trop après '('.47
134Il y a une espace de trop avant ')'.60
135Il y a une espace de trop après '('.62
136'}' devrait être sur la même ligne.9
137Il manque une espace après 'catch'.14
137Il y a une espace de trop après '('.15
137Il y a une espace de trop avant ')'.27
138'{' devrait être sur la ligne précédente.9
139Il y a une espace de trop après '('.33
139Il y a une espace de trop avant ')'.35
147Commentaire javadoc manquant.5
148'{' devrait être sur la ligne précédente.5

org.apache.mina.transport.vmpipe.QpidVmPipeConnector$1

Package: org.apache.mina.transport.vmpipe | Class source

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

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


Method :Javadocs:Source statements:Cyclometic complexity:




org.apache.mina.transport.vmpipe.QpidVmPipeConnector$2

Package: org.apache.mina.transport.vmpipe | 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):
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
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
2


Method :Javadocs:Source statements:Cyclometic complexity: