PMD Results

The following document contains the results of PMD 4.2.4.

Files

ApacheDS Bootstrap Plugin - org/apache/directory/server/core/bootstrap/plugin/BootstrapPlugin.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 39

ApacheDS Core AVL - org/apache/directory/server/core/avltree/AvlTree.java

Violation Line
These nested if statements could be combined 334 - 337
These nested if statements could be combined 585 - 588

ApacheDS Core Entry - org/apache/directory/server/core/entry/DefaultServerAttribute.java

Violation Line
Avoid empty catch blocks 116 - 119
These nested if statements could be combined 445 - 448
These nested if statements could be combined 458 - 461
These nested if statements could be combined 488 - 491
These nested if statements could be combined 498 - 501
Avoid empty catch blocks 1291 - 1294

ApacheDS Core Entry - org/apache/directory/server/core/entry/DefaultServerEntry.java

Violation Line
Avoid unused method parameters such as 'registries'. 137 - 153
Avoid empty catch blocks 149 - 152

ApacheDS Core Entry - org/apache/directory/server/core/entry/ServerEntryPropertyEditor.java

Violation Line
Avoid empty catch blocks 145 - 148
Avoid empty catch blocks 156 - 159

ApacheDS Core Entry - org/apache/directory/server/core/entry/ServerEntryUtils.java

Violation Line
These nested if statements could be combined 104 - 108
Avoid unused local variables such as 'options'. 208
Avoid unused local variables such as 'options'. 451
Avoid unused local variables such as 'options'. 498

ApacheDS Core Entry - org/apache/directory/server/core/entry/ServerSearchResult.java

Violation Line
Avoid unused constructor parameters such as 'obj'. 48 - 53
Avoid unused constructor parameters such as 'obj'. 56 - 62
Avoid unused constructor parameters such as 'obj'. 65 - 70
Avoid unused constructor parameters such as 'className'. 65 - 70
Avoid unused constructor parameters such as 'obj'. 73 - 78
Avoid unused constructor parameters such as 'isRelative'. 73 - 78
Avoid unused constructor parameters such as 'className'. 73 - 78

ApacheDS Core Entry - org/apache/directory/server/core/entry/TestServerEntryUtils.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 201
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 207
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 237
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 282

ApacheDS Core Integration - org/apache/directory/server/core/integ/CiSuite.java

Violation Line
Avoid empty if statements 65 - 67
Avoid empty if statements 88 - 90

ApacheDS Core JNDI - org/apache/directory/server/core/jndi/CoreContextFactory.java

Violation Line
Avoid unused local variables such as 'authentication'. 51

ApacheDS Core JNDI - org/apache/directory/server/core/jndi/EventListenerAdapter.java

Violation Line
Avoid unused private fields such as 'controls'. 76
Avoid unused method parameters such as 'opContext'. 93 - 110

ApacheDS Core JNDI - org/apache/directory/server/core/jndi/ServerContext.java

Violation Line
These nested if statements could be combined 360 - 364

ApacheDS Core JNDI - org/apache/directory/server/core/jndi/ServerLdapContext.java

Violation Line
Avoid unused local variables such as 'principalDn'. 250

ApacheDS Core - org/apache/directory/server/core/DefaultDirectoryService.java

Violation Line
Avoid empty catch blocks 1440 - 1443
Avoid empty catch blocks 1451 - 1454
Avoid empty catch blocks 1458 - 1461

ApacheDS Core - org/apache/directory/server/core/authn/AbstractAuthenticator.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 23

ApacheDS Core - org/apache/directory/server/core/authn/SimpleAuthenticator.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 34

ApacheDS Core - org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java

Violation Line
These nested if statements could be combined 623 - 629

ApacheDS Core - org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java

Violation Line
These nested if statements could be combined 215 - 234
These nested if statements could be combined 570 - 574

ApacheDS Core - org/apache/directory/server/core/authz/support/ACITupleFilter.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 25

ApacheDS Core - org/apache/directory/server/core/authz/support/MaxImmSubFilter.java

Violation Line
Avoid unused method parameters such as 'registries'. 157 - 186

ApacheDS Core - org/apache/directory/server/core/changelog/MemoryChangeLogStore.java

Violation Line
Avoid empty catch blocks 141 - 143
Avoid empty catch blocks 222 - 224
Avoid empty catch blocks 284 - 286
Avoid empty catch blocks 331 - 333
Avoid empty catch blocks 385 - 387

ApacheDS Core - org/apache/directory/server/core/changelog/Tag.java

Violation Line
Ensure you override both equals() and hashCode() 106

ApacheDS Core - org/apache/directory/server/core/collective/CollectiveAttributesSchemaChecker.java

Violation Line
Avoid unused private fields such as 'nexus'. 54

ApacheDS Core - org/apache/directory/server/core/configuration/AttributesPropertyEditor.java

Violation Line
Avoid empty catch blocks 146 - 149
Avoid empty catch blocks 157 - 160
Avoid empty catch blocks 164 - 167

ApacheDS Core - org/apache/directory/server/core/exception/ExceptionInterceptor.java

Violation Line
These nested if statements could be combined 540 - 544
Avoid unused method parameters such as 'nextInterceptor'. 567 - 594

ApacheDS Core - org/apache/directory/server/core/filtering/BaseEntryFilteringCursor.java

Violation Line
These nested if statements could be combined 529 - 534
These nested if statements could be combined 599 - 604

ApacheDS Core - org/apache/directory/server/core/interceptor/InterceptorChain.java

Violation Line
Avoid empty catch blocks 711 - 714

ApacheDS Core - org/apache/directory/server/core/interceptor/context/ListSuffixOperationContext.java

Violation Line
Avoid unused constructor parameters such as 'registries'. 50 - 53

ApacheDS Core - org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 27

ApacheDS Core - org/apache/directory/server/core/partition/PartitionNexus.java

Violation Line
Avoid empty catch blocks 98 - 101
Avoid empty catch blocks 102 - 105

ApacheDS Core - org/apache/directory/server/core/partition/PartitionNexusProxy.java

Violation Line
These nested if statements could be combined 446 - 449

ApacheDS Core - org/apache/directory/server/core/partition/impl/btree/gui/AttributesTableModel.java

Violation Line
Avoid unused private fields such as 'entry'. 52
Avoid unused local variables such as 'key'. 89

ApacheDS Core - org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java

Violation Line
Avoid empty if statements 540 - 542
Avoid empty if statements 589 - 591

ApacheDS Core - org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java

Violation Line
Avoid empty if statements 531 - 533

ApacheDS Core - org/apache/directory/server/core/prefs/ServerSystemPreferences.java

Violation Line
Avoid empty catch blocks 90 - 93

ApacheDS Core - org/apache/directory/server/core/schema/AttributeTypeImpl.java

Violation Line
Overriding method merely calls super 289 - 292
Overriding method merely calls super 319 - 322
Overriding method merely calls super 325 - 328
Overriding method merely calls super 331 - 334
Overriding method merely calls super 337 - 340
Overriding method merely calls super 343 - 346
Overriding method merely calls super 349 - 352
Overriding method merely calls super 355 - 358
Overriding method merely calls super 361 - 364

ApacheDS Core - org/apache/directory/server/core/schema/DitContentRuleImpl.java

Violation Line
Overriding method merely calls super 214 - 217
Overriding method merely calls super 220 - 223
Overriding method merely calls super 226 - 229
Overriding method merely calls super 232 - 235

ApacheDS Core - org/apache/directory/server/core/schema/DitStructureRuleImpl.java

Violation Line
Overriding method merely calls super 102 - 105
Overriding method merely calls super 108 - 111
Overriding method merely calls super 114 - 117
Overriding method merely calls super 120 - 123

ApacheDS Core - org/apache/directory/server/core/schema/MatchingRuleImpl.java

Violation Line
Overriding method merely calls super 78 - 81
Overriding method merely calls super 84 - 87
Overriding method merely calls super 90 - 93
Overriding method merely calls super 96 - 99

ApacheDS Core - org/apache/directory/server/core/schema/MatchingRuleUseImpl.java

Violation Line
Overriding method merely calls super 117 - 120
Overriding method merely calls super 126 - 129
Overriding method merely calls super 135 - 138
Overriding method merely calls super 144 - 147

ApacheDS Core - org/apache/directory/server/core/schema/MetaSchemaHandler.java

Violation Line
These nested if statements could be combined 395 - 398

ApacheDS Core - org/apache/directory/server/core/schema/NameFormImpl.java

Violation Line
Overriding method merely calls super 151 - 154
Overriding method merely calls super 157 - 160
Overriding method merely calls super 163 - 166
Overriding method merely calls super 169 - 172

ApacheDS Core - org/apache/directory/server/core/schema/ObjectClassImpl.java

Violation Line
Overriding method merely calls super 69 - 72
Overriding method merely calls super 75 - 78
Overriding method merely calls super 81 - 84
Overriding method merely calls super 87 - 90

ApacheDS Core - org/apache/directory/server/core/schema/PartitionSchemaLoader.java

Violation Line
Avoid unused method parameters such as 'targetRegistries'. 377 - 380
Avoid unused method parameters such as 'schema'. 377 - 380
Avoid unused method parameters such as 'targetRegistries'. 383 - 386
Avoid unused method parameters such as 'schema'. 383 - 386
Avoid unused method parameters such as 'targetRegistries'. 389 - 392
Avoid unused method parameters such as 'schema'. 389 - 392
Avoid unused method parameters such as 'targetRegistries'. 395 - 398
Avoid unused method parameters such as 'schema'. 395 - 398

ApacheDS Core - org/apache/directory/server/core/schema/SchemaEntityFactory.java

Violation Line
Avoid unused method parameters such as 'targetRegistries'. 441 - 489
Avoid empty catch blocks 464 - 467
Avoid empty catch blocks 522 - 525

ApacheDS Core - org/apache/directory/server/core/schema/SchemaInterceptor.java

Violation Line
These nested if statements could be combined 459 - 463
Avoid empty catch blocks 469 - 472
Avoid empty if statements 591 - 593
These nested if statements could be combined 1243 - 1247
Avoid empty catch blocks 1533 - 1536
These nested if statements could be combined 1859 - 1864

ApacheDS Core - org/apache/directory/server/core/schema/SchemaPartitionDao.java

Violation Line
Avoid unused imports such as 'javax.naming.directory.DirContext' 70

ApacheDS Core - org/apache/directory/server/core/schema/SyntaxImpl.java

Violation Line
Overriding method merely calls super 50 - 53
Overriding method merely calls super 56 - 59
Overriding method merely calls super 62 - 65
Overriding method merely calls super 68 - 71
Overriding method merely calls super 74 - 77

ApacheDS Core - org/apache/directory/server/core/subtree/SubtreeEvaluator.java

Violation Line
These nested if statements could be combined 146 - 149
These nested if statements could be combined 154 - 157

ApacheDS Core - org/apache/directory/server/core/trigger/TriggerInterceptor.java

Violation Line
Avoid empty if statements 212 - 214

ApacheDS Interceptors for Kerberos - org/apache/directory/server/core/kerberos/PasswordPolicyInterceptor.java

Violation Line
These nested if statements could be combined 299 - 302

ApacheDS JDBM Store - org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmMasterTable.java

Violation Line
Overriding method merely calls super 150 - 153

ApacheDS JDBM Store - org/apache/directory/server/core/partition/impl/btree/jdbm/KeyBTreeCursor.java

Violation Line
Avoid empty if statements 104 - 106

ApacheDS JDBM Store - org/apache/directory/server/core/partition/impl/btree/jdbm/KeyTupleBTreeCursor.java

Violation Line
Avoid empty if statements 134 - 136
Avoid empty if statements 146 - 147

ApacheDS JDBM Store - org/apache/directory/server/core/partition/impl/btree/jdbm/NoDupsCursor.java

Violation Line
These nested if statements could be combined 190 - 194
These nested if statements could be combined 222 - 226

ApacheDS JDBM implementation - jdbm/btree/BPage.java

Violation Line
Unnecessary final modifier in final class 833 - 842

ApacheDS JDBM implementation - jdbm/htree/HashDirectory.java

Violation Line
These nested if statements could be combined 310 - 315

ApacheDS JDBM implementation - jdbm/recman/BaseRecordManager.java

Violation Line
Avoid unused method parameters such as 'directory'. 463 - 471

ApacheDS JDBM implementation - jdbm/recman/FreeLogicalRowIdPage.java

Violation Line
An empty statement (semicolon) not part of a loop 123

ApacheDS JDBM implementation - jdbm/recman/FreePhysicalRowIdPage.java

Violation Line
An empty statement (semicolon) not part of a loop 118

ApacheDS JDBM implementation - jdbm/recman/FreePhysicalRowIdPageManager.java

Violation Line
Avoid unused local variables such as 'slotsize'. 96

ApacheDS JDBM implementation - jdbm/recman/Location.java

Violation Line
Ensure you override both equals() and hashCode() 111

ApacheDS JDBM implementation - jdbm/recman/PhysicalRowIdManager.java

Violation Line
Avoid unused local variables such as 'curPage'. 286

ApacheDS JDBM implementation - jdbm/recman/RecordFile.java

Violation Line
An empty statement (semicolon) not part of a loop 282

ApacheDS JDBM implementation - jdbm/recman/TransactionManager.java

Violation Line
Avoid unused local variables such as 'numBlocks'. 160
Avoid unused local variables such as 'writtenBlocks'. 161
Avoid unused local variables such as 'result'. 174
Overriding method merely calls super 404 - 406

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/KerberosUtils.java

Violation Line
Do not use if statements that are always true or always false 381

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/crypto/encryption/DesStringToKey.java

Violation Line
Avoid empty catch blocks 328 - 331

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/crypto/encryption/KerberosKeyFactory.java

Violation Line
Avoid empty catch blocks 106 - 111

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/io/decoder/EncryptionTypeDecoder.java

Violation Line
Avoid unused local variables such as 'ii'. 47

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/keytab/KeytabDecoder.java

Violation Line
Avoid unused method parameters such as 'keyVersion'. 135 - 144

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/messages/value/Checksum.java

Violation Line
Ensure you override both equals() and hashCode() 94

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/messages/value/EncryptionKey.java

Violation Line
Ensure you override both equals() and hashCode() 188

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/messages/value/HostAddress.java

Violation Line
Ensure you override both equals() and hashCode() 118
Avoid empty catch blocks 326 - 329

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/messages/value/HostAddresses.java

Violation Line
This usage of the Collection.toArray() method will throw a ClassCastException. 138
This usage of the Collection.toArray() method will throw a ClassCastException. 139
This usage of the Collection.toArray() method will throw a ClassCastException. 161

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/store/DirectoryPrincipalStore.java

Violation Line
Avoid unused private fields such as 'directoryService'. 40

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/store/MultiBaseSearch.java

Violation Line
Avoid unused private fields such as 'catalog'. 54

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/store/PrincipalStoreEntryModifier.java

Violation Line
Avoid unused imports such as 'java.io.IOException' 23
Avoid unused imports such as 'javax.naming.NamingException' 27

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java

Violation Line
Avoid unused imports such as 'javax.naming.directory.DirContext' 26

ApacheDS Protocol Kerberos Shared - org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 27

ApacheDS replication - org/apache/directory/mitosis/configuration/ReplicationConfiguration.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 370
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 374

ApacheDS replication - org/apache/directory/mitosis/service/ClientConnectionManager.java

Violation Line
Avoid unused private fields such as 'delay'. 407
Avoid unused private fields such as 'replicaId'. 410

ApacheDS replication - org/apache/directory/mitosis/service/protocol/handler/ReplicationClientContextHandler.java

Violation Line
Avoid empty if statements 161 - 163

ApacheDS replication - org/apache/directory/mitosis/store/derby/DerbyReplicationStore.java

Violation Line
Avoid empty catch blocks 289 - 292

ApacheDS Protocol Change Password - org/apache/directory/server/changepw/service/ChangePasswordService.java

Violation Line
Avoid unused method parameters such as 'session'. 160 - 179

ApacheDS Protocol Change Password - org/apache/directory/server/changepw/service/CheckPasswordPolicy.java

Violation Line
These nested if statements could be combined 172 - 175

ApacheDS Protocol Dhcp - org/apache/directory/server/dhcp/messages/HardwareAddress.java

Violation Line
Avoid unused imports such as 'java.text.ParseException' 23

ApacheDS Protocol Dhcp - org/apache/directory/server/dhcp/protocol/DhcpProtocolHandler.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 144
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 151

ApacheDS Protocol Dhcp - org/apache/directory/server/dhcp/store/AbstractDhcpStore.java

Violation Line
Avoid empty if statements 114 - 116

ApacheDS Protocol Dhcp - org/apache/directory/server/dhcp/store/SimpleDhcpStore.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 69
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 70
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 70
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 71

ApacheDS Protocol Dhcp - org/apache/directory/server/dhcp/store/Subnet.java

Violation Line
Avoid empty catch blocks 62 - 65
These nested if statements could be combined 146 - 147
These nested if statements could be combined 150 - 151

ApacheDS Protocol Dns - org/apache/directory/server/dns/io/encoder/AddressRecordEncoder.java

Violation Line
Avoid empty catch blocks 64 - 66

ApacheDS Protocol Dns - org/apache/directory/server/dns/store/RecordStoreStub.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 49
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 58

ApacheDS Protocol Kerberos - org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java

Violation Line
These nested if statements could be combined 698 - 727

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/LdapService.java

Violation Line
Avoid empty catch blocks 303 - 306

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/gui/SessionsFrame.java

Violation Line
Avoid empty if statements 732 - 733

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/BindHandler.java

Violation Line
Avoid empty catch blocks 148 - 151
Avoid unused method parameters such as 'ldapSession'. 233 - 248
Avoid unnecessary return statements 345
Avoid unused private methods such as 'getActiveRealms(LdapService)'. 606
Avoid unused private methods such as 'getSubject(LdapService)'. 629

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/LdapRequestHandler.java

Violation Line
Avoid unnecessary return statements 104

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/ReferralAwareRequestHandler.java

Violation Line
Avoid empty catch blocks 183 - 186
Avoid empty catch blocks 212 - 215

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/SearchHandler.java

Violation Line
Avoid unnecessary return statements 154
Avoid unused method parameters such as 'session'. 436 - 493

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/SearchTimeLimitingMonitor.java

Violation Line
These nested if statements could be combined 82 - 89

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/bind/gssapi/GssapiCallbackHandler.java

Violation Line
Avoid unused local variables such as 'ctx'. 79

ApacheDS Protocol Ldap - org/apache/directory/server/ldap/handlers/bind/plain/PlainSaslServer.java

Violation Line
Avoid unused local variables such as 'authzId'. 129

ApacheDS Protocol Ntp - org/apache/directory/server/ntp/messages/NtpTimeStamp.java

Violation Line
Ensure you override both equals() and hashCode() 140

ApacheDS Protocol Shared - org/apache/directory/server/protocol/shared/DatagramAcceptor.java

Violation Line
Overriding method merely calls super 62 - 65

ApacheDS Protocol Shared - org/apache/directory/server/protocol/shared/SocketAcceptor.java

Violation Line
Overriding method merely calls super 60 - 63

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java

Violation Line
Overriding method merely calls super 118 - 121
Overriding method merely calls super 124 - 127
Overriding method merely calls super 130 - 133
Overriding method merely calls super 136 - 139
Overriding method merely calls super 172 - 175
Overriding method merely calls super 178 - 181
Overriding method merely calls super 190 - 193
Overriding method merely calls super 196 - 199
Overriding method merely calls super 276 - 279
Overriding method merely calls super 293 - 296
Overriding method merely calls super 416 - 419
Overriding method merely calls super 422 - 425
Overriding method merely calls super 428 - 431
Overriding method merely calls super 434 - 437
Overriding method merely calls super 440 - 443
Overriding method merely calls super 446 - 449
Overriding method merely calls super 452 - 455
Overriding method merely calls super 540 - 543
Overriding method merely calls super 600 - 603
Overriding method merely calls super 606 - 609
Overriding method merely calls super 612 - 615

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/ApacheComparatorProducer.java

Violation Line
No need to import a type that lives in the same package 29

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/ApacheMatchingRuleProducer.java

Violation Line
No need to import a type that lives in the same package 25

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/ApacheNormalizerProducer.java

Violation Line
No need to import a type that lives in the same package 25

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/ApachemetaComparatorProducer.java

Violation Line
No need to import a type that lives in the same package 30

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/BootstrapProducer.java

Violation Line
No need to import a type that lives in the same package 25

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java

Violation Line
No need to import a type that lives in the same package 36
No need to import a type that lives in the same package 37
No need to import a type that lives in the same package 38

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/SystemComparatorProducer.java

Violation Line
No need to import a type that lives in the same package 30
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 97
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 104
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 111
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 118
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 125
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 132
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 139
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 146
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 153
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 160
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 167
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 174
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 181
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 188
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 195
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 202
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 209
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 216
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 223
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 230
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 237
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 244
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 251
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 261
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 287
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 305
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 308
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 311

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/SystemMatchingRuleProducer.java

Violation Line
No need to import a type that lives in the same package 25
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 67
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 73
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 79
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 85
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 91
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 105
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 133
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 139
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 145
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 151
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 165
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 171
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 177
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 202
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 208
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 214
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 220
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 226
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 255
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 261
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 267
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 273
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 287
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 317
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 323
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 343
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 349
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 355

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/SystemNormalizerProducer.java

Violation Line
No need to import a type that lives in the same package 30
Avoid empty catch blocks 120 - 123
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 162
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 176
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 183
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 190
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 197
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 204
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 211
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 218
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 225
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 232
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 239
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 246
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 253
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 260
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 267
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 274
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 281
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 288
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 295
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 302
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 309
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 316
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 323
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 333
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 352
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 369
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 372
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 375

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/SystemSyntaxCheckerProducer.java

Violation Line
No need to import a type that lives in the same package 25

ApacheDS Bootstrap Schemas - org/apache/directory/server/schema/bootstrap/SystemSyntaxProducer.java

Violation Line
No need to import a type that lives in the same package 25

ApacheDS Extra Schemas - org/apache/directory/server/schema/bootstrap/NisComparatorProducer.java

Violation Line
No need to import a type that lives in the same package 27
No need to import a type that lives in the same package 28
No need to import a type that lives in the same package 29

ApacheDS Extra Schemas - org/apache/directory/server/schema/bootstrap/NisMatchingRuleProducer.java

Violation Line
No need to import a type that lives in the same package 25
No need to import a type that lives in the same package 26
No need to import a type that lives in the same package 27

ApacheDS Extra Schemas - org/apache/directory/server/schema/bootstrap/NisNormalizerProducer.java

Violation Line
No need to import a type that lives in the same package 25
No need to import a type that lives in the same package 26
No need to import a type that lives in the same package 27

ApacheDS Extra Schemas - org/apache/directory/server/schema/bootstrap/NisSyntaxCheckerProducer.java

Violation Line
No need to import a type that lives in the same package 25
No need to import a type that lives in the same package 26
No need to import a type that lives in the same package 27

ApacheDS Extra Schemas - org/apache/directory/server/schema/bootstrap/NisSyntaxProducer.java

Violation Line
No need to import a type that lives in the same package 25
No need to import a type that lives in the same package 26
No need to import a type that lives in the same package 27

ApacheDS Schema Registries - org/apache/directory/server/schema/registries/AbstractSchemaLoader.java

Violation Line
These nested if statements could be combined 63 - 67

ApacheDS Schema Registries - org/apache/directory/server/schema/registries/DefaultAttributeTypeRegistry.java

Violation Line
Avoid unused local variables such as 'matchingRule'. 257

ApacheDS Schema Registries - org/apache/directory/server/schema/registries/DefaultDitStructureRuleRegistry.java

Violation Line
These nested if statements could be combined 169 - 174

ApacheDS Server Integration - org/apache/directory/server/integ/SiSuite.java

Violation Line
Avoid empty if statements 67 - 69
Avoid empty if statements 90 - 92

ApacheDS Server JNDI - org/apache/directory/server/configuration/ApacheDS.java

Violation Line
Avoid empty catch blocks 349 - 352

ApacheDS Server Unit - org/apache/directory/server/unit/AbstractServerTest.java

Violation Line
Avoid unused private fields such as 't0'. 100
Avoid unused method parameters such as 'server'. 280 - 304
Avoid empty catch blocks 394 - 396

ApacheDS XDBM Base - org/apache/directory/server/core/partition/impl/btree/IndexAssertion.java

Violation Line
Avoid unused imports such as 'javax.naming.NamingException' 25

ApacheDS Generalized (X) DBM Search Engine - org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java

Violation Line
Avoid empty catch blocks 78 - 81
Avoid empty if statements 125 - 131

ApacheDS Generalized (X) DBM Search Engine - org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java

Violation Line
Avoid unused method parameters such as 'entry'. 203 - 206

ApacheDS Generalized (X) DBM Search Engine - org/apache/directory/server/xdbm/search/impl/SubtreeScopeCursor.java

Violation Line
Avoid empty catch blocks 104 - 108

ApacheDS Generalized (X) DBM Search Engine - org/apache/directory/server/xdbm/search/impl/SubtreeScopeEvaluator.java

Violation Line
Avoid empty catch blocks 99 - 103

ApacheDS Generalized (X) DBM Tools - org/apache/directory/server/xdbm/tools/StoreUtils.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 185