PMD Results

The following document contains the results of PMD .

Summary

Files Errors
131 2363

Files

Files Violations
om/sun/xml/registry/client/admin/UserAdmin.java 14
om/sun/xml/registry/client/browser/AdhocQueryPanel.java 55
om/sun/xml/registry/client/browser/AssociationPanel.java 15
om/sun/xml/registry/client/browser/AuditableEventsDialog.java 9
om/sun/xml/registry/client/browser/AuditableEventsTable.java 2
om/sun/xml/registry/client/browser/AuditableEventsTableModel.java 14
om/sun/xml/registry/client/browser/BusinessQueryPanel.java 41
om/sun/xml/registry/client/browser/CardManagerPanel.java 7
om/sun/xml/registry/client/browser/ClassificationPanel.java 11
om/sun/xml/registry/client/browser/ClassificationSchemePanel.java 7
om/sun/xml/registry/client/browser/ClassificationsList.java 2
om/sun/xml/registry/client/browser/ConceptPanel.java 11
om/sun/xml/registry/client/browser/ConceptsList.java 1
om/sun/xml/registry/client/browser/ConceptsTree.java 68
om/sun/xml/registry/client/browser/ConceptsTreeDialog.java 13
om/sun/xml/registry/client/browser/ConceptsTreeModel.java 21
om/sun/xml/registry/client/browser/DiscoveryPanel.java 9
om/sun/xml/registry/client/browser/EmailAddressPanel.java 4
om/sun/xml/registry/client/browser/ExternalIdentifierPanel.java 9
om/sun/xml/registry/client/browser/ExternalIdentifiersList.java 1
om/sun/xml/registry/client/browser/ExternalLinkPanel.java 7
om/sun/xml/registry/client/browser/ExternalLinksList.java 1
om/sun/xml/registry/client/browser/ExtrinsicObjectPanel.java 25
om/sun/xml/registry/client/browser/FindParamsPanel.java 21
om/sun/xml/registry/client/browser/HyperLinkLabel.java 20
om/sun/xml/registry/client/browser/HyperLinker.java 12
om/sun/xml/registry/client/browser/InternationalStringPanel.java 11
om/sun/xml/registry/client/browser/JAXRClient.java 14
om/sun/xml/registry/client/browser/JAXRResourceBundle.java 1
om/sun/xml/registry/client/browser/JBDefaultTableCellRenderer.java 11
om/sun/xml/registry/client/browser/JBDialog.java 11
om/sun/xml/registry/client/browser/JBEditorDialog.java 9
om/sun/xml/registry/client/browser/JBFileFilter.java 15
om/sun/xml/registry/client/browser/JBList.java 24
om/sun/xml/registry/client/browser/JBListModel.java 2
om/sun/xml/registry/client/browser/JBTabbedPane.java 17
om/sun/xml/registry/client/browser/LocaleSelectorDialog.java 17
om/sun/xml/registry/client/browser/LocalizedStringPanel.java 5
om/sun/xml/registry/client/browser/LocalizedStringsList.java 1
om/sun/xml/registry/client/browser/OrganizationPanel.java 12
om/sun/xml/registry/client/browser/PersonNamePanel.java 7
om/sun/xml/registry/client/browser/PostalAddressPanel.java 14
om/sun/xml/registry/client/browser/QueryPanel.java 3
om/sun/xml/registry/client/browser/RegistryBrowser.java 87
om/sun/xml/registry/client/browser/RegistryEntryPanel.java 18
om/sun/xml/registry/client/browser/RegistryObjectPanel.java 41
om/sun/xml/registry/client/browser/RegistryObjectsList.java 15
om/sun/xml/registry/client/browser/RegistryObjectsTable.java 74
om/sun/xml/registry/client/browser/RegistryObjectsTableModel.java 36
om/sun/xml/registry/client/browser/RegistryObjectsTransferable.java 6
om/sun/xml/registry/client/browser/ServiceBindingPanel.java 6
om/sun/xml/registry/client/browser/SlotPanel.java 8
om/sun/xml/registry/client/browser/SlotsList.java 1
om/sun/xml/registry/client/browser/StringBufferPanel.java 1
om/sun/xml/registry/client/browser/TableMap.java 1
om/sun/xml/registry/client/browser/TableSorter.java 31
om/sun/xml/registry/client/browser/TelephoneNumberPanel.java 13
om/sun/xml/registry/client/browser/TreeCombo.java 12
om/sun/xml/registry/client/browser/UserPanel.java 7
om/sun/xml/registry/client/browser/graph/JBGraph.java 130
om/sun/xml/registry/client/browser/graph/JBGraphCell.java 10
om/sun/xml/registry/client/browser/graph/JBGraphModel.java 1
om/sun/xml/registry/client/browser/graph/JBGraphPanel.java 9
om/sun/xml/registry/client/browser/graph/JBMarqueeHandler.java 31
om/sun/xml/registry/client/browser/graph/ReferencePanel.java 32
om/sun/xml/registry/client/browser/graph/RelationshipPanel.java 25
om/sun/xml/registry/client/browser/registration/EmailAddressModel.java 3
om/sun/xml/registry/client/browser/registration/EmailAddressPanel.java 1
om/sun/xml/registry/client/browser/registration/KeyTool.java 287
om/sun/xml/registry/client/browser/registration/PersonNameModel.java 4
om/sun/xml/registry/client/browser/registration/PersonNamePanel.java 6
om/sun/xml/registry/client/browser/registration/PostalAddressModel.java 22
om/sun/xml/registry/client/browser/registration/PostalAddressPanel.java 8
om/sun/xml/registry/client/browser/registration/TelephoneNumberModel.java 7
om/sun/xml/registry/client/browser/registration/TelephoneNumberPanel.java 8
om/sun/xml/registry/client/browser/registration/UserManager.java 11
om/sun/xml/registry/client/browser/registration/UserModel.java 5
om/sun/xml/registry/client/browser/registration/UserRegistrationDialog.java 9
om/sun/xml/registry/client/browser/registration/UserRegistrationPanel.java 7
om/sun/xml/registry/client/browser/swing/MappedDocumentListener.java 3
om/sun/xml/registry/client/browser/swing/RegistryComboBoxListener.java 3
om/sun/xml/registry/client/browser/swing/RegistryDocumentListener.java 6
om/sun/xml/registry/client/browser/swing/RegistryMappedModel.java 2
om/sun/xml/registry/client/browser/swing/RegistryMappedPanel.java 5
om/sun/xml/registry/client/util/RegistryObjectUtil.java 5
om/sun/xml/registry/ebxml/BulkResponseImpl.java 19
om/sun/xml/registry/ebxml/BusinessLifeCycleManagerImpl.java 3
om/sun/xml/registry/ebxml/BusinessQueryManagerImpl.java 64
om/sun/xml/registry/ebxml/ConnectionFactoryImpl.java 4
om/sun/xml/registry/ebxml/ConnectionImpl.java 23
om/sun/xml/registry/ebxml/DeclarativeQueryManagerImpl.java 4
om/sun/xml/registry/ebxml/LifeCycleManagerImpl.java 90
om/sun/xml/registry/ebxml/ObjectCache.java 6
om/sun/xml/registry/ebxml/QueryManagerImpl.java 13
om/sun/xml/registry/ebxml/RegistryServiceImpl.java 1
om/sun/xml/registry/ebxml/SoapMessenger.java 43
om/sun/xml/registry/ebxml/infomodel/AssociationImpl.java 37
om/sun/xml/registry/ebxml/infomodel/AuditableEventImpl.java 5
om/sun/xml/registry/ebxml/infomodel/ClassificationImpl.java 13
om/sun/xml/registry/ebxml/infomodel/ClassificationSchemeImpl.java 13
om/sun/xml/registry/ebxml/infomodel/ConceptImpl.java 21
om/sun/xml/registry/ebxml/infomodel/EmailAddressImpl.java 1
om/sun/xml/registry/ebxml/infomodel/ExtensibleObjectImpl.java 4
om/sun/xml/registry/ebxml/infomodel/ExternalIdentifierImpl.java 9
om/sun/xml/registry/ebxml/infomodel/ExternalLinkImpl.java 5
om/sun/xml/registry/ebxml/infomodel/ExtrinsicObjectImpl.java 10
om/sun/xml/registry/ebxml/infomodel/InternationalStringImpl.java 22
om/sun/xml/registry/ebxml/infomodel/KeyImpl.java 1
om/sun/xml/registry/ebxml/infomodel/LocalizedStringImpl.java 2
om/sun/xml/registry/ebxml/infomodel/OrganizationImpl.java 23
om/sun/xml/registry/ebxml/infomodel/PostalAddressImpl.java 2
om/sun/xml/registry/ebxml/infomodel/RegistryEntryImpl.java 1
om/sun/xml/registry/ebxml/infomodel/RegistryObjectImpl.java 47
om/sun/xml/registry/ebxml/infomodel/RegistryObjectRef.java 15
om/sun/xml/registry/ebxml/infomodel/RegistryPackageImpl.java 10
om/sun/xml/registry/ebxml/infomodel/ServiceBindingImpl.java 17
om/sun/xml/registry/ebxml/infomodel/ServiceImpl.java 8
om/sun/xml/registry/ebxml/infomodel/SlotImpl.java 4
om/sun/xml/registry/ebxml/infomodel/SpecificationLinkImpl.java 14
om/sun/xml/registry/ebxml/infomodel/TelephoneNumberImpl.java 3
om/sun/xml/registry/ebxml/infomodel/UserImpl.java 11
om/sun/xml/registry/ebxml/jaas/DialogAuthenticationCallbackHandler.java 18
om/sun/xml/registry/ebxml/jaas/LoginModuleManager.java 154
om/sun/xml/registry/ebxml/util/BindingUtil.java 4
om/sun/xml/registry/ebxml/util/I18nUtil.java 1
om/sun/xml/registry/ebxml/util/KeystoreUtil.java 7
om/sun/xml/registry/ebxml/util/ProviderProperties.java 19
om/sun/xml/registry/ebxml/util/QueryUtil.java 6
om/sun/xml/registry/ebxml/util/SecurityUtil.java 7
om/sun/xml/registry/ebxml/util/UUID.java 3
om/sun/xml/registry/ebxml/util/UUIDFactory.java 5

om/sun/xml/registry/client/admin/UserAdmin.java

Violation Line
Avoid duplicate imports such as 'com.sun.xml.registry.ebxml.util.ProviderProperties' 17
The class 'UserAdmin' has a Cyclomatic Complexity of 4 (Highest = 20). 47
Avoid variables with short names 50
Avoid variables with short names 101
Avoid variables with short names 104
Avoid variables with short names 156
Avoid variables with short names 195
Avoid variables with short names 198
Avoid variables with short names 221
Avoid variables with short names 224
Avoid variables with short names 240
Avoid variables with short names 243
The method 'main' has a Cyclomatic Complexity of 20. 269
The same String literal appears 4 times in this file; the first occurrence is on line 326 326

om/sun/xml/registry/client/browser/AdhocQueryPanel.java

Violation Line
Avoid unused imports such as 'BusinessQueryManagerImpl' 15
Avoid duplicate imports such as 'java.awt.GridBagConstraints' 16
Avoid duplicate imports such as 'java.awt.Insets' 17
Avoid duplicate imports such as 'java.awt.event.ActionEvent' 18
Avoid duplicate imports such as 'java.awt.event.ActionListener' 19
Avoid duplicate imports such as 'java.util.ArrayList' 20
Avoid duplicate imports such as 'javax.swing.JLabel' 21
Avoid duplicate imports such as 'javax.swing.JPanel' 22
Avoid duplicate imports such as 'javax.swing.JScrollPane' 23
Avoid duplicate imports such as 'javax.swing.SwingConstants' 24
Avoid duplicate imports such as 'javax.xml.registry.JAXRException' 25
The class 'AdhocQueryPanel' has a Cyclomatic Complexity of 3 (Highest = 10). 47
Avoid variables with short names 49
Avoid excessively long variable names 51
Avoid unused private fields such as 'findParamsPanel' 51
Avoid using implementation types like 'ArrayList'; use the interface instead 53
Avoid excessively long variable names 55
Avoid excessively long variable names 56
Avoid excessively long variable names 57
Avoid excessively long variable names 59
Avoid excessively long variable names 60
Avoid using implementation types like 'ArrayList'; use the interface instead 60
Avoid excessively long variable names 68
Avoid calls to overridable methods during construction 70
Avoid variables with short names 73
Avoid excessively long variable names 76
Avoid excessively long variable names 79
Avoid excessively long variable names 80
Avoid really long methods. 90
Avoid excessively long variable names 91
Avoid excessively long variable names 96
Avoid variables with short names 111
Avoid unused local variables such as 'item' 115
Avoid excessively long variable names 138
Avoid excessively long variable names 166
Avoid excessively long variable names 208
Avoid variables with short names 244
Avoid variables with short names 281
Avoid excessively long variable names 289
Avoid variables with short names 366
Avoid variables with short names 373
Avoid excessively long variable names 378
Avoid variables with short names 384
Avoid variables with short names 400
Avoid variables with short names 402
Avoid variables with short names 407
Avoid variables with short names 410
Avoid excessively long variable names 428
Avoid reassigning parameters such as 'query' 428
The method 'replaceQueryParameter' has a Cyclomatic Complexity of 10. 428
Avoid excessively long variable names 446
Avoid variables with short names 478
Avoid reassigning parameters such as 'query' 485
Avoid variables with short names 501
Avoid variables with short names 539

om/sun/xml/registry/client/browser/AssociationPanel.java

Violation Line
Avoid excessively long variable names 20
Avoid excessively long variable names 21
Avoid excessively long variable names 22
Avoid excessively long variable names 23
Avoid excessively long variable names 24
Avoid excessively long variable names 25
Avoid excessively long variable names 41
Avoid excessively long variable names 69
Avoid excessively long variable names 126
Avoid variables with short names 181
Avoid variables with short names 187
Avoid excessively long variable names 208
Avoid unused local variables such as 'path' 225
Avoid variables with short names 235
Avoid unused local variables such as 'ass' 262

om/sun/xml/registry/client/browser/AuditableEventsDialog.java

Violation Line
Avoid excessively long variable names 20
Avoid excessively long variable names 21
Avoid excessively long variable names 24
Avoid calls to overridable methods during construction 29
Avoid variables with short names 31
Avoid excessively long variable names 37
Avoid excessively long variable names 42
Avoid excessively long variable names 48
Avoid excessively long variable names 61

om/sun/xml/registry/client/browser/AuditableEventsTable.java

Violation Line
Avoid variables with short names 33
Avoid empty 'if' statements 41

om/sun/xml/registry/client/browser/AuditableEventsTableModel.java

Violation Line
Avoid excessively long variable names 22
Avoid using implementation types like 'ArrayList'; use the interface instead 22
Avoid excessively long variable names 23
Avoid variables with short names 46
Avoid excessively long variable names 53
Avoid unused local variables such as 'iString' 55
Switch statements should have a default label 58
Avoid variables with short names 70
Avoid empty catch blocks 72
Avoid variables with short names 85
Avoid calling toString() on String objects; this is unnecessary 94
Avoid excessively long variable names 98
Avoid reassigning parameters such as 'auditableEvents' 98
Avoid using implementation types like 'ArrayList'; use the interface instead 110

om/sun/xml/registry/client/browser/BusinessQueryPanel.java

Violation Line
Avoid unused imports such as 'JPanel' 22
The class 'BusinessQueryPanel' has a Cyclomatic Complexity of 4 (Highest = 17). 34
Avoid variables with short names 36
Avoid excessively long variable names 38
Avoid excessively long variable names 39
Avoid excessively long variable names 43
Avoid excessively long variable names 45
Avoid unused private fields such as 'log' 50
Avoid variables with short names 51
Avoid excessively long variable names 57
Avoid excessively long variable names 63
Avoid excessively long variable names 76
Avoid excessively long variable names 83
Avoid variables with short names 99
Avoid unused local variables such as 'objectType' 104
Avoid variables with short names 152
Avoid variables with short names 185
Avoid excessively long variable names 191
Avoid excessively long variable names 207
Avoid excessively long variable names 224
Avoid excessively long variable names 240
Avoid excessively long variable names 273
Avoid unused local variables such as 'objectType' 300
Avoid unused local variables such as 'i' 318
Avoid variables with short names 318
Avoid variables with short names 332
Avoid really long methods. 342
The method 'executeQuery' has a Cyclomatic Complexity of 17. 342
Avoid excessively long variable names 351
Avoid unused local variables such as 'bqm' 358
Avoid excessively long variable names 368
Avoid excessively long variable names 390
The same String literal appears 4 times in this file; the first occurrence is on line 420 420
Avoid variables with short names 490
Avoid unused local variables such as 'client' 500
Avoid variables with short names 508
Avoid variables with short names 515
Avoid excessively long variable names 524
Avoid excessively long variable names 525
Avoid excessively long variable names 530
Avoid variables with short names 535

om/sun/xml/registry/client/browser/CardManagerPanel.java

Violation Line
Avoid variables with short names 30
Avoid excessively long variable names 33
Avoid excessively long variable names 39
Avoid using implementation types like 'HashMap'; use the interface instead 39
Avoid calls to overridable methods during construction 54
Avoid excessively long variable names 85
Avoid variables with short names 96

om/sun/xml/registry/client/browser/ClassificationPanel.java

Violation Line
Avoid excessively long variable names 61
Avoid variables with short names 63
Avoid excessively long variable names 142
Avoid excessively long variable names 144
Avoid excessively long variable names 153
Avoid variables with short names 185
Avoid excessively long variable names 199
The same String literal appears 4 times in this file; the first occurrence is on line 215 215
Avoid variables with short names 223
Avoid excessively long variable names 232
Avoid excessively long variable names 250

om/sun/xml/registry/client/browser/ClassificationSchemePanel.java

Violation Line
Avoid excessively long variable names 20
Avoid excessively long variable names 27
Avoid excessively long variable names 50
Avoid excessively long variable names 84
Avoid variables with short names 91
Avoid excessively long variable names 104
Avoid unused local variables such as 'classificationScheme' 104

om/sun/xml/registry/client/browser/ClassificationsList.java

Violation Line
Avoid variables with short names 65
Avoid variables with short names 75

om/sun/xml/registry/client/browser/ConceptPanel.java

Violation Line
Avoid excessively long variable names 33
Avoid variables with short names 35
Avoid calls to overridable methods during construction 36
Avoid excessively long variable names 166
Avoid excessively long variable names 168
Avoid excessively long variable names 181
Avoid unused local variables such as 'conceptNameStr' 181
Avoid unused local variables such as 'scheme' 182
Avoid variables with short names 189
Avoid variables with short names 233
The same String literal appears 4 times in this file; the first occurrence is on line 256 256

om/sun/xml/registry/client/browser/ConceptsList.java

Violation Line
Avoid variables with short names 75

om/sun/xml/registry/client/browser/ConceptsTree.java

Violation Line
No need to import a type that's in the same package 36
Avoid really long Classes. 45
Avoid excessively long variable names 54
Avoid excessively long variable names 57
Avoid excessively long variable names 63
Avoid excessively long variable names 66
Avoid excessively long variable names 69
Avoid excessively long variable names 72
Avoid excessively long variable names 75
Avoid excessively long variable names 79
Avoid excessively long variable names 86
Avoid variables with short names 96
Avoid variables with short names 106
Avoid unused local variables such as 'oldCursor' 108
Avoid variables with short names 116
Avoid variables with short names 119
Avoid variables with short names 124
Avoid variables with short names 127
Avoid variables with short names 130
Avoid calls to overridable methods during construction 135
Avoid excessively long variable names 168
Avoid variables with short names 175
Avoid variables with short names 181
Avoid variables with short names 187
Avoid variables with short names 193
Avoid variables with short names 199
Avoid variables with short names 205
Avoid variables with short names 211
Avoid using implementation types like 'ArrayList'; use the interface instead 227
Avoid using implementation types like 'ArrayList'; use the interface instead 256
Avoid using implementation types like 'ArrayList'; use the interface instead 285
Avoid excessively long variable names 312
Avoid variables with short names 316
Avoid excessively long variable names 333
Avoid excessively long variable names 362
Avoid variables with short names 389
Avoid excessively long variable names 400
Avoid excessively long variable names 428
Avoid variables with short names 448
Avoid excessively long variable names 464
Avoid variables with short names 475
Avoid excessively long variable names 491
Avoid excessively long variable names 519
Avoid variables with short names 525
Avoid excessively long variable names 540
Avoid excessively long variable names 561
Avoid variables with short names 567
Avoid excessively long variable names 590
Avoid excessively long variable names 606
Avoid excessively long variable names 609
Avoid excessively long variable names 612
Avoid excessively long variable names 618
Avoid excessively long variable names 624
Avoid calls to overridable methods during construction 639
Avoid calls to overridable methods during construction 640
Avoid calls to overridable methods during construction 641
Avoid calls to overridable methods during construction 642
Avoid calls to overridable methods during construction 643
Avoid reassigning parameters such as 'font' 826
Avoid unused local variables such as 'icon' 860
Avoid variables with short names 919
Avoid unused local variables such as 'currentI' 937
Avoid variables with short names 1047
Avoid variables with short names 1060
Avoid variables with short names 1069
Avoid variables with short names 1085
Avoid excessively long variable names 1088
Avoid unused local variables such as 'authenticated' 1088

om/sun/xml/registry/client/browser/ConceptsTreeDialog.java

Violation Line
Avoid excessively long variable names 26
Avoid calls to overridable methods during construction 31
Avoid calls to overridable methods during construction 36
Avoid variables with short names 42
Avoid excessively long variable names 51
Avoid instantiating String objects; this is usually unnecessary. 75
Avoid empty 'if' statements 81
Avoid using implementation types like 'ArrayList'; use the interface instead 86
Avoid excessively long variable names 87
Avoid using implementation types like 'ArrayList'; use the interface instead 95
Avoid excessively long variable names 96
Avoid using implementation types like 'ArrayList'; use the interface instead 104
Avoid excessively long variable names 105

om/sun/xml/registry/client/browser/ConceptsTreeModel.java

Violation Line
Avoid excessively long variable names 25
Avoid excessively long variable names 27
Avoid excessively long variable names 28
Avoid using implementation types like 'java.util.HashSet'; use the interface instead 28
Avoid excessively long variable names 32
Avoid excessively long variable names 36
Avoid calls to overridable methods during construction 48
Avoid unused local variables such as 'newNode' 56
Avoid unused local variables such as 'newNode' 67
Avoid unused local variables such as 'newNode' 110
Avoid variables with short names 128
Avoid variables with short names 133
Avoid using implementation types like 'java.util.HashSet'; use the interface instead 142
Avoid excessively long variable names 146
Avoid variables with short names 156
Avoid excessively long variable names 188
Avoid variables with short names 192
Avoid variables with short names 245
Avoid variables with short names 257
Avoid variables with short names 266
Avoid excessively long variable names 267

om/sun/xml/registry/client/browser/DiscoveryPanel.java

Violation Line
Avoid excessively long variable names 25
Avoid variables with short names 27
Avoid excessively long variable names 29
Avoid excessively long variable names 30
Avoid excessively long variable names 32
Avoid excessively long variable names 35
Avoid excessively long variable names 46
Avoid excessively long variable names 66
Avoid excessively long variable names 76

om/sun/xml/registry/client/browser/EmailAddressPanel.java

Violation Line
Avoid variables with short names 34
Avoid variables with short names 120
Avoid variables with short names 141
Avoid unused local variables such as 'emailAddress' 164

om/sun/xml/registry/client/browser/ExternalIdentifierPanel.java

Violation Line
Avoid excessively long variable names 58
Avoid variables with short names 60
Avoid excessively long variable names 110
Avoid excessively long variable names 112
Avoid excessively long variable names 126
Avoid unused local variables such as 'conceptNameStr' 126
Avoid variables with short names 139
Avoid variables with short names 171
Avoid unused local variables such as 'externalId' 194

om/sun/xml/registry/client/browser/ExternalIdentifiersList.java

Violation Line
Avoid variables with short names 75

om/sun/xml/registry/client/browser/ExternalLinkPanel.java

Violation Line
Avoid excessively long variable names 21
Avoid excessively long variable names 22
Avoid excessively long variable names 30
Avoid excessively long variable names 78
Avoid variables with short names 84
Avoid excessively long variable names 94
Avoid excessively long variable names 106

om/sun/xml/registry/client/browser/ExternalLinksList.java

Violation Line
Avoid variables with short names 77

om/sun/xml/registry/client/browser/ExtrinsicObjectPanel.java

Violation Line
Avoid excessively long variable names 24
Avoid excessively long variable names 25
Avoid excessively long variable names 26
Avoid excessively long variable names 45
Avoid excessively long variable names 101
Avoid variables with short names 103
Avoid excessively long variable names 147
Avoid variables with short names 149
Avoid excessively long variable names 156
Avoid variables with short names 158
Avoid excessively long variable names 169
Avoid excessively long variable names 171
Avoid variables with short names 180
Avoid variables with short names 194
Avoid variables with short names 203
Avoid excessively long variable names 208
Avoid excessively long variable names 211
Avoid variables with short names 215
Avoid variables with short names 224
Avoid variables with short names 229
Avoid variables with short names 240
Avoid variables with short names 254
Avoid variables with short names 263
Avoid unused local variables such as 'eo' 277
Avoid variables with short names 277

om/sun/xml/registry/client/browser/FindParamsPanel.java

Violation Line
Avoid unused imports such as 'BusinessQueryManagerImpl' 17
Avoid unused imports such as 'ArrayList' 22
Avoid unused imports such as 'JLabel' 23
Avoid unused imports such as 'JScrollPane' 25
Avoid unused imports such as 'SwingConstants' 26
Avoid variables with short names 39
Avoid excessively long variable names 42
Avoid excessively long variable names 43
Avoid excessively long variable names 47
Avoid excessively long variable names 49
Avoid unused private fields such as 'log' 51
Avoid excessively long variable names 56
Avoid excessively long variable names 63
Avoid variables with short names 116
Avoid variables with short names 125
Avoid variables with short names 129
Avoid excessively long variable names 140
Avoid excessively long variable names 142
Avoid variables with short names 146
Avoid variables with short names 156
Avoid excessively long variable names 173

om/sun/xml/registry/client/browser/HyperLinkLabel.java

Violation Line
Avoid unused imports such as 'TextAttribute' 14
Avoid excessively long variable names 32
Avoid excessively long variable names 34
Avoid excessively long variable names 44
Avoid excessively long variable names 52
Avoid excessively long variable names 56
Avoid calls to overridable methods during construction 68
Avoid variables with short names 72
Avoid calls to overridable methods during construction 73
Avoid variables with short names 78
Avoid calls to overridable methods during construction 79
Avoid variables with short names 85
Avoid calls to overridable methods during construction 86
Avoid excessively long variable names 135
Avoid excessively long variable names 143
Avoid variables with short names 163
Avoid empty catch blocks 165
Avoid variables with short names 170
Avoid variables with short names 172
Avoid variables with short names 173

om/sun/xml/registry/client/browser/HyperLinker.java

Violation Line
All methods are static. Consider using Singleton instead. 10
Avoid unused local variables such as 'p' 65
Avoid variables with short names 65
Avoid variables with short names 75
Avoid variables with short names 88
Avoid variables with short names 94
Avoid variables with short names 112
Avoid unnecessary if..then..else statements when returning a boolean 113
Avoid using 'if...else' statements without curly braces 113
Avoid unused private fields such as 'WIN_PATH' 130
Avoid unused private fields such as 'WIN_FLAG' 133
Avoid unused private fields such as 'UNIX_FLAG' 140

om/sun/xml/registry/client/browser/InternationalStringPanel.java

Violation Line
Avoid duplicate imports such as 'java.util.Collection' 17
Avoid duplicate imports such as 'javax.swing.DefaultComboBoxModel' 19
Avoid unused imports such as 'DefaultComboBoxModel' 19
Avoid excessively long variable names 31
Avoid variables with short names 33
Avoid excessively long variable names 48
Avoid excessively long variable names 63
Avoid excessively long variable names 88
Avoid variables with short names 91
Avoid variables with short names 95
Avoid excessively long variable names 105

om/sun/xml/registry/client/browser/JAXRClient.java

Violation Line
Avoid variables with short names 106
Avoid variables with short names 127
Avoid variables with short names 133
Avoid variables with short names 134
Avoid excessively long variable names 208
Avoid variables with short names 219
Avoid variables with short names 239
Avoid excessively long variable names 256
Avoid variables with short names 264
Avoid excessively long variable names 278
Avoid variables with short names 286
Avoid variables with short names 289
Avoid variables with short names 311
Avoid variables with short names 315

om/sun/xml/registry/client/browser/JAXRResourceBundle.java

Violation Line
Double checked locking is not thread safe in Java. 21

om/sun/xml/registry/client/browser/JBDefaultTableCellRenderer.java

Violation Line
Avoid excessively long variable names 71
Avoid excessively long variable names 77
Avoid excessively long variable names 78
Avoid variables with short names 96
Avoid variables with short names 107
Avoid reassigning parameters such as 'value' 140
Avoid variables with short names 188
Avoid variables with short names 218
Avoid variables with short names 225
Avoid variables with short names 260
Avoid empty catch blocks 262

om/sun/xml/registry/client/browser/JBDialog.java

Violation Line
Avoid excessively long variable names 28
Avoid excessively long variable names 34
Avoid variables with short names 38
Avoid calls to overridable methods during construction 55
Avoid calls to overridable methods during construction 61
Avoid variables with short names 96
Avoid variables with short names 103
Avoid excessively long variable names 129
Avoid variables with short names 151
Avoid variables with short names 195
Avoid excessively long variable names 198

om/sun/xml/registry/client/browser/JBEditorDialog.java

Violation Line
Avoid excessively long variable names 71
Deeply nested if..then statements are hard to read 74
Avoid excessively long variable names 80
Avoid variables with short names 88
Avoid variables with short names 105
Avoid variables with short names 108
Avoid variables with short names 111
Avoid variables with short names 126
Avoid variables with short names 155

om/sun/xml/registry/client/browser/JBFileFilter.java

Violation Line
Avoid unused private fields such as 'TYPE_UNKNOWN' 41
Avoid unused private fields such as 'HIDDEN_FILE' 42
Avoid excessively long variable names 46
Avoid excessively long variable names 47
Avoid calls to overridable methods during construction 80
Avoid using if statements without curly braces 80
Avoid calls to overridable methods during construction 81
Avoid using if statements without curly braces 81
Avoid calls to overridable methods during construction 109
Avoid calls to overridable methods during construction 111
Avoid using if statements without curly braces 111
Avoid variables with short names 123
Avoid variables with short names 142
Avoid variables with short names 145
Avoid variables with short names 227

om/sun/xml/registry/client/browser/JBList.java

Violation Line
Avoid excessively long variable names 27
Avoid excessively long variable names 28
Avoid excessively long variable names 29
Avoid excessively long variable names 31
Avoid excessively long variable names 39
Avoid calls to overridable methods during construction 42
Avoid excessively long variable names 46
Avoid calls to overridable methods during construction 49
Avoid excessively long variable names 52
Avoid variables with short names 81
Avoid variables with short names 87
Avoid variables with short names 93
Avoid variables with short names 105
Avoid variables with short names 114
Avoid variables with short names 118
Avoid excessively long variable names 120
Avoid excessively long variable names 143
Avoid excessively long variable names 146
Avoid variables with short names 187
Avoid variables with short names 190
Avoid variables with short names 193
Avoid variables with short names 202
Avoid excessively long variable names 208
Avoid excessively long variable names 211

om/sun/xml/registry/client/browser/JBListModel.java

Violation Line
Avoid using implementation types like 'ArrayList'; use the interface instead 29
Avoid using implementation types like 'ArrayList'; use the interface instead 40

om/sun/xml/registry/client/browser/JBTabbedPane.java

Violation Line
Avoid unused imports such as 'URL' 18
Avoid unused imports such as 'ArrayList' 20
Avoid unused imports such as 'FontUIResource' 24
Avoid unused imports such as 'BulkResponse' 27
Avoid unused imports such as 'BusinessLifeCycleManager' 28
Avoid unused imports such as 'JAXRResponse' 30
Avoid unused imports such as 'ClassificationScheme' 31
Avoid unused imports such as 'Concept' 32
Avoid unused imports such as 'Key' 33
Avoid unused imports such as 'RegistryObject' 34
Avoid duplicate imports such as 'com.sun.xml.registry.client.browser.graph.JBGraphPanel' 38
No need to import a type that's in the same package 40
Avoid excessively long variable names 50
Avoid excessively long variable names 51
Avoid excessively long variable names 52
Avoid variables with short names 91
Avoid excessively long variable names 94

om/sun/xml/registry/client/browser/LocaleSelectorDialog.java

Violation Line
Avoid excessively long variable names 30
Avoid excessively long variable names 31
Avoid excessively long variable names 32
Avoid excessively long variable names 35
Avoid excessively long variable names 37
Avoid excessively long variable names 39
Avoid excessively long variable names 43
Avoid excessively long variable names 46
Avoid excessively long variable names 52
Avoid excessively long variable names 57
Avoid really long methods. 57
Avoid excessively long variable names 65
Avoid unused formal parameters such as 'evt' 189
Avoid unused formal parameters such as 'evt' 195
Avoid unused formal parameters such as 'evt' 199
Avoid unused formal parameters such as 'evt' 208
Avoid excessively long variable names 261

om/sun/xml/registry/client/browser/LocalizedStringPanel.java

Violation Line
Avoid duplicate imports such as 'javax.swing.DefaultComboBoxModel' 18
Avoid variables with short names 33
Avoid excessively long variable names 140
Avoid excessively long variable names 143
Avoid variables with short names 154

om/sun/xml/registry/client/browser/LocalizedStringsList.java

Violation Line
Avoid variables with short names 78

om/sun/xml/registry/client/browser/OrganizationPanel.java

Violation Line
Avoid excessively long variable names 27
Avoid excessively long variable names 29
Avoid excessively long variable names 30
Avoid excessively long variable names 84
Avoid excessively long variable names 98
Avoid excessively long variable names 125
Avoid variables with short names 127
Avoid variables with short names 131
Avoid excessively long variable names 206
Avoid unused local variables such as 'addrStr' 213
Avoid excessively long variable names 225
Avoid variables with short names 230

om/sun/xml/registry/client/browser/PersonNamePanel.java

Violation Line
Avoid excessively long variable names 21
Avoid excessively long variable names 22
Avoid variables with short names 30
Avoid excessively long variable names 33
Avoid excessively long variable names 60
Avoid excessively long variable names 87
Avoid variables with short names 144

om/sun/xml/registry/client/browser/PostalAddressPanel.java

Violation Line
Avoid excessively long variable names 21
Avoid excessively long variable names 25
Avoid excessively long variable names 35
Avoid variables with short names 43
Avoid excessively long variable names 46
Avoid excessively long variable names 154
Avoid excessively long variable names 235
Avoid excessively long variable names 278
Deeply nested if..then statements are hard to read 312
Avoid variables with short names 318
Avoid excessively long variable names 328
Avoid excessively long variable names 346
Avoid unused local variables such as 'postalAddress' 346
The same String literal appears 7 times in this file; the first occurrence is on line 351 351

om/sun/xml/registry/client/browser/QueryPanel.java

Violation Line
Avoid excessively long variable names 28
Avoid variables with short names 30
Avoid excessively long variable names 35

om/sun/xml/registry/client/browser/RegistryBrowser.java

Violation Line
Avoid really long Classes. 34
The class 'RegistryBrowser' has a Cyclomatic Complexity of 2 (Highest = 10). 34
Avoid excessively long variable names 40
Avoid excessively long variable names 44
Avoid excessively long variable names 55
Avoid excessively long variable names 58
Avoid excessively long variable names 61
Avoid excessively long variable names 96
Avoid excessively long variable names 99
Avoid excessively long variable names 102
Avoid excessively long variable names 105
Avoid excessively long variable names 114
Avoid excessively long variable names 117
Avoid excessively long variable names 123
Avoid excessively long variable names 126
Avoid variables with short names 139
The same String literal appears 4 times in this file; the first occurrence is on line 174 174
Avoid variables with short names 178
Avoid variables with short names 183
Avoid excessively long variable names 209
Avoid unused local variables such as 'pathSep' 227
Avoid variables with short names 242
Avoid variables with short names 269
Avoid excessively long variable names 289
Avoid unused local variables such as 'text' 304
Avoid variables with short names 392
Avoid excessively long variable names 417
Avoid variables with short names 423
Avoid really long methods. 461
The method 'createDiscoveryToolBar' has a Cyclomatic Complexity of 10. 461
The same String literal appears 6 times in this file; the first occurrence is on line 471 471
Avoid variables with short names 472
Avoid excessively long variable names 480
Avoid excessively long variable names 482
Avoid excessively long variable names 483
Avoid variables with short names 485
Avoid excessively long variable names 499
Avoid excessively long variable names 501
Avoid excessively long variable names 502
Avoid variables with short names 504
Avoid variables with short names 517
Avoid excessively long variable names 529
Avoid variables with short names 531
Avoid variables with short names 543
Avoid excessively long variable names 557
Avoid excessively long variable names 558
Avoid variables with short names 560
Avoid excessively long variable names 613
The same String literal appears 4 times in this file; the first occurrence is on line 616 616
Avoid variables with short names 623
Avoid variables with short names 654
Avoid variables with short names 684
Avoid empty 'if' statements 703
Avoid variables with short names 765
Avoid variables with short names 785
Avoid variables with short names 819
Avoid reassigning parameters such as 'exitStatus' 834
Avoid variables with short names 859
Avoid empty catch blocks 860
Avoid variables with short names 892
Avoid empty catch blocks 893
Avoid variables with short names 911
Avoid variables with short names 941
Avoid empty catch blocks 942
Avoid variables with short names 971
Avoid empty catch blocks 972
Avoid variables with short names 988
Avoid excessively long variable names 990
Avoid variables with short names 1031
Avoid empty catch blocks 1032
Avoid variables with short names 1039
Avoid empty catch blocks 1040
Avoid variables with short names 1058
Avoid variables with short names 1060
Avoid variables with short names 1062
Avoid variables with short names 1070
Avoid empty catch blocks 1071
Avoid variables with short names 1087
Avoid variables with short names 1104
Avoid excessively long variable names 1117
Avoid excessively long variable names 1119
Avoid excessively long variable names 1120
Avoid variables with short names 1139
Avoid variables with short names 1170
Avoid excessively long variable names 1181
Avoid excessively long variable names 1200
Avoid variables with short names 1382

om/sun/xml/registry/client/browser/RegistryEntryPanel.java

Violation Line
Avoid excessively long variable names 22
Avoid excessively long variable names 23
Avoid excessively long variable names 26
Avoid excessively long variable names 27
Avoid excessively long variable names 28
Avoid excessively long variable names 30
Avoid excessively long variable names 79
Avoid excessively long variable names 107
Avoid excessively long variable names 135
Avoid excessively long variable names 162
Avoid excessively long variable names 189
Avoid variables with short names 230
Avoid variables with short names 260
Avoid variables with short names 269
Avoid unused local variables such as 'client' 271
Avoid unused local variables such as 're' 281
Avoid variables with short names 281
The same String literal appears 4 times in this file; the first occurrence is on line 286 286

om/sun/xml/registry/client/browser/RegistryObjectPanel.java

Violation Line
Avoid excessively long variable names 25
Avoid excessively long variable names 27
Avoid excessively long variable names 28
Avoid excessively long variable names 30
Avoid variables with short names 36
Avoid excessively long variable names 40
Avoid excessively long variable names 41
Avoid excessively long variable names 42
Avoid excessively long variable names 65
Avoid variables with short names 67
Avoid calls to overridable methods during construction 68
Avoid excessively long variable names 99
Avoid excessively long variable names 103
Avoid excessively long variable names 112
Avoid variables with short names 114
Avoid calls to overridable methods during construction 115
Avoid excessively long variable names 175
Avoid excessively long variable names 193
Avoid excessively long variable names 209
Avoid excessively long variable names 240
Avoid excessively long variable names 271
Avoid excessively long variable names 302
Avoid variables with short names 327
Avoid using if statements without curly braces 339
Avoid variables with short names 341
The same String literal appears 5 times in this file; the first occurrence is on line 350 350
Avoid variables with short names 381
Avoid excessively long variable names 384
Avoid excessively long variable names 385
Avoid excessively long variable names 386
Avoid excessively long variable names 387
Avoid variables with short names 400
Avoid variables with short names 404
Avoid variables with short names 414
Avoid excessively long variable names 423
Avoid excessively long variable names 444
Avoid excessively long variable names 447
Avoid excessively long variable names 450
Avoid excessively long variable names 453
Avoid excessively long variable names 464
Avoid unused local variables such as 'registryObject' 464

om/sun/xml/registry/client/browser/RegistryObjectsList.java

Violation Line
Avoid excessively long variable names 24
Avoid excessively long variable names 31
Avoid variables with short names 62
Avoid excessively long variable names 66
Avoid variables with short names 71
Avoid excessively long variable names 78
Avoid using implementation types like 'ArrayList'; use the interface instead 78
Avoid excessively long variable names 79
Avoid variables with short names 84
Avoid empty 'if' statements 111
Avoid variables with short names 120
Avoid variables with short names 124
Avoid unused local variables such as 'list' 127
Avoid excessively long variable names 132
Avoid empty catch blocks 139

om/sun/xml/registry/client/browser/RegistryObjectsTable.java

Violation Line
No need to import a type that's in the same package 27
No need to import a type that's in the same package 28
Avoid duplicate imports such as 'javax.xml.registry.JAXRException' 34
Avoid excessively long variable names 51
Avoid excessively long variable names 67
Avoid excessively long variable names 73
Avoid excessively long variable names 76
Avoid excessively long variable names 79
Avoid excessively long variable names 82
Avoid variables with short names 120
Avoid calls to overridable methods during construction 133
Avoid variables with short names 156
Avoid empty catch blocks 172
Avoid excessively long variable names 181
Avoid variables with short names 185
Avoid empty catch blocks 186
Avoid variables with short names 210
Avoid excessively long variable names 222
Avoid variables with short names 247
Avoid variables with short names 253
Avoid variables with short names 259
Avoid variables with short names 265
Avoid variables with short names 271
Avoid variables with short names 277
Avoid variables with short names 285
Avoid excessively long variable names 297
Avoid using implementation types like 'ArrayList'; use the interface instead 313
Avoid excessively long variable names 315
Avoid excessively long variable names 316
Avoid variables with short names 319
Avoid excessively long variable names 332
Avoid excessively long variable names 338
Avoid excessively long variable names 353
Avoid excessively long variable names 354
Avoid variables with short names 390
Avoid variables with short names 396
Avoid excessively long variable names 412
Avoid excessively long variable names 416
Avoid variables with short names 423
Avoid excessively long variable names 439
Avoid excessively long variable names 443
Avoid excessively long variable names 466
Avoid variables with short names 469
Avoid excessively long variable names 484
Avoid variables with short names 488
Avoid unused local variables such as 'parent' 489
Avoid variables with short names 533
Avoid empty 'if' statements 574
Avoid variables with short names 585
Avoid variables with short names 594
Avoid excessively long variable names 597
Avoid excessively long variable names 609
Avoid variables with short names 624
Avoid empty catch blocks 625
Avoid variables with short names 630
Avoid variables with short names 631
Avoid variables with short names 640
Avoid variables with short names 652
Avoid reassigning parameters such as 'value' 685
Avoid variables with short names 703
Avoid reassigning parameters such as 'value' 734
Avoid variables with short names 742
Avoid variables with short names 756
Avoid variables with short names 786
Avoid empty catch blocks 788
Avoid reassigning parameters such as 'value' 809
Avoid variables with short names 850
Avoid variables with short names 852
Avoid variables with short names 855
Avoid empty 'if' statements 866
Avoid variables with short names 874
Avoid variables with short names 883
Avoid excessively long variable names 887
Avoid unused local variables such as 'selectedIndices' 887

om/sun/xml/registry/client/browser/RegistryObjectsTableModel.java

Violation Line
Avoid unused imports such as 'URL' 10
Avoid unused imports such as 'ProviderProperties' 18
Avoid duplicate imports such as 'java.util.TreeMap' 22
Avoid unused imports such as 'TreeMap' 22
The class 'RegistryObjectsTableModel' has a Cyclomatic Complexity of 3 (Highest = 10). 33
Avoid excessively long variable names 38
Avoid using implementation types like 'ArrayList'; use the interface instead 38
Avoid excessively long variable names 39
Avoid excessively long variable names 40
Avoid using implementation types like 'HashMap'; use the interface instead 40
Avoid variables with short names 64
Avoid variables with short names 124
Avoid variables with short names 153
Avoid excessively long variable names 170
Avoid variables with short names 174
Avoid excessively long variable names 175
Avoid excessively long variable names 181
Avoid variables with short names 185
Avoid variables with short names 194
Avoid variables with short names 197
Avoid variables with short names 200
Avoid variables with short names 203
Avoid variables with short names 206
Avoid empty catch blocks 209
Avoid variables with short names 210
Avoid variables with short names 233
Avoid excessively long variable names 243
Avoid excessively long variable names 263
Avoid variables with short names 268
Avoid using implementation types like 'ArrayList'; use the interface instead 294
Avoid excessively long variable names 315
The method 'getCommonObjectType' has a Cyclomatic Complexity of 10. 315
Avoid variables with short names 321
Avoid unused local variables such as 'client' 375
Avoid excessively long variable names 388
Avoid reassigning parameters such as 'commonObjectType' 388

om/sun/xml/registry/client/browser/RegistryObjectsTransferable.java

Violation Line
Avoid excessively long variable names 33
Avoid using implementation types like 'ArrayList'; use the interface instead 33
Avoid excessively long variable names 39
Avoid using implementation types like 'ArrayList'; use the interface instead 39
Avoid using implementation types like 'ArrayList'; use the interface instead 46
Avoid excessively long variable names 100

om/sun/xml/registry/client/browser/ServiceBindingPanel.java

Violation Line
Avoid excessively long variable names 20
Avoid excessively long variable names 29
Avoid variables with short names 84
Avoid excessively long variable names 92
Avoid excessively long variable names 94
Avoid excessively long variable names 106

om/sun/xml/registry/client/browser/SlotPanel.java

Violation Line
Avoid variables with short names 23
Avoid excessively long variable names 109
Avoid excessively long variable names 146
Avoid variables with short names 155
Avoid excessively long variable names 168
Avoid unused local variables such as 'slot' 185
Avoid excessively long variable names 191
Avoid unused local variables such as 'values' 193

om/sun/xml/registry/client/browser/SlotsList.java

Violation Line
Avoid variables with short names 69

om/sun/xml/registry/client/browser/StringBufferPanel.java

Violation Line
Avoid variables with short names 28

om/sun/xml/registry/client/browser/TableMap.java

Violation Line
Avoid variables with short names 76

om/sun/xml/registry/client/browser/TableSorter.java

Violation Line
No need to import a type that's in the same package 27
The class 'TableSorter' has a Cyclomatic Complexity of 3 (Highest = 18). 46
Avoid excessively long variable names 48
Avoid using implementation types like 'Vector'; use the interface instead 48
Avoid calls to overridable methods during construction 57
The method 'compareRowsByColumn' has a Cyclomatic Complexity of 18. 65
Avoid variables with short names 71
Avoid variables with short names 72
Avoid variables with short names 93
Avoid variables with short names 94
Avoid variables with short names 95
Avoid variables with short names 96
Avoid variables with short names 106
Avoid variables with short names 107
Avoid variables with short names 108
Avoid variables with short names 109
Avoid variables with short names 119
Avoid variables with short names 120
Avoid variables with short names 132
Avoid variables with short names 134
Avoid variables with short names 144
Avoid variables with short names 145
Avoid variables with short names 183
Avoid reassigning parameters such as 'to' 223
Avoid variables with short names 223
Avoid variables with short names 231
Avoid variables with short names 232
Avoid variables with short names 268
Avoid excessively long variable names 306
Avoid variables with short names 307
Avoid variables with short names 319

om/sun/xml/registry/client/browser/TelephoneNumberPanel.java

Violation Line
Avoid excessively long variable names 21
Avoid excessively long variable names 24
Avoid excessively long variable names 35
Avoid variables with short names 43
Avoid excessively long variable names 46
Avoid excessively long variable names 73
Avoid excessively long variable names 127
Avoid excessively long variable names 211
Avoid variables with short names 240
Avoid excessively long variable names 250
Avoid excessively long variable names 266
Avoid unused local variables such as 'telephoneNumber' 266
The same String literal appears 5 times in this file; the first occurrence is on line 272 272

om/sun/xml/registry/client/browser/TreeCombo.java

Violation Line
Avoid using implementation types like 'Vector'; use the interface instead 64
Avoid variables with short names 94
Avoid variables with short names 98
Avoid variables with short names 102
Avoid variables with short names 106
Avoid variables with short names 126
Avoid variables with short names 127
Avoid variables with short names 179
Avoid unused local variables such as 'cb' 180
Avoid variables with short names 180
Avoid using 'if...else' statements without curly braces 229
Avoid using 'if...else' statements without curly braces 235

om/sun/xml/registry/client/browser/UserPanel.java

Violation Line
The class 'UserPanel' has a Cyclomatic Complexity of 2 (Highest = 10). 19
Avoid excessively long variable names 21
Avoid excessively long variable names 26
The method 'setModel' has a Cyclomatic Complexity of 10. 124
The same String literal appears 11 times in this file; the first occurrence is on line 137 137
Avoid variables with short names 194
Avoid unused local variables such as 'user' 217

om/sun/xml/registry/client/browser/graph/JBGraph.java

Violation Line
Avoid unused imports such as 'FindParamsPanel' 20
Avoid unused imports such as 'InternationalString' 50
Avoid really long Classes. 64
The class 'JBGraph' has a Cyclomatic Complexity of 4 (Highest = 17). 64
Avoid excessively long variable names 67
Avoid excessively long variable names 68
Avoid excessively long variable names 69
Avoid excessively long variable names 70
Avoid excessively long variable names 77
Avoid using implementation types like 'HashMap'; use the interface instead 77
Avoid excessively long variable names 78
Avoid variables with short names 152
Avoid calls to overridable methods during construction 158
Avoid calls to overridable methods during construction 173
Avoid variables with short names 177
Avoid reassigning parameters such as 'point' 199
Avoid variables with short names 210
Avoid variables with short names 250
Avoid excessively long variable names 262
Avoid excessively long variable names 263
Avoid variables with short names 269
Deeply nested if..then statements are hard to read 284
Avoid variables with short names 285
Avoid variables with short names 298
Avoid excessively long variable names 309
Avoid excessively long variable names 310
Avoid variables with short names 316
Avoid variables with short names 332
Avoid really long methods. 346
The method 'connect' has a Cyclomatic Complexity of 10. 346
Avoid excessively long variable names 384
Avoid excessively long variable names 390
Avoid variables with short names 415
Avoid empty 'if' statements 433
Avoid variables with short names 452
Avoid reassigning parameters such as 'cells' 458
Avoid variables with short names 550
Avoid variables with short names 558
Avoid variables with short names 570
Avoid variables with short names 582
Avoid variables with short names 601
Avoid variables with short names 634
Avoid variables with short names 642
Avoid variables with short names 650
Avoid variables with short names 669
Avoid variables with short names 694
Avoid variables with short names 711
Avoid variables with short names 728
Avoid variables with short names 747
Avoid excessively long variable names 749
Avoid excessively long variable names 750
Avoid excessively long variable names 780
Avoid excessively long variable names 781
Avoid excessively long variable names 784
Avoid variables with short names 795
Avoid excessively long variable names 796
The method 'showRelatedObjects' has a Cyclomatic Complexity of 11. 836
Avoid variables with short names 839
Avoid excessively long variable names 843
Avoid variables with short names 888
Avoid variables with short names 928
Avoid variables with short names 933
Avoid really long methods. 972
Avoid using implementation types like 'ArrayList'; use the interface instead 972
Avoid variables with short names 973
Avoid excessively long variable names 986
Avoid variables with short names 1083
Avoid empty catch blocks 1084
Avoid variables with short names 1085
Avoid using implementation types like 'ArrayList'; use the interface instead 1100
Avoid variables with short names 1133
Avoid empty catch blocks 1134
Avoid variables with short names 1147
Avoid empty catch blocks 1148
Avoid variables with short names 1169
Avoid using implementation types like 'ArrayList'; use the interface instead 1184
Avoid variables with short names 1215
Avoid using implementation types like 'ArrayList'; use the interface instead 1230
Avoid variables with short names 1258
Avoid using implementation types like 'ArrayList'; use the interface instead 1273
Avoid variables with short names 1298
Avoid using implementation types like 'ArrayList'; use the interface instead 1313
Avoid variables with short names 1331
Avoid using implementation types like 'ArrayList'; use the interface instead 1346
Avoid excessively long variable names 1347
Avoid variables with short names 1375
Avoid using implementation types like 'ArrayList'; use the interface instead 1390
Avoid excessively long variable names 1391
Avoid variables with short names 1408
Avoid using implementation types like 'ArrayList'; use the interface instead 1423
Avoid excessively long variable names 1434
Avoid variables with short names 1442
Avoid using implementation types like 'ArrayList'; use the interface instead 1457
Avoid excessively long variable names 1468
Avoid excessively long variable names 1493
Avoid variables with short names 1501
Avoid variables with short names 1518
Avoid variables with short names 1527
Avoid excessively long variable names 1533
Avoid variables with short names 1542
Avoid really long methods. 1559
The method 'createToolBar' has a Cyclomatic Complexity of 17. 1559
Avoid excessively long variable names 1565
The same String literal appears 24 times in this file; the first occurrence is on line 1,574 1574
Avoid variables with short names 1575
Avoid variables with short names 1588
Avoid variables with short names 1621
Avoid variables with short names 1636
Avoid variables with short names 1686
Avoid variables with short names 1701
Avoid variables with short names 1723
Avoid variables with short names 1736
Avoid variables with short names 1749
Avoid variables with short names 1798
Avoid variables with short names 1816
Avoid variables with short names 1848
Avoid excessively long variable names 1862
Avoid using implementation types like 'ArrayList'; use the interface instead 1890
Avoid excessively long variable names 1910
Avoid excessively long variable names 1917
Avoid variables with short names 1937
Avoid excessively long variable names 1963
Avoid unused local variables such as 'spokeCell' 1964
Avoid variables with short names 1972
Avoid variables with short names 1975
Avoid variables with short names 1992
Avoid variables with short names 2006
Avoid variables with short names 2035
Avoid reassigning parameters such as 'e' 2041
Avoid variables with short names 2041

om/sun/xml/registry/client/browser/graph/JBGraphCell.java

Violation Line
Avoid unused imports such as 'JGraph' 6
Avoid excessively long variable names 29
Avoid variables with short names 34
Avoid variables with short names 42
Avoid empty catch blocks 44
Avoid unused local variables such as 'u' 67
Avoid variables with short names 67
Avoid variables with short names 100
Avoid excessively long variable names 106
Avoid variables with short names 129

om/sun/xml/registry/client/browser/graph/JBGraphModel.java

Violation Line
Avoid unused imports such as 'JGraph' 6

om/sun/xml/registry/client/browser/graph/JBGraphPanel.java

Violation Line
Avoid unused imports such as 'JGraph' 6
Avoid unused private fields such as 'panelWidth' 29
Avoid unused private fields such as 'panelHeight' 32
Avoid variables with short names 38
Avoid unused local variables such as 'dialog' 41
Avoid variables with short names 47
Avoid variables with short names 48
Avoid variables with short names 51
Avoid unused local variables such as 'dialog' 59

om/sun/xml/registry/client/browser/graph/JBMarqueeHandler.java

Violation Line
Avoid unused imports such as 'JGraph' 6
Avoid unused imports such as 'RegistryBrowser' 18
The class 'JBMarqueeHandler' has a Cyclomatic Complexity of 4 (Highest = 19). 25
Avoid variables with short names 40
Avoid using if statements without curly braces 42
Avoid using if statements without curly braces 48
Avoid variables with short names 55
Avoid variables with short names 96
Avoid variables with short names 100
Avoid using 'if...else' statements without curly braces 106
Avoid using if statements without curly braces 136
Avoid variables with short names 145
Avoid variables with short names 164
Avoid variables with short names 178
Avoid using if statements without curly braces 186
Avoid variables with short names 192
Avoid variables with short names 196
Avoid variables with short names 198
Avoid really long methods. 211
Avoid variables with short names 211
The method 'createPopupMenu' has a Cyclomatic Complexity of 19. 211
Avoid variables with short names 228
Avoid variables with short names 235
Avoid variables with short names 242
Avoid variables with short names 249
Avoid variables with short names 257
Avoid variables with short names 271
Avoid variables with short names 280
Avoid variables with short names 291
Avoid variables with short names 298
Avoid variables with short names 306

om/sun/xml/registry/client/browser/graph/ReferencePanel.java

Violation Line
Avoid variables with short names 35
Avoid excessively long variable names 36
Avoid excessively long variable names 37
Avoid excessively long variable names 39
Avoid excessively long variable names 52
Avoid calls to overridable methods during construction 65
Avoid variables with short names 68
Avoid really long methods. 88
Avoid excessively long variable names 89
Avoid excessively long variable names 95
Avoid excessively long variable names 98
Avoid variables with short names 112
Avoid variables with short names 132
Avoid empty catch blocks 133
Avoid variables with short names 134
Avoid empty catch blocks 135
Avoid variables with short names 149
Avoid empty catch blocks 150
Avoid variables with short names 151
Avoid empty catch blocks 152
Avoid variables with short names 169
Avoid empty catch blocks 170
Avoid variables with short names 171
Avoid empty catch blocks 172
Avoid variables with short names 189
Avoid empty catch blocks 190
Avoid variables with short names 191
Avoid empty catch blocks 192
Avoid variables with short names 197
Avoid variables with short names 200
Avoid variables with short names 203
Avoid excessively long variable names 217

om/sun/xml/registry/client/browser/graph/RelationshipPanel.java

Violation Line
Avoid unused private fields such as 'c' 31
Avoid variables with short names 31
Avoid excessively long variable names 35
Avoid excessively long variable names 36
Avoid excessively long variable names 38
Avoid using implementation types like 'ArrayList'; use the interface instead 43
Avoid excessively long variable names 45
Avoid excessively long variable names 46
Avoid excessively long variable names 47
Avoid excessively long variable names 49
Avoid unused private fields such as 'REL_CONCEPT_PARENT' 49
Avoid excessively long variable names 51
Avoid excessively long variable names 53
Avoid excessively long variable names 54
Avoid excessively long variable names 56
Avoid excessively long variable names 58
Avoid excessively long variable names 60
Avoid calls to overridable methods during construction 111
Avoid calls to overridable methods during construction 112
Avoid unused local variables such as 'lcm' 118
Avoid unused local variables such as 'bqm' 119
Avoid variables with short names 131
Avoid variables with short names 170
Avoid variables with short names 204
Avoid variables with short names 215

om/sun/xml/registry/client/browser/registration/EmailAddressModel.java

Violation Line
Avoid variables with short names 37
Avoid reassigning parameters such as 'address' 48
Avoid variables with short names 78

om/sun/xml/registry/client/browser/registration/KeyTool.java

Violation Line
Avoid unused imports such as 'BigInteger' 19
Avoid really long Classes. 60
The class 'KeyTool' has a Cyclomatic Complexity of 8 (Highest = 54). 60
Avoid variables with short names 104
Avoid really long methods. 109
Avoid variables with short names 109
The method 'run' has a Cyclomatic Complexity of 19. 109
Avoid unused local variables such as 'exception1' 182
Avoid really long methods. 217
Avoid variables with short names 217
The method 'parseArgs' has a Cyclomatic Complexity of 51. 217
Avoid using if statements without curly braces 219
Avoid variables with short names 221
Avoid variables with short names 224
Avoid using 'if...else' statements without curly braces 225
Avoid using 'if...else' statements without curly braces 228
Avoid using 'if...else' statements without curly braces 231
Avoid using 'if...else' statements without curly braces 244
Avoid using 'if...else' statements without curly braces 247
Avoid using 'if...else' statements without curly braces 250
Avoid using 'if...else' statements without curly braces 253
Avoid using 'if...else' statements without curly braces 256
Avoid using 'if...else' statements without curly braces 259
Avoid using 'if...else' statements without curly braces 262
Avoid using 'if...else' statements without curly braces 265
Avoid using if statements without curly braces 270
Avoid using if statements without curly braces 276
Avoid using if statements without curly braces 282
Avoid using if statements without curly braces 288
Avoid using if statements without curly braces 294
Avoid using if statements without curly braces 300
Avoid using if statements without curly braces 306
Avoid using if statements without curly braces 312
Avoid using if statements without curly braces 318
Avoid using if statements without curly braces 324
Avoid using if statements without curly braces 330
Avoid using if statements without curly braces 336
Avoid using if statements without curly braces 342
Avoid using if statements without curly braces 348
Avoid using if statements without curly braces 350
Avoid using 'if...else' statements without curly braces 354
Avoid using 'if...else' statements without curly braces 357
Avoid using 'if...else' statements without curly braces 360
Avoid using 'if...else' statements without curly braces 363
Avoid using if statements without curly braces 377
Avoid really long methods. 381
Avoid reassigning parameters such as 'printstream' 381
The method 'doCommands' has a Cyclomatic Complexity of 54. 381
Avoid using if statements without curly braces 384
Avoid variables with short names 392
Avoid using 'if...else' statements without curly braces 394
Avoid excessively long variable names 401
Avoid using if statements without curly braces 415
The same String literal appears 4 times in this file; the first occurrence is on line 415 415
Avoid using if statements without curly braces 417
The same String literal appears 4 times in this file; the first occurrence is on line 419 419
Avoid using if statements without curly braces 421
Avoid using if statements without curly braces 426
Avoid excessively long variable names 430
Avoid using if statements without curly braces 432
The same String literal appears 4 times in this file; the first occurrence is on line 432 432
Avoid using if statements without curly braces 439
The same String literal appears 4 times in this file; the first occurrence is on line 439 439
Avoid using if statements without curly braces 445
Avoid using 'if...else' statements without curly braces 448
Avoid using if statements without curly braces 453
Avoid using if statements without curly braces 457
Avoid variables with short names 463
Avoid using if statements without curly braces 495
Avoid using if statements without curly braces 497
Avoid excessively long variable names 509
Avoid excessively long variable names 532
Avoid using if statements without curly braces 547
Avoid using if statements without curly braces 554
Avoid variables with short names 556
Avoid using 'if...else' statements without curly braces 560
Avoid using 'if...else' statements without curly braces 567
Avoid using 'if...else' statements without curly braces 587
Avoid using if statements without curly braces 595
Avoid using if statements without curly braces 607
Avoid excessively long variable names 615
Avoid excessively long variable names 621
Avoid reassigning parameters such as 's' 627
Avoid reassigning parameters such as 's1' 627
Avoid variables with short names 627
Avoid using if statements without curly braces 630
Avoid using if statements without curly braces 634
Avoid excessively long variable names 639
Avoid variables with short names 648
Avoid using 'if...else' statements without curly braces 649
Avoid using 'if...else' statements without curly braces 652
Avoid variables with short names 665
Avoid excessively long variable names 670
The same String literal appears 4 times in this file; the first occurrence is on line 670 670
Avoid reassigning parameters such as 's' 682
Avoid variables with short names 682
Avoid using if statements without curly braces 685
Avoid using if statements without curly braces 687
Avoid excessively long variable names 691
Avoid excessively long variable names 697
Avoid excessively long variable names 700
Avoid reassigning parameters such as 's' 712
Avoid reassigning parameters such as 's3' 712
Avoid variables with short names 712
The method 'doGenKeyPair' has a Cyclomatic Complexity of 13. 712
Avoid using if statements without curly braces 715
Avoid excessively long variable names 719
Avoid using if statements without curly braces 725
Avoid using 'if...else' statements without curly braces 726
Avoid using 'if...else' statements without curly braces 729
Avoid excessively long variable names 733
Avoid using 'if...else' statements without curly braces 735
Avoid excessively long variable names 741
Avoid excessively long variable names 749
Avoid variables with short names 753
Avoid excessively long variable names 756
Avoid using 'if...else' statements without curly braces 764
Avoid using if statements without curly braces 774
Avoid reassigning parameters such as 's' 780
Avoid variables with short names 780
Avoid using if statements without curly braces 783
Avoid excessively long variable names 787
Avoid using if statements without curly braces 795
Avoid variables with short names 799
Avoid using if statements without curly braces 810
Avoid reassigning parameters such as 's' 816
Avoid variables with short names 816
Avoid using if statements without curly braces 819
Avoid using if statements without curly braces 823
Avoid excessively long variable names 827
Avoid unused local variables such as 'flag' 840
Avoid excessively long variable names 841
Avoid excessively long variable names 846
Avoid using if statements without curly braces 847
Avoid excessively long variable names 851
Avoid excessively long variable names 858
Avoid using if statements without curly braces 859
Avoid excessively long variable names 861
Avoid excessively long variable names 864
Avoid excessively long variable names 881
Avoid using if statements without curly braces 886
Avoid using if statements without curly braces 897
Avoid variables with short names 901
The method 'doPrintEntry' has a Cyclomatic Complexity of 14. 901
Avoid using if statements without curly braces 904
Avoid excessively long variable names 908
Avoid excessively long variable names 916
Avoid excessively long variable names 928
Avoid using 'if...else' statements without curly braces 936
Avoid using if statements without curly braces 941
Avoid excessively long variable names 947
Avoid using 'if...else' statements without curly braces 952
Avoid using 'if...else' statements without curly braces 955
Avoid using 'if...else' statements without curly braces 992
Avoid excessively long variable names 999
Avoid variables with short names 1007
Avoid excessively long variable names 1027
Avoid using if statements without curly braces 1031
Avoid excessively long variable names 1036
Avoid excessively long variable names 1041
Avoid excessively long variable names 1047
Avoid using if statements without curly braces 1054
Avoid reassigning parameters such as 's' 1060
Avoid reassigning parameters such as 's2' 1060
Avoid variables with short names 1060
The method 'doSelfCert' has a Cyclomatic Complexity of 10. 1060
Avoid using if statements without curly braces 1063
Avoid using if statements without curly braces 1067
Avoid variables with short names 1071
Avoid using 'if...else' statements without curly braces 1072
Avoid using 'if...else' statements without curly braces 1075
Avoid excessively long variable names 1083
Avoid excessively long variable names 1091
Avoid excessively long variable names 1103
Avoid excessively long variable names 1116
Avoid reassigning parameters such as 's' 1133
Avoid variables with short names 1133
Avoid using if statements without curly braces 1136
Avoid using if statements without curly braces 1140
Avoid excessively long variable names 1145
Avoid using if statements without curly braces 1152
Avoid excessively long variable names 1155
Avoid using 'if...else' statements without curly braces 1156
Avoid variables with short names 1170
The method 'addTrustedCert' has a Cyclomatic Complexity of 11. 1170
Avoid excessively long variable names 1173
Avoid using if statements without curly braces 1174
Avoid excessively long variable names 1178
Avoid excessively long variable names 1189
Avoid excessively long variable names 1193
Avoid variables with short names 1208
Avoid variables with short names 1209
Avoid excessively long variable names 1212
Avoid excessively long variable names 1223
Avoid using if statements without curly braces 1236
Avoid unused local variables such as 'acertificate' 1245
Avoid variables with short names 1267
Avoid unused local variables such as 'obj' 1270
Avoid excessively long variable names 1274
Avoid using 'if...else' statements without curly braces 1280
Avoid excessively long variable names 1288
Avoid variables with short names 1318
Avoid excessively long variable names 1323
Avoid variables with short names 1335
Avoid variables with short names 1338
Avoid excessively long variable names 1344
Avoid excessively long variable names 1356
Avoid using if statements without curly braces 1364
Avoid using 'if...else' statements without curly braces 1368
Avoid reassigning parameters such as 'inputstream' 1374
Avoid variables with short names 1377
Avoid variables with short names 1379
Avoid variables with short names 1380
Avoid variables with short names 1381
Avoid variables with short names 1391
Avoid using if statements without curly braces 1392
Avoid using if statements without curly braces 1394
Avoid excessively long variable names 1424
Avoid excessively long variable names 1427
Avoid excessively long variable names 1434
Avoid using if statements without curly braces 1442
Avoid excessively long variable names 1450
Avoid variables with short names 1451
Avoid variables with short names 1452
Avoid variables with short names 1453
Avoid variables with short names 1454
Avoid variables with short names 1455
Avoid variables with short names 1456
Avoid variables with short names 1457
Avoid excessively long variable names 1468
Avoid excessively long variable names 1478
Avoid variables with short names 1478
Avoid excessively long variable names 1482
Avoid variables with short names 1488
Avoid using if statements without curly braces 1489
Avoid excessively long variable names 1499
Avoid variables with short names 1511
Avoid variables with short names 1515
Avoid variables with short names 1516
Avoid variables with short names 1524
Avoid using if statements without curly braces 1528
Avoid reassigning parameters such as 'ac1' 1535
Avoid variables with short names 1535
Avoid excessively long variable names 1541
Avoid excessively long variable names 1549
Avoid using 'if...else' statements without curly braces 1555
Avoid excessively long variable names 1561
Avoid using 'if...else' statements without curly braces 1568
Avoid variables with short names 1576
Avoid excessively long variable names 1580
Avoid reassigning parameters such as 'acertificate' 1596
Avoid variables with short names 1596
The method 'validateReply' has a Cyclomatic Complexity of 17. 1596
Avoid variables with short names 1600
Avoid using 'for' statements without curly braces 1601
Avoid using if statements without curly braces 1602
Avoid excessively long variable names 1607
Avoid variables with short names 1619
Avoid using if statements without curly braces 1623
Avoid using if statements without curly braces 1632
Avoid using if statements without curly braces 1649
Avoid variables with short names 1661
Avoid using if statements without curly braces 1663
Avoid empty catch blocks 1671
Avoid variables with short names 1681
Avoid using if statements without curly braces 1682
Avoid excessively long variable names 1687
Avoid using if statements without curly braces 1703
Avoid using if statements without curly braces 1705
Avoid using if statements without curly braces 1716
Avoid variables with short names 1724
Avoid excessively long variable names 1738
Avoid using implementation types like 'Vector'; use the interface instead 1738
Avoid using if statements without curly braces 1748
Avoid excessively long variable names 1753
Avoid variables with short names 1772
Avoid variables with short names 1775
Avoid using 'if...else' statements without curly braces 1781
Avoid variables with short names 1799
Avoid excessively long variable names 1806
Avoid variables with short names 1819
Avoid using if statements without curly braces 1830
The same String literal appears 8 times in this file; the first occurrence is on line 1,843 1843
The same String literal appears 8 times in this file; the first occurrence is on line 1,844 1844
Avoid using implementation types like 'Vector'; use the interface instead 1914
Avoid variables with short names 1930
Avoid variables with short names 1932

om/sun/xml/registry/client/browser/registration/PersonNameModel.java

Violation Line
Avoid reassigning parameters such as 'text' 34
The same String literal appears 6 times in this file; the first occurrence is on line 41 41
Avoid reassigning parameters such as 'text' 51
Avoid reassigning parameters such as 'text' 68

om/sun/xml/registry/client/browser/registration/PersonNamePanel.java

Violation Line
Avoid variables with short names 40
Avoid excessively long variable names 43
Avoid excessively long variable names 50
Avoid excessively long variable names 58
Avoid excessively long variable names 65
Avoid excessively long variable names 73

om/sun/xml/registry/client/browser/registration/PostalAddressModel.java

Violation Line
Avoid excessively long variable names 28
Avoid variables with short names 39
Avoid reassigning parameters such as 'streetNum' 50
Avoid excessively long variable names 57
Avoid excessively long variable names 63
The same String literal appears 30 times in this file; the first occurrence is on line 63 63
Avoid reassigning parameters such as 'street' 74
Avoid excessively long variable names 81
Avoid excessively long variable names 86
Avoid reassigning parameters such as 'city' 97
Avoid excessively long variable names 104
Avoid excessively long variable names 109
Avoid reassigning parameters such as 'state' 120
Avoid excessively long variable names 127
Avoid excessively long variable names 132
Avoid reassigning parameters such as 'code' 143
Avoid excessively long variable names 150
Avoid excessively long variable names 155
Avoid reassigning parameters such as 'country' 166
Avoid excessively long variable names 173
Avoid excessively long variable names 178
Avoid variables with short names 196

om/sun/xml/registry/client/browser/registration/PostalAddressPanel.java

Violation Line
The class 'PostalAddressPanel' has a Cyclomatic Complexity of 10 (Highest = 19). 33
Avoid excessively long variable names 37
Avoid excessively long variable names 41
The constructor 'PostalAddressPanel' has a Cyclomatic Complexity of 19. 45
Avoid variables with short names 52
Avoid excessively long variable names 55
Avoid excessively long variable names 139
Avoid excessively long variable names 193

om/sun/xml/registry/client/browser/registration/TelephoneNumberModel.java

Violation Line
Avoid variables with short names 40
Avoid reassigning parameters such as 'countryCode' 51
Avoid reassigning parameters such as 'areaCode' 77
Avoid reassigning parameters such as 'number' 102
Avoid reassigning parameters such as 'extension' 127
Avoid reassigning parameters such as 'url' 152
Avoid variables with short names 183

om/sun/xml/registry/client/browser/registration/TelephoneNumberPanel.java

Violation Line
The class 'TelephoneNumberPanel' has a Cyclomatic Complexity of 9 (Highest = 16). 33
Avoid excessively long variable names 37
Avoid excessively long variable names 40
The constructor 'TelephoneNumberPanel' has a Cyclomatic Complexity of 16. 44
Avoid variables with short names 50
Avoid excessively long variable names 53
Avoid excessively long variable names 74
Avoid excessively long variable names 116

om/sun/xml/registry/client/browser/registration/UserManager.java

Violation Line
Avoid variables with short names 51
Avoid variables with short names 95
Avoid variables with short names 117
Avoid variables with short names 145
Avoid excessively long variable names 157
Avoid instantiating String objects; this is usually unnecessary. 188
Avoid variables with short names 199
Avoid empty catch blocks 201
Avoid instantiating String objects; this is usually unnecessary. 221
Avoid instantiating String objects; this is usually unnecessary. 223
Avoid instantiating String objects; this is usually unnecessary. 244

om/sun/xml/registry/client/browser/registration/UserModel.java

Violation Line
Avoid unused imports such as 'RegistryBrowser' 12
Avoid unused imports such as 'InternationalString' 14
Avoid excessively long variable names 34
Avoid excessively long variable names 38
Avoid variables with short names 44

om/sun/xml/registry/client/browser/registration/UserRegistrationDialog.java

Violation Line
Avoid unused imports such as 'JAXRClient' 13
Avoid unused imports such as 'ConnectionImpl' 17
Avoid unused imports such as 'RegistryServiceImpl' 18
Avoid unused imports such as 'ArrayList' 20
Avoid unused imports such as 'BusinessLifeCycleManager' 21
Avoid unused imports such as 'JAXRException' 22
Avoid unused imports such as 'Log' 23
Avoid variables with short names 42
Avoid variables with short names 61

om/sun/xml/registry/client/browser/registration/UserRegistrationPanel.java

Violation Line
Avoid unused imports such as 'JOptionPane' 17
Avoid unused imports such as 'DocumentEvent' 22
Avoid unused imports such as 'DocumentListener' 23
Avoid unused imports such as 'Document' 24
Avoid variables with short names 53
Avoid excessively long variable names 59
Avoid variables with short names 106

om/sun/xml/registry/client/browser/swing/MappedDocumentListener.java

Violation Line
Avoid unused imports such as 'JPanel' 12
Avoid variables with short names 35
Avoid variables with short names 45

om/sun/xml/registry/client/browser/swing/RegistryComboBoxListener.java

Violation Line
Avoid variables with short names 34
Avoid variables with short names 45
Avoid variables with short names 46

om/sun/xml/registry/client/browser/swing/RegistryDocumentListener.java

Violation Line
Avoid variables with short names 42
Avoid variables with short names 53
Avoid variables with short names 63
Avoid variables with short names 73
Avoid variables with short names 84
Avoid variables with short names 90

om/sun/xml/registry/client/browser/swing/RegistryMappedModel.java

Violation Line
Avoid variables with short names 33
Avoid variables with short names 46

om/sun/xml/registry/client/browser/swing/RegistryMappedPanel.java

Violation Line
Avoid excessively long variable names 35
Avoid variables with short names 78
Avoid variables with short names 81
Avoid variables with short names 91
Avoid variables with short names 145

om/sun/xml/registry/client/util/RegistryObjectUtil.java

Violation Line
All methods are static. Consider using Singleton instead. 10
Avoid variables with short names 38
Avoid variables with short names 55
Avoid variables with short names 83
Avoid variables with short names 90

om/sun/xml/registry/ebxml/BulkResponseImpl.java

Violation Line
The class 'BulkResponseImpl' has a Cyclomatic Complexity of 3 (Highest = 17). 39
Avoid using implementation types like 'ArrayList'; use the interface instead 42
Avoid excessively long variable names 43
Avoid using implementation types like 'ArrayList'; use the interface instead 43
Avoid excessively long variable names 59
Avoid using implementation types like 'HashMap'; use the interface instead 59
Avoid unused local variables such as 'gcr' 88
Avoid variables with short names 122
Avoid really long methods. 201
The method 'processSqlQueryResult' has a Cyclomatic Complexity of 17. 201
Avoid excessively long variable names 261
Avoid excessively long variable names 265
Avoid excessively long variable names 272
Avoid variables with short names 323
Avoid unused formal parameters such as 'filterResult' 342
Avoid unused formal parameters such as 'lcm' 342
Avoid using implementation types like 'HashMap'; use the interface instead 350
Avoid variables with short names 367
Avoid variables with short names 374

om/sun/xml/registry/ebxml/BusinessLifeCycleManagerImpl.java

Violation Line
Avoid excessively long variable names 39
Avoid excessively long variable names 186
Avoid variables with short names 277

om/sun/xml/registry/ebxml/BusinessQueryManagerImpl.java

Violation Line
Avoid excessively long variable names 22
Avoid excessively long variable names 23
Avoid variables with short names 25
Avoid excessively long variable names 27
Avoid using implementation types like 'HashMap'; use the interface instead 27
Avoid excessively long variable names 44
Avoid excessively long variable names 45
Avoid excessively long variable names 46
Avoid excessively long variable names 47
Avoid empty 'if' statements 71
Avoid excessively long variable names 80
Avoid excessively long variable names 81
Avoid excessively long variable names 82
Avoid excessively long variable names 83
Avoid variables with short names 92
Avoid excessively long variable names 95
Avoid excessively long variable names 102
Avoid reassigning parameters such as 'objectType' 114
Avoid excessively long variable names 115
Avoid excessively long variable names 117
Avoid excessively long variable names 118
Avoid excessively long variable names 119
Avoid excessively long variable names 120
Avoid excessively long variable names 140
Avoid excessively long variable names 142
Avoid excessively long variable names 143
Avoid excessively long variable names 144
Avoid excessively long variable names 145
Avoid excessively long variable names 164
Avoid excessively long variable names 166
Avoid excessively long variable names 167
Avoid excessively long variable names 187
Avoid excessively long variable names 188
Avoid excessively long variable names 189
Avoid excessively long variable names 205
Avoid excessively long variable names 207
Avoid excessively long variable names 208
Avoid excessively long variable names 229
Avoid variables with short names 235
Avoid variables with short names 237
Avoid variables with short names 238
Avoid excessively long variable names 265
Avoid excessively long variable names 267
Avoid excessively long variable names 268
Avoid excessively long variable names 269
Avoid reassigning parameters such as 'path' 288
The same String literal appears 6 times in this file; the first occurrence is on line 296 296
Avoid variables with short names 312
Deeply nested if..then statements are hard to read 326
Avoid excessively long variable names 366
Avoid excessively long variable names 368
Avoid excessively long variable names 369
Avoid excessively long variable names 377
Avoid variables with short names 389
Avoid excessively long variable names 398
Avoid variables with short names 414
Avoid excessively long variable names 427
Avoid excessively long variable names 429
Avoid variables with short names 435
The same String literal appears 4 times in this file; the first occurrence is on line 435 435
Avoid excessively long variable names 446
Avoid variables with short names 448
Avoid variables with short names 449
Avoid empty 'if' statements 464

om/sun/xml/registry/ebxml/ConnectionFactoryImpl.java

Violation Line
Avoid excessively long variable names 38
Avoid variables with short names 116
Avoid variables with short names 138
Avoid variables with short names 146

om/sun/xml/registry/ebxml/ConnectionImpl.java

Violation Line
Avoid unused imports such as 'DialogCallbackHandler' 13
Avoid unused imports such as 'RegistryPackageImpl' 15
Avoid unused imports such as 'I18nUtil' 16
Avoid unused imports such as 'KeystoreUtil' 17
Avoid unused imports such as 'File' 23
Avoid unused imports such as 'FileOutputStream' 24
Avoid unused imports such as 'IOException' 25
Avoid unused imports such as 'PrintWriter' 26
Avoid unused imports such as 'ArrayList' 28
Avoid unused imports such as 'BulkResponse' 40
Avoid unused imports such as 'BusinessLifeCycleManager' 41
Avoid unused imports such as 'User' 45
Avoid excessively long variable names 57
Avoid excessively long variable names 58
Avoid excessively long variable names 63
Avoid variables with short names 272
Avoid excessively long variable names 353
Avoid variables with short names 373
Avoid excessively long variable names 378
Avoid excessively long variable names 388
Avoid variables with short names 394
Avoid variables with short names 402
Avoid excessively long variable names 412

om/sun/xml/registry/ebxml/DeclarativeQueryManagerImpl.java

Violation Line
Avoid variables with short names 79
Avoid variables with short names 84
Avoid variables with short names 87
Avoid variables with short names 89

om/sun/xml/registry/ebxml/LifeCycleManagerImpl.java

Violation Line
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult. 7
No need to import a type that's in the same package 16
Avoid really long Classes. 39
The class 'LifeCycleManagerImpl' has a Cyclomatic Complexity of 2 (Highest = 25). 39
Avoid excessively long variable names 42
Avoid using implementation types like 'HashSet'; use the interface instead 42
Avoid excessively long variable names 43
Avoid using implementation types like 'HashMap'; use the interface instead 43
Avoid reassigning parameters such as 'className' 78
Avoid variables with short names 99
Avoid variables with short names 102
Avoid variables with short names 105
Avoid variables with short names 108
Avoid variables with short names 111
Avoid variables with short names 114
Avoid variables with short names 117
Avoid excessively long variable names 137
Avoid variables with short names 161
Avoid variables with short names 162
Avoid variables with short names 182
Avoid variables with short names 205
Avoid variables with short names 390
Avoid excessively long variable names 471
Avoid variables with short names 474
Avoid variables with short names 521
Avoid variables with short names 536
Avoid variables with short names 537
Avoid variables with short names 540
Avoid variables with short names 544
Avoid variables with short names 560
Avoid variables with short names 568
Avoid variables with short names 574
Avoid variables with short names 592
Avoid variables with short names 616
Avoid variables with short names 637
Avoid excessively long variable names 712
Avoid variables with short names 741
Avoid variables with short names 773
Avoid excessively long variable names 806
Avoid variables with short names 828
Avoid variables with short names 883
Avoid excessively long variable names 903
Avoid variables with short names 914
Avoid variables with short names 923
Avoid excessively long variable names 949
Avoid excessively long variable names 950
Avoid excessively long variable names 951
Avoid excessively long variable names 988
Avoid using implementation types like 'HashSet'; use the interface instead 988
Avoid excessively long variable names 1028
Avoid using implementation types like 'HashSet'; use the interface instead 1028
Avoid variables with short names 1034
Avoid excessively long variable names 1060
Avoid using implementation types like 'HashSet'; use the interface instead 1060
Avoid variables with short names 1060
The same String literal appears 4 times in this file; the first occurrence is on line 1,075 1075
Avoid excessively long variable names 1091
Avoid really long methods. 1112
Avoid unused formal parameters such as 'processedObjects' 1112
The method 'makeLeafRegistryObjectList' has a Cyclomatic Complexity of 25. 1112
Avoid excessively long variable names 1113
Avoid using implementation types like 'HashMap'; use the interface instead 1113
Avoid using implementation types like 'HashSet'; use the interface instead 1113
Avoid variables with short names 1129
Avoid variables with short names 1133
Avoid variables with short names 1164
Avoid variables with short names 1167
Avoid variables with short names 1219
Avoid using implementation types like 'HashMap'; use the interface instead 1240
Avoid variables with short names 1246
Avoid variables with short names 1249
Avoid variables with short names 1251
Avoid unused private methods such as 'doUpdateObjectsRequest' 1263
Avoid using implementation types like 'HashMap'; use the interface instead 1264
Avoid variables with short names 1270
Avoid variables with short names 1273
Avoid variables with short names 1275
Avoid variables with short names 1291
Avoid variables with short names 1298
Avoid variables with short names 1315
Avoid variables with short names 1349
Avoid variables with short names 1352
Avoid variables with short names 1354
Avoid variables with short names 1405
Avoid variables with short names 1408
Avoid variables with short names 1410
Avoid variables with short names 1509
Avoid variables with short names 1534
Avoid variables with short names 1555
Avoid using implementation types like 'HashMap'; use the interface instead 1560

om/sun/xml/registry/ebxml/ObjectCache.java

Violation Line
Avoid excessively long variable names 22
Avoid using implementation types like 'HashMap'; use the interface instead 22
Avoid variables with short names 33
Avoid empty 'if' statements 57
Avoid variables with short names 62
Avoid variables with short names 66

om/sun/xml/registry/ebxml/QueryManagerImpl.java

Violation Line
Avoid unused imports such as 'ConceptImpl' 9
Avoid excessively long variable names 20
Avoid unused private fields such as 'schemeToValueMap' 20
Avoid using implementation types like 'HashMap'; use the interface instead 20
Avoid excessively long variable names 21
Avoid unused private fields such as 'valueToConceptMap' 21
Avoid using implementation types like 'HashMap'; use the interface instead 21
Avoid variables with short names 48
Avoid variables with short names 65
The same String literal appears 4 times in this file; the first occurrence is on line 66 66
Avoid variables with short names 129
Avoid variables with short names 223
Avoid variables with short names 238

om/sun/xml/registry/ebxml/RegistryServiceImpl.java

Violation Line
Avoid excessively long variable names 22

om/sun/xml/registry/ebxml/SoapMessenger.java

Violation Line
Avoid duplicate imports such as 'org.w3c.dom' 34
Avoid unused imports such as 'LogFactory' 42
Avoid unused imports such as 'ResourceResolver' 45
Avoid unused imports such as 'ResolverLocalFilesystem' 46
Avoid unused imports such as 'XMLUtils' 47
Avoid excessively long variable names 65
Avoid variables with short names 71
Avoid variables with short names 95
Avoid empty catch blocks 96
Avoid excessively long variable names 110
Avoid excessively long variable names 131
Avoid using implementation types like 'HashMap'; use the interface instead 132
Avoid excessively long variable names 153
Avoid reassigning parameters such as 'requestString' 153
Avoid using implementation types like 'HashMap'; use the interface instead 154
Avoid variables with short names 209
Avoid excessively long variable names 215
Avoid variables with short names 218
Avoid variables with short names 220
Avoid variables with short names 222
Avoid variables with short names 224
Avoid variables with short names 227
Avoid variables with short names 229
Avoid variables with short names 231
Avoid using implementation types like 'HashMap'; use the interface instead 273
Avoid variables with short names 278
Avoid variables with short names 280
Avoid variables with short names 318
Avoid variables with short names 325
Avoid excessively long variable names 333
Avoid excessively long variable names 343
Avoid excessively long variable names 344
Avoid excessively long variable names 345
Avoid excessively long variable names 353
Avoid excessively long variable names 357
Avoid variables with short names 361
Avoid variables with short names 376
Avoid variables with short names 385
Avoid reassigning parameters such as 'node' 430
Avoid using implementation types like 'HashMap'; use the interface instead 472
Avoid variables with short names 482
Avoid variables with short names 498
Avoid variables with short names 507

om/sun/xml/registry/ebxml/infomodel/AssociationImpl.java

Violation Line
Avoid duplicate imports such as 'javax.xml.registry.LifeCycleManager' 17
Avoid unused imports such as 'ObjectRef' 20
Avoid excessively long variable names 30
Avoid excessively long variable names 31
Avoid excessively long variable names 32
Avoid excessively long variable names 33
Avoid excessively long variable names 34
Avoid excessively long variable names 35
Avoid excessively long variable names 36
Avoid excessively long variable names 37
Avoid excessively long variable names 38
Avoid excessively long variable names 39
Avoid excessively long variable names 40
Avoid excessively long variable names 41
Avoid excessively long variable names 42
Avoid excessively long variable names 43
Avoid excessively long variable names 44
Avoid excessively long variable names 45
Avoid excessively long variable names 46
Avoid excessively long variable names 48
Avoid excessively long variable names 52
Avoid excessively long variable names 53
Avoid excessively long variable names 56
Avoid excessively long variable names 57
Avoid using implementation types like 'HashMap'; use the interface instead 57
Avoid unused local variables such as 'dqm' 72
Avoid variables with short names 114
Avoid variables with short names 121
Avoid variables with short names 124
Avoid variables with short names 126
Avoid excessively long variable names 161
Avoid excessively long variable names 186
Avoid unnecessary if..then..else statements when returning a boolean 232
Avoid excessively long variable names 273
Avoid excessively long variable names 280
Avoid excessively long variable names 285
Avoid using implementation types like 'HashSet'; use the interface instead 295

om/sun/xml/registry/ebxml/infomodel/AuditableEventImpl.java

Violation Line
Avoid excessively long variable names 27
Avoid variables with short names 67
Avoid variables with short names 70
Avoid variables with short names 72
Avoid variables with short names 101

om/sun/xml/registry/ebxml/infomodel/ClassificationImpl.java

Violation Line
Avoid excessively long variable names 30
Avoid excessively long variable names 38
Avoid variables with short names 64
Avoid variables with short names 67
Avoid variables with short names 69
Avoid excessively long variable names 151
Avoid variables with short names 159
Avoid excessively long variable names 168
Avoid excessively long variable names 189
Avoid excessively long variable names 197
Avoid excessively long variable names 207
Avoid excessively long variable names 213
Avoid using implementation types like 'HashSet'; use the interface instead 229

om/sun/xml/registry/ebxml/infomodel/ClassificationSchemeImpl.java

Violation Line
Avoid using implementation types like 'ArrayList'; use the interface instead 26
Avoid excessively long variable names 27
Avoid variables with short names 78
Avoid variables with short names 81
Avoid variables with short names 83
Avoid variables with short names 89
Avoid variables with short names 124
Avoid variables with short names 136
Avoid excessively long variable names 145
Avoid excessively long variable names 193
Avoid using implementation types like 'HashSet'; use the interface instead 193
Avoid excessively long variable names 199
Switch statements should have a default label 217

om/sun/xml/registry/ebxml/infomodel/ConceptImpl.java

Violation Line
Avoid unused imports such as 'RegistryObjectType' 17
Avoid unused imports such as 'ObjectRef' 18
Avoid using implementation types like 'ArrayList'; use the interface instead 33
Avoid excessively long variable names 34
Avoid unused private methods such as 'dGetName' 75
Avoid variables with short names 81
Deeply nested if..then statements are hard to read 82
Avoid variables with short names 96
Avoid variables with short names 99
Avoid variables with short names 101
Avoid variables with short names 150
Avoid variables with short names 193
Avoid variables with short names 202
Avoid variables with short names 224
Avoid excessively long variable names 256
Avoid excessively long variable names 264
Avoid using implementation types like 'HashSet'; use the interface instead 264
Avoid excessively long variable names 269
Avoid variables with short names 304
Avoid using implementation types like 'HashSet'; use the interface instead 313
Avoid variables with short names 334

om/sun/xml/registry/ebxml/infomodel/EmailAddressImpl.java

Violation Line
Avoid excessively long variable names 65

om/sun/xml/registry/ebxml/infomodel/ExtensibleObjectImpl.java

Violation Line
Avoid using implementation types like 'TreeMap'; use the interface instead 29
Avoid calls to overridable methods during construction 52
Avoid excessively long variable names 204
Avoid using implementation types like 'HashSet'; use the interface instead 204

om/sun/xml/registry/ebxml/infomodel/ExternalIdentifierImpl.java

Violation Line
Avoid unused imports such as 'ObjectRef' 18
Avoid excessively long variable names 27
Avoid excessively long variable names 37
Avoid excessively long variable names 38
Avoid variables with short names 50
Avoid variables with short names 53
Avoid variables with short names 55
Avoid excessively long variable names 65
Avoid using implementation types like 'HashSet'; use the interface instead 118

om/sun/xml/registry/ebxml/infomodel/ExternalLinkImpl.java

Violation Line
Avoid unused imports such as 'ObjectRef' 17
Avoid variables with short names 45
Avoid variables with short names 48
Avoid variables with short names 50
Avoid variables with short names 57

om/sun/xml/registry/ebxml/infomodel/ExtrinsicObjectImpl.java

Violation Line
Avoid unused imports such as 'ObjectRef' 19
Avoid excessively long variable names 30
Avoid excessively long variable names 38
Deeply nested if..then statements are hard to read 53
Avoid excessively long variable names 67
Avoid variables with short names 90
Avoid variables with short names 93
Avoid variables with short names 95
Avoid excessively long variable names 162
Avoid excessively long variable names 170

om/sun/xml/registry/ebxml/infomodel/InternationalStringImpl.java

Violation Line
Avoid excessively long variable names 31
Avoid using implementation types like 'HashMap'; use the interface instead 31
Avoid variables with short names 50
Avoid calls to overridable methods during construction 51
Avoid variables with short names 57
Avoid variables with short names 67
Avoid variables with short names 81
Avoid variables with short names 94
Avoid excessively long variable names 98
Avoid variables with short names 101
Avoid variables with short names 106
Avoid excessively long variable names 115
Avoid variables with short names 118
Avoid excessively long variable names 129
Avoid reassigning parameters such as 'charset' 236
Avoid excessively long variable names 239
Avoid excessively long variable names 271
Avoid excessively long variable names 273
Avoid excessively long variable names 275
Avoid variables with short names 311
Avoid variables with short names 327
Avoid variables with short names 340

om/sun/xml/registry/ebxml/infomodel/KeyImpl.java

Violation Line
Avoid variables with short names 19

om/sun/xml/registry/ebxml/infomodel/LocalizedStringImpl.java

Violation Line
Avoid excessively long variable names 28
Avoid variables with short names 91

om/sun/xml/registry/ebxml/infomodel/OrganizationImpl.java

Violation Line
Avoid excessively long variable names 28
Avoid using implementation types like 'HashSet'; use the interface instead 29
Avoid using implementation types like 'ArrayList'; use the interface instead 31
Avoid using implementation types like 'ArrayList'; use the interface instead 32
Avoid using implementation types like 'HashSet'; use the interface instead 33
Avoid calls to overridable methods during construction 42
Avoid calls to overridable methods during construction 52
Avoid excessively long variable names 60
Avoid variables with short names 71
Avoid variables with short names 74
Avoid variables with short names 76
Avoid excessively long variable names 93
Avoid excessively long variable names 101
Avoid excessively long variable names 143
Avoid excessively long variable names 287
Avoid using implementation types like 'HashSet'; use the interface instead 287
Avoid excessively long variable names 317
Avoid excessively long variable names 358
Avoid using implementation types like 'HashSet'; use the interface instead 390
Avoid unused local variables such as 'i' 410
Avoid variables with short names 410
Avoid unused local variables such as 'j' 413
Avoid variables with short names 413

om/sun/xml/registry/ebxml/infomodel/PostalAddressImpl.java

Violation Line
Avoid excessively long variable names 24
Avoid variables with short names 174

om/sun/xml/registry/ebxml/infomodel/RegistryEntryImpl.java

Violation Line
Avoid excessively long variable names 97

om/sun/xml/registry/ebxml/infomodel/RegistryObjectImpl.java

Violation Line
A high number of public methods and attributes in an object can indicate the class may need to be broken up for exhaustive testing may prove difficult. 7
Avoid excessively long variable names 35
Avoid excessively long variable names 39
Avoid excessively long variable names 48
Avoid using implementation types like 'HashSet'; use the interface instead 48
Avoid variables with short names 131
Avoid excessively long variable names 138
Avoid variables with short names 194
Avoid variables with short names 199
Avoid excessively long variable names 204
Avoid variables with short names 213
Avoid excessively long variable names 220
Avoid excessively long variable names 235
Avoid excessively long variable names 254
Avoid excessively long variable names 255
Avoid variables with short names 258
Avoid variables with short names 297
Avoid variables with short names 334
Avoid variables with short names 357
Avoid variables with short names 381
Avoid variables with short names 399
Avoid variables with short names 410
Avoid variables with short names 414
Avoid excessively long variable names 460
Avoid excessively long variable names 466
Avoid excessively long variable names 512
Deeply nested if..then statements are hard to read 518
Avoid excessively long variable names 550
Avoid excessively long variable names 552
Avoid excessively long variable names 555
Avoid excessively long variable names 565
Avoid variables with short names 581
Avoid excessively long variable names 651
Avoid using implementation types like 'HashSet'; use the interface instead 651
Avoid unused local variables such as 'log' 654
Avoid excessively long variable names 658
Avoid variables with short names 701
Avoid using implementation types like 'HashSet'; use the interface instead 713
Avoid using implementation types like 'HashSet'; use the interface instead 741
Avoid variables with short names 752
Avoid variables with short names 756
Avoid empty catch blocks 757
Avoid variables with short names 776
Ensure you override both equals() and hashCode() 776
Avoid unnecessary if..then..else statements when returning a boolean 777
Avoid variables with short names 792
Avoid variables with short names 801

om/sun/xml/registry/ebxml/infomodel/RegistryObjectRef.java

Violation Line
Avoid variables with short names 27
Avoid variables with short names 48
Avoid variables with short names 54
Avoid variables with short names 58
Avoid variables with short names 62
Avoid variables with short names 66
Avoid variables with short names 70
Avoid variables with short names 75
Avoid variables with short names 79
Avoid variables with short names 83
Avoid variables with short names 106
Avoid variables with short names 112
Avoid variables with short names 124
Avoid variables with short names 128
Avoid empty catch blocks 129

om/sun/xml/registry/ebxml/infomodel/RegistryPackageImpl.java

Violation Line
Avoid unused imports such as 'ObjectRef' 17
Avoid variables with short names 39
Avoid variables with short names 42
Avoid variables with short names 44
Avoid excessively long variable names 50
Avoid excessively long variable names 58
Avoid excessively long variable names 61
Avoid excessively long variable names 67
Avoid excessively long variable names 81
Avoid excessively long variable names 84

om/sun/xml/registry/ebxml/infomodel/ServiceBindingImpl.java

Violation Line
Avoid unused imports such as 'ServiceType' 16
Avoid unused imports such as 'ObjectRef' 19
Avoid excessively long variable names 30
Avoid using implementation types like 'HashSet'; use the interface instead 31
Avoid excessively long variable names 47
Avoid calls to overridable methods during construction 54
Avoid variables with short names 60
Avoid variables with short names 63
Avoid variables with short names 65
Avoid excessively long variable names 86
Avoid excessively long variable names 97
Deeply nested if..then statements are hard to read 106
Deeply nested if..then statements are hard to read 143
Avoid excessively long variable names 228
Avoid excessively long variable names 249
Avoid using implementation types like 'HashSet'; use the interface instead 249
Avoid using implementation types like 'HashSet'; use the interface instead 265

om/sun/xml/registry/ebxml/infomodel/ServiceImpl.java

Violation Line
Avoid unused imports such as 'ObjectRef' 16
Avoid using implementation types like 'HashSet'; use the interface instead 27
Avoid calls to overridable methods during construction 40
Avoid variables with short names 46
Avoid variables with short names 49
Avoid variables with short names 51
Avoid excessively long variable names 134
Avoid using implementation types like 'HashSet'; use the interface instead 134

om/sun/xml/registry/ebxml/infomodel/SlotImpl.java

Violation Line
Avoid duplicate imports such as 'javax.xml.registry.infomodel' 12
Avoid duplicate imports such as 'java.util.ArrayList' 20
Avoid using implementation types like 'ArrayList'; use the interface instead 29
Avoid variables with short names 124

om/sun/xml/registry/ebxml/infomodel/SpecificationLinkImpl.java

Violation Line
Avoid unused imports such as 'ServiceBindingType' 17
Avoid unused imports such as 'ObjectRef' 19
Avoid excessively long variable names 28
Avoid excessively long variable names 29
Avoid using implementation types like 'ArrayList'; use the interface instead 30
Avoid excessively long variable names 58
Avoid variables with short names 66
Avoid variables with short names 69
Avoid variables with short names 71
Avoid excessively long variable names 78
Avoid excessively long variable names 86
Avoid excessively long variable names 146
Avoid excessively long variable names 187
Avoid using implementation types like 'HashSet'; use the interface instead 210

om/sun/xml/registry/ebxml/infomodel/TelephoneNumberImpl.java

Violation Line
Avoid excessively long variable names 109
Avoid excessively long variable names 123
Avoid variables with short names 144

om/sun/xml/registry/ebxml/infomodel/UserImpl.java

Violation Line
Avoid using implementation types like 'ArrayList'; use the interface instead 28
Avoid using implementation types like 'ArrayList'; use the interface instead 29
Avoid using implementation types like 'ArrayList'; use the interface instead 30
Avoid variables with short names 66
Avoid empty catch blocks 70
Avoid variables with short names 75
Avoid variables with short names 78
Avoid variables with short names 80
Avoid excessively long variable names 121
Avoid excessively long variable names 223
Avoid using implementation types like 'HashSet'; use the interface instead 297

om/sun/xml/registry/ebxml/jaas/DialogAuthenticationCallbackHandler.java

Violation Line
Avoid unused imports such as 'JAXRException' 35
The class 'DialogAuthenticationCallbackHandler' has a Cyclomatic Complexity of 4 (Highest = 11). 55
Avoid excessively long variable names 60
Avoid variables with short names 69
Avoid excessively long variable names 73
Avoid unused private fields such as 'pnlStorepass' 84
Avoid unused private fields such as 'lblStorepass' 85
Avoid unused private fields such as 'txtStorepass' 86
Avoid variables with short names 109
Avoid variables with short names 168
Avoid variables with short names 174
Avoid excessively long variable names 182
The method 'handle' has a Cyclomatic Complexity of 11. 212
Avoid empty 'if' statements 221
Avoid variables with short names 224
Avoid variables with short names 234
Avoid using if statements without curly braces 242
Avoid variables with short names 251

om/sun/xml/registry/ebxml/jaas/LoginModuleManager.java

Violation Line
Avoid unused imports such as 'InvocationTargetException' 13
Avoid unused imports such as 'DialogCallbackHandler' 22
Avoid really long Classes. 34
Avoid excessively long variable names 36
Avoid excessively long variable names 37
Avoid excessively long variable names 38
Avoid excessively long variable names 40
Avoid unused private fields such as 'FILE_SEPARATOR' 40
Avoid excessively long variable names 45
Avoid excessively long variable names 47
Avoid unused private fields such as 'DEFAULT_LOGIN_MODULE_CLASSNAME' 47
Avoid excessively long variable names 49
Avoid excessively long variable names 51
Avoid excessively long variable names 52
Avoid excessively long variable names 53
Avoid excessively long variable names 57
Avoid excessively long variable names 58
Avoid excessively long variable names 59
Avoid excessively long variable names 60
Avoid excessively long variable names 61
Avoid excessively long variable names 62
Avoid excessively long variable names 63
Avoid excessively long variable names 86
Avoid excessively long variable names 157
Avoid excessively long variable names 186
Avoid variables with short names 193
Avoid excessively long variable names 242
Avoid variables with short names 251
Avoid variables with short names 270
Avoid variables with short names 280
Avoid variables with short names 287
Avoid excessively long variable names 329
Avoid excessively long variable names 342
The same String literal appears 4 times in this file; the first occurrence is on line 345 345
Avoid excessively long variable names 349
Avoid excessively long variable names 360
Avoid unused private methods such as 'getDebugSetting' 393
Avoid excessively long variable names 397
Avoid unused private methods such as 'getBundledCfgFilename' 415
Avoid variables with short names 428
Avoid excessively long variable names 431
Avoid variables with short names 439
Avoid variables with short names 451
Avoid variables with short names 465
Avoid excessively long variable names 468
Avoid variables with short names 474
Avoid variables with short names 487
Avoid using if statements without curly braces 497
Avoid variables with short names 500
Avoid empty catch blocks 503
Avoid excessively long variable names 509
Avoid excessively long variable names 515
Avoid excessively long variable names 517
Avoid variables with short names 532
Avoid excessively long variable names 541
Avoid excessively long variable names 542
Avoid excessively long variable names 543
Avoid excessively long variable names 546
Avoid excessively long variable names 547
Avoid unused local variables such as 'tmpAppName' 556
Avoid excessively long variable names 557
Avoid excessively long variable names 560
Avoid excessively long variable names 595
Avoid variables with short names 622
Avoid excessively long variable names 629
Avoid excessively long variable names 630
Avoid using if statements without curly braces 636
Avoid using if statements without curly braces 640
Avoid excessively long variable names 648
Avoid excessively long variable names 649
Avoid excessively long variable names 652
Avoid variables with short names 662
Avoid excessively long variable names 670
The same String literal appears 5 times in this file; the first occurrence is on line 671 671
Avoid excessively long variable names 672
Avoid variables with short names 680
Avoid excessively long variable names 704
Avoid excessively long variable names 705
Avoid excessively long variable names 714
Avoid excessively long variable names 716
Avoid variables with short names 725
Avoid excessively long variable names 747
Avoid excessively long variable names 748
Avoid excessively long variable names 757
Avoid variables with short names 768
Avoid excessively long variable names 788
Avoid excessively long variable names 789
Avoid excessively long variable names 795
Avoid excessively long variable names 801
Avoid excessively long variable names 813
Avoid excessively long variable names 816
Avoid excessively long variable names 819
Avoid excessively long variable names 837
Avoid excessively long variable names 840
Avoid excessively long variable names 841
Avoid using if statements without curly braces 844
Avoid excessively long variable names 846
Avoid excessively long variable names 848
Avoid excessively long variable names 853
Avoid variables with short names 858
Avoid empty catch blocks 862
Avoid variables with short names 871
Avoid empty catch blocks 875
Avoid variables with short names 913
Avoid variables with short names 923
Avoid variables with short names 937
Avoid empty catch blocks 940
Avoid excessively long variable names 946
Avoid excessively long variable names 948
Avoid variables with short names 963
Avoid excessively long variable names 969
Avoid variables with short names 979
Avoid variables with short names 991
Avoid empty catch blocks 994
Avoid excessively long variable names 999
Avoid variables with short names 1010
Avoid variables with short names 1022
Avoid empty catch blocks 1025
Avoid excessively long variable names 1032
Avoid excessively long variable names 1035
Avoid unused local variables such as 'securityProps' 1035
Avoid variables with short names 1047
Avoid variables with short names 1057
Avoid excessively long variable names 1063
Avoid variables with short names 1067
Avoid variables with short names 1085
Avoid using if statements without curly braces 1093
Avoid variables with short names 1096
Avoid empty catch blocks 1099
Avoid reassigning parameters such as 'appName' 1108
Avoid excessively long variable names 1110
Avoid excessively long variable names 1116
Avoid variables with short names 1123
Avoid empty catch blocks 1126
Avoid variables with short names 1128
Avoid variables with short names 1169
Avoid empty catch blocks 1172
Avoid excessively long variable names 1178
Avoid variables with short names 1197
Avoid excessively long variable names 1204
Avoid reassigning parameters such as 'userCfgContents' 1204
Avoid excessively long variable names 1210
Avoid excessively long variable names 1217
Avoid instantiating String objects; this is usually unnecessary. 1223
Avoid excessively long variable names 1224
Avoid variables with short names 1235
Avoid variables with short names 1242
Avoid empty catch blocks 1245
Avoid instantiating String objects; this is usually unnecessary. 1252
Avoid excessively long variable names 1253
Avoid excessively long variable names 1263
Avoid variables with short names 1266
Avoid variables with short names 1270
Avoid empty catch blocks 1273

om/sun/xml/registry/ebxml/util/BindingUtil.java

Violation Line
Avoid variables with short names 30
Avoid variables with short names 45
Avoid variables with short names 48
Avoid variables with short names 50

om/sun/xml/registry/ebxml/util/I18nUtil.java

Violation Line
Avoid variables with short names 43

om/sun/xml/registry/ebxml/util/KeystoreUtil.java

Violation Line
All methods are static. Consider using Singleton instead. 10
Avoid excessively long variable names 32
Avoid excessively long variable names 39
Avoid using if statements without curly braces 58
Avoid using if statements without curly braces 62
Avoid variables with short names 66
Avoid variables with short names 88

om/sun/xml/registry/ebxml/util/ProviderProperties.java

Violation Line
The class 'ProviderProperties' has a Cyclomatic Complexity of 3 (Highest = 10). 47
Avoid excessively long variable names 48
Avoid excessively long variable names 49
Avoid excessively long variable names 62
The same String literal appears 5 times in this file; the first occurrence is on line 67 67
Avoid variables with short names 82
Avoid variables with short names 86
Avoid empty catch blocks 88
Avoid variables with short names 129
Avoid variables with short names 131
Avoid variables with short names 177
The method 'substituteVariables' has a Cyclomatic Complexity of 10. 200
Avoid variables with short names 209
Avoid excessively long variable names 214
Avoid using if statements without curly braces 215
Deeply nested if..then statements are hard to read 215
Avoid variables with short names 217
Avoid variables with short names 265
Avoid variables with short names 276

om/sun/xml/registry/ebxml/util/QueryUtil.java

Violation Line
Avoid excessively long variable names 21
Avoid using implementation types like 'java.util.HashSet'; use the interface instead 21
Avoid excessively long variable names 92
Avoid variables with short names 97
Avoid variables with short names 98
Avoid using implementation types like 'java.util.HashSet'; use the interface instead 164

om/sun/xml/registry/ebxml/util/SecurityUtil.java

Violation Line
No need to import a type that's in the same package 28
Avoid variables with short names 60
Avoid variables with short names 75
Avoid variables with short names 88
Avoid variables with short names 90
Avoid variables with short names 126
Avoid variables with short names 143

om/sun/xml/registry/ebxml/util/UUID.java

Violation Line
Avoid variables with short names 89
Avoid using if statements without curly braces 122
Avoid variables with short names 145

om/sun/xml/registry/ebxml/util/UUIDFactory.java

Violation Line
Avoid unused private fields such as 'secRandBuf8' 39
Avoid variables with short names 80
Avoid variables with short names 99
Avoid variables with short names 101
Double checked locking is not thread safe in Java. 105