PMD Results

The following document contains the results of PMD 3.9.

Files

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/AbstractJamesHandler.java

ViolationLine
Each class should declare at least one constructor52 - 508
Found 'DU'-anomaly for variable 'theData' (lines '109'-'109').109
Assigning an Object to null is a code smell. Consider refactoring.221
Assigning an Object to null is a code smell. Consider refactoring.232
Assigning an Object to null is a code smell. Consider refactoring.235
Assigning an Object to null is a code smell. Consider refactoring.239
Assigning an Object to null is a code smell. Consider refactoring.241
Assigning an Object to null is a code smell. Consider refactoring.250
Assigning an Object to null is a code smell. Consider refactoring.253
Assigning an Object to null is a code smell. Consider refactoring.254
Assigning an Object to null is a code smell. Consider refactoring.257
Found 'DU'-anomaly for variable 'e' (lines '326'-'331').326 - 331
Use explicit scoping instead of the default package private level362 - 364
Use explicit scoping instead of the default package private level369 - 391
Avoid empty catch blocks377 - 379
Assigning an Object to null is a code smell. Consider refactoring.380
Assigning an Object to null is a code smell. Consider refactoring.387
Found 'DU'-anomaly for variable 'responseString' (lines '401'-'405').401 - 405
Each class should declare at least one constructor436 - 453
Assigning an Object to null is a code smell. Consider refactoring.469

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/AbstractJamesService.java

ViolationLine
Each class should declare at least one constructor64 - 813
Perhaps 'm_disposed' could be replaced by a local variable.171
Perhaps 'handlerCount' could be replaced by a local variable.194
Assigning an Object to null is a code smell. Consider refactoring.244
Found 'DD'-anomaly for variable 'confSocketType' (lines '251'-'253').251 - 253
Found 'DU'-anomaly for variable 'logger' (lines '365'-'371').365 - 371
Found 'DD'-anomaly for variable 'hostName' (lines '403'-'405').403 - 405
Found 'DD'-anomaly for variable 'hostName' (lines '405'-'407').405 - 407
Found 'DD'-anomaly for variable 'hostName' (lines '414'-'416').414 - 416
Found 'DD'-anomaly for variable 'hostName' (lines '416'-'418').416 - 418
Assigning an Object to null is a code smell. Consider refactoring.439
A method should have only one exit point, and that should be the last statement in the method600
Assigning an Object to null is a code smell. Consider refactoring.637
Assigning an Object to null is a code smell. Consider refactoring.639
Assigning an Object to null is a code smell. Consider refactoring.640
Found 'DD'-anomaly for variable 'theWatchdogFactory' (lines '657'-'658').657 - 658
A method should have only one exit point, and that should be the last statement in the method764
Found 'DU'-anomaly for variable 'object' (lines '782'-'784').782 - 784
Avoid unnecessary return statements783

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/CRLFTerminatedReader.java

ViolationLine
Use explicit scoping instead of the default package private level60
It is a good practice to call super() in a constructor62 - 64
Perhaps 'lineBuffer' could be replaced by a local variable.78
Perhaps 'EOF' could be replaced by a local variable.79 - 82
Perhaps 'tainted' could be replaced by a local variable.84
Found 'UR'-anomaly for variable 'pos' (lines '100'-'100').100
Found 'DU'-anomaly for variable 'cr_just_received' (lines '109'-'152').109 - 152
Found 'DU'-anomaly for variable 'cr_just_received' (lines '120'-'152').120 - 152
Found 'DD'-anomaly for variable 'cr_just_received' (lines '120'-'147').120 - 147
A method should have only one exit point, and that should be the last statement in the method122
Found 'DU'-anomaly for variable 'pos' (lines '133'-'152').133 - 152
A method should have only one exit point, and that should be the last statement in the method137
Found 'DU'-anomaly for variable 'cr_just_received' (lines '147'-'152').147 - 152
Found 'DD'-anomaly for variable 'cbuf' (lines '171'-'174').171 - 174
Found 'DU'-anomaly for variable 'off' (lines '171'-'176').171 - 176
Found 'DU'-anomaly for variable 'cbuf' (lines '171'-'176').171 - 176
Found 'DD'-anomaly for variable 'cbuf' (lines '174'-'174').174
Found 'DU'-anomaly for variable 'cbuf' (lines '174'-'176').174 - 176

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/CopyInputStream.java

ViolationLine
Use explicit scoping instead of the default package private level39
Perhaps 'DEEP_DEBUG' could be replaced by a local variable.41
It is a good practice to call super() in a constructor43 - 47

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/DelegatingJamesHandler.java

ViolationLine
It is a good practice to call super() in a constructor39 - 42
Assigning an Object to null is a code smell. Consider refactoring.68
Assigning an Object to null is a code smell. Consider refactoring.69

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/JamesConnectionManager.java

ViolationLine
Found 'DU'-anomaly for variable 'threadPool' (lines '62'-'67').62 - 67
Found 'DU'-anomaly for variable 'maxOpenConnections' (lines '62'-'67').62 - 67
Found 'DU'-anomaly for variable 'handlerFactory' (lines '62'-'67').62 - 67
Found 'DU'-anomaly for variable 'socket' (lines '62'-'67').62 - 67
Found 'DU'-anomaly for variable 'name' (lines '62'-'67').62 - 67
Found 'DU'-anomaly for variable 'maxOpenConnections' (lines '79'-'83').79 - 83
Found 'DU'-anomaly for variable 'handlerFactory' (lines '79'-'83').79 - 83
Found 'DU'-anomaly for variable 'socket' (lines '79'-'83').79 - 83
Found 'DU'-anomaly for variable 'name' (lines '79'-'83').79 - 83
Found 'DU'-anomaly for variable 'threadPool' (lines '96'-'100').96 - 100
Found 'DU'-anomaly for variable 'handlerFactory' (lines '96'-'100').96 - 100
Found 'DU'-anomaly for variable 'socket' (lines '96'-'100').96 - 100
Found 'DU'-anomaly for variable 'name' (lines '96'-'100').96 - 100
Found 'DU'-anomaly for variable 'handlerFactory' (lines '112'-'115').112 - 115
Found 'DU'-anomaly for variable 'socket' (lines '112'-'115').112 - 115
Found 'DU'-anomaly for variable 'name' (lines '112'-'115').112 - 115
Found 'DU'-anomaly for variable 'maxOpenConnectionsPerIP' (lines '130'-'136').130 - 136
Found 'DU'-anomaly for variable 'threadPool' (lines '130'-'136').130 - 136
Found 'DU'-anomaly for variable 'maxOpenConnections' (lines '130'-'136').130 - 136
Found 'DU'-anomaly for variable 'handlerFactory' (lines '130'-'136').130 - 136
Found 'DU'-anomaly for variable 'socket' (lines '130'-'136').130 - 136
Found 'DU'-anomaly for variable 'name' (lines '130'-'136').130 - 136
Found 'DU'-anomaly for variable 'maxOpenConnectionsPerIP' (lines '150'-'155').150 - 155
Found 'DU'-anomaly for variable 'maxOpenConnections' (lines '150'-'155').150 - 155
Found 'DU'-anomaly for variable 'handlerFactory' (lines '150'-'155').150 - 155
Found 'DU'-anomaly for variable 'socket' (lines '150'-'155').150 - 155
Found 'DU'-anomaly for variable 'name' (lines '150'-'155').150 - 155

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/ProtocolHandler.java

ViolationLine
Avoid modifiers which are implied by the context32
Found 'DU'-anomaly for variable 'theData' (lines '32'-'32').32
Avoid modifiers which are implied by the context39
Avoid modifiers which are implied by the context44
Avoid modifiers which are implied by the context51
Found 'DU'-anomaly for variable 'phh' (lines '51'-'51').51
Avoid modifiers which are implied by the context57
Found 'DU'-anomaly for variable 'e' (lines '57'-'57').57

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/ProtocolHandlerHelper.java

ViolationLine
Avoid modifiers which are implied by the context41
Found 'DU'-anomaly for variable 'responseString' (lines '41'-'41').41
Avoid modifiers which are implied by the context47
Found 'DU'-anomaly for variable 'responseString' (lines '47'-'47').47
Avoid modifiers which are implied by the context53
Avoid modifiers which are implied by the context59
Avoid modifiers which are implied by the context65
Avoid modifiers which are implied by the context71
Avoid modifiers which are implied by the context77
Avoid modifiers which are implied by the context83
Avoid modifiers which are implied by the context89
Avoid modifiers which are implied by the context95
Avoid modifiers which are implied by the context101
Found 'DU'-anomaly for variable 'e' (lines '101'-'101').101
Avoid modifiers which are implied by the context107
Avoid modifiers which are implied by the context114

Apache JAMES Server Avalon Socket Library - org/apache/james/socket/SplitOutputStream.java

ViolationLine
Use explicit scoping instead of the default package private level34
Perhaps 'DEEP_DEBUG' could be replaced by a local variable.36

Apache JAMES Server Avalon Socket Library - org/apache/james/util/connection/ConnectionPerIpMap.java

ViolationLine
Each class should declare at least one constructor30 - 84
A method should have only one exit point, and that should be the last statement in the method55

Apache JAMES Server Avalon Socket Library - org/apache/james/util/connection/ServerConnection.java

ViolationLine
Perhaps 'theRunnerFactory' could be replaced by a local variable.85
It is a good practice to call super() in a constructor136 - 147
Assigning an Object to null is a code smell. Consider refactoring.176
Avoid empty catch blocks182 - 188
Assigning an Object to null is a code smell. Consider refactoring.200
Assigning an Object to null is a code smell. Consider refactoring.210
Found 'DD'-anomaly for variable 'runner' (lines '210'-'208').210 - 208
Found 'DU'-anomaly for variable 'runner' (lines '210'-'219').210 - 219
Found 'DU'-anomaly for variable 'ioExceptionCount' (lines '276'-'387').276 - 387
Avoid empty catch blocks279 - 281
Found 'DD'-anomaly for variable 'clientSocket' (lines '293'-'302').293 - 302
Found 'DU'-anomaly for variable 'clientSocket' (lines '302'-'387').302 - 387
Avoid empty catch blocks334 - 336
Avoid empty catch blocks344 - 346
Avoid empty catch blocks369 - 371
Assigning an Object to null is a code smell. Consider refactoring.383
Avoid unnecessary constructors - the compiler will generate these for you414 - 415
It is a good practice to call super() in a constructor414 - 415
Assigning an Object to null is a code smell. Consider refactoring.430
Found 'DD'-anomaly for variable 'handler' (lines '455'-'459').455 - 459
Found 'DD'-anomaly for variable 'connectionString' (lines '460'-'462').460 - 462
Found 'DU'-anomaly for variable 'connectionString' (lines '460'-'514').460 - 514
Assigning an Object to null is a code smell. Consider refactoring.490
Assigning an Object to null is a code smell. Consider refactoring.495
Assigning an Object to null is a code smell. Consider refactoring.505
Found 'DU'-anomaly for variable 'handler' (lines '505'-'514').505 - 514
A method should have only one exit point, and that should be the last statement in the method523
Each class should declare at least one constructor542 - 565
Found 'DU'-anomaly for variable 'object' (lines '562'-'564').562 - 564
Avoid unnecessary return statements563

Apache JAMES Server Avalon Socket Library - org/apache/james/util/connection/SimpleConnectionManager.java

ViolationLine
Each class should declare at least one constructor44 - 329
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '101'-'101').101
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '106'-'132').106 - 132
Found 'DU'-anomaly for variable 'tearDown' (lines '285'-'292').285 - 292

Apache JAMES Server Avalon Socket Library - org/apache/james/util/watchdog/BytesReadResetInputStream.java

ViolationLine
Use explicit scoping instead of the default package private level52
It is a good practice to call super() in a constructor59 - 67

Apache JAMES Server Avalon Socket Library - org/apache/james/util/watchdog/BytesWrittenResetOutputStream.java

ViolationLine
Use explicit scoping instead of the default package private level37
Use explicit scoping instead of the default package private level47
Use explicit scoping instead of the default package private level52
It is a good practice to call super() in a constructor54 - 62

Apache JAMES Server Avalon Socket Library - org/apache/james/util/watchdog/InaccurateTimeoutWatchdog.java

ViolationLine
It is a good practice to call super() in a constructor86 - 96
Assigning an Object to null is a code smell. Consider refactoring.156
Assigning an Object to null is a code smell. Consider refactoring.178
Assigning an Object to null is a code smell. Consider refactoring.196
Assigning an Object to null is a code smell. Consider refactoring.222
Assigning an Object to null is a code smell. Consider refactoring.226

Apache JAMES Server Avalon Socket Library - org/apache/james/util/watchdog/ThreadPerWatchdogFactory.java

ViolationLine
It is a good practice to call super() in a constructor50 - 56

Apache JAMES Server Avalon Socket Library - org/apache/james/util/watchdog/WatchdogFactory.java

ViolationLine
Found 'DU'-anomaly for variable 'theTarget' (lines '34'-'34').34

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/adaptor/AvalonConfigurationFileProvider.java

ViolationLine
Each class should declare at least one constructor39 - 94
Perhaps 'configuration' could be replaced by a local variable.42
Found 'UR'-anomaly for variable 'configuration' (lines '45'-'45').45
Found 'DD'-anomaly for variable 'inputStream' (lines '46'-'54').46 - 54
Found 'DD'-anomaly for variable 'systemId' (lines '47'-'55').47 - 55

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/adaptor/AvalonContext.java

ViolationLine
Each class should declare at least one constructor31 - 62
A method should have only one exit point, and that should be the last statement in the method47
A method should have only one exit point, and that should be the last statement in the method51

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/adaptor/ConfigurationProvider.java

ViolationLine
Found 'DU'-anomaly for variable 'configurationInterceptors' (lines '33'-'33').33

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/adaptor/DefaultServiceManagerFactory.java

ViolationLine
Each class should declare at least one constructor38 - 126
Found 'UR'-anomaly for variable 'rolename' (lines '51'-'51').51
Found 'UR'-anomaly for variable 'name' (lines '51'-'51').51
Found 'DD'-anomaly for variable 'roleClass' (lines '59'-'61').59 - 61
A method should have only one exit point, and that should be the last statement in the method93
Found 'DU'-anomaly for variable 'object' (lines '99'-'101').99 - 101
Found 'DU'-anomaly for variable 'beanName' (lines '109'-'115').109 - 115
A method should have only one exit point, and that should be the last statement in the method110

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/adaptor/LoggingBridge.java

ViolationLine
Each class should declare at least one constructor28 - 123
Found 'DU'-anomaly for variable 'beanName' (lines '42'-'44').42 - 44
Found 'DU'-anomaly for variable 'string' (lines '54'-'56').54 - 56

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/adaptor/ServiceManagerFactory.java

ViolationLine
Found 'DU'-anomaly for variable 'beanDefinition' (lines '30'-'30').30
Found 'DU'-anomaly for variable 'beanName' (lines '30'-'30').30
Found 'DU'-anomaly for variable 'replacements' (lines '32'-'32').32

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/beanfactory/AvalonApplicationContext.java

ViolationLine
Found 'DU'-anomaly for variable 'totalBeanCount' (lines '84'-'85').84 - 85

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/beanfactory/AvalonBeanDefinition.java

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you32 - 34

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/beanfactory/AvalonBeanDefinitionReader.java

ViolationLine
Found 'DD'-anomaly for variable 'configuration' (lines '45'-'47').45 - 47
A method should have only one exit point, and that should be the last statement in the method53
A method should have only one exit point, and that should be the last statement in the method56
Found 'DD'-anomaly for variable 'name' (lines '68'-'71').68 - 71
Found 'DD'-anomaly for variable 'className' (lines '69'-'76').69 - 76
Found 'DD'-anomaly for variable 'beanDefinition' (lines '82'-'84').82 - 84
A method should have only one exit point, and that should be the last statement in the method110
Found 'DD'-anomaly for variable 'name' (lines '112'-'118').112 - 118
Found 'DU'-anomaly for variable 'name' (lines '112'-'131').112 - 131
Found 'DD'-anomaly for variable 'roleClassname' (lines '113'-'123').113 - 123
Found 'DU'-anomaly for variable 'roleClassname' (lines '113'-'131').113 - 131

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/configuration/ConfigurationInterceptor.java

ViolationLine
Found 'DU'-anomaly for variable 'configuration' (lines '33'-'33').33

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/examples/configuration/StringRemapperConfigurationInterceptor.java

ViolationLine
Each class should declare at least one constructor32 - 87
Found 'DD'-anomaly for variable 'attributeValue' (lines '53'-'55').53 - 55
Found 'DU'-anomaly for variable 'attributeValue' (lines '55'-'68').55 - 68
Found 'DD'-anomaly for variable 'attributeValue' (lines '55'-'53').55 - 53
Found 'DD'-anomaly for variable 'value' (lines '71'-'73').71 - 73
Found 'DU'-anomaly for variable 'value' (lines '73'-'86').73 - 86
A method should have only one exit point, and that should be the last statement in the method75

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/examples/configuration/TraversingConfigurationInterceptor.java

ViolationLine
Each class should declare at least one constructor28 - 49
Found 'DU'-anomaly for variable 'mutableConfiguration' (lines '48'-'48').48

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/examples/configuration/UnprivilegedPortConfigurationInterceptor.java

ViolationLine
Each class should declare at least one constructor26 - 39

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/lifecycle/AbstractPropagator.java

ViolationLine
Each class should declare at least one constructor32 - 78
Found 'DU'-anomaly for variable 'beanName' (lines '50'-'52').50 - 52
Found 'DU'-anomaly for variable 'beanName' (lines '54'-'60').54 - 60
A method should have only one exit point, and that should be the last statement in the method57
Found 'DU'-anomaly for variable 'beanDefinition' (lines '76'-'76').76
Found 'DU'-anomaly for variable 'beanName' (lines '76'-'76').76
Found 'DU'-anomaly for variable 'bean' (lines '76'-'76').76

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/lifecycle/ConfigurationPropagator.java

ViolationLine
Each class should declare at least one constructor32 - 73
Found 'UR'-anomaly for variable 'configurable' (lines '53'-'53').53
Found 'DU'-anomaly for variable 'beanDefinition' (lines '53'-'72').53 - 72
Found 'DU'-anomaly for variable 'beanName' (lines '53'-'72').53 - 72

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/lifecycle/ContextPropagator.java

ViolationLine
Each class should declare at least one constructor32 - 55
Found 'DU'-anomaly for variable 'beanDefinition' (lines '44'-'50').44 - 50
Found 'DU'-anomaly for variable 'beanName' (lines '44'-'50').44 - 50

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/lifecycle/InitializationPropagator.java

ViolationLine
Error while parsing /opt/development/workspace-seda-imap/avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/lifecycle/InitializationPropagator.java0
Error while parsing /opt/development/workspace-seda-imap/avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/lifecycle/InitializationPropagator.java0

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/lifecycle/LoggerPropagator.java

ViolationLine
Each class should declare at least one constructor31 - 50
Found 'DU'-anomaly for variable 'beanDefinition' (lines '39'-'41').39 - 41

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/lifecycle/ServicePropagator.java

ViolationLine
Each class should declare at least one constructor33 - 64
Found 'UR'-anomaly for variable 'serviceable' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'beanDefinition' (lines '45'-'59').45 - 59

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/logging/LogWorker.java

ViolationLine
Found 'DU'-anomaly for variable 'level' (lines '26'-'26').26
Found 'DU'-anomaly for variable 'message' (lines '26'-'26').26
Found 'DU'-anomaly for variable 'level' (lines '28'-'28').28
Found 'DU'-anomaly for variable 'exception' (lines '28'-'28').28
Found 'DU'-anomaly for variable 'message' (lines '28'-'28').28

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/logging/LoggerToComponentMapper.java

ViolationLine
Found 'DU'-anomaly for variable 'beanName' (lines '27'-'27').27

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/logging/SystemConsoleLogWorker.java

ViolationLine
Each class should declare at least one constructor24 - 34
Found 'DU'-anomaly for variable 'level' (lines '26'-'28').26 - 28
Found 'DU'-anomaly for variable 'level' (lines '30'-'33').30 - 33

Apache JAMES Server Avalon Spring Bridge Library - org/apache/james/container/spring/logging/log4j/LoggerToComponentMapper.java

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you36 - 37
Found 'UR'-anomaly for variable 'url' (lines '43'-'43').43
Found 'DD'-anomaly for variable 'url' (lines '45'-'47').45 - 47
Found 'DU'-anomaly for variable 'url' (lines '47'-'53').47 - 53

Apache JAMES Server Avalon User function - org/apache/james/core/AbstractAvalonStore.java

ViolationLine
Each class should declare at least one constructor41 - 169
Found 'DU'-anomaly for variable 'theClassLoader' (lines '83'-'118').83 - 118
Found 'DU'-anomaly for variable 'loader' (lines '152'-'152').152
Found 'DU'-anomaly for variable 'className' (lines '152'-'152').152
Found 'DU'-anomaly for variable 'config' (lines '160'-'160').160

Apache JAMES Server Avalon User function - org/apache/james/core/AvalonUsersStore.java

ViolationLine
Each class should declare at least one constructor34 - 85
Found 'DU'-anomaly for variable 'config' (lines '75'-'77').75 - 77

Apache JAMES Server Avalon User function - org/apache/james/core/AvalonVirtualUserTableStore.java

ViolationLine
Each class should declare at least one constructor35 - 87
Found 'DU'-anomaly for variable 'config' (lines '77'-'79').77 - 79

Apache JAMES Server Avalon User function - org/apache/james/userrepository/AbstractJdbcUsersRepository.java

ViolationLine
Each class should declare at least one constructor73 - 760
A method should have only one exit point, and that should be the last statement in the method162
Found 'DU'-anomaly for variable 'password' (lines '201'-'208').201 - 208
A method should have only one exit point, and that should be the last statement in the method204
Use explicit scoping instead of the default package private level236 - 238
Found 'DD'-anomaly for variable 'logBuffer' (lines '245'-'247').245 - 247
Found 'DU'-anomaly for variable 'logBuffer' (lines '245'-'255').245 - 255
Use explicit scoping instead of the default package private level263 - 265
Found 'DD'-anomaly for variable 'logBuffer' (lines '290'-'292').290 - 292
Found 'DD'-anomaly for variable 'logBuffer' (lines '290'-'331').290 - 331
Found 'DU'-anomaly for variable 'logBuffer' (lines '290'-'349').290 - 349
Found 'DD'-anomaly for variable 'logBuffer' (lines '364'-'366').364 - 366
Found 'DD'-anomaly for variable 'logBuffer' (lines '364'-'397').364 - 397
Found 'DD'-anomaly for variable 'logBuffer' (lines '364'-'455').364 - 455
Found 'DU'-anomaly for variable 'logBuffer' (lines '364'-'468').364 - 468
Found 'DD'-anomaly for variable 'logBuffer' (lines '364'-'366').364 - 366
Found 'DD'-anomaly for variable 'logBuffer' (lines '364'-'397').364 - 397
Found 'DD'-anomaly for variable 'logBuffer' (lines '364'-'455').364 - 455
Found 'DU'-anomaly for variable 'logBuffer' (lines '364'-'468').364 - 468
Found 'DD'-anomaly for variable 'sqlFile' (lines '387'-'390').387 - 390
Found 'DD'-anomaly for variable 'sqlFile' (lines '387'-'390').387 - 390
Found 'DU'-anomaly for variable 'createUserTableSql' (lines '425'-'468').425 - 468
Found 'DU'-anomaly for variable 'createUserTableSql' (lines '425'-'468').425 - 468
Found 'DD'-anomaly for variable 'createStatement' (lines '447'-'449').447 - 449
Found 'DD'-anomaly for variable 'createStatement' (lines '447'-'449').447 - 449
Found 'DD'-anomaly for variable 'getUsersStatement' (lines '504'-'508').504 - 508
Found 'DD'-anomaly for variable 'rsUsers' (lines '505'-'509').505 - 509
Found 'DD'-anomaly for variable 'addUserStatement' (lines '538'-'543').538 - 543
Found 'DD'-anomaly for variable 'removeUserStatement' (lines '569'-'573').569 - 573
Found 'DD'-anomaly for variable 'updateUserStatement' (lines '594'-'598').594 - 598
Found 'DU'-anomaly for variable 'ignoreCase' (lines '623'-'636').623 - 636
Found 'DU'-anomaly for variable 'name' (lines '623'-'636').623 - 636
A method should have only one exit point, and that should be the last statement in the method631
Found 'DU'-anomaly for variable 'ignoreCase' (lines '650'-'694').650 - 694
A method should have only one exit point, and that should be the last statement in the method654
Found 'DD'-anomaly for variable 'getUsersStatement' (lines '660'-'665').660 - 665
Found 'DD'-anomaly for variable 'rsUsers' (lines '661'-'669').661 - 669
Found 'DD'-anomaly for variable 'user' (lines '673'-'680').673 - 680
Found 'DU'-anomaly for variable 'rsUsers' (lines '708'-'709').708 - 709
Found 'DU'-anomaly for variable 'userInsert' (lines '725'-'726').725 - 726
Found 'DU'-anomaly for variable 'user' (lines '725'-'726').725 - 726
Found 'DU'-anomaly for variable 'user' (lines '742'-'743').742 - 743
Found 'DU'-anomaly for variable 'userUpdate' (lines '742'-'743').742 - 743

Apache JAMES Server Avalon User function - org/apache/james/userrepository/DefaultUsersJdbcRepository.java

ViolationLine
Each class should declare at least one constructor43 - 94

Apache JAMES Server Avalon User function - org/apache/james/userrepository/JamesUsersJdbcRepository.java

ViolationLine
Each class should declare at least one constructor37 - 159
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '41'-'41').41
Found 'DD'-anomaly for variable 'forwardAddress' (lines '51'-'54').51 - 54
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '56'-'73').56 - 73
Found 'UR'-anomaly for variable 'jamesUser' (lines '105'-'132').105 - 132
Found 'DD'-anomaly for variable 'nameIndex' (lines '108'-'111').108 - 111
Found 'DD'-anomaly for variable 'colOffset' (lines '109'-'112').109 - 112
Found 'DD'-anomaly for variable 'forwardDestination' (lines '138'-'140').138 - 140

Apache JAMES Server Avalon User function - org/apache/james/userrepository/ListUsersJdbcRepository.java

ViolationLine
Each class should declare at least one constructor37 - 95
Found 'DU'-anomaly for variable 'password' (lines '44'-'47').44 - 47
Found 'DU'-anomaly for variable 'name' (lines '44'-'47').44 - 47
Found 'DU'-anomaly for variable 'user' (lines '78'-'83').78 - 83
Found 'DU'-anomaly for variable 'userUpdate' (lines '78'-'83').78 - 83

Apache JAMES Server Avalon User function - org/apache/james/userrepository/UsersFileRepository.java

ViolationLine
Each class should declare at least one constructor54 - 295
Found 'UR'-anomaly for variable 'message' (lines '84'-'84').84
Found 'DD'-anomaly for variable 'name' (lines '172'-'174').172 - 174
A method should have only one exit point, and that should be the last statement in the method176
A method should have only one exit point, and that should be the last statement in the method181
A method should have only one exit point, and that should be the last statement in the method197
Found 'DU'-anomaly for variable 'name' (lines '205'-'218').205 - 218
A method should have only one exit point, and that should be the last statement in the method211
A method should have only one exit point, and that should be the last statement in the method214
Assigning an Object to null is a code smell. Consider refactoring.216
A method should have only one exit point, and that should be the last statement in the method251
Found 'DU'-anomaly for variable 'name' (lines '260'-'268').260 - 268
A method should have only one exit point, and that should be the last statement in the method264
Found 'DU'-anomaly for variable 'password' (lines '273'-'282').273 - 282
A method should have only one exit point, and that should be the last statement in the method277
Found 'DD'-anomaly for variable 'count' (lines '288'-'290').288 - 290
Found 'DD'-anomaly for variable 'count' (lines '290'-'290').290

Apache JAMES Server Avalon User function - org/apache/james/vut/JDBCVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor56 - 611
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '93'-'93').93
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '120'-'155').120 - 155
Found 'DU'-anomaly for variable 'autoIPConf' (lines '151'-'155').151 - 155
Found 'DD'-anomaly for variable 'logBuffer' (lines '164'-'185').164 - 185
Found 'DD'-anomaly for variable 'logBuffer' (lines '164'-'218').164 - 218
Found 'DU'-anomaly for variable 'logBuffer' (lines '164'-'232').164 - 232
Found 'DD'-anomaly for variable 'createStatement' (lines '171'-'213').171 - 213
Found 'DD'-anomaly for variable 'sqlFile' (lines '176'-'178').176 - 178
Found 'DD'-anomaly for variable 'conn' (lines '257'-'260').257 - 260
Found 'DD'-anomaly for variable 'mappingStmt' (lines '258'-'261').258 - 261
Found 'DD'-anomaly for variable 'mappingRS' (lines '263'-'268').263 - 268
A method should have only one exit point, and that should be the last statement in the method270
A method should have only one exit point, and that should be the last statement in the method295
A method should have only one exit point, and that should be the last statement in the method313
Found 'DD'-anomaly for variable 'conn' (lines '327'-'331').327 - 331
Found 'DD'-anomaly for variable 'mappingStmt' (lines '328'-'332').328 - 332
Found 'DU'-anomaly for variable 'mappingRS' (lines '335'-'355').335 - 355
A method should have only one exit point, and that should be the last statement in the method342
Found 'DD'-anomaly for variable 'conn' (lines '367'-'371').367 - 371
Found 'DD'-anomaly for variable 'mappingStmt' (lines '368'-'372').368 - 372
Found 'DU'-anomaly for variable 'mappingRS' (lines '375'-'394').375 - 394
A method should have only one exit point, and that should be the last statement in the method381
Found 'DD'-anomaly for variable 'conn' (lines '405'-'409').405 - 409
Found 'DD'-anomaly for variable 'mappingStmt' (lines '406'-'410').406 - 410
Found 'DU'-anomaly for variable 'mappingRS' (lines '413'-'433').413 - 433
A method should have only one exit point, and that should be the last statement in the method420
A method should have only one exit point, and that should be the last statement in the method446
A method should have only one exit point, and that should be the last statement in the method465
Found 'DD'-anomaly for variable 'conn' (lines '478'-'482').478 - 482
Found 'DD'-anomaly for variable 'mappingStmt' (lines '479'-'483').479 - 483
Found 'DD'-anomaly for variable 'mappingRS' (lines '485'-'489').485 - 489
A method should have only one exit point, and that should be the last statement in the method491
Found 'DD'-anomaly for variable 'conn' (lines '511'-'515').511 - 515
Found 'DD'-anomaly for variable 'mappingStmt' (lines '512'-'516').512 - 516
Found 'DD'-anomaly for variable 'mappingRS' (lines '518'-'520').518 - 520
Found 'DU'-anomaly for variable 'domain' (lines '522'-'542').522 - 542
Found 'DD'-anomaly for variable 'domain' (lines '522'-'522').522
A method should have only one exit point, and that should be the last statement in the method538
Found 'DD'-anomaly for variable 'conn' (lines '548'-'552').548 - 552
Found 'DD'-anomaly for variable 'mappingStmt' (lines '549'-'553').549 - 553
Found 'DD'-anomaly for variable 'mappingRS' (lines '555'-'558').555 - 558
A method should have only one exit point, and that should be the last statement in the method560
Found 'DD'-anomaly for variable 'conn' (lines '579'-'584').579 - 584
Found 'DD'-anomaly for variable 'mappingStmt' (lines '580'-'585').580 - 585
Found 'DD'-anomaly for variable 'mappingRS' (lines '587'-'589').587 - 589
A method should have only one exit point, and that should be the last statement in the method598

Apache JAMES Server Basic User function - org/apache/james/userrepository/UsersLDAPRepository.java

ViolationLine
Each class should declare at least one constructor59 - 784
Perhaps 'baseURL' could be replaced by a local variable.70
Found 'DD'-anomaly for variable 'destination' (lines '167'-'182').167 - 182
Found 'DD'-anomaly for variable 'destination' (lines '167'-'210').167 - 210
Found 'DU'-anomaly for variable 'user' (lines '235'-'237').235 - 237
Found 'DU'-anomaly for variable 'name' (lines '242'-'244').242 - 244
Found 'DU'-anomaly for variable 'ignoreCase' (lines '270'-'285').270 - 285
Found 'DU'-anomaly for variable 'name' (lines '270'-'285').270 - 285
A method should have only one exit point, and that should be the last statement in the method276
A method should have only one exit point, and that should be the last statement in the method280
Found 'DU'-anomaly for variable 'user' (lines '290'-'292').290 - 292
Found 'DU'-anomaly for variable 'password' (lines '297'-'304').297 - 304
A method should have only one exit point, and that should be the last statement in the method300
Found 'DD'-anomaly for variable 'rootCtx' (lines '313'-'315').313 - 315
Found 'DU'-anomaly for variable 'returnAttrs' (lines '317'-'374').317 - 374
Found 'DD'-anomaly for variable 'mods' (lines '398'-'399').398 - 399
Avoid empty if statements424 - 426
Found 'DD'-anomaly for variable 'rootCtx' (lines '437'-'439').437 - 439
Found 'DD'-anomaly for variable 'mods' (lines '478'-'479').478 - 479
Assigning an Object to null is a code smell. Consider refactoring.513
Found 'DU'-anomaly for variable 'rootCtx' (lines '513'-'515').513 - 515
Found 'DU'-anomaly for variable 'name' (lines '521'-'547').521 - 547
Found 'DD'-anomaly for variable 'found' (lines '522'-'525').522 - 525
Found 'DD'-anomaly for variable 'found' (lines '522'-'532').522 - 532
Found 'DD'-anomaly for variable 'found' (lines '532'-'532').532
A method should have only one exit point, and that should be the last statement in the method544
Found 'DU'-anomaly for variable 'testPassword' (lines '553'-'651').553 - 651
Found 'DD'-anomaly for variable 'result' (lines '554'-'620').554 - 620
Found 'DD'-anomaly for variable 'foundFlag' (lines '555'-'590').555 - 590
Found 'DD'-anomaly for variable 'userDN' (lines '556'-'589').556 - 589
Found 'DU'-anomaly for variable 'userDN' (lines '556'-'651').556 - 651
Found 'DD'-anomaly for variable 'rootCtx' (lines '575'-'578').575 - 578
Found 'DU'-anomaly for variable 'userDN' (lines '589'-'651').589 - 651
Found 'DD'-anomaly for variable 'testCtx' (lines '617'-'619').617 - 619
Found 'DD'-anomaly for variable 'result' (lines '620'-'623').620 - 623
Assigning an Object to null is a code smell. Consider refactoring.667
Found 'DD'-anomaly for variable 'mods' (lines '712'-'713').712 - 713
Found 'DU'-anomaly for variable 'user' (lines '748'-'750').748 - 750

Apache JAMES Server Basic User function - org/apache/james/vut/XMLVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor37 - 170
Found 'DU'-anomaly for variable 'autoIPConf' (lines '85'-'89').85 - 89
Found 'DU'-anomaly for variable 'user' (lines '94'-'97').94 - 97
Found 'DU'-anomaly for variable 'mapping' (lines '94'-'97').94 - 97
Found 'DU'-anomaly for variable 'domain' (lines '94'-'97').94 - 97
Found 'DU'-anomaly for variable 'user' (lines '102'-'109').102 - 109
Found 'DU'-anomaly for variable 'domain' (lines '102'-'109').102 - 109
A method should have only one exit point, and that should be the last statement in the method104
Found 'DU'-anomaly for variable 'user' (lines '114'-'117').114 - 117
Found 'DU'-anomaly for variable 'mapping' (lines '114'-'117').114 - 117
Found 'DU'-anomaly for variable 'domain' (lines '114'-'117').114 - 117
Found 'DU'-anomaly for variable 'user' (lines '122'-'133').122 - 133
Found 'DU'-anomaly for variable 'domain' (lines '122'-'133').122 - 133
A method should have only one exit point, and that should be the last statement in the method124
A method should have only one exit point, and that should be the last statement in the method128
Found 'DU'-anomaly for variable 'domain' (lines '145'-'151').145 - 151
A method should have only one exit point, and that should be the last statement in the method147
A method should have only one exit point, and that should be the last statement in the method165

Apache JAMES Server Common Utilities - org/apache/james/util/Lock.java

ViolationLine
Each class should declare at least one constructor30 - 115
A method should have only one exit point, and that should be the last statement in the method56
A method should have only one exit point, and that should be the last statement in the method76
A method should have only one exit point, and that should be the last statement in the method78
A method should have only one exit point, and that should be the last statement in the method97
A method should have only one exit point, and that should be the last statement in the method100

Apache JAMES Server Common Utilities - org/apache/james/util/POP3BeforeSMTPHelper.java

ViolationLine
Found 'DU'-anomaly for variable 'clearTime' (lines '83'-'102').83 - 102
Found 'DU'-anomaly for variable 'currTime' (lines '86'-'102').86 - 102

Apache JAMES Server Common Utilities - org/apache/james/util/TimeConverter.java

ViolationLine
Avoid empty catch blocks56 - 58
Avoid empty catch blocks105 - 107

Apache JAMES Server Common Utilities - org/apache/james/util/XMLResources.java

ViolationLine
Each class should declare at least one constructor77 - 384
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '107'-'107').107
Found 'UR'-anomaly for variable 'resMap' (lines '107'-'226').107 - 226
Found 'DD'-anomaly for variable 'selectTag' (lines '119'-'121').119 - 121
Found 'DU'-anomaly for variable 'selectTag' (lines '121'-'232').121 - 232
Assigning an Object to null is a code smell. Consider refactoring.122
Found 'DD'-anomaly for variable 'sectionElement' (lines '128'-'130').128 - 130
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '138'-'232').138 - 232
Found 'DD'-anomaly for variable 'resString' (lines '200'-'213').200 - 213
Found 'DU'-anomaly for variable 'selectTagName' (lines '249'-'269').249 - 269
Found 'DD'-anomaly for variable 'matchName' (lines '255'-'255').255
Found 'DU'-anomaly for variable 'matchName' (lines '255'-'269').255 - 269
A method should have only one exit point, and that should be the last statement in the method265
Found 'DU'-anomaly for variable 'find_length' (lines '282'-'298').282 - 298
Found 'DU'-anomaly for variable 'replace_length' (lines '283'-'298').283 - 298
Found 'DU'-anomaly for variable 'outputOffset' (lines '287'-'298').287 - 298
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '318'-'318').318
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '323'-'331').323 - 331
Found 'DU'-anomaly for variable 'replaceBuffer' (lines '372'-'383').372 - 383

Apache JAMES Server Common Utilities - org/apache/james/util/bayesian/BayesianAnalyzer.java

ViolationLine
Each class should declare at least one constructor146 - 189
Use explicit scoping instead of the default package private level151
Use explicit scoping instead of the default package private level156
A method should have only one exit point, and that should be the last statement in the method169
Avoid unnecessary constructors - the compiler will generate these for you194 - 195
Found 'DU'-anomaly for variable 'target' (lines '370'-'412').370 - 412
Found 'DU'-anomaly for variable 'header' (lines '373'-'412').373 - 412
Avoid assignments in operands376
Found 'DU'-anomaly for variable 'token' (lines '376'-'412').376 - 412
Found 'DD'-anomaly for variable 'endingLine' (lines '377'-'379').377 - 379
Found 'DD'-anomaly for variable 'value' (lines '397'-'400').397 - 400
Found 'DD'-anomaly for variable 'value' (lines '397'-'402').397 - 402
Found 'DU'-anomaly for variable 'header' (lines '409'-'412').409 - 412
Found 'DU'-anomaly for variable 'header' (lines '425'-'459').425 - 459
Avoid assignments in operands428
Found 'DU'-anomaly for variable 'token' (lines '428'-'459').428 - 459
Found 'DD'-anomaly for variable 'endingLine' (lines '429'-'431').429 - 431
Found 'DU'-anomaly for variable 'header' (lines '453'-'459').453 - 459
Found 'DU'-anomaly for variable 'token' (lines '462'-'537').462 - 537
Found 'DU'-anomaly for variable 'previousWasDigit' (lines '465'-'537').465 - 537
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '465'-'495').465 - 495
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '465'-'499').465 - 499
Found 'DU'-anomaly for variable 'tokenCharFound' (lines '466'-'537').466 - 537
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '466'-'494').466 - 494
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '466'-'498').466 - 498
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '466'-'510').466 - 510
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '466'-'522').466 - 522
A method should have only one exit point, and that should be the last statement in the method469
Avoid assignments in operands472
Found 'DU'-anomaly for variable 'i' (lines '472'-'537').472 - 537
A method should have only one exit point, and that should be the last statement in the method483
Found 'DU'-anomaly for variable 'tokenCharFound' (lines '494'-'537').494 - 537
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '494'-'494').494
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '494'-'498').494 - 498
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '494'-'510').494 - 510
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '494'-'522').494 - 522
Found 'DU'-anomaly for variable 'previousWasDigit' (lines '495'-'537').495 - 537
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '495'-'495').495
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '495'-'499').495 - 499
Found 'DU'-anomaly for variable 'tokenCharFound' (lines '498'-'537').498 - 537
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '498'-'494').498 - 494
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '498'-'498').498
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '498'-'510').498 - 510
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '498'-'522').498 - 522
Found 'DU'-anomaly for variable 'previousWasDigit' (lines '499'-'537').499 - 537
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '499'-'495').499 - 495
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '499'-'499').499
Found 'DU'-anomaly for variable 'previousWasDigit' (lines '503'-'537').503 - 537
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '503'-'511').503 - 511
Found 'DU'-anomaly for variable 'tokenCharFound' (lines '510'-'537').510 - 537
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '510'-'494').510 - 494
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '510'-'498').510 - 498
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '510'-'510').510
Found 'DD'-anomaly for variable 'tokenCharFound' (lines '510'-'522').510 - 522
Found 'DU'-anomaly for variable 'previousWasDigit' (lines '511'-'537').511 - 537
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '511'-'495').511 - 495
Found 'DD'-anomaly for variable 'previousWasDigit' (lines '511'-'499').511 - 499
Avoid empty if statements518 - 520
Found 'DU'-anomaly for variable 'previousWasDigit' (lines '523'-'537').523 - 537
A method should have only one exit point, and that should be the last statement in the method533
Found 'DD'-anomaly for variable 'hamFactor' (lines '546'-'564').546 - 564
Found 'DD'-anomaly for variable 'spamFactor' (lines '547'-'571').547 - 571
Found 'DD'-anomaly for variable 'foundInHam' (lines '549'-'556').549 - 556
Found 'DD'-anomaly for variable 'foundInSpam' (lines '550'-'560').550 - 560
Found 'DD'-anomaly for variable 'minThreshold' (lines '552'-'566').552 - 566
Found 'DU'-anomaly for variable 'minThreshold' (lines '552'-'586').552 - 586
Found 'DD'-anomaly for variable 'maxThreshold' (lines '553'-'573').553 - 573
Found 'DU'-anomaly for variable 'maxThreshold' (lines '553'-'586').553 - 586
Found 'DU'-anomaly for variable 'minThreshold' (lines '566'-'586').566 - 586
Found 'DU'-anomaly for variable 'maxThreshold' (lines '573'-'586').573 - 586
A method should have only one exit point, and that should be the last statement in the method579
Found 'DD'-anomaly for variable 'corpusProbability' (lines '613'-'629').613 - 629
Found 'DU'-anomaly for variable 'corpusProbability' (lines '613'-'645').613 - 645
Found 'DD'-anomaly for variable 'corpusProbability' (lines '613'-'613').613
Found 'DD'-anomaly for variable 'isTokenDegeneratedFound' (lines '615'-'627').615 - 627
Found 'DD'-anomaly for variable 'tokenDegenerated' (lines '619'-'622').619 - 622
Found 'DU'-anomaly for variable 'tokenDegenerated' (lines '619'-'645').619 - 645
Found 'DD'-anomaly for variable 'tokenDegenerated' (lines '619'-'619').619
Found 'DD'-anomaly for variable 'isTokenDegeneratedFound' (lines '627'-'627').627
Found 'DD'-anomaly for variable 'corpusProbability' (lines '629'-'629').629
Found 'DU'-anomaly for variable 'corpusProbability' (lines '629'-'645').629 - 645
Found 'DD'-anomaly for variable 'corpusProbability' (lines '629'-'613').629 - 613
Found 'DU'-anomaly for variable 'workCorpus' (lines '704'-'728').704 - 728
Found 'DD'-anomaly for variable 'theDoubleValue' (lines '716'-'720').716 - 720
A method should have only one exit point, and that should be the last statement in the method732
Found 'DU'-anomaly for variable 'c' (lines '735'-'743').735 - 743
A method should have only one exit point, and that should be the last statement in the method739
A method should have only one exit point, and that should be the last statement in the method748

Apache JAMES Server Common Utilities - org/apache/james/util/bayesian/JDBCBayesianAnalyzer.java

ViolationLine
Found 'DU'-anomaly for variable 'errorString' (lines '64'-'64').64
Perhaps 'sqlFile' could be replaced by a local variable.85
Avoid unnecessary constructors - the compiler will generate these for you153 - 154
It is a good practice to call super() in a constructor153 - 154
Found 'DD'-anomaly for variable 'pstmt' (lines '163'-'167').163 - 167
Found 'DD'-anomaly for variable 'rs' (lines '164'-'168').164 - 168
Found 'DU'-anomaly for variable 'token' (lines '172'-'235').172 - 235
Found 'DD'-anomaly for variable 'token' (lines '172'-'172').172
Avoid empty catch blocks220 - 221
Assigning an Object to null is a code smell. Consider refactoring.223
Found 'DU'-anomaly for variable 'rs' (lines '223'-'235').223 - 235
Avoid empty catch blocks229 - 230
Assigning an Object to null is a code smell. Consider refactoring.232
Found 'DU'-anomaly for variable 'pstmt' (lines '232'-'235').232 - 235
Found 'DD'-anomaly for variable 'init' (lines '279'-'284').279 - 284
Found 'DD'-anomaly for variable 'update' (lines '280'-'285').280 - 285
Avoid empty catch blocks298 - 299
Avoid empty catch blocks304 - 305
Found 'DD'-anomaly for variable 'insert' (lines '312'-'317').312 - 317
Found 'DD'-anomaly for variable 'update' (lines '313'-'320').313 - 320
Avoid empty catch blocks343 - 344
Assigning an Object to null is a code smell. Consider refactoring.346
Found 'DU'-anomaly for variable 'insert' (lines '346'-'358').346 - 358
Avoid empty catch blocks352 - 353
Assigning an Object to null is a code smell. Consider refactoring.355
Found 'DU'-anomaly for variable 'update' (lines '355'-'358').355 - 358
Found 'DU'-anomaly for variable 'dbMetaData' (lines '383'-'401').383 - 401
Found 'DD'-anomaly for variable 'dbUpdated' (lines '387'-'389').387 - 389
Found 'DD'-anomaly for variable 'dbUpdated' (lines '389'-'391').389 - 391
Found 'DD'-anomaly for variable 'dbUpdated' (lines '391'-'393').391 - 393
Found 'DU'-anomaly for variable 'dbUpdated' (lines '398'-'401').398 - 401
Found 'DU'-anomaly for variable 'createSqlStringName' (lines '403'-'435').403 - 435
A method should have only one exit point, and that should be the last statement in the method410
Found 'DD'-anomaly for variable 'createStatement' (lines '413'-'416').413 - 416
Found 'DD'-anomaly for variable 'logBuffer' (lines '420'-'421').420 - 421
Found 'DD'-anomaly for variable 'delete' (lines '438'-'442').438 - 442
Avoid empty catch blocks448 - 449
Assigning an Object to null is a code smell. Consider refactoring.451
Found 'DU'-anomaly for variable 'delete' (lines '451'-'454').451 - 454

Apache JAMES Server Common Utilities - org/apache/james/util/io/ClassLoaderObjectInputStream.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method57

Apache JAMES Server Common Utilities - org/apache/james/util/io/DirectoryFileFilter.java

ViolationLine
Each class should declare at least one constructor41 - 48

Apache JAMES Server Common Utilities - org/apache/james/util/io/ExtensionFileFilter.java

ViolationLine
Found 'DU'-anomaly for variable 'file' (lines '60'-'70').60 - 70
Found 'DU'-anomaly for variable 'name' (lines '60'-'70').60 - 70
A method should have only one exit point, and that should be the last statement in the method66

Apache JAMES Server Common Utilities - org/apache/james/util/io/IOUtil.java

ViolationLine
Avoid empty catch blocks145 - 147
Avoid empty catch blocks167 - 169
Avoid empty catch blocks188 - 190
Avoid empty catch blocks209 - 211
Avoid empty catch blocks226 - 227
Found 'DU'-anomaly for variable 'output' (lines '247'-'258').247 - 258
Found 'DD'-anomaly for variable 'n' (lines '253'-'254').253 - 254
Avoid assignments in operands254
Found 'DU'-anomaly for variable 'n' (lines '254'-'258').254 - 258
Found 'DU'-anomaly for variable 'output' (lines '273'-'282').273 - 282
Found 'DD'-anomaly for variable 'n' (lines '277'-'278').277 - 278
Avoid assignments in operands278
Found 'DU'-anomaly for variable 'n' (lines '278'-'282').278 - 282
Found 'DU'-anomaly for variable 'bufferSize' (lines '722'-'728').722 - 728
A method should have only one exit point, and that should be the last statement in the method750
A method should have only one exit point, and that should be the last statement in the method758

Apache JAMES Server Common Utilities - org/apache/james/util/io/ResettableFileInputStream.java

ViolationLine
It is a good practice to call super() in a constructor54 - 62

Apache JAMES Server Common Utilities - org/apache/james/util/sql/JDBCUtil.java

ViolationLine
Each class should declare at least one constructor40 - 199
Found 'DU'-anomaly for variable 'errorString' (lines '48'-'48').48
Avoid empty catch blocks194 - 196

Apache JAMES Server Common Utilities - org/apache/james/util/sql/SqlResources.java

ViolationLine
Each class should declare at least one constructor50 - 415
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '140'-'140').140
Found 'DD'-anomaly for variable 'dbProduct' (lines '146'-'148').146 - 148
Assigning an Object to null is a code smell. Consider refactoring.149
Found 'DD'-anomaly for variable 'sectionElement' (lines '168'-'171').168 - 171
Found 'DD'-anomaly for variable 'found' (lines '169'-'174').169 - 174
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '180'-'271').180 - 271
Found 'DD'-anomaly for variable 'sqlString' (lines '242'-'251').242 - 251
Found 'DU'-anomaly for variable 'replaceBuffer' (lines '246'-'271').246 - 271
Found 'DD'-anomaly for variable 'replaceBuffer' (lines '246'-'246').246
Found 'DU'-anomaly for variable 'dbProductName' (lines '290'-'311').290 - 311
Found 'DD'-anomaly for variable 'dbMatchName' (lines '297'-'297').297
Found 'DU'-anomaly for variable 'dbMatchName' (lines '297'-'311').297 - 311
A method should have only one exit point, and that should be the last statement in the method307
Found 'DU'-anomaly for variable 'dbOptionsMap' (lines '322'-'337').322 - 337
Found 'DU'-anomaly for variable 'dbProduct' (lines '322'-'337').322 - 337
Found 'DU'-anomaly for variable 'find_length' (lines '350'-'366').350 - 366
Found 'DU'-anomaly for variable 'replace_length' (lines '351'-'366').351 - 366
Found 'DU'-anomaly for variable 'outputOffset' (lines '355'-'366').355 - 366
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '389'-'389').389
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '394'-'402').394 - 402

Apache JAMES Server Common Utilities - org/apache/james/util/stream/CRLFOutputStream.java

ViolationLine
Found 'DU'-anomaly for variable 'buffer' (lines '111'-'145').111 - 145
Found 'DD'-anomaly for variable 'lineStart' (lines '114'-'134').114 - 134

Apache JAMES Server Common Utilities - org/apache/james/util/stream/CharTerminatedInputStream.java

ViolationLine
Perhaps 'endFound' could be replaced by a local variable.61
It is a good practice to call super() in a constructor72 - 86
A method should have only one exit point, and that should be the last statement in the method98
A method should have only one exit point, and that should be the last statement in the method109
A method should have only one exit point, and that should be the last statement in the method120
A method should have only one exit point, and that should be the last statement in the method135
A method should have only one exit point, and that should be the last statement in the method143

Apache JAMES Server Common Utilities - org/apache/james/util/stream/DebugInputStream.java

ViolationLine
Use explicit scoping instead of the default package private level35
It is a good practice to call super() in a constructor42 - 44

Apache JAMES Server Common Utilities - org/apache/james/util/stream/DotStuffingInputStream.java

ViolationLine
Found 'DU'-anomaly for variable 'len' (lines '70'-'99').70 - 99
Found 'DU'-anomaly for variable 'off' (lines '70'-'99').70 - 99
A method should have only one exit point, and that should be the last statement in the method77
A method should have only one exit point, and that should be the last statement in the method82
Found 'DU'-anomaly for variable 'b' (lines '84'-'99').84 - 99
Found 'DU'-anomaly for variable 'b' (lines '94'-'99').94 - 99

Apache JAMES Server Core API - org/apache/james/api/kernel/ServiceLocator.java

ViolationLine
Avoid modifiers which are implied by the context33
Found 'DU'-anomaly for variable 'name' (lines '33'-'33').33

Apache JAMES Server Core API - org/apache/james/services/FileSystem.java

ViolationLine
Avoid modifiers which are implied by the context46
Found 'DU'-anomaly for variable 'url' (lines '46'-'46').46
Avoid modifiers which are implied by the context55
Found 'DU'-anomaly for variable 'fileURL' (lines '55'-'55').55
Avoid modifiers which are implied by the context60

Apache JAMES Server Core API - org/apache/james/services/MailRepository.java

ViolationLine
Found 'DU'-anomaly for variable 'mc' (lines '55'-'55').55
Found 'DU'-anomaly for variable 'key' (lines '72'-'72').72
Found 'DU'-anomaly for variable 'mail' (lines '79'-'79').79
Found 'DU'-anomaly for variable 'mails' (lines '87'-'87').87
Found 'DU'-anomaly for variable 'key' (lines '94'-'94').94
Found 'DU'-anomaly for variable 'key' (lines '103'-'103').103
Found 'DU'-anomaly for variable 'key' (lines '112'-'112').112

Apache JAMES Server Core API - org/apache/james/services/MailServer.java

ViolationLine
Found 'DU'-anomaly for variable 'sender' (lines '66'-'67').66 - 67
Found 'DU'-anomaly for variable 'recipients' (lines '66'-'67').66 - 67
Found 'DU'-anomaly for variable 'msg' (lines '66'-'67').66 - 67
Found 'DU'-anomaly for variable 'sender' (lines '80'-'81').80 - 81
Found 'DU'-anomaly for variable 'recipients' (lines '80'-'81').80 - 81
Found 'DU'-anomaly for variable 'msg' (lines '80'-'81').80 - 81
Found 'DU'-anomaly for variable 'mail' (lines '89'-'90').89 - 90
Found 'DU'-anomaly for variable 'message' (lines '100'-'101').100 - 101
Found 'DU'-anomaly for variable 'userName' (lines '110'-'110').110
Found 'DU'-anomaly for variable 'password' (lines '130'-'130').130
Found 'DU'-anomaly for variable 'userName' (lines '130'-'130').130
Found 'DU'-anomaly for variable 'serverName' (lines '138'-'138').138

Apache JAMES Server Core API - org/apache/james/services/SpoolManager.java

ViolationLine
Found 'DU'-anomaly for variable 'processorName' (lines '39'-'39').39
Found 'DU'-anomaly for variable 'processorName' (lines '46'-'46').46

Apache JAMES Server Core API - org/apache/james/services/SpoolRepository.java

ViolationLine
Avoid modifiers which are implied by the context45 - 66
Found 'DU'-anomaly for variable 'key' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'lastUpdated' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'state' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'errorMessage' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'delay' (lines '92'-'92').92
Found 'DU'-anomaly for variable 'filter' (lines '104'-'104').104

Apache JAMES Server Core function - org/apache/james/dnsserver/DNSServer.java

ViolationLine
Each class should declare at least one constructor62 - 598
Perhaps 'mxComparator' could be replaced by a local variable.102
Found 'UR'-anomaly for variable 'searchPathsConfigurations' (lines '126'-'126').126
A method should have only one exit point, and that should be the last statement in the method283
Found 'DD'-anomaly for variable 'mxAnswers' (lines '286'-'288').286 - 288
Found 'DD'-anomaly for variable 'mxAnswers' (lines '288'-'288').288
Found 'DD'-anomaly for variable 'servers' (lines '304'-'306').304 - 306
Found 'DU'-anomaly for variable 'typeDesc' (lines '345'-'378').345 - 378
Found 'DU'-anomaly for variable 'r' (lines '355'-'378').355 - 378
A method should have only one exit point, and that should be the last statement in the method362
A method should have only one exit point, and that should be the last statement in the method382
Each class should declare at least one constructor405 - 412
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
Found 'DU'-anomaly for variable 'domainName' (lines '417'-'479').417 - 479
A method should have only one exit point, and that should be the last statement in the method516
A method should have only one exit point, and that should be the last statement in the method519
A method should have only one exit point, and that should be the last statement in the method538
A method should have only one exit point, and that should be the last statement in the method542
Found 'DD'-anomaly for variable 'result' (lines '578'-'583').578 - 583
Found 'DD'-anomaly for variable 'result' (lines '578'-'586').578 - 586

Apache JAMES Server Core function - org/apache/james/dnsserver/DNSServerMBean.java

ViolationLine
Avoid modifiers which are implied by the context34

Apache JAMES Server Core function - org/apache/james/domain/AbstractDomainList.java

ViolationLine
Each class should declare at least one constructor42 - 201
Found 'DD'-anomaly for variable 'hostName' (lines '62'-'64').62 - 64
Found 'DD'-anomaly for variable 'hostName' (lines '64'-'66').64 - 66
A method should have only one exit point, and that should be the last statement in the method85
Found 'DU'-anomaly for variable 'log' (lines '98'-'112').98 - 112
Found 'DU'-anomaly for variable 'dns' (lines '98'-'112').98 - 112
Found 'DU'-anomaly for variable 'domain' (lines '192'-'192').192
Found 'DU'-anomaly for variable 'domain' (lines '200'-'200').200

Apache JAMES Server Core function - org/apache/james/domain/JDBCDomainList.java

ViolationLine
Each class should declare at least one constructor51 - 368
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '84'-'84').84
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '111'-'142').111 - 142
Found 'DU'-anomaly for variable 'autoIPConf' (lines '138'-'142').138 - 142
Found 'DD'-anomaly for variable 'logBuffer' (lines '151'-'173').151 - 173
Found 'DD'-anomaly for variable 'logBuffer' (lines '151'-'206').151 - 206
Found 'DU'-anomaly for variable 'logBuffer' (lines '151'-'220').151 - 220
Found 'DD'-anomaly for variable 'createStatement' (lines '158'-'201').158 - 201
Found 'DD'-anomaly for variable 'sqlFile' (lines '163'-'165').163 - 165
Assigning an Object to null is a code smell. Consider refactoring.166
Found 'DD'-anomaly for variable 'conn' (lines '245'-'249').245 - 249
Found 'DD'-anomaly for variable 'mappingStmt' (lines '246'-'250').246 - 250
Found 'DD'-anomaly for variable 'mappingRS' (lines '252'-'254').252 - 254
Found 'DU'-anomaly for variable 'domain' (lines '256'-'276').256 - 276
Found 'DD'-anomaly for variable 'domain' (lines '256'-'256').256
A method should have only one exit point, and that should be the last statement in the method272
Found 'DD'-anomaly for variable 'conn' (lines '282'-'286').282 - 286
Found 'DD'-anomaly for variable 'mappingStmt' (lines '283'-'287').283 - 287
Found 'DD'-anomaly for variable 'mappingRS' (lines '289'-'292').289 - 292
A method should have only one exit point, and that should be the last statement in the method294
Found 'DD'-anomaly for variable 'conn' (lines '313'-'317').313 - 317
Found 'DD'-anomaly for variable 'mappingStmt' (lines '314'-'318').314 - 318
Found 'DU'-anomaly for variable 'mappingRS' (lines '320'-'337').320 - 337
A method should have only one exit point, and that should be the last statement in the method324
Found 'DD'-anomaly for variable 'conn' (lines '343'-'347').343 - 347
Found 'DD'-anomaly for variable 'mappingStmt' (lines '344'-'348').344 - 348
Found 'DU'-anomaly for variable 'mappingRS' (lines '350'-'367').350 - 367
A method should have only one exit point, and that should be the last statement in the method354

Apache JAMES Server Core function - org/apache/james/domain/XMLDomainList.java

ViolationLine
Each class should declare at least one constructor35 - 117
Found 'DU'-anomaly for variable 'autoIPConf' (lines '58'-'63').58 - 63
Found 'DU'-anomaly for variable 'domains' (lines '80'-'83').80 - 83
A method should have only one exit point, and that should be the last statement in the method81
A method should have only one exit point, and that should be the last statement in the method101
Found 'DU'-anomaly for variable 'domain' (lines '110'-'116').110 - 116
A method should have only one exit point, and that should be the last statement in the method114

Apache JAMES Server Core function - org/apache/james/mailrepository/AbstractMailRepository.java

ViolationLine
Each class should declare at least one constructor44 - 223
Use explicit scoping instead of the default package private level65 - 67
A method should have only one exit point, and that should be the last statement in the method102
A method should have only one exit point, and that should be the last statement in the method124
Found 'UR'-anomaly for variable 'key' (lines '134'-'134').134
Found 'DD'-anomaly for variable 'wasLocked' (lines '135'-'139').135 - 139
Found 'DU'-anomaly for variable 'mc' (lines '175'-'175').175
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '199'-'199').199
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '207'-'214').207 - 214
Found 'DU'-anomaly for variable 'key' (lines '220'-'220').220

Apache JAMES Server Core function - org/apache/james/mailrepository/AvalonMailRepository.java

ViolationLine
Each class should declare at least one constructor58 - 282
Found 'UR'-anomaly for variable 'exceptionString' (lines '71'-'71').71
Found 'DU'-anomaly for variable 'exceptionString' (lines '78'-'88').78 - 88
Found 'DD'-anomaly for variable 'saveStream' (lines '168'-'199').168 - 199
Found 'DD'-anomaly for variable 'out' (lines '203'-'205').203 - 205
Found 'DD'-anomaly for variable 'mc' (lines '223'-'225').223 - 225
Found 'DU'-anomaly for variable 'mc' (lines '225'-'251').225 - 251
A method should have only one exit point, and that should be the last statement in the method241

Apache JAMES Server Core function - org/apache/james/mailrepository/AvalonMailStore.java

ViolationLine
Each class should declare at least one constructor46 - 373
Found 'DU'-anomaly for variable 'className' (lines '131'-'168').131 - 168
Found 'DU'-anomaly for variable 'infoEnabled' (lines '132'-'168').132 - 168
Found 'DU'-anomaly for variable 'types' (lines '135'-'168').135 - 168
Found 'DU'-anomaly for variable 'protocol' (lines '138'-'168').138 - 168
Found 'DD'-anomaly for variable 'protocol' (lines '138'-'138').138
Found 'DU'-anomaly for variable 'defConf' (lines '141'-'168').141 - 168
Found 'DD'-anomaly for variable 'defConf' (lines '141'-'141').141
Found 'UR'-anomaly for variable 'destination' (lines '188'-'188').188
Found 'DD'-anomaly for variable 'repConf' (lines '189'-'191').189 - 191
Found 'DD'-anomaly for variable 'destination' (lines '196'-'199').196 - 199
Found 'DD'-anomaly for variable 'protocol' (lines '197'-'205').197 - 205
Found 'DU'-anomaly for variable 'protocol' (lines '205'-'292').205 - 292
Found 'DD'-anomaly for variable 'logBuffer' (lines '216'-'219').216 - 219
Found 'DU'-anomaly for variable 'logBuffer' (lines '216'-'292').216 - 292
Found 'DD'-anomaly for variable 'logBuffer' (lines '216'-'233').216 - 233
Found 'DD'-anomaly for variable 'logBuffer' (lines '216'-'270').216 - 270
A method should have only one exit point, and that should be the last statement in the method227
Found 'DD'-anomaly for variable 'comp' (lines '317'-'319').317 - 319
Found 'DU'-anomaly for variable 'toConfig' (lines '335'-'364').335 - 364
Found 'DU'-anomaly for variable 'component' (lines '372'-'372').372

Apache JAMES Server Core function - org/apache/james/mailrepository/AvalonSpoolRepository.java

ViolationLine
Each class should declare at least one constructor41 - 185
Found 'DU'-anomaly for variable 'delay' (lines '80'-'120').80 - 120
Found 'DU'-anomaly for variable 'delay' (lines '80'-'120').80 - 120
Found 'DU'-anomaly for variable 'delay' (lines '80'-'120').80 - 120
Found 'DU'-anomaly for variable 'filter' (lines '135'-'183').135 - 183

Apache JAMES Server Core function - org/apache/james/mailrepository/JDBCMailRepository.java

ViolationLine
Each class should declare at least one constructor82 - 931
Found 'DD'-anomaly for variable 'logBuffer' (lines '152'-'154').152 - 154
Found 'DU'-anomaly for variable 'logBuffer' (lines '152'-'164').152 - 164
Found 'UR'-anomaly for variable 'message' (lines '173'-'173').173
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '173'-'173').173
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '201'-'269').201 - 269
Found 'DD'-anomaly for variable 'logBuffer' (lines '283'-'313').283 - 313
Found 'DD'-anomaly for variable 'logBuffer' (lines '283'-'347').283 - 347
Found 'DU'-anomaly for variable 'logBuffer' (lines '283'-'362').283 - 362
Found 'DD'-anomaly for variable 'logBuffer' (lines '283'-'313').283 - 313
Found 'DD'-anomaly for variable 'logBuffer' (lines '283'-'347').283 - 347
Found 'DU'-anomaly for variable 'logBuffer' (lines '283'-'362').283 - 362
Found 'DD'-anomaly for variable 'createStatement' (lines '299'-'342').299 - 342
Found 'DD'-anomaly for variable 'createStatement' (lines '299'-'342').299 - 342
Found 'DD'-anomaly for variable 'sqlFile' (lines '304'-'306').304 - 306
Found 'DD'-anomaly for variable 'sqlFile' (lines '304'-'306').304 - 306
Found 'UR'-anomaly for variable 'logBuffer' (lines '372'-'372').372
Found 'DD'-anomaly for variable 'hasUpdateMessageAttributesSQL' (lines '374'-'391').374 - 391
Found 'DD'-anomaly for variable 'hasRetrieveMessageAttributesSQL' (lines '375'-'399').375 - 399
Found 'DU'-anomaly for variable 'logBuffer' (lines '379'-'450').379 - 450
Found 'DD'-anomaly for variable 'conn' (lines '457'-'459').457 - 459
Found 'DD'-anomaly for variable 'checkMessageExists' (lines '465'-'469').465 - 469
Found 'DD'-anomaly for variable 'rsExists' (lines '466'-'473').466 - 473
Found 'DD'-anomaly for variable 'exists' (lines '467'-'474').467 - 474
Found 'DD'-anomaly for variable 'updateMessage' (lines '482'-'485').482 - 485
Assigning an Object to null is a code smell. Consider refactoring.511
Found 'DU'-anomaly for variable 'updateMessage' (lines '511'-'670').511 - 670
Found 'DD'-anomaly for variable 'updateMessageAttr' (lines '519'-'521').519 - 521
Found 'DD'-anomaly for variable 'saveBody' (lines '563'-'571').563 - 571
Found 'DD'-anomaly for variable 'saveBody' (lines '563'-'573').563 - 573
Found 'DD'-anomaly for variable 'insertMessage' (lines '594'-'598').594 - 598
Found 'DD'-anomaly for variable 'conn' (lines '680'-'684').680 - 684
Found 'DD'-anomaly for variable 'retrieveMessage' (lines '681'-'689').681 - 689
Found 'DD'-anomaly for variable 'rsMessage' (lines '682'-'693').682 - 693
A method should have only one exit point, and that should be the last statement in the method707
Found 'DD'-anomaly for variable 'retrieveMessageAttr' (lines '710'-'717').710 - 717
Found 'DU'-anomaly for variable 'retrieveMessageAttr' (lines '710'-'819').710 - 819
Found 'DD'-anomaly for variable 'attributes' (lines '711'-'738').711 - 738
Found 'DD'-anomaly for variable 'rsMessageAttr' (lines '715'-'722').715 - 722
Found 'DD'-anomaly for variable 'serialized_attr' (lines '726'-'730').726 - 730
Found 'DD'-anomaly for variable 'serialized_attr' (lines '726'-'732').726 - 732
Found 'DD'-anomaly for variable 'conn' (lines '825'-'828').825 - 828
Found 'DD'-anomaly for variable 'removeMessage' (lines '826'-'829').826 - 829
Found 'DD'-anomaly for variable 'conn' (lines '851'-'855').851 - 855
Found 'DD'-anomaly for variable 'listMessages' (lines '852'-'856').852 - 856
Found 'DD'-anomaly for variable 'rsListMessages' (lines '853'-'859').853 - 859
A method should have only one exit point, and that should be the last statement in the method890
Found 'DD'-anomaly for variable 'result' (lines '905'-'907').905 - 907
Found 'DD'-anomaly for variable 'result' (lines '905'-'910').905 - 910
Found 'DD'-anomaly for variable 'result' (lines '907'-'910').907 - 910

Apache JAMES Server Core function - org/apache/james/mailrepository/JDBCSpoolRepository.java

ViolationLine
Each class should declare at least one constructor91 - 321
Found 'DU'-anomaly for variable 'delay' (lines '140'-'177').140 - 177
Found 'DU'-anomaly for variable 'delay' (lines '140'-'177').140 - 177
Found 'DU'-anomaly for variable 'delay' (lines '140'-'177').140 - 177
Found 'DU'-anomaly for variable 'filter' (lines '183'-'222').183 - 222
Found 'DD'-anomaly for variable 'next' (lines '187'-'188').187 - 188
Avoid assignments in operands188
Found 'DD'-anomaly for variable 'next' (lines '188'-'187').188 - 187
Found 'DU'-anomaly for variable 'next' (lines '188'-'222').188 - 222
Found 'DU'-anomaly for variable 'filter' (lines '242'-'256').242 - 256
A method should have only one exit point, and that should be the last statement in the method251
Found 'DU'-anomaly for variable 'filter' (lines '261'-'303').261 - 303
Found 'DD'-anomaly for variable 'conn' (lines '266'-'270').266 - 270
Found 'DD'-anomaly for variable 'listMessages' (lines '267'-'271').267 - 271
Found 'DD'-anomaly for variable 'rsListMessages' (lines '268'-'279').268 - 279

Apache JAMES Server Core function - org/apache/james/mailrepository/MBoxMailRepository.java

ViolationLine
Each class should declare at least one constructor113 - 811
Use explicit scoping instead of the default package private level118
Use explicit scoping instead of the default package private level119
Use explicit scoping instead of the default package private level120
Use explicit scoping instead of the default package private level121
Use explicit scoping instead of the default package private level122
Use explicit scoping instead of the default package private level123
Use explicit scoping instead of the default package private level124
Avoid modifiers which are implied by the context152
Avoid modifiers which are implied by the context153
Found 'DU'-anomaly for variable 'bodyText' (lines '153'-'153').153
Found 'DU'-anomaly for variable 'messageStart' (lines '153'-'153').153
Found 'DU'-anomaly for variable 'messageSeparator' (lines '153'-'153').153
Found 'DD'-anomaly for variable 'mimeMessage' (lines '177'-'183').177 - 183
Found 'DU'-anomaly for variable 'messAct' (lines '244'-'349').244 - 349
Found 'DU'-anomaly for variable 'sepMatchPattern' (lines '257'-'349').257 - 349
Found 'DU'-anomaly for variable 'sepMatch' (lines '258'-'349').258 - 349
Found 'DU'-anomaly for variable 'inMessage' (lines '261'-'349').261 - 349
Found 'DD'-anomaly for variable 'previousMessageSeparator' (lines '263'-'288').263 - 288
Found 'DU'-anomaly for variable 'previousMessageSeparator' (lines '263'-'349').263 - 349
Found 'DD'-anomaly for variable 'previousMessageSeparator' (lines '263'-'316').263 - 316
Found 'DD'-anomaly for variable 'foundSep' (lines '264'-'270').264 - 270
Found 'DU'-anomaly for variable 'foundSep' (lines '264'-'349').264 - 349
Found 'DD'-anomaly for variable 'foundSep' (lines '264'-'299').264 - 299
Found 'DU'-anomaly for variable 'prevMessageStart' (lines '266'-'349').266 - 349
Found 'DD'-anomaly for variable 'line' (lines '268'-'269').268 - 269
Avoid assignments in operands269
Found 'DU'-anomaly for variable 'line' (lines '269'-'349').269 - 349
Found 'DD'-anomaly for variable 'endResult' (lines '276'-'276').276
Found 'DU'-anomaly for variable 'endResult' (lines '276'-'349').276 - 349
A method should have only one exit point, and that should be the last statement in the method279
Found 'DD'-anomaly for variable 'previousMessageSeparator' (lines '281'-'288').281 - 288
Found 'DU'-anomaly for variable 'previousMessageSeparator' (lines '281'-'349').281 - 349
Found 'DU'-anomaly for variable 'prevMessageStart' (lines '282'-'349').282 - 349
Found 'DU'-anomaly for variable 'previousMessageSeparator' (lines '288'-'349').288 - 349
Found 'DD'-anomaly for variable 'previousMessageSeparator' (lines '288'-'288').288
Found 'DU'-anomaly for variable 'line' (lines '296'-'349').296 - 349
Avoid assignments in operands297
Found 'DU'-anomaly for variable 'c' (lines '297'-'349').297 - 349
A method should have only one exit point, and that should be the last statement in the method307
Found 'DD'-anomaly for variable 'previousMessageSeparator' (lines '309'-'316').309 - 316
Found 'DU'-anomaly for variable 'previousMessageSeparator' (lines '309'-'349').309 - 349
Found 'DU'-anomaly for variable 'prevMessageStart' (lines '310'-'349').310 - 349
Found 'DU'-anomaly for variable 'previousMessageSeparator' (lines '316'-'349').316 - 349
Found 'DD'-anomaly for variable 'previousMessageSeparator' (lines '316'-'316').316
Found 'DU'-anomaly for variable 'inMessage' (lines '317'-'349').317 - 349
Found 'DU'-anomaly for variable 'line' (lines '322'-'349').322 - 349
A method should have only one exit point, and that should be the last statement in the method331
Found 'DD'-anomaly for variable 'foundMessage' (lines '359'-'362').359 - 362
Assigning an Object to null is a code smell. Consider refactoring.368
Found 'DU'-anomaly for variable 'foundMessage' (lines '380'-'448').380 - 448
Found 'DU'-anomaly for variable 'foundMessage' (lines '380'-'448').380 - 448
Found 'DU'-anomaly for variable 'foundMessage' (lines '380'-'448').380 - 448
A method should have only one exit point, and that should be the last statement in the method393
Found 'DD'-anomaly for variable 'ins' (lines '408'-'410').408 - 410
Found 'DD'-anomaly for variable 'ins' (lines '408'-'410').408 - 410
Found 'DD'-anomaly for variable 'ins' (lines '408'-'410').408 - 410
Found 'DU'-anomaly for variable 'ins' (lines '410'-'448').410 - 448
Found 'DU'-anomaly for variable 'ins' (lines '410'-'448').410 - 448
Found 'DU'-anomaly for variable 'ins' (lines '410'-'448').410 - 448
Found 'DU'-anomaly for variable 'op' (lines '414'-'448').414 - 448
Found 'DU'-anomaly for variable 'op' (lines '414'-'448').414 - 448
Found 'DU'-anomaly for variable 'op' (lines '414'-'448').414 - 448
These nested if statements could be combined435 - 443
Found 'DD'-anomaly for variable 'ins' (lines '457'-'459').457 - 459
Found 'DD'-anomaly for variable 'ins' (lines '457'-'459').457 - 459
Found 'DD'-anomaly for variable 'ins' (lines '457'-'459').457 - 459
Assigning an Object to null is a code smell. Consider refactoring.510
Found 'DD'-anomaly for variable 'fromHeader' (lines '512'-'518').512 - 518
Found 'DD'-anomaly for variable 'fromHeader' (lines '512'-'520').512 - 520
Found 'DD'-anomaly for variable 'message' (lines '513'-'515').513 - 515
Found 'DD'-anomaly for variable 'saveFile' (lines '529'-'531').529 - 531
Found 'DU'-anomaly for variable 'res' (lines '578'-'598').578 - 598
Found 'DD'-anomaly for variable 'res' (lines '578'-'585').578 - 585
A method should have only one exit point, and that should be the last statement in the method583
Found 'DU'-anomaly for variable 'sleepCount' (lines '617'-'645').617 - 645
Found 'DU'-anomaly for variable 'mails' (lines '669'-'747').669 - 747
Found 'DU'-anomaly for variable 'mails' (lines '669'-'747').669 - 747
Found 'DU'-anomaly for variable 'mails' (lines '669'-'747').669 - 747
Found 'DU'-anomaly for variable 'outputFile' (lines '686'-'747').686 - 747
Found 'DU'-anomaly for variable 'outputFile' (lines '686'-'747').686 - 747
Found 'DU'-anomaly for variable 'outputFile' (lines '686'-'747').686 - 747
Found 'DU'-anomaly for variable 'key' (lines '752'-'765').752 - 765
Found 'DU'-anomaly for variable 'key' (lines '770'-'772').770 - 772
Found 'DU'-anomaly for variable 'key' (lines '777'-'779').777 - 779
Found 'UR'-anomaly for variable 'exceptionString' (lines '784'-'784').784
Assigning an Object to null is a code smell. Consider refactoring.786
Found 'DU'-anomaly for variable 'exceptionString' (lines '803'-'809').803 - 809

Apache JAMES Server Core function - org/apache/james/mailrepository/MailStoreSpoolRepository.java

ViolationLine
Each class should declare at least one constructor53 - 185

Apache JAMES Server Core function - org/apache/james/mailrepository/MessageInputStream.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.77
Found 'DD'-anomaly for variable 'bodyOut' (lines '135'-'140').135 - 140
Found 'DD'-anomaly for variable 'bodyOut' (lines '135'-'143').135 - 143
Assigning an Object to null is a code smell. Consider refactoring.173
Assigning an Object to null is a code smell. Consider refactoring.174
Assigning an Object to null is a code smell. Consider refactoring.221

Apache JAMES Server Core function - org/apache/james/mailrepository/MimeMessageAvalonSource.java

ViolationLine
Use explicit scoping instead of the default package private level37
Use explicit scoping instead of the default package private level42
Use explicit scoping instead of the default package private level48
Perhaps 'size' could be replaced by a local variable.50
It is a good practice to call super() in a constructor59 - 63

Apache JAMES Server Core function - org/apache/james/mailrepository/MimeMessageJDBCSource.java

ViolationLine
Use explicit scoping instead of the default package private level50
Use explicit scoping instead of the default package private level51
Use explicit scoping instead of the default package private level52
Perhaps 'size' could be replaced by a local variable.54
Use explicit scoping instead of the default package private level59
Use explicit scoping instead of the default package private level64
Found 'DU'-anomaly for variable 'logString' (lines '71'-'74').71 - 74
It is a good practice to call super() in a constructor86 - 103
Found 'DD'-anomaly for variable 'conn' (lines '129'-'133').129 - 133
Found 'DD'-anomaly for variable 'retrieveMessageStream' (lines '130'-'142').130 - 142
Found 'DD'-anomaly for variable 'rsRetrieveMessageStream' (lines '131'-'145').131 - 145
Found 'DD'-anomaly for variable 'headers' (lines '135'-'154').135 - 154
Found 'DD'-anomaly for variable 'headers' (lines '135'-'156').135 - 156
Found 'DD'-anomaly for variable 'start' (lines '137'-'139').137 - 139
Found 'DU'-anomaly for variable 'start' (lines '137'-'180').137 - 180
Found 'DU'-anomaly for variable 'start' (lines '139'-'180').139 - 180
Found 'DD'-anomaly for variable 'in' (lines '163'-'166').163 - 166
Avoid empty catch blocks168 - 171
A method should have only one exit point, and that should be the last statement in the method188
A method should have only one exit point, and that should be the last statement in the method192
Found 'DD'-anomaly for variable 'conn' (lines '194'-'198').194 - 198
Found 'DD'-anomaly for variable 'retrieveMessageSize' (lines '195'-'200').195 - 200
Found 'DD'-anomaly for variable 'rsRetrieveMessageSize' (lines '196'-'203').196 - 203
Found 'DD'-anomaly for variable 'in' (lines '211'-'217').211 - 217
Found 'DD'-anomaly for variable 'len' (lines '218'-'220').218 - 220
Avoid assignments in operands220
Found 'DU'-anomaly for variable 'len' (lines '220'-'246').220 - 246
Avoid empty catch blocks225 - 228
Avoid empty catch blocks233 - 235
A method should have only one exit point, and that should be the last statement in the method256 - 257
Found 'DD'-anomaly for variable 'result' (lines '268'-'270').268 - 270
Found 'DD'-anomaly for variable 'result' (lines '268'-'273').268 - 273
Found 'DD'-anomaly for variable 'result' (lines '270'-'273').270 - 273

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/AbstractJavamailStoreMailRepository.java

ViolationLine
Each class should declare at least one constructor58 - 396
Found 'UR'-anomaly for variable 'exceptionString' (lines '128'-'128').128
Use explicit scoping instead of the default package private level231 - 233
Use explicit scoping instead of the default package private level240 - 242
A method should have only one exit point, and that should be the last statement in the method261
A method should have only one exit point, and that should be the last statement in the method284
Use explicit scoping instead of the default package private level367 - 370

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/FolderAdapter.java

ViolationLine
These nested if statements could be combined165 - 167
Found 'DD'-anomaly for variable 'fis' (lines '439'-'441').439 - 441
Found 'DD'-anomaly for variable 'fis' (lines '441'-'441').441

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/FolderAdapterFactory.java

ViolationLine
Found 'DU'-anomaly for variable 'folder' (lines '31'-'31').31

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/FolderGateKeeper.java

ViolationLine
Avoid modifiers which are implied by the context51
Avoid modifiers which are implied by the context63
Avoid modifiers which are implied by the context76
Avoid modifiers which are implied by the context83
Avoid modifiers which are implied by the context94
Avoid modifiers which are implied by the context99
Avoid modifiers which are implied by the context104
Found 'DU'-anomaly for variable 'holds_folders' (lines '104'-'104').104
Avoid modifiers which are implied by the context109
Found 'DU'-anomaly for variable 'folder' (lines '114'-'114').114
Avoid modifiers which are implied by the context119
Found 'DU'-anomaly for variable 'newName' (lines '119'-'119').119

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/FolderGateKeeperImpl.java

ViolationLine
Use explicit scoping instead of the default package private level39
Found 'DU'-anomaly for variable 'destination' (lines '164'-'171').164 - 171

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/FolderInterface.java

ViolationLine
Avoid modifiers which are implied by the context37
Avoid modifiers which are implied by the context42
Found 'DU'-anomaly for variable 'no' (lines '42'-'42').42
Avoid modifiers which are implied by the context47
Avoid modifiers which are implied by the context52
Found 'DU'-anomaly for variable 'messages' (lines '52'-'52').52
Avoid modifiers which are implied by the context57
Avoid modifiers which are implied by the context62
Found 'DU'-anomaly for variable 'status' (lines '62'-'62').62
Avoid modifiers which are implied by the context67
Found 'DU'-anomaly for variable 'b' (lines '67'-'67').67
Avoid modifiers which are implied by the context72
Avoid modifiers which are implied by the context77
Found 'DU'-anomaly for variable 'holds_messages' (lines '77'-'77').77
Avoid modifiers which are implied by the context82
Avoid modifiers which are implied by the context87
Avoid modifiers which are implied by the context92
Avoid modifiers which are implied by the context97
Avoid modifiers which are implied by the context102
Avoid modifiers which are implied by the context107
Avoid modifiers which are implied by the context112
Avoid modifiers which are implied by the context117
Found 'DU'-anomaly for variable 'string' (lines '117'-'117').117
Avoid modifiers which are implied by the context122
Found 'DU'-anomaly for variable 'recurse' (lines '122'-'122').122
Avoid modifiers which are implied by the context127
Found 'DU'-anomaly for variable 'destination' (lines '127'-'127').127

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/HashJavamailStoreMailRepository.java

ViolationLine
Each class should declare at least one constructor53 - 597
Perhaps 'getMessageCountOnClosed' could be replaced by a local variable.63
Found 'DD'-anomaly for variable 'n' (lines '69'-'71').69 - 71
Found 'DD'-anomaly for variable 'n' (lines '69'-'77').69 - 77
Found 'DD'-anomaly for variable 'wasLocked' (lines '95'-'108').95 - 108
Found 'DD'-anomaly for variable 'use' (lines '102'-'123').102 - 123
Found 'DD'-anomaly for variable 'countBefore' (lines '120'-'129').120 - 129
Found 'DD'-anomaly for variable 'use' (lines '123'-'136').123 - 136
Found 'DD'-anomaly for variable 'no' (lines '140'-'143').140 - 143
Found 'DD'-anomaly for variable 'm' (lines '197'-'202').197 - 202
Found 'DU'-anomaly for variable 'filterkey' (lines '257'-'279').257 - 279
Found 'DD'-anomaly for variable 'mm' (lines '261'-'274').261 - 274
Found 'DD'-anomaly for variable 'keys' (lines '263'-'268').263 - 268
Found 'DD'-anomaly for variable 'keys' (lines '268'-'268').268
Found 'DD'-anomaly for variable 'mm' (lines '274'-'274').274
A method should have only one exit point, and that should be the last statement in the method297
Found 'DD'-anomaly for variable 'mm' (lines '299'-'302').299 - 302
Found 'DD'-anomaly for variable 'mm' (lines '299'-'309').299 - 309
Found 'DD'-anomaly for variable 'hash' (lines '306'-'311').306 - 311
Found 'DU'-anomaly for variable 'hash' (lines '306'-'335').306 - 335
Assigning an Object to null is a code smell. Consider refactoring.316
Each class should declare at least one constructor349 - 359
Use explicit scoping instead of the default package private level350
Found 'DU'-anomaly for variable 'decrement' (lines '436'-'456').436 - 456
Found 'DU'-anomaly for variable 'key' (lines '500'-'527').500 - 527
Each class should declare at least one constructor544 - 552
Use explicit scoping instead of the default package private level545
Use explicit scoping instead of the default package private level547
Use explicit scoping instead of the default package private level549
Use explicit scoping instead of the default package private level551

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/LockAdapter.java

ViolationLine
Each class should declare at least one constructor29 - 55
Use explicit scoping instead of the default package private level30

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/LockInterface.java

ViolationLine
Avoid modifiers which are implied by the context36
Found 'DU'-anomaly for variable 'key' (lines '36'-'36').36
Avoid modifiers which are implied by the context44
Found 'DU'-anomaly for variable 'key' (lines '44'-'44').44
Avoid modifiers which are implied by the context52
Found 'DU'-anomaly for variable 'key' (lines '52'-'52').52

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/StoreGateKeeper.java

ViolationLine
Avoid modifiers which are implied by the context26
Found 'DU'-anomaly for variable 'string' (lines '26'-'26').26
Avoid modifiers which are implied by the context28
Found 'DU'-anomaly for variable 'folderFactory' (lines '28'-'28').28
Avoid modifiers which are implied by the context30
Avoid modifiers which are implied by the context32
Found 'DU'-anomaly for variable 'string' (lines '32'-'32').32
Avoid modifiers which are implied by the context34
Found 'DU'-anomaly for variable 'to' (lines '34'-'34').34
Found 'DU'-anomaly for variable 'from' (lines '34'-'34').34

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/StoreGateKeeperAware.java

ViolationLine
Avoid modifiers which are implied by the context28

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/StoreGateKeeperImpl.java

ViolationLine
Use explicit scoping instead of the default package private level33
Use explicit scoping instead of the default package private level34
A method should have only one exit point, and that should be the last statement in the method47
Found 'DU'-anomaly for variable 'fromName' (lines '100'-'112').100 - 112

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/UIDPlusFolder.java

ViolationLine
Avoid modifiers which are implied by the context45
Found 'DU'-anomaly for variable 'msgs' (lines '45'-'45').45
Avoid modifiers which are implied by the context61
Found 'DU'-anomaly for variable 'msgs' (lines '61'-'61').61

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/UIDPlusFolderAdapter.java

ViolationLine
Found 'UR'-anomaly for variable 'cause' (lines '56'-'56').56
Found 'UR'-anomaly for variable 'cause' (lines '75'-'75').75

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/UIDPlusFolderMailRepository.java

ViolationLine
Each class should declare at least one constructor50 - 375
Perhaps 'deliveryMode' could be replaced by a local variable.62
Found 'DU'-anomaly for variable 'message' (lines '64'-'98').64 - 98
Found 'DD'-anomaly for variable 'uids' (lines '67'-'71').67 - 71
Found 'DD'-anomaly for variable 'uids' (lines '67'-'86').67 - 86
Found 'DD'-anomaly for variable 'uids' (lines '71'-'86').71 - 86
Found 'DD'-anomaly for variable 'wasLocked' (lines '117'-'122').117 - 122
Use explicit scoping instead of the default package private level171 - 173
A method should have only one exit point, and that should be the last statement in the method192
Found 'DU'-anomaly for variable 'uidvalidity' (lines '251'-'282').251 - 282
Found 'DD'-anomaly for variable 'uidvalidity' (lines '251'-'251').251
Avoid empty catch blocks264 - 267
Found 'DU'-anomaly for variable 'inbox' (lines '284'-'299').284 - 299
A method should have only one exit point, and that should be the last statement in the method289
Found 'DD'-anomaly for variable 'l' (lines '342'-'344').342 - 344

Apache JAMES Server Core function - org/apache/james/mailrepository/javamail/UidToKeyBidiMap.java

ViolationLine
Found 'DU'-anomaly for variable 'key' (lines '31'-'31').31
Found 'DU'-anomaly for variable 'key' (lines '33'-'33').33
Found 'DU'-anomaly for variable 'uid' (lines '33'-'33').33
Found 'DU'-anomaly for variable 'key' (lines '35'-'35').35
Found 'DU'-anomaly for variable 'uid' (lines '39'-'39').39
Found 'DU'-anomaly for variable 'keys' (lines '41'-'41').41
Found 'DU'-anomaly for variable 'keysBefore' (lines '41'-'41').41
Found 'DU'-anomaly for variable 'key' (lines '43'-'43').43

Apache JAMES Server Core function - org/apache/james/util/dbcp/JdbcDataSource.java

ViolationLine
Each class should declare at least one constructor83 - 224
Use explicit scoping instead of the default package private level88
Found 'DU'-anomaly for variable 'dburl' (lines '102'-'204').102 - 204
Found 'DU'-anomaly for variable 'dburl' (lines '102'-'204').102 - 204
Found 'DU'-anomaly for variable 'dburl' (lines '102'-'204').102 - 204
Found 'DU'-anomaly for variable 'user' (lines '103'-'204').103 - 204
Found 'DU'-anomaly for variable 'user' (lines '103'-'204').103 - 204
Found 'DU'-anomaly for variable 'user' (lines '103'-'204').103 - 204
Found 'DU'-anomaly for variable 'password' (lines '104'-'204').104 - 204
Found 'DU'-anomaly for variable 'password' (lines '104'-'204').104 - 204
Found 'DU'-anomaly for variable 'password' (lines '104'-'204').104 - 204
This statement may have some unnecessary parentheses113

Apache JAMES Server Core function - org/apache/james/util/scheduler/SchedulerNotifyInputStream.java

ViolationLine
Use explicit scoping instead of the default package private level39
Use explicit scoping instead of the default package private level44
Use explicit scoping instead of the default package private level49
Use explicit scoping instead of the default package private level54
Use explicit scoping instead of the default package private level59
It is a good practice to call super() in a constructor67 - 75

Apache JAMES Server Core function - org/apache/james/util/scheduler/SchedulerNotifyOutputStream.java

ViolationLine
Use explicit scoping instead of the default package private level39
Use explicit scoping instead of the default package private level44
Use explicit scoping instead of the default package private level49
Use explicit scoping instead of the default package private level54
Use explicit scoping instead of the default package private level59
It is a good practice to call super() in a constructor61 - 69

Apache JAMES Server Core Library - org/apache/james/Constants.java

ViolationLine
Each class should declare at least one constructor31 - 72

Apache JAMES Server Core Library - org/apache/james/core/MailHeaders.java

ViolationLine
Overriding method merely calls super138 - 141

Apache JAMES Server Core Library - org/apache/james/core/MailImpl.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.128
Found 'UR'-anomaly for variable 'returnPathHeader' (lines '222'-'222').222
Found 'DD'-anomaly for variable 'mailAddress' (lines '223'-'232').223 - 232
Found 'DD'-anomaly for variable 'returnPathHeader' (lines '225'-'227').225 - 227
Found 'DU'-anomaly for variable 'returnPathHeader' (lines '225'-'240').225 - 240
A method should have only one exit point, and that should be the last statement in the method259
Avoid empty catch blocks260 - 262
Found 'DU'-anomaly for variable 'out' (lines '453'-'459').453 - 459
Assigning an Object to null is a code smell. Consider refactoring.478
Assigning an Object to null is a code smell. Consider refactoring.530
Found 'DD'-anomaly for variable 'count' (lines '640'-'643').640 - 643
Found 'DD'-anomaly for variable 'index' (lines '641'-'642').641 - 642
Avoid assignments in operands642
Found 'DD'-anomaly for variable 'count' (lines '643'-'643').643

Apache JAMES Server Core Library - org/apache/james/core/MimeMessageCopyOnWriteProxy.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.95
Assigning an Object to null is a code smell. Consider refactoring.187

Apache JAMES Server Core Library - org/apache/james/core/MimeMessageInputStreamSource.java

ViolationLine
Use explicit scoping instead of the default package private level53
Use explicit scoping instead of the default package private level58
It is a good practice to call super() in a constructor71 - 111
Avoid assignments in operands80
Avoid empty catch blocks93 - 95
Avoid empty catch blocks101 - 103
Avoid empty catch blocks150 - 152
Assigning an Object to null is a code smell. Consider refactoring.153

Apache JAMES Server Core Library - org/apache/james/core/MimeMessageSource.java

ViolationLine
Each class should declare at least one constructor34 - 84
Found 'DD'-anomaly for variable 'in' (lines '63'-'65').63 - 65
Found 'DD'-anomaly for variable 'read' (lines '66'-'68').66 - 68
Avoid assignments in operands68
Found 'DU'-anomaly for variable 'read' (lines '68'-'82').68 - 82
Avoid empty catch blocks76 - 79

Apache JAMES Server Core Library - org/apache/james/core/MimeMessageUtil.java

ViolationLine
Each class should declare at least one constructor45 - 337
Found 'DD'-anomaly for variable 'testMessage' (lines '73'-'76').73 - 76
Found 'DD'-anomaly for variable 'bos' (lines '127'-'152').127 - 152
Found 'DD'-anomaly for variable 'bis' (lines '128'-'151').128 - 151
Found 'DD'-anomaly for variable 'bis' (lines '151'-'169').151 - 169
Found 'DD'-anomaly for variable 'bos' (lines '152'-'170').152 - 170
Found 'DD'-anomaly for variable 'read' (lines '195'-'196').195 - 196
Avoid assignments in operands196
Found 'DU'-anomaly for variable 'read' (lines '196'-'200').196 - 200
Each class should declare at least one constructor252 - 270
Use explicit scoping instead of the default package private level253
Found 'DU'-anomaly for variable 'arg0' (lines '255'-'257').255 - 257
Found 'DU'-anomaly for variable 'arg1' (lines '263'-'265').263 - 265
Found 'DU'-anomaly for variable 'arg0' (lines '263'-'265').263 - 265
Found 'DD'-anomaly for variable 'size' (lines '281'-'285').281 - 285
Found 'DD'-anomaly for variable 'size' (lines '281'-'288').281 - 288

Apache JAMES Server Core Library - org/apache/james/core/MimeMessageWrapper.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.84
Assigning an Object to null is a code smell. Consider refactoring.203
Assigning an Object to null is a code smell. Consider refactoring.213
Found 'DD'-anomaly for variable 'in' (lines '305'-'307').305 - 307
Found 'DU'-anomaly for variable 'in' (lines '307'-'334').307 - 334
A method should have only one exit point, and that should be the last statement in the method309
A method should have only one exit point, and that should be the last statement in the method312
Avoid empty while statements325 - 327
A method should have only one exit point, and that should be the last statement in the method328
A method should have only one exit point, and that should be the last statement in the method342
Found 'DU'-anomaly for variable 'newHeaders' (lines '513'-'520').513 - 520
A method should have only one exit point, and that should be the last statement in the method516
A method should have only one exit point, and that should be the last statement in the method542

Apache JAMES Server Core Library - org/apache/james/dsn/DSNStatus.java

ViolationLine
Each class should declare at least one constructor29 - 349

Apache JAMES Server Core Library - org/apache/james/mailrepository/filepair/AbstractFileRepository.java

ViolationLine
Each class should declare at least one constructor51 - 432
Found 'DU'-anomaly for variable 'configuration' (lines '92'-'100').92 - 100
Found 'UR'-anomaly for variable 'directory' (lines '162'-'162').162
Found 'DD'-anomaly for variable 'directory' (lines '177'-'186').177 - 186
Found 'DD'-anomaly for variable 'directory' (lines '181'-'186').181 - 186
Found 'DD'-anomaly for variable 'child' (lines '216'-'220').216 - 220
Found 'DD'-anomaly for variable 'buffer' (lines '391'-'396').391 - 396
Found 'DU'-anomaly for variable 'j' (lines '393'-'406').393 - 406
Found 'DD'-anomaly for variable 'buffer' (lines '396'-'397').396 - 397
Found 'DD'-anomaly for variable 'buffer' (lines '397'-'396').397 - 396
Found 'DD'-anomaly for variable 'filename' (lines '418'-'420').418 - 420
Found 'DD'-anomaly for variable 'bytes' (lines '422'-'426').422 - 426
Found 'DU'-anomaly for variable 'j' (lines '424'-'431').424 - 431
Found 'DD'-anomaly for variable 'bytes' (lines '426'-'426').426

Apache JAMES Server Core Library - org/apache/james/mailrepository/filepair/File_Persistent_Object_Repository.java

ViolationLine
Each class should declare at least one constructor36 - 153

Apache JAMES Server Core Library - org/apache/james/mailrepository/filepair/File_Persistent_Stream_Repository.java

ViolationLine
Each class should declare at least one constructor37 - 103
Found 'UR'-anomaly for variable 'message' (lines '55'-'55').55
Found 'UR'-anomaly for variable 'message' (lines '74'-'74').74
A method should have only one exit point, and that should be the last statement in the method97

Apache JAMES Server Core Library - org/apache/james/mailrepository/filepair/NumberedRepositoryFileFilter.java

ViolationLine
Found 'DU'-anomaly for variable 'file' (lines '49'-'69').49 - 69
A method should have only one exit point, and that should be the last statement in the method53
A method should have only one exit point, and that should be the last statement in the method59

Apache JAMES Server Domain API - org/apache/james/api/dnsservice/AbstractDNSServer.java

ViolationLine
Each class should declare at least one constructor33 - 84
Found 'DU'-anomaly for variable 'hostname' (lines '38'-'40').38 - 40
Found 'DU'-anomaly for variable 'hostname' (lines '45'-'47').45 - 47
Found 'DU'-anomaly for variable 'host' (lines '52'-'54').52 - 54
Found 'DU'-anomaly for variable 'host' (lines '59'-'61').59 - 61
Found 'DU'-anomaly for variable 'domainName' (lines '66'-'68').66 - 68
Found 'DU'-anomaly for variable 'addr' (lines '73'-'75').73 - 75

Apache JAMES Server Domain API - org/apache/james/api/dnsservice/DNSService.java

ViolationLine
Found 'DU'-anomaly for variable 'hostname' (lines '56'-'56').56
Found 'DU'-anomaly for variable 'hostname' (lines '64'-'64').64
Found 'DU'-anomaly for variable 'domainName' (lines '85'-'85').85
Avoid modifiers which are implied by the context90
Found 'DU'-anomaly for variable 'host' (lines '90'-'90').90
Avoid modifiers which are implied by the context95
Found 'DU'-anomaly for variable 'host' (lines '95'-'95').95
Avoid modifiers which are implied by the context100
Found 'DU'-anomaly for variable 'addr' (lines '100'-'100').100
Avoid modifiers which are implied by the context104

Apache JAMES Server Domain API - org/apache/james/api/dnsservice/util/InetNetwork.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method142 - 147
Found 'DU'-anomaly for variable 'srcb' (lines '176'-'182').176 - 182
Found 'DD'-anomaly for variable 'octets' (lines '177'-'179').177 - 179
Found 'DD'-anomaly for variable 'octets' (lines '179'-'179').179
Assigning an Object to null is a code smell. Consider refactoring.213
Found 'DU'-anomaly for variable 'ip' (lines '224'-'243').224 - 243
Found 'DD'-anomaly for variable 'addr' (lines '226'-'228').226 - 228
Avoid empty catch blocks229 - 230
Avoid empty catch blocks230 - 231

Apache JAMES Server Domain API - org/apache/james/api/dnsservice/util/NetMatcher.java

ViolationLine
Found 'DU'-anomaly for variable 'in' (lines '48'-'60').48 - 60
Found 'DU'-anomaly for variable 'in' (lines '72'-'84').72 - 84
Found 'DD'-anomaly for variable 'ip' (lines '94'-'98').94 - 98
Found 'DU'-anomaly for variable 'ip' (lines '118'-'128').118 - 128
Found 'DU'-anomaly for variable 's' (lines '166'-'166').166

Apache JAMES Server Domain API - org/apache/james/api/domainlist/DomainList.java

ViolationLine
Avoid modifiers which are implied by the context35
Avoid modifiers which are implied by the context43
Avoid modifiers which are implied by the context51
Found 'DU'-anomaly for variable 'domain' (lines '51'-'51').51
Avoid modifiers which are implied by the context60
Found 'DU'-anomaly for variable 'autodetect' (lines '60'-'60').60
Avoid modifiers which are implied by the context70
Found 'DU'-anomaly for variable 'autodetectIP' (lines '70'-'70').70

Apache JAMES Server Domain API - org/apache/james/api/domainlist/ManageableDomainList.java

ViolationLine
Avoid modifiers which are implied by the context30
Avoid modifiers which are implied by the context38
Found 'DU'-anomaly for variable 'domain' (lines '38'-'38').38
Avoid modifiers which are implied by the context46
Found 'DU'-anomaly for variable 'domain' (lines '46'-'46').46

Apache JAMES Server Domain API - org/apache/james/api/domainlist/SimpleDomainList.java

ViolationLine
Each class should declare at least one constructor30 - 57
Use explicit scoping instead of the default package private level31
Found 'DU'-anomaly for variable 'autodetect' (lines '41'-'43').41 - 43
Found 'DU'-anomaly for variable 'autodetectIP' (lines '45'-'47').45 - 47
A method should have only one exit point, and that should be the last statement in the method50

Apache JAMES Server JMS Function - org/apache/james/api/jms/MailBuilder.java

ViolationLine
Avoid modifiers which are implied by the context38
Found 'DU'-anomaly for variable 'text' (lines '38'-'38').38

Apache JAMES Server JMS Function - org/apache/james/api/jms/MailConsumer.java

ViolationLine
Avoid modifiers which are implied by the context33
Found 'DU'-anomaly for variable 'mail' (lines '33'-'33').33
Avoid modifiers which are implied by the context41
Found 'DU'-anomaly for variable 'message' (lines '41'-'41').41
Found 'DU'-anomaly for variable 'e' (lines '41'-'41').41

Apache JAMES Server JMS Function - org/apache/james/jms/activemq/BrokerManager.java

ViolationLine
Perhaps 'factory' could be replaced by a local variable.54

Apache JAMES Server JMS Function - org/apache/james/jms/builder/SimpleMailBuilder.java

ViolationLine
Found 'DU'-anomaly for variable 'random' (lines '64'-'69').64 - 69
Found 'DD'-anomaly for variable 'sender' (lines '77'-'95').77 - 95
Found 'DU'-anomaly for variable 'position' (lines '90'-'109').90 - 109
Found 'DU'-anomaly for variable 'length' (lines '111'-'136').111 - 136
Found 'DD'-anomaly for variable 'result' (lines '112'-'128').112 - 128
Found 'DD'-anomaly for variable 'result' (lines '112'-'132').112 - 132
Found 'DU'-anomaly for variable 'addresses' (lines '138'-'161').138 - 161
Found 'DU'-anomaly for variable 'length' (lines '138'-'161').138 - 161
Found 'DU'-anomaly for variable 'addresses' (lines '163'-'169').163 - 169
Found 'DD'-anomaly for variable 'result' (lines '172'-'175').172 - 175

Apache JAMES Server JMS Function - org/apache/james/jms/consumer/LogConsumer.java

ViolationLine
Each class should declare at least one constructor12 - 41

Apache JAMES Server JMS Function - org/apache/james/jms/consumer/SpoolToJamesMailConsumer.java

ViolationLine
Found 'DU'-anomaly for variable 'message' (lines '57'-'63').57 - 63

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/Account.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.201
Found 'DD'-anomaly for variable 'messageIDs' (lines '282'-'283').282 - 283
Avoid assignments in operands283 - 284
Found 'DU'-anomaly for variable 'messageIDs' (lines '283'-'290').283 - 290
A method should have only one exit point, and that should be the last statement in the method287

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/FetchMail.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method118
A method should have only one exit point, and that should be the last statement in the method120
Avoid unnecessary constructors - the compiler will generate these for you412 - 415
Found 'UR'-anomaly for variable 'accountsChild' (lines '425'-'425').425
Found 'DU'-anomaly for variable 'arg0' (lines '497'-'580').497 - 580
Found 'UR'-anomaly for variable 'errorBuffer' (lines '594'-'594').594
Found 'DU'-anomaly for variable 'errorBuffer' (lines '602'-'615').602 - 615
A method should have only one exit point, and that should be the last statement in the method713
Found 'DU'-anomaly for variable 'oldAccounts' (lines '787'-'812').787 - 812
A method should have only one exit point, and that should be the last statement in the method823
Found 'DU'-anomaly for variable 'parameters' (lines '855'-'888').855 - 888
Found 'DU'-anomaly for variable 'oldAccounts' (lines '855'-'888').855 - 888
A method should have only one exit point, and that should be the last statement in the method907
Found 'DD'-anomaly for variable 'session' (lines '936'-'937').936 - 937
Avoid assignments in operands937
Found 'DU'-anomaly for variable 'session' (lines '937'-'943').937 - 943
A method should have only one exit point, and that should be the last statement in the method940
Found 'DU'-anomaly for variable 'properties' (lines '993'-'1,013').993 - 1013

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/FetchScheduler.java

ViolationLine
Each class should declare at least one constructor46 - 161

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/FetchSchedulerMBean.java

ViolationLine
Avoid modifiers which are implied by the context37

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/FolderProcessor.java

ViolationLine
Found 'DD'-anomaly for variable 'messagesProcessed' (lines '68'-'98').68 - 98
Found 'DD'-anomaly for variable 'messageCount' (lines '69'-'87').69 - 87
Found 'DD'-anomaly for variable 'messagesProcessed' (lines '98'-'98').98
Avoid empty catch blocks126 - 129
Avoid unnecessary return statements153
Found 'DD'-anomaly for variable 'openFlag' (lines '192'-'195').192 - 195
Found 'DD'-anomaly for variable 'isSeen' (lines '217'-'219').217 - 219
Found 'DD'-anomaly for variable 'isSeen' (lines '217'-'221').217 - 221
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.231 - 232
Found 'DD'-anomaly for variable 'markSeenPermanent' (lines '268'-'269').268 - 269
Avoid assignments in operands269
Found 'DU'-anomaly for variable 'markSeenPermanent' (lines '269'-'275').269 - 275
A method should have only one exit point, and that should be the last statement in the method272

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/MessageProcessor.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method307
A method should have only one exit point, and that should be the last statement in the method325
A method should have only one exit point, and that should be the last statement in the method344
A method should have only one exit point, and that should be the last statement in the method350
A method should have only one exit point, and that should be the last statement in the method356
A method should have only one exit point, and that should be the last statement in the method363
A method should have only one exit point, and that should be the last statement in the method370
Found 'DD'-anomaly for variable 'mail' (lines '381'-'384').381 - 384
Found 'DU'-anomaly for variable 'mail' (lines '384'-'409').384 - 409
A method should have only one exit point, and that should be the last statement in the method389
A method should have only one exit point, and that should be the last statement in the method394
Avoid unnecessary return statements432
Avoid unnecessary return statements455
Avoid unnecessary return statements482
Avoid unnecessary return statements506
Avoid unnecessary return statements530
Avoid unnecessary return statements552
Found 'DD'-anomaly for variable 'messageOut' (lines '568'-'570').568 - 570
Found 'DD'-anomaly for variable 'messageOut' (lines '568'-'572').568 - 572
Found 'DD'-anomaly for variable 'from' (lines '681'-'685').681 - 685
Found 'DD'-anomaly for variable 'internetAddress' (lines '682'-'704').682 - 704
Found 'DD'-anomaly for variable 'internetAddress' (lines '682'-'715').682 - 715
Found 'DD'-anomaly for variable 'from' (lines '685'-'689').685 - 689
Found 'DD'-anomaly for variable 'headers' (lines '751'-'754').751 - 754
Found 'DU'-anomaly for variable 'headerTokens' (lines '763'-'810').763 - 810
Found 'DU'-anomaly for variable 'ex' (lines '835'-'851').835 - 851
Found 'DU'-anomaly for variable 'ex' (lines '858'-'876').858 - 876
Found 'DD'-anomaly for variable 'count' (lines '919'-'924').919 - 924
Found 'DD'-anomaly for variable 'count' (lines '924'-'924').924
A method should have only one exit point, and that should be the last statement in the method980
Found 'DD'-anomaly for variable 'start' (lines '993'-'1,003').993 - 1003
Found 'DD'-anomaly for variable 'end' (lines '994'-'1,004').994 - 1004
Found 'DD'-anomaly for variable 'hasBracket' (lines '995'-'999').995 - 999
Found 'DD'-anomaly for variable 'hasBracket' (lines '999'-'1,012').999 - 1012
Found 'DU'-anomaly for variable 'hasBracket' (lines '999'-'1,048').999 - 1048
Found 'DD'-anomaly for variable 'end' (lines '1,004'-'1,018').1004 - 1018
Found 'DD'-anomaly for variable 'end' (lines '1,004'-'1,021').1004 - 1021
Found 'DU'-anomaly for variable 'end' (lines '1,004'-'1,048').1004 - 1048
Found 'DU'-anomaly for variable 'nextSearchAt' (lines '1,005'-'1,048').1005 - 1048
Found 'DD'-anomaly for variable 'nextSearchAt' (lines '1,005'-'991').1005 - 991
Found 'DU'-anomaly for variable 'hasBracket' (lines '1,012'-'1,048').1012 - 1048
Found 'DD'-anomaly for variable 'hasBracket' (lines '1,012'-'995').1012 - 995
Found 'DD'-anomaly for variable 'hasBracket' (lines '1,012'-'1,012').1012
Found 'DD'-anomaly for variable 'hasBracket' (lines '1,012'-'999').1012 - 999
Found 'DD'-anomaly for variable 'usableAddress' (lines '1,015'-'1,015').1015
A method should have only one exit point, and that should be the last statement in the method1038
A method should have only one exit point, and that should be the last statement in the method1067
A method should have only one exit point, and that should be the last statement in the method1081
A method should have only one exit point, and that should be the last statement in the method1098
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.1183
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.1185
Avoid unnecessary temporaries when converting primitives to Strings1321
Found 'DU'-anomaly for variable 'mail' (lines '1,348'-'1,360').1348 - 1360
Avoid assignments in operands1396
Found 'DU'-anomaly for variable 'remoteDomain' (lines '1,396'-'1,402').1396 - 1402
A method should have only one exit point, and that should be the last statement in the method1399
Found 'DD'-anomaly for variable 'address' (lines '1,441'-'1,448').1441 - 1448
Found 'DD'-anomaly for variable 'address' (lines '1,441'-'1,454').1441 - 1454
Found 'DD'-anomaly for variable 'validatedAddress' (lines '1,442'-'1,456').1442 - 1456
Found 'DD'-anomaly for variable 'ipAddressEnd' (lines '1,444'-'1,446').1444 - 1446
Avoid assignments in operands1482
Found 'DU'-anomaly for variable 'remoteAddress' (lines '1,482'-'1,488').1482 - 1488
A method should have only one exit point, and that should be the last statement in the method1485
Avoid assignments in operands1507
Found 'DU'-anomaly for variable 'remoteHostName' (lines '1,507'-'1,513').1507 - 1513
A method should have only one exit point, and that should be the last statement in the method1510
Found 'DD'-anomaly for variable 'isMaxMessageSizeExceeded' (lines '1,575'-'1,576').1575 - 1576
Avoid assignments in operands1576 - 1577
Found 'DU'-anomaly for variable 'isMaxMessageSizeExceeded' (lines '1,576'-'1,583').1576 - 1583
A method should have only one exit point, and that should be the last statement in the method1580
A method should have only one exit point, and that should be the last statement in the method1600
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.1601
Found 'DD'-anomaly for variable 'isInvalid' (lines '1,628'-'1,629').1628 - 1629
Avoid assignments in operands1629
Found 'DU'-anomaly for variable 'isInvalid' (lines '1,629'-'1,635').1629 - 1635
A method should have only one exit point, and that should be the last statement in the method1632
Found 'DD'-anomaly for variable 'isInvalid' (lines '1,644'-'1,651').1644 - 1651

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/ParsedConfiguration.java

ViolationLine
Found 'UR'-anomaly for variable 'token' (lines '702'-'702').702
Found 'DD'-anomaly for variable 'token' (lines '707'-'712').707 - 712
Found 'DU'-anomaly for variable 'token' (lines '707'-'722').707 - 722
Found 'DD'-anomaly for variable 'defaultDomainName' (lines '838'-'839').838 - 839
Avoid assignments in operands839
Found 'DU'-anomaly for variable 'defaultDomainName' (lines '839'-'845').839 - 845
A method should have only one exit point, and that should be the last statement in the method842
Found 'DD'-anomaly for variable 'hostName' (lines '894'-'897').894 - 897
Found 'DD'-anomaly for variable 'hostName' (lines '897'-'901').897 - 901

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/ProcessorAbstract.java

ViolationLine
Found 'DD'-anomaly for variable 'value' (lines '530'-'531').530 - 531
Avoid assignments in operands531
Found 'DU'-anomaly for variable 'value' (lines '531'-'537').531 - 537
A method should have only one exit point, and that should be the last statement in the method534

Apache JAMES Server FetchMail function - org/apache/james/fetchmail/StoreProcessor.java

ViolationLine
Found 'DD'-anomaly for variable 'store' (lines '54'-'70').54 - 70
Found 'DD'-anomaly for variable 'folder' (lines '55'-'81').55 - 81

Apache JAMES Server Imap function - org/apache/james/imapserver/ImapHandler.java

ViolationLine
Found 'DU'-anomaly for variable 'theData' (lines '61'-'63').61 - 63
Assigning an Object to null is a code smell. Consider refactoring.79

Apache JAMES Server Imap function - org/apache/james/imapserver/ImapServer.java

ViolationLine
Each class should declare at least one constructor54 - 202
Overriding method merely calls super71 - 73
Found 'DU'-anomaly for variable 'mail' (lines '126'-'168').126 - 168
Found 'DU'-anomaly for variable 'user' (lines '139'-'168').139 - 168
Found 'UR'-anomaly for variable 'error' (lines '170'-'170').170
Found 'DU'-anomaly for variable 'error' (lines '183'-'201').183 - 201

Apache JAMES Server Imap function - org/apache/james/imapserver/sieve/ResourceLocatorImpl.java

ViolationLine
Each class should declare at least one constructor33 - 42

Apache JAMES Server Imap function - org/apache/james/imapserver/sieve/SieveMailet.java

ViolationLine
Overriding method merely calls super40 - 42

Apache JAMES Server Imap function - org/apache/james/mailboxmanager/torque/DefaultMailboxManager.java

ViolationLine
Perhaps 'initialized' could be replaced by a local variable.58
Found 'DD'-anomaly for variable 'conn' (lines '78'-'81').78 - 81
Found 'DU'-anomaly for variable 'dbMetaData' (lines '87'-'118').87 - 118
Avoid empty catch blocks112 - 114

Apache JAMES Server Imap function - org/apache/james/mailboxmanager/torque/DefaultUserManager.java

ViolationLine
Error while parsing /opt/development/workspace-seda-imap/imapserver-function/src/main/java/org/apache/james/mailboxmanager/torque/DefaultUserManager.java0
Error while parsing /opt/development/workspace-seda-imap/imapserver-function/src/main/java/org/apache/james/mailboxmanager/torque/DefaultUserManager.java0

Apache JAMES Server Imap function - org/apache/james/user/impl/file/FileUserMetaDataRepository.java

ViolationLine
Found 'UR'-anomaly for variable 'userDir' (lines '59'-'59').59
Found 'DD'-anomaly for variable 'in' (lines '73'-'75').73 - 75
Found 'DD'-anomaly for variable 'out' (lines '95'-'98').95 - 98
Found 'UR'-anomaly for variable 'userDir' (lines '116'-'116').116
These nested if statements could be combined122 - 124
These nested if statements could be combined132 - 134
Found 'DU'-anomaly for variable 'next' (lines '159'-'169').159 - 169
Found 'DD'-anomaly for variable 'next' (lines '159'-'159').159

Apache JAMES Server Imap function - org/apache/james/user/impl/file/FileUserMetaDataService.java

ViolationLine
Each class should declare at least one constructor33 - 61

Apache JAMES Javamail Utilities - org/apache/james/util/codec/Base64.java

ViolationLine
Each class should declare at least one constructor40 - 110
A method should have only one exit point, and that should be the last statement in the method64
A method should have only one exit point, and that should be the last statement in the method68

Apache JAMES Javamail Utilities - org/apache/james/util/scanner/SpamAssassinInvoker.java

ViolationLine
Found 'DD'-anomaly for variable 'socket' (lines '82'-'87').82 - 87
Found 'DD'-anomaly for variable 'out' (lines '83'-'89').83 - 89
Found 'DD'-anomaly for variable 'in' (lines '84'-'90').84 - 90
Found 'DD'-anomaly for variable 's' (lines '98'-'99').98 - 99
Avoid assignments in operands99
Found 'DU'-anomaly for variable 's' (lines '99'-'158').99 - 158
Found 'DU'-anomaly for variable 'spam' (lines '105'-'158').105 - 158
A method should have only one exit point, and that should be the last statement in the method108
A method should have only one exit point, and that should be the last statement in the method124
A method should have only one exit point, and that should be the last statement in the method133
Avoid empty catch blocks153 - 155

Apache JAMES Server JCR Backend function - org/apache/james/jcr/JCRMailRepository.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method137
Found 'DU'-anomaly for variable 'manager' (lines '220'-'246').220 - 246
Found 'DU'-anomaly for variable 'key' (lines '248'-'250').248 - 250
Found 'DU'-anomaly for variable 'key' (lines '252'-'254').252 - 254
A method should have only one exit point, and that should be the last statement in the method313
Found 'DD'-anomaly for variable 'node' (lines '337'-'339').337 - 339
Found 'DD'-anomaly for variable 'node' (lines '353'-'356').353 - 356
A method should have only one exit point, and that should be the last statement in the method376
A method should have only one exit point, and that should be the last statement in the method402
A method should have only one exit point, and that should be the last statement in the method429
A method should have only one exit point, and that should be the last statement in the method459
A method should have only one exit point, and that should be the last statement in the method494
Found 'DD'-anomaly for variable 'values' (lines '510'-'513').510 - 513
Found 'DU'-anomaly for variable 'i' (lines '512'-'516').512 - 516
Found 'DD'-anomaly for variable 'values' (lines '513'-'513').513
Found 'DD'-anomaly for variable 'node' (lines '527'-'530').527 - 530
Found 'DD'-anomaly for variable 'node' (lines '555'-'558').555 - 558
Found 'DD'-anomaly for variable 'node' (lines '555'-'558').555 - 558
Avoid empty catch blocks569 - 570
Avoid empty catch blocks573 - 574
Found 'DU'-anomaly for variable 'mail' (lines '589'-'610').589 - 610
Found 'DU'-anomaly for variable 'node' (lines '620'-'639').620 - 639

Apache JAMES Server JCR Backend function - org/apache/james/jcr/JCRStoreBean.java

ViolationLine
Each class should declare at least one constructor63 - 338
Found 'DU'-anomaly for variable 'type' (lines '202'-'209').202 - 209
A method should have only one exit point, and that should be the last statement in the method205
Found 'DU'-anomaly for variable 'original' (lines '223'-'229').223 - 229
Found 'DU'-anomaly for variable 'i' (lines '225'-'229').225 - 229
A method should have only one exit point, and that should be the last statement in the method243
A method should have only one exit point, and that should be the last statement in the method245
Found 'DU'-anomaly for variable 'node' (lines '263'-'268').263 - 268
Found 'DU'-anomaly for variable 'name' (lines '263'-'268').263 - 268
Found 'DU'-anomaly for variable 'node' (lines '279'-'284').279 - 284
Found 'DU'-anomaly for variable 'name' (lines '279'-'284').279 - 284
Found 'DU'-anomaly for variable 'node' (lines '294'-'301').294 - 301
Found 'DU'-anomaly for variable 'name' (lines '294'-'301').294 - 301
Found 'DU'-anomaly for variable 'node' (lines '311'-'316').311 - 316
Found 'DU'-anomaly for variable 'name' (lines '311'-'316').311 - 316
Found 'DU'-anomaly for variable 'node' (lines '327'-'336').327 - 336
Found 'DU'-anomaly for variable 'name' (lines '327'-'336').327 - 336
Found 'DD'-anomaly for variable 'strings' (lines '330'-'332').330 - 332
Found 'DD'-anomaly for variable 'strings' (lines '332'-'332').332

Apache JAMES Server JCR Backend function - org/apache/james/jcr/JCRStoreMailet.java

ViolationLine
Each class should declare at least one constructor36 - 132
Found 'UR'-anomaly for variable 'url' (lines '72'-'72').72
Assigning an Object to null is a code smell. Consider refactoring.89
Assigning an Object to null is a code smell. Consider refactoring.90
Found 'UR'-anomaly for variable 'path' (lines '99'-'99').99
Found 'DU'-anomaly for variable 'mail' (lines '99'-'130').99 - 130
Found 'DU'-anomaly for variable 'password' (lines '102'-'130').102 - 130
Found 'DD'-anomaly for variable 'credentials' (lines '106'-'108').106 - 108

Apache JAMES Server JCR Backend function - org/apache/james/jcr/JCRUsersRepository.java

ViolationLine
Found 'DU'-anomaly for variable 'user' (lines '92'-'94').92 - 94
Found 'DU'-anomaly for variable 'name' (lines '106'-'112').106 - 112
Found 'DU'-anomaly for variable 'password' (lines '123'-'173').123 - 173
A method should have only one exit point, and that should be the last statement in the method134
Avoid empty catch blocks135 - 137
A method should have only one exit point, and that should be the last statement in the method161
Found 'DD'-anomaly for variable 'user' (lines '195'-'199').195 - 199
Assigning an Object to null is a code smell. Consider refactoring.199
Found 'DD'-anomaly for variable 'user' (lines '199'-'209').199 - 209
Assigning an Object to null is a code smell. Consider refactoring.209
Found 'DU'-anomaly for variable 'name' (lines '225'-'227').225 - 227
Found 'DU'-anomaly for variable 'name' (lines '236'-'238').236 - 238
A method should have only one exit point, and that should be the last statement in the method262
Avoid empty catch blocks294 - 296
A method should have only one exit point, and that should be the last statement in the method321
Found 'DU'-anomaly for variable 'name' (lines '345'-'347').345 - 347
A method should have only one exit point, and that should be the last statement in the method373
A method should have only one exit point, and that should be the last statement in the method376
A method should have only one exit point, and that should be the last statement in the method380
A method should have only one exit point, and that should be the last statement in the method410
A method should have only one exit point, and that should be the last statement in the method412

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/AbstractNotify.java

ViolationLine
Each class should declare at least one constructor74 - 270
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.84
Found 'DD'-anomaly for variable 'addresses' (lines '144'-'145').144 - 145
Found 'UR'-anomaly for variable 'addressString' (lines '209'-'209').209
A method should have only one exit point, and that should be the last statement in the method213
A method should have only one exit point, and that should be the last statement in the method219

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/AbstractRedirect.java

ViolationLine
Each class should declare at least one constructor136 - 1617
Each class should declare at least one constructor157 - 182
Avoid empty catch blocks180
Each class should declare at least one constructor189 - 199
Perhaps 'rfc822DateFormat' could be replaced by a local variable.231
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.264
Found 'DU'-anomaly for variable 'originalMail' (lines '274'-'276').274 - 276
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.286
Found 'DU'-anomaly for variable 'originalMail' (lines '296'-'298').296 - 298
Found 'DU'-anomaly for variable 'originalMail' (lines '326'-'328').326 - 328
Found 'DU'-anomaly for variable 'originalMail' (lines '355'-'357').355 - 357
Found 'DU'-anomaly for variable 'originalMail' (lines '378'-'380').378 - 380
Found 'UR'-anomaly for variable 'addressList' (lines '398'-'398').398
Found 'DU'-anomaly for variable 'newRecipients' (lines '399'-'427').399 - 427
A method should have only one exit point, and that should be the last statement in the method404
Found 'DU'-anomaly for variable 'originalMail' (lines '436'-'446').436 - 446
Assigning an Object to null is a code smell. Consider refactoring.440
Found 'DU'-anomaly for variable 'originalMail' (lines '453'-'460').453 - 460
Found 'DU'-anomaly for variable 'newMail' (lines '453'-'460').453 - 460
Found 'UR'-anomaly for variable 'addressList' (lines '478'-'478').478
Found 'DU'-anomaly for variable 'iaarray' (lines '479'-'505').479 - 505
Found 'DD'-anomaly for variable 'iaarray' (lines '479'-'488').479 - 488
A method should have only one exit point, and that should be the last statement in the method484
Found 'DU'-anomaly for variable 'originalMail' (lines '516'-'537').516 - 537
Assigning an Object to null is a code smell. Consider refactoring.523
Found 'DU'-anomaly for variable 'originalMail' (lines '544'-'551').544 - 551
Found 'DU'-anomaly for variable 'newMail' (lines '544'-'551').544 - 551
Found 'UR'-anomaly for variable 'addressString' (lines '566'-'566').566
A method should have only one exit point, and that should be the last statement in the method573
A method should have only one exit point, and that should be the last statement in the method577
Found 'DU'-anomaly for variable 'originalMail' (lines '595'-'605').595 - 605
Assigning an Object to null is a code smell. Consider refactoring.599
Found 'DU'-anomaly for variable 'originalMail' (lines '613'-'628').613 - 628
Found 'DU'-anomaly for variable 'newMail' (lines '613'-'628').613 - 628
Found 'DD'-anomaly for variable 'iart' (lines '615'-'617').615 - 617
Found 'DD'-anomaly for variable 'iart' (lines '617'-'618').617 - 618
Found 'UR'-anomaly for variable 'addressString' (lines '643'-'643').643
A method should have only one exit point, and that should be the last statement in the method649
A method should have only one exit point, and that should be the last statement in the method653
Found 'DU'-anomaly for variable 'originalMail' (lines '674'-'685').674 - 685
Assigning an Object to null is a code smell. Consider refactoring.678
Assigning an Object to null is a code smell. Consider refactoring.681
Found 'DU'-anomaly for variable 'originalMail' (lines '693'-'703').693 - 703
Found 'DU'-anomaly for variable 'newMail' (lines '693'-'703').693 - 703
Assigning an Object to null is a code smell. Consider refactoring.696
Found 'UR'-anomaly for variable 'addressString' (lines '717'-'717').717
A method should have only one exit point, and that should be the last statement in the method723
A method should have only one exit point, and that should be the last statement in the method727
Found 'DU'-anomaly for variable 'originalMail' (lines '745'-'753').745 - 753
These nested if statements could be combined748 - 750
Assigning an Object to null is a code smell. Consider refactoring.749
Found 'DU'-anomaly for variable 'originalMail' (lines '760'-'768').760 - 768
Found 'DU'-anomaly for variable 'newMail' (lines '760'-'768').760 - 768
Found 'DU'-anomaly for variable 'originalMail' (lines '788'-'790').788 - 790
Found 'DU'-anomaly for variable 'originalMail' (lines '810'-'812').810 - 812
Found 'DU'-anomaly for variable 'newMail' (lines '819'-'845').819 - 845
Found 'DD'-anomaly for variable 'subject' (lines '832'-'836').832 - 836
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.856
Found 'DU'-anomaly for variable 'originalMail' (lines '866'-'868').866 - 868
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.880
Found 'DU'-anomaly for variable 'originalMail' (lines '890'-'892').890 - 892
Found 'DU'-anomaly for variable 'newMail' (lines '898'-'908').898 - 908
Found 'DU'-anomaly for variable 'originalMail' (lines '898'-'908').898 - 908
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.920
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.922
Found 'UR'-anomaly for variable 'logBuffer' (lines '976'-'976').976
Found 'UR'-anomaly for variable 'logBuffer' (lines '976'-'976').976
Found 'DD'-anomaly for variable 'keepMessageId' (lines '978'-'1,026').978 - 1026
Found 'DD'-anomaly for variable 'keepMessageId' (lines '978'-'1,026').978 - 1026
Found 'DU'-anomaly for variable 'logBuffer' (lines '1,059'-'1,077').1059 - 1077
Found 'DU'-anomaly for variable 'logBuffer' (lines '1,059'-'1,077').1059 - 1077
Found 'DD'-anomaly for variable 'param' (lines '1,086'-'1,087').1086 - 1087
A method should have only one exit point, and that should be the last statement in the method1089
A method should have only one exit point, and that should be the last statement in the method1092
A method should have only one exit point, and that should be the last statement in the method1095
A method should have only one exit point, and that should be the last statement in the method1098
A method should have only one exit point, and that should be the last statement in the method1101
A method should have only one exit point, and that should be the last statement in the method1104
Found 'DU'-anomaly for variable 'out' (lines '1,157'-'1,257').1157 - 1257
Found 'DU'-anomaly for variable 'head' (lines '1,158'-'1,257').1158 - 1257
Found 'DD'-anomaly for variable 'all' (lines '1,159'-'1,171').1159 - 1171
Found 'DU'-anomaly for variable 'all' (lines '1,159'-'1,257').1159 - 1257
Found 'DU'-anomaly for variable 'newMail' (lines '1,262'-'1,270').1262 - 1270
A method should have only one exit point, and that should be the last statement in the method1284
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,290'-'1,293').1290 - 1293
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,293'-'1,296').1293 - 1296
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,296'-'1,299').1296 - 1299
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,296'-'1,302').1296 - 1302
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,296'-'1,305').1296 - 1305
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,302').1299 - 1302
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,305').1299 - 1305
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,308').1299 - 1308
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,311').1299 - 1311
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,314').1299 - 1314
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,317').1299 - 1317
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,299'-'1,320').1299 - 1320
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,302'-'1,305').1302 - 1305
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,302'-'1,308').1302 - 1308
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,302'-'1,311').1302 - 1311
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,302'-'1,314').1302 - 1314
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,302'-'1,317').1302 - 1317
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,302'-'1,320').1302 - 1320
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,305'-'1,308').1305 - 1308
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,305'-'1,311').1305 - 1311
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,305'-'1,314').1305 - 1314
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,305'-'1,317').1305 - 1317
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,305'-'1,320').1305 - 1320
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,308'-'1,311').1308 - 1311
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,308'-'1,314').1308 - 1314
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,308'-'1,317').1308 - 1317
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,308'-'1,320').1308 - 1320
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,311'-'1,314').1311 - 1314
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,311'-'1,317').1311 - 1317
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,311'-'1,320').1311 - 1320
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,314'-'1,317').1314 - 1317
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,314'-'1,320').1314 - 1320
Found 'DD'-anomaly for variable 'specialAddress' (lines '1,317'-'1,320').1317 - 1320
Found 'DD'-anomaly for variable 'allowed' (lines '1,326'-'1,332').1326 - 1332
Found 'DD'-anomaly for variable 'allowedSpecial' (lines '1,328'-'1,329').1328 - 1329
A method should have only one exit point, and that should be the last statement in the method1363
A method should have only one exit point, and that should be the last statement in the method1439
A method should have only one exit point, and that should be the last statement in the method1441
A method should have only one exit point, and that should be the last statement in the method1444
A method should have only one exit point, and that should be the last statement in the method1446
A method should have only one exit point, and that should be the last statement in the method1448
A method should have only one exit point, and that should be the last statement in the method1449
Found 'DU'-anomaly for variable 'mail' (lines '1,468'-'1,520').1468 - 1520
Found 'DD'-anomaly for variable 'parsedAddressCount' (lines '1,481'-'1,488').1481 - 1488
Found 'DD'-anomaly for variable 'parsedAddressCount' (lines '1,488'-'1,488').1488
Found 'DU'-anomaly for variable 'mail' (lines '1,537'-'1,615').1537 - 1615

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/AbstractVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor48 - 236
Found 'DU'-anomaly for variable 'recipientsMap' (lines '198'-'198').198
Found 'DU'-anomaly for variable 'address' (lines '207'-'224').207 - 224
Found 'DU'-anomaly for variable 'mail' (lines '207'-'224').207 - 224
Found 'DU'-anomaly for variable 'code' (lines '211'-'224').211 - 224

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/AvalonListserv.java

ViolationLine
Each class should declare at least one constructor70 - 219
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.108
Avoid empty catch blocks109 - 111
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.113
Avoid empty catch blocks114 - 116
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.118
Avoid empty catch blocks119 - 121
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.125
Avoid empty catch blocks126 - 128

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/AvalonListservManager.java

ViolationLine
Each class should declare at least one constructor41 - 98

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/BayesianAnalysis.java

ViolationLine
Each class should declare at least one constructor110 - 448
Perhaps 'theJDBCUtil' could be replaced by a local variable.115 - 119
Found 'DU'-anomaly for variable 'message' (lines '274'-'339').274 - 339
These nested if statements could be combined278 - 281
A method should have only one exit point, and that should be the last statement in the method280
Found 'DU'-anomaly for variable 'baos' (lines '290'-'339').290 - 339
Found 'DU'-anomaly for variable 'probabilityString' (lines '306'-'339').306 - 339
Found 'DU'-anomaly for variable 'senderString' (lines '310'-'339').310 - 339
Found 'DU'-anomaly for variable 'senderString' (lines '312'-'339').312 - 339
A method should have only one exit point, and that should be the last statement in the method367
Found 'DU'-anomaly for variable 'i' (lines '373'-'381').373 - 381
Avoid empty catch blocks392

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/BayesianAnalysisFeeder.java

ViolationLine
Each class should declare at least one constructor110 - 326
Perhaps 'theJDBCUtil' could be replaced by a local variable.115 - 119
Found 'DU'-anomaly for variable 'dbUpdated' (lines '228'-'312').228 - 312
Found 'DD'-anomaly for variable 'dbUpdated' (lines '228'-'262').228 - 262
Found 'DU'-anomaly for variable 'baos' (lines '232'-'312').232 - 312
Found 'DU'-anomaly for variable 'conn' (lines '234'-'312').234 - 312
Found 'DD'-anomaly for variable 'conn' (lines '234'-'256').234 - 256
Found 'DU'-anomaly for variable 'dbUpdated' (lines '307'-'312').307 - 312
Avoid empty catch blocks309
Avoid empty catch blocks321

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/Bounce.java

ViolationLine
Each class should declare at least one constructor90 - 177
Found 'DD'-anomaly for variable 'apparentlyTo' (lines '137'-'138').137 - 138
Found 'DU'-anomaly for variable 'originalMail' (lines '145'-'147').145 - 147

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/CommandListservFooter.java

ViolationLine
It is a good practice to call super() in a constructor70 - 78

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/CommandListservManager.java

ViolationLine
Each class should declare at least one constructor101 - 439
Found 'DU'-anomaly for variable 'xmlFile' (lines '222'-'237').222 - 237
Found 'DU'-anomaly for variable 'listName' (lines '225'-'237').225 - 237
Found 'DD'-anomaly for variable 'xmlResources' (lines '227'-'229').227 - 229
Found 'DU'-anomaly for variable 'configuration' (lines '375'-'396').375 - 396
Found 'DU'-anomaly for variable 'className' (lines '375'-'396').375 - 396
Found 'DU'-anomaly for variable 'theClassLoader' (lines '379'-'396').379 - 396
Found 'DD'-anomaly for variable 'listServCommand' (lines '383'-'385').383 - 385
Found 'DU'-anomaly for variable 'name' (lines '422'-'438').422 - 438
A method should have only one exit point, and that should be the last statement in the method431

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/CommandListservProcessor.java

ViolationLine
Each class should declare at least one constructor76 - 511
Found 'DU'-anomaly for variable 'listservAddr' (lines '205'-'240').205 - 240
A method should have only one exit point, and that should be the last statement in the method209
A method should have only one exit point, and that should be the last statement in the method214
Found 'DU'-anomaly for variable 'message' (lines '251'-'269').251 - 269
Found 'DD'-anomaly for variable 'subj' (lines '264'-'266').264 - 266
A method should have only one exit point, and that should be the last statement in the method310
A method should have only one exit point, and that should be the last statement in the method329
A method should have only one exit point, and that should be the last statement in the method349
Found 'DD'-anomaly for variable 'value' (lines '382'-'384').382 - 384
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.384
Avoid empty catch blocks385 - 387
Found 'DD'-anomaly for variable 'value' (lines '398'-'400').398 - 400
Avoid empty catch blocks401 - 403
Found 'UR'-anomaly for variable 'repName' (lines '418'-'418').418
Found 'DU'-anomaly for variable 'name' (lines '458'-'474').458 - 474
A method should have only one exit point, and that should be the last statement in the method467
A method should have only one exit point, and that should be the last statement in the method502

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/DSNBounce.java

ViolationLine
Each class should declare at least one constructor91 - 613
Found 'DD'-anomaly for variable 'machine' (lines '252'-'255').252 - 255
Found 'DD'-anomaly for variable 'machine' (lines '255'-'257').255 - 257
Found 'DU'-anomaly for variable 'machine' (lines '257'-'281').257 - 281
Found 'DD'-anomaly for variable 'nameType' (lines '294'-'312').294 - 312
Found 'DD'-anomaly for variable 'diagnosticType' (lines '367'-'379').367 - 379
Found 'DD'-anomaly for variable 'diagnosticType' (lines '367'-'381').367 - 381
Found 'DU'-anomaly for variable 'sb' (lines '451'-'538').451 - 538
A method should have only one exit point, and that should be the last statement in the method455
A method should have only one exit point, and that should be the last statement in the method459
A method should have only one exit point, and that should be the last statement in the method464
A method should have only one exit point, and that should be the last statement in the method467
Found 'DU'-anomaly for variable 'sb' (lines '471'-'538').471 - 538
A method should have only one exit point, and that should be the last statement in the method475
Found 'DD'-anomaly for variable 'smtpCode' (lines '478'-'480').478 - 480
Avoid empty catch blocks481 - 482
A method should have only one exit point, and that should be the last statement in the method487
A method should have only one exit point, and that should be the last statement in the method489
A method should have only one exit point, and that should be the last statement in the method491
A method should have only one exit point, and that should be the last statement in the method493
A method should have only one exit point, and that should be the last statement in the method495
A method should have only one exit point, and that should be the last statement in the method497
A method should have only one exit point, and that should be the last statement in the method499
A method should have only one exit point, and that should be the last statement in the method501
A method should have only one exit point, and that should be the last statement in the method503
A method should have only one exit point, and that should be the last statement in the method506
A method should have only one exit point, and that should be the last statement in the method508
A method should have only one exit point, and that should be the last statement in the method510
A method should have only one exit point, and that should be the last statement in the method512
A method should have only one exit point, and that should be the last statement in the method514
A method should have only one exit point, and that should be the last statement in the method520
A method should have only one exit point, and that should be the last statement in the method521
A method should have only one exit point, and that should be the last statement in the method526
A method should have only one exit point, and that should be the last statement in the method529
A method should have only one exit point, and that should be the last statement in the method532
A method should have only one exit point, and that should be the last statement in the method548
Found 'DD'-anomaly for variable 'apparentlyTo' (lines '597'-'598').597 - 598
Found 'DU'-anomaly for variable 'originalMail' (lines '605'-'607').605 - 607

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/Forward.java

ViolationLine
Each class should declare at least one constructor61 - 204
Found 'UR'-anomaly for variable 'addressList' (lines '113'-'113').113

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/FromRepository.java

ViolationLine
Each class should declare at least one constructor49 - 153
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.79
Avoid empty catch blocks80 - 82
Found 'DU'-anomaly for variable 'processed' (lines '107'-'143').107 - 143

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/GenericListserv.java

ViolationLine
Each class should declare at least one constructor43 - 170
A method should have only one exit point, and that should be the last statement in the method103
A method should have only one exit point, and that should be the last statement in the method110
Found 'DD'-anomaly for variable 'subj' (lines '146'-'148').146 - 148

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/GenericListservManager.java

ViolationLine
Each class should declare at least one constructor34 - 92
Found 'DU'-anomaly for variable 'address' (lines '40'-'40').40
Found 'DU'-anomaly for variable 'address' (lines '46'-'46').46
Found 'DU'-anomaly for variable 'address' (lines '53'-'53').53

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/ICommandListservManager.java

ViolationLine
Avoid modifiers which are implied by the context50
Avoid modifiers which are implied by the context57
Found 'DU'-anomaly for variable 'displayFormat' (lines '57'-'57').57
Avoid modifiers which are implied by the context63
Avoid modifiers which are implied by the context69
Avoid modifiers which are implied by the context76
Found 'DU'-anomaly for variable 'name' (lines '76'-'76').76
Avoid modifiers which are implied by the context82
Avoid modifiers which are implied by the context89
Found 'DU'-anomaly for variable 'mailAddress' (lines '89'-'89').89
Avoid modifiers which are implied by the context95
Avoid modifiers which are implied by the context103
Found 'DU'-anomaly for variable 'errorMessage' (lines '103'-'103').103
Found 'DU'-anomaly for variable 'mail' (lines '103'-'103').103
Found 'DU'-anomaly for variable 'subject' (lines '103'-'103').103
Avoid modifiers which are implied by the context108
Avoid modifiers which are implied by the context114
Avoid modifiers which are implied by the context122
Found 'DU'-anomaly for variable 'names' (lines '122'-'122').122

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/JDBCAlias.java

ViolationLine
Each class should declare at least one constructor58 - 202
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '74'-'74').74
Found 'DD'-anomaly for variable 'conn' (lines '82'-'96').82 - 96
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '103'-'131').103 - 131
Found 'DD'-anomaly for variable 'conn' (lines '136'-'144').136 - 144
Found 'DD'-anomaly for variable 'mappingStmt' (lines '137'-'145').137 - 145
Found 'DD'-anomaly for variable 'mappingRS' (lines '138'-'152').138 - 152
Found 'DU'-anomaly for variable 'mappingRS' (lines '138'-'191').138 - 191
Assigning an Object to null is a code smell. Consider refactoring.178
Found 'DD'-anomaly for variable 'mappingRS' (lines '178'-'152').178 - 152
Found 'DU'-anomaly for variable 'mappingRS' (lines '178'-'191').178 - 191

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/JDBCListserv.java

ViolationLine
Each class should declare at least one constructor61 - 334
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '94'-'94').94
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.115
Avoid empty catch blocks116 - 118
Found 'DD'-anomaly for variable 'conn' (lines '121'-'130').121 - 130
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '137'-'183').137 - 183
Found 'DD'-anomaly for variable 'conn' (lines '242'-'248').242 - 248
Found 'DD'-anomaly for variable 'stmt' (lines '243'-'250').243 - 250
Found 'DD'-anomaly for variable 'rs' (lines '244'-'252').244 - 252
Assigning an Object to null is a code smell. Consider refactoring.275
Found 'DD'-anomaly for variable 'rs' (lines '275'-'285').275 - 285
Assigning an Object to null is a code smell. Consider refactoring.279
Found 'DD'-anomaly for variable 'stmt' (lines '279'-'283').279 - 283
Assigning an Object to null is a code smell. Consider refactoring.300
Assigning an Object to null is a code smell. Consider refactoring.314

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/JDBCVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor94 - 206
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '115'-'115').115
Found 'DD'-anomaly for variable 'conn' (lines '126'-'135').126 - 135
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '142'-'161').142 - 161
Found 'DD'-anomaly for variable 'conn' (lines '170'-'176').170 - 176
Found 'DD'-anomaly for variable 'mappingStmt' (lines '171'-'177').171 - 177
Found 'DD'-anomaly for variable 'mappingRS' (lines '180'-'186').180 - 186

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/NotifyPostmaster.java

ViolationLine
Each class should declare at least one constructor85 - 166
Found 'DD'-anomaly for variable 'iaarray' (lines '135'-'136').135 - 136
Found 'DD'-anomaly for variable 'iaarray' (lines '136'-'141').136 - 141
A method should have only one exit point, and that should be the last statement in the method157
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.159

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/NotifySender.java

ViolationLine
Each class should declare at least one constructor84 - 165
Found 'DD'-anomaly for variable 'iaarray' (lines '134'-'135').134 - 135
Found 'DD'-anomaly for variable 'iaarray' (lines '135'-'140').135 - 140
A method should have only one exit point, and that should be the last statement in the method156
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.158

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/Redirect.java

ViolationLine
Each class should declare at least one constructor271 - 445
Found 'UR'-anomaly for variable 'addressList' (lines '333'-'333').333
Found 'DU'-anomaly for variable 'newRecipients' (lines '334'-'362').334 - 362
A method should have only one exit point, and that should be the last statement in the method339
Found 'UR'-anomaly for variable 'addressList' (lines '373'-'373').373
Found 'DU'-anomaly for variable 'iaarray' (lines '374'-'400').374 - 400
Found 'DD'-anomaly for variable 'iaarray' (lines '374'-'383').374 - 383
A method should have only one exit point, and that should be the last statement in the method379
Found 'UR'-anomaly for variable 'addressString' (lines '409'-'409').409
A method should have only one exit point, and that should be the last statement in the method415
A method should have only one exit point, and that should be the last statement in the method419

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/RemoteDelivery.java

ViolationLine
Each class should declare at least one constructor101 - 1661
Each class should declare at least one constructor135 - 198
Use explicit scoping instead of the default package private level139
Found 'DU'-anomaly for variable 'key' (lines '149'-'183').149 - 183
Found 'DU'-anomaly for variable 'lastUpdated' (lines '149'-'183').149 - 183
Found 'DU'-anomaly for variable 'errorMessage' (lines '149'-'183').149 - 183
Found 'DD'-anomaly for variable 'retries' (lines '152'-'155').152 - 155
Avoid empty catch blocks156 - 159
A method should have only one exit point, and that should be the last statement in the method162
A method should have only one exit point, and that should be the last statement in the method170
A method should have only one exit point, and that should be the last statement in the method177
A method should have only one exit point, and that should be the last statement in the method191
Perhaps 'workersThreadCount' could be replaced by a local variable.222
Perhaps 'bindAddress' could be replaced by a local variable.237
Perhaps 'delayFilter' could be replaced by a local variable.263
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.280
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.403
Found 'DU'-anomaly for variable 'gatewayPort' (lines '408'-'460').408 - 460
Found 'DD'-anomaly for variable 'delays' (lines '491'-'497').491 - 497
Found 'DU'-anomaly for variable 'idx' (lines '493'-'501').493 - 501
Found 'DD'-anomaly for variable 'delays' (lines '497'-'497').497
A method should have only one exit point, and that should be the last statement in the method510
Found 'DU'-anomaly for variable 'recipients' (lines '632'-'691').632 - 691
Found 'DU'-anomaly for variable 'name' (lines '652'-'691').652 - 691
Avoid empty catch blocks730
Found 'DU'-anomaly for variable 'session' (lines '776'-'843').776 - 843
Assigning an Object to null is a code smell. Consider refactoring.821
Found 'UR'-anomaly for variable 'lastError' (lines '857'-'857').857
Found 'DU'-anomaly for variable 'session' (lines '857'-'1,243').857 - 1243
Found 'DU'-anomaly for variable 'message' (lines '862'-'1,243').862 - 1243
Found 'DD'-anomaly for variable 'addr' (lines '866'-'870').866 - 870
Found 'DU'-anomaly for variable 'j' (lines '867'-'1,243').867 - 1243
Found 'DU'-anomaly for variable 'j' (lines '868'-'1,243').868 - 1243
Found 'DD'-anomaly for variable 'addr' (lines '870'-'870').870
A method should have only one exit point, and that should be the last statement in the method875
Found 'DD'-anomaly for variable 'targetServers' (lines '880'-'887').880 - 887
Found 'DD'-anomaly for variable 'targetServers' (lines '880'-'921').880 - 921
Found 'DU'-anomaly for variable 'targetServers' (lines '887'-'1,243').887 - 1243
A method should have only one exit point, and that should be the last statement in the method897
Avoid empty catch blocks910 - 912
A method should have only one exit point, and that should be the last statement in the method915
A method should have only one exit point, and that should be the last statement in the method917
Found 'DU'-anomaly for variable 'lastError' (lines '924'-'1,243').924 - 1243
Found 'DD'-anomaly for variable 'transport' (lines '955'-'957').955 - 957
Found 'DD'-anomaly for variable 'supports8bitmime' (lines '975'-'978').975 - 978
Avoid empty catch blocks979 - 981
Avoid empty catch blocks981 - 982
Avoid empty catch blocks982 - 983
Avoid empty catch blocks983 - 985
Assigning an Object to null is a code smell. Consider refactoring.1033
Found 'DU'-anomaly for variable 'transport' (lines '1,033'-'1,243').1033 - 1243
A method should have only one exit point, and that should be the last statement in the method1047
Avoid empty catch blocks1070 - 1071
Avoid empty catch blocks1071 - 1072
Found 'DU'-anomaly for variable 'recipients' (lines '1,123'-'1,243').1123 - 1243
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,125'-'1,152').1125 - 1152
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,125'-'1,161').1125 - 1161
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,125'-'1,189').1125 - 1189
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,125'-'1,210').1125 - 1210
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,125'-'1,212').1125 - 1212
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,152'-'1,189').1152 - 1189
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,152'-'1,210').1152 - 1210
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,152'-'1,212').1152 - 1212
Avoid assignments in operands1157
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,161'-'1,161').1161
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,161'-'1,189').1161 - 1189
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,161'-'1,210').1161 - 1210
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,161'-'1,212').1161 - 1212
Avoid empty catch blocks1165 - 1167
Avoid empty catch blocks1167 - 1169
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,189'-'1,210').1189 - 1210
Found 'DD'-anomaly for variable 'deleteMessage' (lines '1,189'-'1,212').1189 - 1212
A method should have only one exit point, and that should be the last statement in the method1217
A method should have only one exit point, and that should be the last statement in the method1230
A method should have only one exit point, and that should be the last statement in the method1233
A method should have only one exit point, and that should be the last statement in the method1259
A method should have only one exit point, and that should be the last statement in the method1265
Found 'DD'-anomaly for variable 'smtpExFound' (lines '1,269'-'1,279').1269 - 1279
Avoid assignments in operands1273
Found 'DD'-anomaly for variable 'smtpExFound' (lines '1,279'-'1,279').1279
Avoid empty catch blocks1280 - 1282
Avoid empty catch blocks1282 - 1284
Found 'DD'-anomaly for variable 'invalidAddr' (lines '1,288'-'1,293').1288 - 1293
Found 'DU'-anomaly for variable 'invalidAddr' (lines '1,288'-'1,306').1288 - 1306
Found 'DU'-anomaly for variable 'invalidAddr' (lines '1,293'-'1,306').1293 - 1306
A method should have only one exit point, and that should be the last statement in the method1303
A method should have only one exit point, and that should be the last statement in the method1319
Avoid empty catch blocks1320 - 1322
Avoid empty catch blocks1322 - 1323
Avoid empty catch blocks1323 - 1324
Avoid empty catch blocks1324 - 1326
Found 'DU'-anomaly for variable 'sfe' (lines '1,333'-'1,378').1333 - 1378
Avoid assignments in operands1356
Avoid empty catch blocks1370 - 1372
Avoid empty catch blocks1372 - 1374
Found 'DD'-anomaly for variable 'retries' (lines '1,447'-'1,449').1447 - 1449
Avoid empty catch blocks1450 - 1452
A method should have only one exit point, and that should be the last statement in the method1466
A method should have only one exit point, and that should be the last statement in the method1481
Found 'DD'-anomaly for variable 'machine' (lines '1,507'-'1,509').1507 - 1509
Found 'DD'-anomaly for variable 'machine' (lines '1,509'-'1,512').1509 - 1512
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Found 'DU'-anomaly for variable 'gatewayServers' (lines '1,585'-'1,652').1585 - 1652
Assigning an Object to null is a code smell. Consider refactoring.1645

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/RemoteDeliverySocketFactory.java

ViolationLine
Each class should declare at least one constructor55 - 137
Use explicit scoping instead of the default package private level60 - 63
Assigning an Object to null is a code smell. Consider refactoring.61

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/Resend.java

ViolationLine
Each class should declare at least one constructor247 - 290

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/Retry.java

ViolationLine
Each class should declare at least one constructor83 - 741
Each class should declare at least one constructor137 - 195
Use explicit scoping instead of the default package private level142
Found 'DU'-anomaly for variable 'key' (lines '160'-'179').160 - 179
Found 'DU'-anomaly for variable 'state' (lines '160'-'179').160 - 179
A method should have only one exit point, and that should be the last statement in the method169
A method should have only one exit point, and that should be the last statement in the method188
Perhaps 'workersThreadCount' could be replaced by a local variable.210
Perhaps 'delayFilter' could be replaced by a local variable.231
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.245
Found 'DD'-anomaly for variable 'delays' (lines '400'-'404').400 - 404
Found 'DU'-anomaly for variable 'idx' (lines '401'-'408').401 - 408
Found 'DD'-anomaly for variable 'delays' (lines '404'-'404').404
A method should have only one exit point, and that should be the last statement in the method419
Found 'DD'-anomaly for variable 'message' (lines '561'-'566').561 - 566
Found 'DD'-anomaly for variable 'message' (lines '561'-'576').561 - 576
Assigning an Object to null is a code smell. Consider refactoring.663
A method should have only one exit point, and that should be the last statement in the method723
Found 'DU'-anomaly for variable 'mail' (lines '739'-'740').739 - 740

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/SPF.java

ViolationLine
Each class should declare at least one constructor46 - 183
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.57
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.59 - 60
Found 'DD'-anomaly for variable 'sender' (lines '70'-'77').70 - 77
Found 'DD'-anomaly for variable 'sender' (lines '70'-'79').70 - 79
Found 'DU'-anomaly for variable 'sender' (lines '70'-'98').70 - 98
Found 'DU'-anomaly for variable 'senderAddr' (lines '71'-'98').71 - 98
Found 'DU'-anomaly for variable 'helo' (lines '73'-'98').73 - 98
Avoid empty catch blocks93 - 95
Found 'DU'-anomaly for variable 'arg0' (lines '113'-'117').113 - 117
Found 'DU'-anomaly for variable 'arg1' (lines '119'-'123').119 - 123
Found 'DU'-anomaly for variable 'arg0' (lines '119'-'123').119 - 123

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/SpamAssassin.java

ViolationLine
Each class should declare at least one constructor49 - 112
Use explicit scoping instead of the default package private level51
Use explicit scoping instead of the default package private level53

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/ToRepository.java

ViolationLine
Each class should declare at least one constructor41 - 114
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.65
Avoid empty catch blocks66 - 68

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/WhiteListManager.java

ViolationLine
Each class should declare at least one constructor114 - 837
Perhaps 'rfc822DateFormat' could be replaced by a local variable.128
Perhaps 'sqlFile' could be replaced by a local variable.154
Perhaps 'sqlParameters' could be replaced by a local variable.159
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.173
A method should have only one exit point, and that should be the last statement in the method264
A method should have only one exit point, and that should be the last statement in the method268
Found 'DD'-anomaly for variable 'senderUser' (lines '317'-'320').317 - 320
Found 'DD'-anomaly for variable 'dbUpdated' (lines '325'-'366').325 - 366
Found 'DD'-anomaly for variable 'selectRS' (lines '330'-'352').330 - 352
Found 'DD'-anomaly for variable 'dbUpdated' (lines '375'-'366').375 - 366
Found 'DU'-anomaly for variable 'dbUpdated' (lines '388'-'394').388 - 394
Avoid empty catch blocks391
Found 'DD'-anomaly for variable 'senderUser' (lines '401'-'404').401 - 404
Found 'DD'-anomaly for variable 'conn' (lines '406'-'418').406 - 418
Found 'DD'-anomaly for variable 'selectStmt' (lines '407'-'419').407 - 419
Found 'DD'-anomaly for variable 'selectRS' (lines '408'-'422').408 - 422
Found 'DD'-anomaly for variable 'senderUser' (lines '450'-'453').450 - 453
Found 'DD'-anomaly for variable 'dbUpdated' (lines '458'-'519').458 - 519
Found 'DD'-anomaly for variable 'selectRS' (lines '476'-'504').476 - 504
Found 'DD'-anomaly for variable 'dbUpdated' (lines '519'-'519').519
Found 'DU'-anomaly for variable 'dbUpdated' (lines '560'-'566').560 - 566
Avoid empty catch blocks563
Found 'DD'-anomaly for variable 'senderUser' (lines '573'-'576').573 - 576
Found 'DD'-anomaly for variable 'dbUpdated' (lines '581'-'642').581 - 642
Found 'DD'-anomaly for variable 'selectRS' (lines '599'-'627').599 - 627
Found 'DD'-anomaly for variable 'dbUpdated' (lines '642'-'642').642
Found 'DU'-anomaly for variable 'dbUpdated' (lines '683'-'689').683 - 689
Avoid empty catch blocks686
Found 'DD'-anomaly for variable 'rcptAddr' (lines '702'-'703').702 - 703
Found 'DD'-anomaly for variable 'username' (lines '754'-'758').754 - 758
Found 'DD'-anomaly for variable 'dbUpdated' (lines '791'-'793').791 - 793
Found 'DU'-anomaly for variable 'dbUpdated' (lines '798'-'801').798 - 801
Found 'DU'-anomaly for variable 'createSqlStringName' (lines '803'-'835').803 - 835
A method should have only one exit point, and that should be the last statement in the method810
Found 'DD'-anomaly for variable 'createStatement' (lines '813'-'816').813 - 816
Found 'DD'-anomaly for variable 'logBuffer' (lines '820'-'821').820 - 821

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/XMLVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor60 - 102

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/BaseCommand.java

ViolationLine
Each class should declare at least one constructor60 - 227

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/ErrorCommand.java

ViolationLine
Each class should declare at least one constructor55 - 107

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/IListServCommand.java

ViolationLine
Avoid modifiers which are implied by the context72
Avoid modifiers which are implied by the context79
Found 'DU'-anomaly for variable 'configuration' (lines '79'-'79').79
Found 'DU'-anomaly for variable 'commandListservManager' (lines '79'-'79').79
Avoid modifiers which are implied by the context86
Found 'DU'-anomaly for variable 'mail' (lines '86'-'86').86

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/Info.java

ViolationLine
Each class should declare at least one constructor59 - 122

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/MailDataSource.java

ViolationLine
Found 'DD'-anomaly for variable 'inputStream' (lines '112'-'113').112 - 113
Found 'DD'-anomaly for variable 'outputStream' (lines '112'-'114').112 - 114
Avoid assignments in operands119
Found 'DU'-anomaly for variable 'len' (lines '119'-'125').119 - 125

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/Owner.java

ViolationLine
Each class should declare at least one constructor41 - 67

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/Subscribe.java

ViolationLine
Each class should declare at least one constructor60 - 110
A method should have only one exit point, and that should be the last statement in the method106

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/SubscribeConfirm.java

ViolationLine
Each class should declare at least one constructor61 - 123
A method should have only one exit point, and that should be the last statement in the method119

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/UnSubscribe.java

ViolationLine
Each class should declare at least one constructor60 - 107
A method should have only one exit point, and that should be the last statement in the method103

Apache JAMES Server Mailets function - org/apache/james/transport/mailets/listservcommands/UnSubscribeConfirm.java

ViolationLine
Each class should declare at least one constructor60 - 109
A method should have only one exit point, and that should be the last statement in the method105

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/AbstractNetworkMatcher.java

ViolationLine
Each class should declare at least one constructor53 - 121
Found 'DD'-anomaly for variable 'networks' (lines '96'-'99').96 - 99

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/AbstractStorageQuota.java

ViolationLine
Each class should declare at least one constructor52 - 139
Found 'DU'-anomaly for variable '_' (lines '99'-'116').99 - 116
Found 'DD'-anomaly for variable 'username' (lines '130'-'134').130 - 134

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/FileRegexMatcher.java

ViolationLine
Each class should declare at least one constructor33 - 73
Found 'DD'-anomaly for variable 'patternSource' (lines '39'-'41').39 - 41
Found 'DD'-anomaly for variable 'lines' (lines '42'-'43').42 - 43
Found 'DD'-anomaly for variable 'lines' (lines '43'-'43').43
Avoid empty catch blocks67 - 69

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/GenericRegexMatcher.java

ViolationLine
Each class should declare at least one constructor47 - 90
Found 'DU'-anomaly for variable 'message' (lines '68'-'89').68 - 89
Found 'DU'-anomaly for variable 'matcher' (lines '69'-'89').69 - 89
Found 'DU'-anomaly for variable 'pattern' (lines '76'-'89').76 - 89
Found 'DD'-anomaly for variable 'pattern' (lines '76'-'76').76
A method should have only one exit point, and that should be the last statement in the method83

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/HasMailAttributeWithValueRegex.java

ViolationLine
Each class should declare at least one constructor51 - 102
Perhaps 'matcher' could be replaced by a local variable.55
Found 'UR'-anomaly for variable 'pattern_string' (lines '67'-'67').67
A method should have only one exit point, and that should be the last statement in the method97

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/InSpammerBlacklist.java

ViolationLine
Each class should declare at least one constructor52 - 101
A method should have only one exit point, and that should be the last statement in the method95

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/IsInWhiteList.java

ViolationLine
Each class should declare at least one constructor65 - 271
Perhaps 'sqlFile' could be replaced by a local variable.93
Perhaps 'sqlParameters' could be replaced by a local variable.98
Found 'DD'-anomaly for variable 'repositoryPath' (lines '113'-'116').113 - 116
A method should have only one exit point, and that should be the last statement in the method161
A method should have only one exit point, and that should be the last statement in the method165
Found 'DD'-anomaly for variable 'senderUser' (lines '168'-'171').168 - 171
Found 'DD'-anomaly for variable 'senderHost' (lines '169'-'172').169 - 172
Found 'DU'-anomaly for variable 'conn' (lines '178'-'228').178 - 228
Found 'DU'-anomaly for variable 'selectStmt' (lines '179'-'228').179 - 228
Found 'DD'-anomaly for variable 'selectRS' (lines '180'-'207').180 - 207
Found 'DU'-anomaly for variable 'selectRS' (lines '180'-'228').180 - 228
Found 'DD'-anomaly for variable 'recipientUser' (lines '186'-'194').186 - 194
Found 'DU'-anomaly for variable 'conn' (lines '197'-'228').197 - 228
Found 'DD'-anomaly for variable 'username' (lines '237'-'241').237 - 241

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/NESSpamCheck.java

ViolationLine
Each class should declare at least one constructor34 - 101

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/RecipientIsOverFixedQuota.java

ViolationLine
Each class should declare at least one constructor59 - 75
Found 'DU'-anomaly for variable '_' (lines '72'-'74').72 - 74
Found 'DU'-anomaly for variable 'recipient' (lines '72'-'74').72 - 74

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/RecipientIsRegex.java

ViolationLine
Each class should declare at least one constructor49 - 76
Use explicit scoping instead of the default package private level50
Found 'UR'-anomaly for variable 'patternString' (lines '52'-'52').52
A method should have only one exit point, and that should be the last statement in the method71

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/RemoteAddrInNetwork.java

ViolationLine
Each class should declare at least one constructor36 - 40
Assigning an Object to null is a code smell. Consider refactoring.38

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/RemoteAddrNotInNetwork.java

ViolationLine
Each class should declare at least one constructor36 - 40
Assigning an Object to null is a code smell. Consider refactoring.38

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/SenderInFakeDomain.java

ViolationLine
Each class should declare at least one constructor34 - 73
A method should have only one exit point, and that should be the last statement in the method38
A method should have only one exit point, and that should be the last statement in the method46
A method should have only one exit point, and that should be the last statement in the method66

Apache JAMES Server Mailets function - org/apache/james/transport/matchers/SenderIsRegex.java

ViolationLine
Each class should declare at least one constructor58 - 88
Use explicit scoping instead of the default package private level59
Found 'UR'-anomaly for variable 'patternString' (lines '61'-'61').61
A method should have only one exit point, and that should be the last statement in the method79
A method should have only one exit point, and that should be the last statement in the method84

Apache JAMES Server Management Library - org/apache/james/management/BayesianAnalyzerManagementMBean.java

ViolationLine
Found 'DU'-anomaly for variable 'dir' (lines '42'-'42').42
Found 'DU'-anomaly for variable 'dir' (lines '55'-'55').55
Found 'DU'-anomaly for variable 'file' (lines '68'-'68').68
Found 'DU'-anomaly for variable 'file' (lines '81'-'81').81
Found 'DU'-anomaly for variable 'file' (lines '93'-'93').93
Found 'DU'-anomaly for variable 'file' (lines '105'-'105').105

Apache JAMES Server Management Library - org/apache/james/management/BayesianAnalyzerManagementService.java

ViolationLine
Avoid modifiers which are implied by the context27
Avoid modifiers which are implied by the context37
Found 'DU'-anomaly for variable 'dir' (lines '37'-'37').37
Avoid modifiers which are implied by the context47
Found 'DU'-anomaly for variable 'dir' (lines '47'-'47').47
Avoid modifiers which are implied by the context57
Found 'DU'-anomaly for variable 'file' (lines '57'-'57').57
Avoid modifiers which are implied by the context67
Found 'DU'-anomaly for variable 'file' (lines '67'-'67').67
Avoid modifiers which are implied by the context75
Found 'DU'-anomaly for variable 'file' (lines '75'-'75').75
Avoid modifiers which are implied by the context84
Found 'DU'-anomaly for variable 'file' (lines '84'-'84').84
Avoid modifiers which are implied by the context91

Apache JAMES Server Management Library - org/apache/james/management/DomainListManagementMBean.java

ViolationLine
Avoid modifiers which are implied by the context41
Found 'DU'-anomaly for variable 'domain' (lines '41'-'41').41
Avoid modifiers which are implied by the context53
Found 'DU'-anomaly for variable 'domain' (lines '53'-'53').53
Avoid modifiers which are implied by the context65
Avoid modifiers which are implied by the context76
Found 'DU'-anomaly for variable 'domain' (lines '76'-'76').76

Apache JAMES Server Management Library - org/apache/james/management/DomainListManagementService.java

ViolationLine
Avoid modifiers which are implied by the context29
Avoid modifiers which are implied by the context38
Found 'DU'-anomaly for variable 'domain' (lines '38'-'38').38
Avoid modifiers which are implied by the context47
Found 'DU'-anomaly for variable 'domain' (lines '47'-'47').47
Avoid modifiers which are implied by the context55
Avoid modifiers which are implied by the context63
Found 'DU'-anomaly for variable 'domain' (lines '63'-'63').63

Apache JAMES Server Management Library - org/apache/james/management/ProcessorManagementService.java

ViolationLine
Avoid modifiers which are implied by the context24
Found 'DU'-anomaly for variable 'processorName' (lines '31'-'31').31
Found 'DU'-anomaly for variable 'processorName' (lines '39'-'39').39
Found 'DU'-anomaly for variable 'matcherIndex' (lines '47'-'47').47
Found 'DU'-anomaly for variable 'processorName' (lines '47'-'47').47
Found 'DU'-anomaly for variable 'processorName' (lines '55'-'55').55
Found 'DU'-anomaly for variable 'mailetIndex' (lines '55'-'55').55

Apache JAMES Server Management Library - org/apache/james/management/SpoolFilter.java

ViolationLine
Perhaps 'headerFiltersCompiled' could be replaced by a local variable.55
Assigning an Object to null is a code smell. Consider refactoring.85
Found 'DU'-anomaly for variable 'compiler' (lines '161'-'175').161 - 175
A method should have only one exit point, and that should be the last statement in the method164
A method should have only one exit point, and that should be the last statement in the method167

Apache JAMES Server Management Library - org/apache/james/management/SpoolManagementMBean.java

ViolationLine
Avoid modifiers which are implied by the context47 - 48
Found 'DU'-anomaly for variable 'dstState' (lines '47'-'48').47 - 48
Found 'DU'-anomaly for variable 'srcState' (lines '47'-'48').47 - 48
Found 'DU'-anomaly for variable 'dstSpoolRepositoryURL' (lines '47'-'48').47 - 48
Found 'DU'-anomaly for variable 'header' (lines '47'-'48').47 - 48
Found 'DU'-anomaly for variable 'srcSpoolRepositoryURL' (lines '47'-'48').47 - 48
Found 'DU'-anomaly for variable 'headerValueRegex' (lines '47'-'48').47 - 48
Found 'DU'-anomaly for variable 'header' (lines '64'-'65').64 - 65
Found 'DU'-anomaly for variable 'state' (lines '64'-'65').64 - 65
Found 'DU'-anomaly for variable 'headerValueRegex' (lines '64'-'65').64 - 65
Found 'DU'-anomaly for variable 'spoolRepositoryURL' (lines '64'-'65').64 - 65
Found 'DU'-anomaly for variable 'key' (lines '81'-'82').81 - 82
Found 'DU'-anomaly for variable 'header' (lines '81'-'82').81 - 82
Found 'DU'-anomaly for variable 'state' (lines '81'-'82').81 - 82
Found 'DU'-anomaly for variable 'headerValueRegex' (lines '81'-'82').81 - 82
Found 'DU'-anomaly for variable 'spoolRepositoryURL' (lines '81'-'82').81 - 82
Found 'DU'-anomaly for variable 'key' (lines '98'-'99').98 - 99
Found 'DU'-anomaly for variable 'header' (lines '98'-'99').98 - 99
Found 'DU'-anomaly for variable 'state' (lines '98'-'99').98 - 99
Found 'DU'-anomaly for variable 'headerValueRegex' (lines '98'-'99').98 - 99
Found 'DU'-anomaly for variable 'spoolRepositoryURL' (lines '98'-'99').98 - 99

Apache JAMES Server Management Library - org/apache/james/management/SpoolManagementService.java

ViolationLine
Avoid modifiers which are implied by the context42 - 43
Found 'DU'-anomaly for variable 'dstState' (lines '42'-'43').42 - 43
Found 'DU'-anomaly for variable 'filter' (lines '42'-'43').42 - 43
Found 'DU'-anomaly for variable 'dstSpoolRepositoryURL' (lines '42'-'43').42 - 43
Found 'DU'-anomaly for variable 'srcSpoolRepositoryURL' (lines '42'-'43').42 - 43
Avoid modifiers which are implied by the context57 - 58
Found 'DU'-anomaly for variable 'key' (lines '57'-'58').57 - 58
Found 'DU'-anomaly for variable 'lockingFailures' (lines '57'-'58').57 - 58
Found 'DU'-anomaly for variable 'filter' (lines '57'-'58').57 - 58
Found 'DU'-anomaly for variable 'spoolRepositoryURL' (lines '57'-'58').57 - 58
Avoid modifiers which are implied by the context72 - 73
Found 'DU'-anomaly for variable 'key' (lines '72'-'73').72 - 73
Found 'DU'-anomaly for variable 'lockingFailures' (lines '72'-'73').72 - 73
Found 'DU'-anomaly for variable 'filter' (lines '72'-'73').72 - 73
Found 'DU'-anomaly for variable 'spoolRepositoryURL' (lines '72'-'73').72 - 73
Avoid modifiers which are implied by the context85 - 86
Found 'DU'-anomaly for variable 'filter' (lines '85'-'86').85 - 86
Found 'DU'-anomaly for variable 'spoolRepositoryURL' (lines '85'-'86').85 - 86

Apache JAMES Server Management Library - org/apache/james/management/impl/BayesianAnalyzerManagement.java

ViolationLine
Each class should declare at least one constructor61 - 454
Found 'DU'-anomaly for variable 'type' (lines '182'-'215').182 - 215
Found 'DD'-anomaly for variable 'count' (lines '188'-'204').188 - 204
Found 'DD'-anomaly for variable 'stream' (lines '197'-'199').197 - 199
Found 'DD'-anomaly for variable 'count' (lines '204'-'204').204
Found 'DU'-anomaly for variable 'connection' (lines '226'-'235').226 - 235
Found 'DU'-anomaly for variable 'stream' (lines '244'-'254').244 - 254
Found 'DU'-anomaly for variable 'type' (lines '265'-'303').265 - 303
Found 'DD'-anomaly for variable 'count' (lines '266'-'292').266 - 292
Found 'DD'-anomaly for variable 'messageCount' (lines '277'-'279').277 - 279
Found 'DD'-anomaly for variable 'message' (lines '284'-'286').284 - 286
Found 'DD'-anomaly for variable 'count' (lines '292'-'292').292
Found 'DD'-anomaly for variable 'fileOutputStream' (lines '325'-'327').325 - 327
Found 'DD'-anomaly for variable 'fileReader' (lines '346'-'348').346 - 348
Found 'DU'-anomaly for variable 'logString' (lines '372'-'374').372 - 374

Apache JAMES Server Management Library - org/apache/james/management/impl/DomainListManagement.java

ViolationLine
Each class should declare at least one constructor38 - 97
Found 'DU'-anomaly for variable 'domain' (lines '55'-'66').55 - 66
Found 'DU'-anomaly for variable 'domain' (lines '71'-'82').71 - 82

Apache JAMES Server Management Library - org/apache/james/management/impl/ProcessorManagement.java

ViolationLine
Each class should declare at least one constructor45 - 171
Found 'DU'-anomaly for variable 'mBeanServer' (lines '64'-'74').64 - 74
Found 'DU'-anomaly for variable 'baseObjectName' (lines '66'-'74').66 - 74
Found 'DU'-anomaly for variable 'object' (lines '103'-'115').103 - 115
Found 'DU'-anomaly for variable 'mBeanServer' (lines '103'-'115').103 - 115
Found 'DD'-anomaly for variable 'objectName' (lines '104'-'106').104 - 106
Found 'DU'-anomaly for variable 'objectName' (lines '106'-'115').106 - 115
Found 'DD'-anomaly for variable 'mailetNames' (lines '128'-'135').128 - 135
Found 'DU'-anomaly for variable 'i' (lines '129'-'139').129 - 139
Found 'DD'-anomaly for variable 'mailetNames' (lines '135'-'135').135
Found 'DU'-anomaly for variable 'i' (lines '136'-'139').136 - 139
Found 'DD'-anomaly for variable 'matcherNames' (lines '144'-'151').144 - 151
Found 'DU'-anomaly for variable 'i' (lines '145'-'155').145 - 155
Found 'DD'-anomaly for variable 'matcherNames' (lines '151'-'151').151
Found 'DU'-anomaly for variable 'i' (lines '152'-'155').152 - 155
A method should have only one exit point, and that should be the last statement in the method159
A method should have only one exit point, and that should be the last statement in the method166

Apache JAMES Server Management Library - org/apache/james/management/impl/SpoolManagement.java

ViolationLine
Each class should declare at least one constructor53 - 492
Found 'DU'-anomaly for variable 'dstState' (lines '108'-'155').108 - 155
Found 'DU'-anomaly for variable 'filter' (lines '108'-'155').108 - 155
Found 'DU'-anomaly for variable 'dstSpoolRepository' (lines '114'-'155').114 - 155
Found 'DD'-anomaly for variable 'count' (lines '119'-'138').119 - 138
Found 'DD'-anomaly for variable 'locked' (lines '122'-'124').122 - 124
Avoid empty catch blocks125 - 127
Found 'DD'-anomaly for variable 'm' (lines '129'-'131').129 - 131
Found 'DD'-anomaly for variable 'count' (lines '138'-'138').138
Avoid empty catch blocks140 - 142
Avoid empty catch blocks145 - 147
Found 'DU'-anomaly for variable 'mail' (lines '198'-'251').198 - 251
A method should have only one exit point, and that should be the last statement in the method199
A method should have only one exit point, and that should be the last statement in the method201
Found 'DU'-anomaly for variable 'matcher' (lines '205'-'251').205 - 251
A method should have only one exit point, and that should be the last statement in the method233
Found 'DU'-anomaly for variable 'pattern' (lines '235'-'251').235 - 251
Found 'DD'-anomaly for variable 'pattern' (lines '235'-'235').235
Found 'DD'-anomaly for variable 'matched' (lines '238'-'242').238 - 242
A method should have only one exit point, and that should be the last statement in the method246
A method should have only one exit point, and that should be the last statement in the method254
A method should have only one exit point, and that should be the last statement in the method255
Found 'DD'-anomaly for variable 'addressStrings' (lines '256'-'258').256 - 258
Found 'DD'-anomaly for variable 'addressStrings' (lines '258'-'258').258
Found 'DU'-anomaly for variable 'filter' (lines '266'-'291').266 - 291
Found 'DU'-anomaly for variable 'filter' (lines '322'-'337').322 - 337
Found 'DU'-anomaly for variable 'lockingFailures' (lines '322'-'337').322 - 337
Found 'DD'-anomaly for variable 'count' (lines '323'-'327').323 - 327
Found 'DD'-anomaly for variable 'count' (lines '323'-'333').323 - 333
Found 'DD'-anomaly for variable 'count' (lines '339'-'341').339 - 341
A method should have only one exit point, and that should be the last statement in the method345
Found 'DU'-anomaly for variable 'lockingFailures' (lines '385'-'411').385 - 411
Found 'DU'-anomaly for variable 'filter' (lines '385'-'411').385 - 411
Found 'DD'-anomaly for variable 'count' (lines '387'-'393').387 - 393
Found 'DD'-anomaly for variable 'count' (lines '387'-'404').387 - 404
Found 'DD'-anomaly for variable 'count' (lines '404'-'404').404
A method should have only one exit point, and that should be the last statement in the method441
A method should have only one exit point, and that should be the last statement in the method463

Apache JAMES Server Management Library - org/apache/james/management/mbean/ProcessorDetail.java

ViolationLine
Perhaps 'processorManager' could be replaced by a local variable.25

Apache JAMES Server Management Library - org/apache/james/management/mbean/ProcessorDetailMBean.java

ViolationLine
Avoid modifiers which are implied by the context27

Apache JAMES Server NNTP function - org/apache/james/nntpserver/NNTPException.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.46

Apache JAMES Server NNTP function - org/apache/james/nntpserver/NNTPHandler.java

ViolationLine
Each class should declare at least one constructor58 - 1526
Use explicit scoping instead of the default package private level252
Avoid empty catch blocks307
Assigning an Object to null is a code smell. Consider refactoring.316
Assigning an Object to null is a code smell. Consider refactoring.320
Assigning an Object to null is a code smell. Consider refactoring.321
Assigning an Object to null is a code smell. Consider refactoring.325
A method should have only one exit point, and that should be the last statement in the method342
Found 'DD'-anomaly for variable 'argument' (lines '349'-'352').349 - 352
Found 'DU'-anomaly for variable 'argument' (lines '349'-'422').349 - 422
Found 'DU'-anomaly for variable 'argument' (lines '352'-'422').352 - 422
Found 'DD'-anomaly for variable 'returnValue' (lines '357'-'393').357 - 393
A method should have only one exit point, and that should be the last statement in the method361
Found 'DU'-anomaly for variable 'command' (lines '430'-'441').430 - 441
Found 'DU'-anomaly for variable 'argument' (lines '430'-'441').430 - 441
Found 'DD'-anomaly for variable 'command' (lines '451'-'456').451 - 456
Found 'DD'-anomaly for variable 'value' (lines '452'-'457').452 - 457
Found 'DU'-anomaly for variable 'value' (lines '452'-'508').452 - 508
Found 'DU'-anomaly for variable 'value' (lines '457'-'508').457 - 508
A method should have only one exit point, and that should be the last statement in the method462
Assigning an Object to null is a code smell. Consider refactoring.472
Assigning an Object to null is a code smell. Consider refactoring.473
A method should have only one exit point, and that should be the last statement in the method476
A method should have only one exit point, and that should be the last statement in the method484
Assigning an Object to null is a code smell. Consider refactoring.488
Assigning an Object to null is a code smell. Consider refactoring.489
A method should have only one exit point, and that should be the last statement in the method492
Assigning an Object to null is a code smell. Consider refactoring.501
Assigning an Object to null is a code smell. Consider refactoring.502
Found 'DD'-anomaly for variable 'wildmat' (lines '520'-'525').520 - 525
Found 'DU'-anomaly for variable 'wildmat' (lines '520'-'559').520 - 559
Found 'DU'-anomaly for variable 'wildmat' (lines '525'-'559').525 - 559
A method should have only one exit point, and that should be the last statement in the method530
A method should have only one exit point, and that should be the last statement in the method535
Found 'DD'-anomaly for variable 'theDate' (lines '538'-'540').538 - 540
Found 'DU'-anomaly for variable 'theDate' (lines '540'-'559').540 - 559
Found 'DD'-anomaly for variable 'theDate' (lines '578'-'580').578 - 580
Found 'DU'-anomaly for variable 'theDate' (lines '580'-'602').580 - 602
Found 'DU'-anomaly for variable 'argument' (lines '609'-'612').609 - 612
Found 'DU'-anomaly for variable 'argument' (lines '620'-'622').620 - 622
Found 'DU'-anomaly for variable 'argument' (lines '629'-'633').629 - 633
Found 'DU'-anomaly for variable 'argument' (lines '640'-'642').640 - 642
Found 'DD'-anomaly for variable 'wildmat' (lines '651'-'658').651 - 658
Found 'DU'-anomaly for variable 'wildmat' (lines '651'-'704').651 - 704
Found 'DD'-anomaly for variable 'isListNewsgroups' (lines '652'-'666').652 - 666
Found 'DD'-anomaly for variable 'isListNewsgroups' (lines '652'-'668').652 - 668
Found 'DU'-anomaly for variable 'isListNewsgroups' (lines '652'-'704').652 - 704
Found 'DD'-anomaly for variable 'extension' (lines '654'-'659').654 - 659
Found 'DD'-anomaly for variable 'extension' (lines '654'-'661').654 - 661
Found 'DU'-anomaly for variable 'wildmat' (lines '658'-'704').658 - 704
Found 'DD'-anomaly for variable 'extension' (lines '659'-'661').659 - 661
Found 'DU'-anomaly for variable 'isListNewsgroups' (lines '666'-'704').666 - 704
Found 'DU'-anomaly for variable 'isListNewsgroups' (lines '668'-'704').668 - 704
A method should have only one exit point, and that should be the last statement in the method671
A method should have only one exit point, and that should be the last statement in the method674
A method should have only one exit point, and that should be the last statement in the method678
A method should have only one exit point, and that should be the last statement in the method682
A method should have only one exit point, and that should be the last statement in the method686
Found 'DD'-anomaly for variable 'article' (lines '759'-'761').759 - 761
Found 'DU'-anomaly for variable 'article' (lines '759'-'809').759 - 809
Found 'DD'-anomaly for variable 'article' (lines '759'-'783').759 - 783
Found 'DD'-anomaly for variable 'article' (lines '759'-'788').759 - 788
A method should have only one exit point, and that should be the last statement in the method764
Found 'DU'-anomaly for variable 'newArticleNumber' (lines '773'-'809').773 - 809
Found 'DD'-anomaly for variable 'newArticleNumber' (lines '773'-'787').773 - 787
A method should have only one exit point, and that should be the last statement in the method776
A method should have only one exit point, and that should be the last statement in the method781
Found 'DD'-anomaly for variable 'article' (lines '822'-'824').822 - 824
Found 'DU'-anomaly for variable 'article' (lines '822'-'877').822 - 877
Found 'DD'-anomaly for variable 'article' (lines '822'-'846').822 - 846
Found 'DD'-anomaly for variable 'article' (lines '822'-'851').822 - 851
A method should have only one exit point, and that should be the last statement in the method827
Found 'DU'-anomaly for variable 'newArticleNumber' (lines '836'-'877').836 - 877
Found 'DD'-anomaly for variable 'newArticleNumber' (lines '836'-'850').836 - 850
A method should have only one exit point, and that should be the last statement in the method839
A method should have only one exit point, and that should be the last statement in the method844
Found 'DD'-anomaly for variable 'article' (lines '890'-'892').890 - 892
Found 'DU'-anomaly for variable 'article' (lines '890'-'945').890 - 945
Found 'DD'-anomaly for variable 'article' (lines '890'-'914').890 - 914
Found 'DD'-anomaly for variable 'article' (lines '890'-'919').890 - 919
A method should have only one exit point, and that should be the last statement in the method895
Found 'DU'-anomaly for variable 'newArticleNumber' (lines '904'-'945').904 - 945
Found 'DD'-anomaly for variable 'newArticleNumber' (lines '904'-'918').904 - 918
A method should have only one exit point, and that should be the last statement in the method907
A method should have only one exit point, and that should be the last statement in the method912
Found 'DD'-anomaly for variable 'article' (lines '958'-'960').958 - 960
Found 'DU'-anomaly for variable 'article' (lines '958'-'1,014').958 - 1014
Found 'DD'-anomaly for variable 'article' (lines '958'-'982').958 - 982
Found 'DD'-anomaly for variable 'article' (lines '958'-'987').958 - 987
A method should have only one exit point, and that should be the last statement in the method963
Found 'DU'-anomaly for variable 'newArticleNumber' (lines '972'-'1,014').972 - 1014
Found 'DD'-anomaly for variable 'newArticleNumber' (lines '972'-'986').972 - 986
A method should have only one exit point, and that should be the last statement in the method975
A method should have only one exit point, and that should be the last statement in the method980
Found 'DU'-anomaly for variable 'argument' (lines '1,141'-'1,145').1141 - 1145
Found 'DU'-anomaly for variable 'argument' (lines '1,152'-'1,155').1152 - 1155
A method should have only one exit point, and that should be the last statement in the method1168
Found 'DU'-anomaly for variable 'argument' (lines '1,219'-'1,222').1219 - 1222
A method should have only one exit point, and that should be the last statement in the method1244
Found 'DD'-anomaly for variable 'range' (lines '1,247'-'1,250').1247 - 1250
Found 'DU'-anomaly for variable 'range' (lines '1,247'-'1,282').1247 - 1282
Found 'DU'-anomaly for variable 'range' (lines '1,250'-'1,282').1250 - 1282
A method should have only one exit point, and that should be the last statement in the method1255
Found 'DU'-anomaly for variable 'range' (lines '1,300'-'1,326').1300 - 1326
A method should have only one exit point, and that should be the last statement in the method1304
Found 'DD'-anomaly for variable 'msgIn' (lines '1,333'-'1,335').1333 - 1335
Found 'DD'-anomaly for variable 'messageIn' (lines '1,363'-'1,365').1363 - 1365
Avoid empty catch blocks1371 - 1373
Assigning an Object to null is a code smell. Consider refactoring.1374
Found 'DU'-anomaly for variable 'messageIn' (lines '1,374'-'1,377').1374 - 1377
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '1,387'-'1,387').1387
Found 'DD'-anomaly for variable 'dt' (lines '1,404'-'1,406').1404 - 1406
A method should have only one exit point, and that should be the last statement in the method1436 - 1437
Found 'DD'-anomaly for variable 'start' (lines '1,444'-'1,448').1444 - 1448
Found 'DD'-anomaly for variable 'start' (lines '1,444'-'1,451').1444 - 1451
Found 'DD'-anomaly for variable 'end' (lines '1,445'-'1,449').1445 - 1449
Found 'DD'-anomaly for variable 'end' (lines '1,445'-'1,453').1445 - 1453
Found 'DD'-anomaly for variable 'end' (lines '1,445'-'1,455').1445 - 1455
Found 'DU'-anomaly for variable 'command' (lines '1,475'-'1,485').1475 - 1485
A method should have only one exit point, and that should be the last statement in the method1478
Found 'DD'-anomaly for variable 'allowed' (lines '1,481'-'1,482').1481 - 1482
A method should have only one exit point, and that should be the last statement in the method1495
A method should have only one exit point, and that should be the last statement in the method1497
A method should have only one exit point, and that should be the last statement in the method1516

Apache JAMES Server NNTP function - org/apache/james/nntpserver/NNTPServer.java

ViolationLine
Each class should declare at least one constructor38 - 187
Each class should declare at least one constructor144 - 179
A method should have only one exit point, and that should be the last statement in the method152

Apache JAMES Server NNTP function - org/apache/james/nntpserver/NNTPServerMBean.java

ViolationLine
Avoid modifiers which are implied by the context38
Avoid modifiers which are implied by the context47
Avoid modifiers which are implied by the context56
Avoid modifiers which are implied by the context65

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/ArticleIDRepository.java

ViolationLine
Perhaps 'counter' could be replaced by a local variable.63
Use explicit scoping instead of the default package private level73 - 87
Use explicit scoping instead of the default package private level94 - 107
Found 'DD'-anomaly for variable 'fout' (lines '98'-'100').98 - 100
Use explicit scoping instead of the default package private level117 - 125
Use explicit scoping instead of the default package private level150 - 152
Use explicit scoping instead of the default package private level164 - 190
Found 'DU'-anomaly for variable 'repo' (lines '164'-'190').164 - 190
A method should have only one exit point, and that should be the last statement in the method167
Found 'DD'-anomaly for variable 'fin' (lines '169'-'172').169 - 172
Found 'DU'-anomaly for variable 'number' (lines '183'-'190').183 - 190
Found 'DD'-anomaly for variable 'number' (lines '183'-'183').183

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPArticle.java

ViolationLine
Found 'DU'-anomaly for variable 'wrt' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'wrt' (lines '64'-'64').64
Found 'DU'-anomaly for variable 'wrt' (lines '71'-'71').71
Found 'DU'-anomaly for variable 'wrt' (lines '78'-'78').78
Found 'DU'-anomaly for variable 'headerName' (lines '86'-'86').86

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPArticleImpl.java

ViolationLine
Found 'DD'-anomaly for variable 'fin' (lines '80'-'82').80 - 82
Assigning an Object to null is a code smell. Consider refactoring.86
Found 'DU'-anomaly for variable 'out' (lines '97'-'117').97 - 117
Found 'DD'-anomaly for variable 'fileStream' (lines '98'-'100').98 - 100
Found 'DD'-anomaly for variable 'read' (lines '102'-'103').102 - 103
Avoid assignments in operands103
Found 'DU'-anomaly for variable 'read' (lines '103'-'117').103 - 117
Avoid empty catch blocks112 - 114
Found 'DU'-anomaly for variable 'out' (lines '122'-'144').122 - 144
Found 'DD'-anomaly for variable 'fileStream' (lines '123'-'125').123 - 125
Avoid empty catch blocks139 - 141
Found 'DU'-anomaly for variable 'out' (lines '149'-'170').149 - 170
Found 'DD'-anomaly for variable 'fileStream' (lines '150'-'152').150 - 152
Found 'DU'-anomaly for variable 'headers' (lines '153'-'170').153 - 170
Found 'DD'-anomaly for variable 'read' (lines '155'-'156').155 - 156
Avoid assignments in operands156
Found 'DU'-anomaly for variable 'read' (lines '156'-'170').156 - 170
Avoid empty catch blocks165 - 167
Found 'DD'-anomaly for variable 'fileStream' (lines '176'-'178').176 - 178
Found 'DD'-anomaly for variable 'lines' (lines '191'-'193').191 - 193
Found 'DD'-anomaly for variable 'lines' (lines '193'-'193').193
Avoid empty catch blocks217 - 219

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPGroup.java

ViolationLine
Found 'DU'-anomaly for variable 'number' (lines '84'-'84').84
Found 'DU'-anomaly for variable 'dt' (lines '95'-'95').95
Found 'DU'-anomaly for variable 'newsStream' (lines '128'-'128').128

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPGroupImpl.java

ViolationLine
Perhaps 'articleRangeInfoCollected' could be replaced by a local variable.72
It is a good practice to call super() in a constructor79 - 81
Assigning an Object to null is a code smell. Consider refactoring.159
Found 'UR'-anomaly for variable 'artNum' (lines '218'-'232').218 - 232
Found 'DD'-anomaly for variable 'articleFile' (lines '220'-'232').220 - 232
Found 'DD'-anomaly for variable 'fout' (lines '240'-'242').240 - 242
Avoid empty catch blocks250 - 253

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPRepository.java

ViolationLine
Avoid modifiers which are implied by the context33
Found 'DU'-anomaly for variable 'groupName' (lines '42'-'42').42
Found 'DU'-anomaly for variable 'id' (lines '51'-'51').51
Found 'DU'-anomaly for variable 'in' (lines '59'-'59').59
Found 'DU'-anomaly for variable 'wildmat' (lines '68'-'68').68
Found 'DU'-anomaly for variable 'dt' (lines '77'-'77').77
Found 'DU'-anomaly for variable 'dt' (lines '86'-'86').86

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPRepositoryImpl.java

ViolationLine
Each class should declare at least one constructor54 - 498
Perhaps 'overviewFormat' could be replaced by a local variable.121 - 128
Perhaps 'repositoryGroups' could be replaced by a local variable.135
Found 'UR'-anomaly for variable 'errorBuffer' (lines '195'-'195').195
Found 'DD'-anomaly for variable 'articleIDPath' (lines '198'-'203').198 - 203
Found 'DU'-anomaly for variable 'errorBuffer' (lines '226'-'264').226 - 264
A method should have only one exit point, and that should be the last statement in the method281
Found 'DD'-anomaly for variable 'groupToReturn' (lines '284'-'286').284 - 286
Assigning an Object to null is a code smell. Consider refactoring.295
A method should have only one exit point, and that should be the last statement in the method307
Found 'DD'-anomaly for variable 'fout' (lines '324'-'326').324 - 326
Found 'DD'-anomaly for variable 'bytesRead' (lines '328'-'329').328 - 329
Avoid assignments in operands329
Found 'DU'-anomaly for variable 'bytesRead' (lines '329'-'350').329 - 350
Assigning an Object to null is a code smell. Consider refactoring.334
Avoid empty catch blocks345 - 347
Each class should declare at least one constructor352 - 360
Found 'DU'-anomaly for variable 'dir' (lines '353'-'359').353 - 359
Found 'DU'-anomaly for variable 'giter' (lines '406'-'437').406 - 437
Found 'DU'-anomaly for variable 'giter' (lines '406'-'437').406 - 437
Found 'DU'-anomaly for variable 'giter' (lines '406'-'437').406 - 437
Found 'DU'-anomaly for variable 'giter' (lines '406'-'437').406 - 437
Assigning an Object to null is a code smell. Consider refactoring.424
Found 'UR'-anomaly for variable 'errorString' (lines '467'-'467').467
Found 'DD'-anomaly for variable 'className' (lines '469'-'473').469 - 473
Avoid empty catch blocks474 - 476

Apache JAMES Server NNTP function - org/apache/james/nntpserver/repository/NNTPSpooler.java

ViolationLine
Each class should declare at least one constructor52 - 355
Found 'UR'-anomaly for variable 'errorBuffer' (lines '101'-'101').101
Found 'DU'-anomaly for variable 'errorBuffer' (lines '109'-'130').109 - 130
Use explicit scoping instead of the default package private level137 - 141
Found 'DU'-anomaly for variable 'repo' (lines '137'-'141').137 - 141
Use explicit scoping instead of the default package private level148 - 152
Found 'DU'-anomaly for variable 'articleIDRepo' (lines '148'-'152').148 - 152
Use explicit scoping instead of the default package private level160 - 162
It is a good practice to call super() in a constructor192 - 195
Use explicit scoping instead of the default package private level202 - 204
Use explicit scoping instead of the default package private level211 - 213
Assigning an Object to null is a code smell. Consider refactoring.238
Assigning an Object to null is a code smell. Consider refactoring.240
Found 'DD'-anomaly for variable 'list' (lines '240'-'223').240 - 223
Found 'DU'-anomaly for variable 'list' (lines '240'-'251').240 - 251
Found 'DD'-anomaly for variable 'lineCount' (lines '277'-'286').277 - 286
Found 'DU'-anomaly for variable 'lineCount' (lines '277'-'344').277 - 344
Found 'DD'-anomaly for variable 'lines' (lines '281'-'283').281 - 283
Found 'DD'-anomaly for variable 'lines' (lines '283'-'283').283
Assigning an Object to null is a code smell. Consider refactoring.294

Apache JAMES Server Phoenix Deployment - org/apache/james/Main.java

ViolationLine
Each class should declare at least one constructor31 - 46
Found 'DU'-anomaly for variable 'args' (lines '39'-'45').39 - 45

Apache JAMES Server Phoenix Deployment - org/apache/james/context/AvalonContextUtilities.java

ViolationLine
Found 'DD'-anomaly for variable 'baseDirectory' (lines '77'-'81').77 - 81

Apache JAMES Server Phoenix Deployment - org/apache/james/context/AvalonFileSystem.java

ViolationLine
Each class should declare at least one constructor38 - 88
A method should have only one exit point, and that should be the last statement in the method71

Apache JAMES Server Phoenix Deployment - org/apache/james/phoenix/PhoenixLoader.java

ViolationLine
Error while parsing /opt/development/workspace-seda-imap/phoenix-deployment/src/java/org/apache/james/phoenix/PhoenixLoader.java0
Error while parsing /opt/development/workspace-seda-imap/phoenix-deployment/src/java/org/apache/james/phoenix/PhoenixLoader.java0

Apache JAMES Server Phoenix Deployment - org/apache/james/phoenix/jcr/AvalonJCRMailRepository.java

ViolationLine
Each class should declare at least one constructor35 - 107
Found 'UR'-anomaly for variable 'repository' (lines '40'-'40').40

Apache JAMES Server Phoenix Deployment - org/apache/james/phoenix/jms/activemq/JMSService.java

ViolationLine
Each class should declare at least one constructor44 - 278
Assigning an Object to null is a code smell. Consider refactoring.61
Found 'UR'-anomaly for variable 'name' (lines '65'-'65').65
Found 'DU'-anomaly for variable 'consumer' (lines '72'-'100').72 - 100
Found 'DD'-anomaly for variable 'consumer' (lines '72'-'72').72
Found 'DU'-anomaly for variable 'builder' (lines '74'-'100').74 - 100
Found 'DD'-anomaly for variable 'builder' (lines '74'-'74').74
Found 'DU'-anomaly for variable 'name' (lines '83'-'100').83 - 100
Found 'DD'-anomaly for variable 'name' (lines '83'-'83').83
Found 'DU'-anomaly for variable 'configuration' (lines '102'-'110').102 - 110
Avoid empty catch blocks121 - 123
Found 'UR'-anomaly for variable 'className' (lines '133'-'133').133
Found 'UR'-anomaly for variable 'type' (lines '133'-'133').133
Found 'UR'-anomaly for variable 'result' (lines '133'-'164').133 - 164
Found 'UR'-anomaly for variable 'result' (lines '133'-'166').133 - 166
Found 'DD'-anomaly for variable 'type' (lines '140'-'142').140 - 142
Assigning an Object to null is a code smell. Consider refactoring.142
Found 'UR'-anomaly for variable 'className' (lines '169'-'169').169
Found 'UR'-anomaly for variable 'type' (lines '169'-'169').169
Found 'UR'-anomaly for variable 'consumer' (lines '169'-'196').169 - 196
Found 'DD'-anomaly for variable 'type' (lines '172'-'174').172 - 174
Assigning an Object to null is a code smell. Consider refactoring.174
Found 'DD'-anomaly for variable 'clazz' (lines '204'-'209').204 - 209
Found 'UR'-anomaly for variable 'url' (lines '242'-'242').242
Found 'DU'-anomaly for variable 'broker' (lines '242'-'257').242 - 257

Apache JAMES Server POP3 function - org/apache/james/pop3server/CommandHandler.java

ViolationLine
Found 'DU'-anomaly for variable 'session' (lines '34'-'34').34

Apache JAMES Server POP3 function - org/apache/james/pop3server/ConnectHandler.java

ViolationLine
Found 'DU'-anomaly for variable 'session' (lines '34'-'34').34

Apache JAMES Server POP3 function - org/apache/james/pop3server/DeleCmdHandler.java

ViolationLine
Each class should declare at least one constructor30 - 92
Found 'DU'-anomaly for variable 'argument' (lines '46'-'89').46 - 89
Found 'DD'-anomaly for variable 'responseString' (lines '47'-'53').47 - 53
Found 'DD'-anomaly for variable 'responseString' (lines '47'-'86').47 - 86
Found 'DD'-anomaly for variable 'num' (lines '49'-'51').49 - 51
Found 'DU'-anomaly for variable 'num' (lines '51'-'89').51 - 89

Apache JAMES Server POP3 function - org/apache/james/pop3server/ListCmdHandler.java

ViolationLine
Each class should declare at least one constructor33 - 136
Found 'DU'-anomaly for variable 'argument' (lines '50'-'134').50 - 134
Found 'DD'-anomaly for variable 'count' (lines '54'-'60').54 - 60
Found 'DD'-anomaly for variable 'count' (lines '60'-'60').60
Found 'DD'-anomaly for variable 'count' (lines '71'-'72').71 - 72
Found 'DU'-anomaly for variable 'count' (lines '71'-'134').71 - 134
Found 'DU'-anomaly for variable 'count' (lines '72'-'134').72 - 134
Found 'DD'-anomaly for variable 'count' (lines '72'-'72').72
Found 'DD'-anomaly for variable 'num' (lines '89'-'91').89 - 91

Apache JAMES Server POP3 function - org/apache/james/pop3server/NoopCmdHandler.java

ViolationLine
Each class should declare at least one constructor27 - 54
Found 'DU'-anomaly for variable 'argument' (lines '42'-'51').42 - 51
Found 'DD'-anomaly for variable 'responseString' (lines '43'-'45').43 - 45
Found 'DD'-anomaly for variable 'responseString' (lines '43'-'48').43 - 48

Apache JAMES Server POP3 function - org/apache/james/pop3server/POP3Handler.java

ViolationLine
Each class should declare at least one constructor46 - 528
Use explicit scoping instead of the default package private level58
Use explicit scoping instead of the default package private level61
Use explicit scoping instead of the default package private level68
Use explicit scoping instead of the default package private level70
Use explicit scoping instead of the default package private level73
Use explicit scoping instead of the default package private level78
Use explicit scoping instead of the default package private level120
Use explicit scoping instead of the default package private level125
Use explicit scoping instead of the default package private level130
Assigning an Object to null is a code smell. Consider refactoring.208
Assigning an Object to null is a code smell. Consider refactoring.209
Avoid empty catch blocks276 - 278
Assigning an Object to null is a code smell. Consider refactoring.286
Assigning an Object to null is a code smell. Consider refactoring.287
Assigning an Object to null is a code smell. Consider refactoring.294
Assigning an Object to null is a code smell. Consider refactoring.303
Assigning an Object to null is a code smell. Consider refactoring.307

Apache JAMES Server POP3 function - org/apache/james/pop3server/POP3HandlerChain.java

ViolationLine
Each class should declare at least one constructor45 - 231
Perhaps 'messageHandlers' could be replaced by a local variable.48
Perhaps 'unknownHandler' could be replaced by a local variable.51
Found 'DD'-anomaly for variable 'commandName' (lines '121'-'122').121 - 122
Found 'DD'-anomaly for variable 'found' (lines '159'-'165').159 - 165
Use explicit scoping instead of the default package private level198 - 211
A method should have only one exit point, and that should be the last statement in the method200
Use explicit scoping instead of the default package private level218 - 220
Use explicit scoping instead of the default package private level227 - 229

Apache JAMES Server POP3 function - org/apache/james/pop3server/POP3Server.java

ViolationLine
Each class should declare at least one constructor41 - 194
Use explicit scoping instead of the default package private level47
Each class should declare at least one constructor152 - 186
A method should have only one exit point, and that should be the last statement in the method160

Apache JAMES Server POP3 function - org/apache/james/pop3server/POP3ServerMBean.java

ViolationLine
Avoid modifiers which are implied by the context38
Avoid modifiers which are implied by the context47
Avoid modifiers which are implied by the context56
Avoid modifiers which are implied by the context65

Apache JAMES Server POP3 function - org/apache/james/pop3server/POP3Session.java

ViolationLine
Found 'DU'-anomaly for variable 'respString' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'user' (lines '144'-'144').144
Found 'DU'-anomaly for variable 'handlerState' (lines '165'-'165').165
Found 'DU'-anomaly for variable 'userInbox' (lines '179'-'179').179
Found 'DU'-anomaly for variable 'userMailbox' (lines '193'-'193').193
Found 'DU'-anomaly for variable 'backupUserMailbox' (lines '208'-'208').208

Apache JAMES Server POP3 function - org/apache/james/pop3server/PassCmdHandler.java

ViolationLine
Each class should declare at least one constructor31 - 88
Found 'DD'-anomaly for variable 'responseString' (lines '47'-'67').47 - 67
Found 'DD'-anomaly for variable 'responseString' (lines '47'-'77').47 - 77
Found 'DD'-anomaly for variable 'responseString' (lines '47'-'82').47 - 82

Apache JAMES Server POP3 function - org/apache/james/pop3server/QuitCmdHandler.java

ViolationLine
Each class should declare at least one constructor32 - 73
Found 'DU'-anomaly for variable 'argument' (lines '47'-'70').47 - 70
Found 'DD'-anomaly for variable 'responseString' (lines '48'-'50').48 - 50
Found 'DD'-anomaly for variable 'responseString' (lines '48'-'62').48 - 62

Apache JAMES Server POP3 function - org/apache/james/pop3server/RetrCmdHandler.java

ViolationLine
Each class should declare at least one constructor36 - 114
Found 'DU'-anomaly for variable 'argument' (lines '52'-'111').52 - 111
Found 'DD'-anomaly for variable 'responseString' (lines '53'-'59').53 - 59
Found 'DD'-anomaly for variable 'responseString' (lines '53'-'108').53 - 108
Found 'DD'-anomaly for variable 'num' (lines '55'-'57').55 - 57
Found 'DU'-anomaly for variable 'num' (lines '57'-'111').57 - 111

Apache JAMES Server POP3 function - org/apache/james/pop3server/RsetCmdHandler.java

ViolationLine
Each class should declare at least one constructor37 - 97
Found 'DU'-anomaly for variable 'argument' (lines '52'-'61').52 - 61
Found 'DD'-anomaly for variable 'responseString' (lines '53'-'56').53 - 56
Found 'DD'-anomaly for variable 'responseString' (lines '53'-'58').53 - 58

Apache JAMES Server POP3 function - org/apache/james/pop3server/StatCmdHandler.java

ViolationLine
Each class should declare at least one constructor33 - 82
Found 'DU'-anomaly for variable 'argument' (lines '49'-'79').49 - 79
Found 'DD'-anomaly for variable 'responseString' (lines '50'-'69').50 - 69
Found 'DD'-anomaly for variable 'responseString' (lines '50'-'76').50 - 76
Found 'DD'-anomaly for variable 'count' (lines '53'-'59').53 - 59
Found 'DD'-anomaly for variable 'count' (lines '59'-'59').59

Apache JAMES Server POP3 function - org/apache/james/pop3server/TopCmdHandler.java

ViolationLine
Each class should declare at least one constructor40 - 174
Found 'DD'-anomaly for variable 'responseString' (lines '60'-'63').60 - 63
Found 'DD'-anomaly for variable 'responseString' (lines '60'-'83').60 - 83
Found 'DD'-anomaly for variable 'responseString' (lines '60'-'136').60 - 136
A method should have only one exit point, and that should be the last statement in the method65
Found 'DD'-anomaly for variable 'argument' (lines '68'-'72').68 - 72
Found 'DU'-anomaly for variable 'argument' (lines '68'-'139').68 - 139
Found 'DD'-anomaly for variable 'argument1' (lines '69'-'73').69 - 73
Found 'DU'-anomaly for variable 'argument1' (lines '69'-'139').69 - 139
Found 'DU'-anomaly for variable 'argument' (lines '72'-'139').72 - 139
Found 'DU'-anomaly for variable 'argument1' (lines '73'-'139').73 - 139
Found 'DD'-anomaly for variable 'num' (lines '77'-'80').77 - 80
Found 'DD'-anomaly for variable 'lines' (lines '78'-'81').78 - 81
Found 'DU'-anomaly for variable 'num' (lines '80'-'139').80 - 139
Found 'DU'-anomaly for variable 'lines' (lines '81'-'139').81 - 139
Found 'DU'-anomaly for variable 'out' (lines '152'-'172').152 - 172
Found 'DU'-anomaly for variable 'lines' (lines '152'-'172').152 - 172
Avoid assignments in operands160
Found 'DU'-anomaly for variable 'line' (lines '160'-'172').160 - 172

Apache JAMES Server POP3 function - org/apache/james/pop3server/UidlCmdHandler.java

ViolationLine
Each class should declare at least one constructor31 - 111
Found 'DU'-anomaly for variable 'argument' (lines '46'-'108').46 - 108
Found 'DD'-anomaly for variable 'count' (lines '51'-'52').51 - 52
Found 'DU'-anomaly for variable 'count' (lines '51'-'108').51 - 108
Found 'DU'-anomaly for variable 'count' (lines '52'-'108').52 - 108
Found 'DD'-anomaly for variable 'count' (lines '52'-'52').52
Found 'DD'-anomaly for variable 'num' (lines '65'-'67').65 - 67

Apache JAMES Server POP3 function - org/apache/james/pop3server/UnknownCmdHandler.java

ViolationLine
Each class should declare at least one constructor28 - 45

Apache JAMES Server POP3 function - org/apache/james/pop3server/UserCmdHandler.java

ViolationLine
Each class should declare at least one constructor27 - 55
Found 'DD'-anomaly for variable 'responseString' (lines '43'-'47').43 - 47
Found 'DD'-anomaly for variable 'responseString' (lines '43'-'49').43 - 49

Apache JAMES Server RemoteManager function - org/apache/james/remotemanager/Command.java

ViolationLine
Avoid modifiers which are implied by the context33
Avoid modifiers which are implied by the context39
Avoid modifiers which are implied by the context47
Found 'DU'-anomaly for variable 'out' (lines '47'-'47').47
Found 'DU'-anomaly for variable 'args' (lines '47'-'47').47

Apache JAMES Server RemoteManager function - org/apache/james/remotemanager/CommandRegistry.java

ViolationLine
It is a good practice to call super() in a constructor34 - 36
Found 'DU'-anomaly for variable 'out' (lines '38'-'49').38 - 49
Found 'DU'-anomaly for variable 'args' (lines '38'-'49').38 - 49
Found 'DU'-anomaly for variable 'commandName' (lines '38'-'49').38 - 49
Found 'DD'-anomaly for variable 'result' (lines '39'-'45').39 - 45
Found 'DD'-anomaly for variable 'result' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'out' (lines '51'-'61').51 - 61

Apache JAMES Server RemoteManager function - org/apache/james/remotemanager/RemoteManager.java

ViolationLine
Each class should declare at least one constructor54 - 403
Each class should declare at least one constructor300 - 395
A method should have only one exit point, and that should be the last statement in the method308

Apache JAMES Server RemoteManager function - org/apache/james/remotemanager/RemoteManagerHandler.java

ViolationLine
Each class should declare at least one constructor61 - 1764
Found 'DD'-anomaly for variable 'password' (lines '154'-'163').154 - 163
Avoid empty catch blocks192 - 194
Assigning an Object to null is a code smell. Consider refactoring.234
A method should have only one exit point, and that should be the last statement in the method248
Found 'DD'-anomaly for variable 'argument' (lines '251'-'254').251 - 254
A method should have only one exit point, and that should be the last statement in the method262
A method should have only one exit point, and that should be the last statement in the method268
A method should have only one exit point, and that should be the last statement in the method272
Found 'DD'-anomaly for variable 'breakIndex' (lines '310'-'311').310 - 311
Avoid assignments in operands311 - 313
Found 'DU'-anomaly for variable 'breakIndex' (lines '311'-'364').311 - 364
A method should have only one exit point, and that should be the last statement in the method315
A method should have only one exit point, and that should be the last statement in the method321
Found 'DU'-anomaly for variable 'success' (lines '324'-'364').324 - 364
Found 'DD'-anomaly for variable 'success' (lines '324'-'347').324 - 347
A method should have only one exit point, and that should be the last statement in the method338
A method should have only one exit point, and that should be the last statement in the method344
Found 'DD'-anomaly for variable 'breakIndex' (lines '374'-'375').374 - 375
Avoid assignments in operands375 - 377
Found 'DU'-anomaly for variable 'breakIndex' (lines '375'-'410').375 - 410
A method should have only one exit point, and that should be the last statement in the method379
A method should have only one exit point, and that should be the last statement in the method386
A method should have only one exit point, and that should be the last statement in the method391
A method should have only one exit point, and that should be the last statement in the method422
A method should have only one exit point, and that should be the last statement in the method472
A method should have only one exit point, and that should be the last statement in the method477
A method should have only one exit point, and that should be the last statement in the method499
A method should have only one exit point, and that should be the last statement in the method504
A method should have only one exit point, and that should be the last statement in the method522
Found 'DU'-anomaly for variable 'argument' (lines '551'-'594').551 - 594
Found 'DD'-anomaly for variable 'breakIndex' (lines '603'-'604').603 - 604
Avoid assignments in operands604 - 606
Found 'DU'-anomaly for variable 'breakIndex' (lines '604'-'653').604 - 653
A method should have only one exit point, and that should be the last statement in the method608
A method should have only one exit point, and that should be the last statement in the method614
A method should have only one exit point, and that should be the last statement in the method620
A method should have only one exit point, and that should be the last statement in the method624
Found 'DU'-anomaly for variable 'user' (lines '627'-'653').627 - 653
A method should have only one exit point, and that should be the last statement in the method631
Found 'DD'-anomaly for variable 'breakIndex' (lines '662'-'663').662 - 663
Avoid assignments in operands663 - 665
Found 'DU'-anomaly for variable 'breakIndex' (lines '663'-'714').663 - 714
A method should have only one exit point, and that should be the last statement in the method667
A method should have only one exit point, and that should be the last statement in the method673
A method should have only one exit point, and that should be the last statement in the method679
A method should have only one exit point, and that should be the last statement in the method682
Found 'DU'-anomaly for variable 'user' (lines '684'-'714').684 - 714
Found 'DU'-anomaly for variable 'forwardAddr' (lines '688'-'714').688 - 714
A method should have only one exit point, and that should be the last statement in the method692
A method should have only one exit point, and that should be the last statement in the method725
A method should have only one exit point, and that should be the last statement in the method732
A method should have only one exit point, and that should be the last statement in the method735
A method should have only one exit point, and that should be the last statement in the method741
A method should have only one exit point, and that should be the last statement in the method746
A method should have only one exit point, and that should be the last statement in the method755
A method should have only one exit point, and that should be the last statement in the method771
A method should have only one exit point, and that should be the last statement in the method778
A method should have only one exit point, and that should be the last statement in the method781
A method should have only one exit point, and that should be the last statement in the method786
A method should have only one exit point, and that should be the last statement in the method791
A method should have only one exit point, and that should be the last statement in the method800
A method should have only one exit point, and that should be the last statement in the method816
A method should have only one exit point, and that should be the last statement in the method849
A method should have only one exit point, and that should be the last statement in the method882
Found 'DU'-anomaly for variable 'count' (lines '909'-'954').909 - 954
Found 'DD'-anomaly for variable 'count' (lines '909'-'938').909 - 938
Found 'DD'-anomaly for variable 'args' (lines '910'-'914').910 - 914
Found 'DU'-anomaly for variable 'headername' (lines '911'-'954').911 - 954
Found 'DD'-anomaly for variable 'headername' (lines '911'-'925').911 - 925
Found 'DU'-anomaly for variable 'regex' (lines '912'-'954').912 - 954
Found 'DD'-anomaly for variable 'regex' (lines '912'-'926').912 - 926
A method should have only one exit point, and that should be the last statement in the method919
Found 'DU'-anomaly for variable 'count' (lines '963'-'1,007').963 - 1007
Found 'DD'-anomaly for variable 'count' (lines '963'-'991').963 - 991
Found 'DD'-anomaly for variable 'count' (lines '963'-'993').963 - 993
Found 'DD'-anomaly for variable 'args' (lines '964'-'967').964 - 967
A method should have only one exit point, and that should be the last statement in the method974
Found 'DD'-anomaly for variable 'key' (lines '978'-'983').978 - 983
Found 'DU'-anomaly for variable 'header' (lines '979'-'1,007').979 - 1007
Found 'DD'-anomaly for variable 'header' (lines '979'-'985').979 - 985
Found 'DU'-anomaly for variable 'regex' (lines '980'-'1,007').980 - 1007
Found 'DD'-anomaly for variable 'regex' (lines '980'-'986').980 - 986
Found 'DU'-anomaly for variable 'header' (lines '985'-'1,007').985 - 1007
Found 'DU'-anomaly for variable 'regex' (lines '986'-'1,007').986 - 1007
Found 'DD'-anomaly for variable 'args' (lines '1,017'-'1,020').1017 - 1020
A method should have only one exit point, and that should be the last statement in the method1027
Found 'DD'-anomaly for variable 'key' (lines '1,031'-'1,036').1031 - 1036
Found 'DU'-anomaly for variable 'header' (lines '1,032'-'1,067').1032 - 1067
Found 'DD'-anomaly for variable 'header' (lines '1,032'-'1,038').1032 - 1038
Found 'DU'-anomaly for variable 'regex' (lines '1,033'-'1,067').1033 - 1067
Found 'DD'-anomaly for variable 'regex' (lines '1,033'-'1,039').1033 - 1039
Found 'DU'-anomaly for variable 'header' (lines '1,038'-'1,067').1038 - 1067
Found 'DU'-anomaly for variable 'regex' (lines '1,039'-'1,067').1039 - 1067
Found 'DD'-anomaly for variable 'count' (lines '1,044'-'1,047').1044 - 1047
Found 'DD'-anomaly for variable 'count' (lines '1,044'-'1,049').1044 - 1049
Found 'DD'-anomaly for variable 'args' (lines '1,078'-'1,081').1078 - 1081
A method should have only one exit point, and that should be the last statement in the method1087
Found 'DU'-anomaly for variable 'srcUrl' (lines '1,090'-'1,136').1090 - 1136
Found 'DU'-anomaly for variable 'dstUrl' (lines '1,091'-'1,136').1091 - 1136
Found 'DU'-anomaly for variable 'dstState' (lines '1,093'-'1,136').1093 - 1136
Found 'DU'-anomaly for variable 'srcState' (lines '1,094'-'1,136').1094 - 1136
Found 'DD'-anomaly for variable 'header' (lines '1,095'-'1,100').1095 - 1100
Found 'DD'-anomaly for variable 'header' (lines '1,095'-'1,102').1095 - 1102
Found 'DD'-anomaly for variable 'header' (lines '1,095'-'1,104').1095 - 1104
Found 'DD'-anomaly for variable 'header' (lines '1,095'-'1,106').1095 - 1106
Found 'DU'-anomaly for variable 'header' (lines '1,095'-'1,136').1095 - 1136
Found 'DU'-anomaly for variable 'regex' (lines '1,096'-'1,136').1096 - 1136
Found 'DD'-anomaly for variable 'header' (lines '1,100'-'1,100').1100
Found 'DD'-anomaly for variable 'header' (lines '1,100'-'1,102').1100 - 1102
Found 'DD'-anomaly for variable 'header' (lines '1,100'-'1,104').1100 - 1104
Found 'DD'-anomaly for variable 'header' (lines '1,100'-'1,106').1100 - 1106
Found 'DU'-anomaly for variable 'header' (lines '1,100'-'1,136').1100 - 1136
Found 'DD'-anomaly for variable 'header' (lines '1,102'-'1,100').1102 - 1100
Found 'DD'-anomaly for variable 'header' (lines '1,102'-'1,102').1102
Found 'DD'-anomaly for variable 'header' (lines '1,102'-'1,104').1102 - 1104
Found 'DD'-anomaly for variable 'header' (lines '1,102'-'1,106').1102 - 1106
Found 'DU'-anomaly for variable 'header' (lines '1,102'-'1,136').1102 - 1136
Found 'DD'-anomaly for variable 'header' (lines '1,104'-'1,100').1104 - 1100
Found 'DD'-anomaly for variable 'header' (lines '1,104'-'1,102').1104 - 1102
Found 'DD'-anomaly for variable 'header' (lines '1,104'-'1,104').1104
Found 'DD'-anomaly for variable 'header' (lines '1,104'-'1,106').1104 - 1106
Found 'DU'-anomaly for variable 'header' (lines '1,104'-'1,136').1104 - 1136
Found 'DD'-anomaly for variable 'header' (lines '1,106'-'1,100').1106 - 1100
Found 'DD'-anomaly for variable 'header' (lines '1,106'-'1,102').1106 - 1102
Found 'DD'-anomaly for variable 'header' (lines '1,106'-'1,104').1106 - 1104
Found 'DD'-anomaly for variable 'header' (lines '1,106'-'1,106').1106
Found 'DU'-anomaly for variable 'header' (lines '1,106'-'1,136').1106 - 1136
A method should have only one exit point, and that should be the last statement in the method1110
A method should have only one exit point, and that should be the last statement in the method1121
Found 'DU'-anomaly for variable 'argument' (lines '1,145'-'1,148').1145 - 1148
Found 'DU'-anomaly for variable 'argument' (lines '1,157'-'1,161').1157 - 1161
Found 'DD'-anomaly for variable 'args' (lines '1,183'-'1,187').1183 - 1187
Found 'DU'-anomaly for variable 'count' (lines '1,184'-'1,222').1184 - 1222
Found 'DD'-anomaly for variable 'count' (lines '1,184'-'1,202').1184 - 1202
Found 'DD'-anomaly for variable 'count' (lines '1,184'-'1,204').1184 - 1204
A method should have only one exit point, and that should be the last statement in the method1193
A method should have only one exit point, and that should be the last statement in the method1207
A method should have only one exit point, and that should be the last statement in the method1216
Found 'DD'-anomaly for variable 'args' (lines '1,232'-'1,236').1232 - 1236
Found 'DU'-anomaly for variable 'count' (lines '1,233'-'1,270').1233 - 1270
Found 'DD'-anomaly for variable 'count' (lines '1,233'-'1,250').1233 - 1250
Found 'DD'-anomaly for variable 'count' (lines '1,233'-'1,252').1233 - 1252
A method should have only one exit point, and that should be the last statement in the method1241
A method should have only one exit point, and that should be the last statement in the method1255
A method should have only one exit point, and that should be the last statement in the method1264
A method should have only one exit point, and that should be the last statement in the method1278
A method should have only one exit point, and that should be the last statement in the method1294
A method should have only one exit point, and that should be the last statement in the method1307
A method should have only one exit point, and that should be the last statement in the method1323
Found 'DU'-anomaly for variable 'argument' (lines '1,331'-'1,351').1331 - 1351
A method should have only one exit point, and that should be the last statement in the method1345
Found 'DU'-anomaly for variable 'argument' (lines '1,353'-'1,360').1353 - 1360
Found 'DD'-anomaly for variable 'name' (lines '1,362'-'1,363').1362 - 1363
Found 'DU'-anomaly for variable 'processorManagement' (lines '1,369'-'1,381').1369 - 1381
A method should have only one exit point, and that should be the last statement in the method1373
Found 'DU'-anomaly for variable 'processorManagement' (lines '1,384'-'1,396').1384 - 1396
A method should have only one exit point, and that should be the last statement in the method1388
Found 'DU'-anomaly for variable 'commandHelp' (lines '1,398'-'1,422').1398 - 1422
A method should have only one exit point, and that should be the last statement in the method1403
A method should have only one exit point, and that should be the last statement in the method1408
Found 'DD'-anomaly for variable 'index' (lines '1,410'-'1,412').1410 - 1412
Avoid empty catch blocks1413 - 1415
A method should have only one exit point, and that should be the last statement in the method1418
Found 'DU'-anomaly for variable 'processorManagement' (lines '1,425'-'1,449').1425 - 1449
A method should have only one exit point, and that should be the last statement in the method1427
Found 'DD'-anomaly for variable 'mailetParameters' (lines '1,433'-'1,435').1433 - 1435
Avoid empty catch blocks1436 - 1438
A method should have only one exit point, and that should be the last statement in the method1441
Found 'DU'-anomaly for variable 'processorManagement' (lines '1,452'-'1,476').1452 - 1476
A method should have only one exit point, and that should be the last statement in the method1454
Found 'DD'-anomaly for variable 'matcherParameters' (lines '1,460'-'1,462').1460 - 1462
Avoid empty catch blocks1463 - 1465
A method should have only one exit point, and that should be the last statement in the method1468
Found 'DD'-anomaly for variable 'args' (lines '1,479'-'1,482').1479 - 1482
A method should have only one exit point, and that should be the last statement in the method1487
Found 'DD'-anomaly for variable 'args' (lines '1,505'-'1,508').1505 - 1508
A method should have only one exit point, and that should be the last statement in the method1513
Found 'DD'-anomaly for variable 'args' (lines '1,531'-'1,537').1531 - 1537
Found 'DU'-anomaly for variable 'table' (lines '1,532'-'1,588').1532 - 1588
A method should have only one exit point, and that should be the last statement in the method1542
A method should have only one exit point, and that should be the last statement in the method1552
A method should have only one exit point, and that should be the last statement in the method1560
A method should have only one exit point, and that should be the last statement in the method1600
A method should have only one exit point, and that should be the last statement in the method1637
A method should have only one exit point, and that should be the last statement in the method1669
A method should have only one exit point, and that should be the last statement in the method1699
A method should have only one exit point, and that should be the last statement in the method1722

Apache JAMES Server RemoteManager function - org/apache/james/remotemanager/RemoteManagerMBean.java

ViolationLine
Avoid modifiers which are implied by the context38
Avoid modifiers which are implied by the context47
Avoid modifiers which are implied by the context56
Avoid modifiers which are implied by the context65

Apache JAMES Server SMTP function - org/apache/james/smtpserver/CommandHandler.java

ViolationLine
Found 'DU'-anomaly for variable 'session' (lines '38'-'38').38

Apache JAMES Server SMTP function - org/apache/james/smtpserver/ConnectHandler.java

ViolationLine
Found 'DU'-anomaly for variable 'session' (lines '35'-'35').35

Apache JAMES Server SMTP function - org/apache/james/smtpserver/MessageHandler.java

ViolationLine
Found 'DU'-anomaly for variable 'session' (lines '34'-'34').34

Apache JAMES Server SMTP function - org/apache/james/smtpserver/ReaderInputStream.java

ViolationLine
It is a good practice to call super() in a constructor35 - 37

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SMTPHandler.java

ViolationLine
Each class should declare at least one constructor50 - 586
Use explicit scoping instead of the default package private level81
Use explicit scoping instead of the default package private level86
Use explicit scoping instead of the default package private level91
Perhaps 'smtpGreeting' could be replaced by a local variable.133
Assigning an Object to null is a code smell. Consider refactoring.250
Assigning an Object to null is a code smell. Consider refactoring.251
Assigning an Object to null is a code smell. Consider refactoring.310
Assigning an Object to null is a code smell. Consider refactoring.334
Assigning an Object to null is a code smell. Consider refactoring.335
Found 'DD'-anomaly for variable 'count' (lines '546'-'550').546 - 550

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SMTPHandlerChain.java

ViolationLine
Each class should declare at least one constructor51 - 370
Perhaps 'unknownHandler' could be replaced by a local variable.57
These nested if statements could be combined109 - 118
Found 'DD'-anomaly for variable 'found' (lines '139'-'147').139 - 147
Found 'UR'-anomaly for variable 'commandName' (lines '193'-'193').193
Found 'DU'-anomaly for variable 'implCmds' (lines '241'-'300').241 - 300
Use explicit scoping instead of the default package private level337 - 350
A method should have only one exit point, and that should be the last statement in the method339
Use explicit scoping instead of the default package private level357 - 359
Use explicit scoping instead of the default package private level366 - 368

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SMTPHandlerConfigurationData.java

ViolationLine
Found 'DU'-anomaly for variable 'remoteIP' (lines '61'-'61').61
Found 'DU'-anomaly for variable 'remoteIP' (lines '70'-'70').70

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SMTPServer.java

ViolationLine
Each class should declare at least one constructor49 - 402
Use explicit scoping instead of the default package private level56
Use explicit scoping instead of the default package private level61
Each class should declare at least one constructor289 - 394
A method should have only one exit point, and that should be the last statement in the method297
Found 'DU'-anomaly for variable 'remoteIP' (lines '320'-'326').320 - 326
Found 'DD'-anomaly for variable 'relayingAllowed' (lines '321'-'323').321 - 323
Found 'DU'-anomaly for variable 'remoteIP' (lines '331'-'338').331 - 338
A method should have only one exit point, and that should be the last statement in the method332
Found 'DD'-anomaly for variable 'authRequired' (lines '333'-'335').333 - 335

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SMTPServerMBean.java

ViolationLine
Avoid modifiers which are implied by the context37
Avoid modifiers which are implied by the context46
Avoid modifiers which are implied by the context55
Avoid modifiers which are implied by the context64

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SMTPSession.java

ViolationLine
Avoid modifiers which are implied by the context40
Avoid modifiers which are implied by the context41
Avoid modifiers which are implied by the context42
Avoid modifiers which are implied by the context43
Avoid modifiers which are implied by the context44
Avoid modifiers which are implied by the context45
Found 'DU'-anomaly for variable 'respString' (lines '52'-'52').52
Found 'DU'-anomaly for variable 'mail' (lines '111'-'111').111
Found 'DU'-anomaly for variable 'relayingAllowed' (lines '178'-'178').178
Found 'DU'-anomaly for variable 'user' (lines '206'-'206').206
Found 'DU'-anomaly for variable 'b' (lines '234'-'234').234

Apache JAMES Server SMTP function - org/apache/james/smtpserver/SizeLimitedInputStream.java

ViolationLine
It is a good practice to call super() in a constructor52 - 55

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/AuthCmdHandler.java

ViolationLine
Each class should declare at least one constructor40 - 290
Found 'DU'-anomaly for variable 'argument' (lines '79'-'107').79 - 107
Found 'DD'-anomaly for variable 'responseString' (lines '81'-'83').81 - 83
Found 'DD'-anomaly for variable 'responseString' (lines '81'-'87').81 - 87
Found 'DU'-anomaly for variable 'responseString' (lines '81'-'107').81 - 107
Found 'DD'-anomaly for variable 'initialResponse' (lines '90'-'92').90 - 92
A method should have only one exit point, and that should be the last statement in the method98
A method should have only one exit point, and that should be the last statement in the method101
Found 'DD'-anomaly for variable 'responseString' (lines '125'-'127').125 - 127
Found 'DD'-anomaly for variable 'userpass' (lines '125'-'129').125 - 129
Found 'DD'-anomaly for variable 'user' (lines '125'-'154').125 - 154
Found 'DD'-anomaly for variable 'pass' (lines '125'-'156').125 - 156
Found 'DD'-anomaly for variable 'userpass' (lines '125'-'131').125 - 131
Found 'DD'-anomaly for variable 'responseString' (lines '125'-'187').125 - 187
Found 'DD'-anomaly for variable 'responseString' (lines '125'-'191').125 - 191
Found 'DD'-anomaly for variable 'responseString' (lines '125'-'195').125 - 195
Found 'DD'-anomaly for variable 'pass' (lines '156'-'174').156 - 174
Assigning an Object to null is a code smell. Consider refactoring.178
Found 'DU'-anomaly for variable 'authTokenizer' (lines '178'-'200').178 - 200
Avoid empty catch blocks181 - 184
Avoid unnecessary return statements199
Found 'DD'-anomaly for variable 'responseString' (lines '210'-'212').210 - 212
Found 'DD'-anomaly for variable 'user' (lines '210'-'214').210 - 214
Found 'DD'-anomaly for variable 'pass' (lines '210'-'229').210 - 229
Found 'DD'-anomaly for variable 'user' (lines '210'-'216').210 - 216
Found 'DD'-anomaly for variable 'responseString' (lines '210'-'227').210 - 227
Assigning an Object to null is a code smell. Consider refactoring.224
Assigning an Object to null is a code smell. Consider refactoring.236
Avoid unnecessary return statements255
Found 'DU'-anomaly for variable 'initialResponse' (lines '265'-'277').265 - 277
Found 'DU'-anomaly for variable 'authType' (lines '265'-'277').265 - 277
Avoid unnecessary return statements276

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/CoreCmdHandlerLoader.java

ViolationLine
Each class should declare at least one constructor32 - 69
Perhaps 'AUTHCMDHANDLER' could be replaced by a local variable.34
Perhaps 'DATACMDHANDLER' could be replaced by a local variable.35
Perhaps 'EHLOCMDHANDLER' could be replaced by a local variable.36
Perhaps 'EXPNCMDHANDLER' could be replaced by a local variable.37
Perhaps 'HELOCMDHANDLER' could be replaced by a local variable.38
Perhaps 'HELPCMDHANDLER' could be replaced by a local variable.39
Perhaps 'MAILCMDHANDLER' could be replaced by a local variable.40
Perhaps 'NOOPCMDHANDLER' could be replaced by a local variable.41
Perhaps 'QUITCMDHANDLER' could be replaced by a local variable.42
Perhaps 'RCPTCMDHANDLER' could be replaced by a local variable.43
Perhaps 'RSETCMDHANDLER' could be replaced by a local variable.44
Perhaps 'VRFYCMDHANDLER' could be replaced by a local variable.45

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/DataCmdHandler.java

ViolationLine
Each class should declare at least one constructor58 - 369
Found 'DU'-anomaly for variable 'argument' (lines '105'-'184').105 - 184
Found 'DD'-anomaly for variable 'responseString' (lines '107'-'108').107 - 108
Found 'DD'-anomaly for variable 'msgIn' (lines '110'-'113').110 - 113
Found 'DD'-anomaly for variable 'headers' (lines '132'-'133').132 - 133
Assigning an Object to null is a code smell. Consider refactoring.135
Found 'DU'-anomaly for variable 'headers' (lines '135'-'184').135 - 184
Avoid empty catch blocks177 - 179
Assigning an Object to null is a code smell. Consider refactoring.180
Assigning an Object to null is a code smell. Consider refactoring.277
Found 'DU'-anomaly for variable 'headerLineBuffer' (lines '277'-'285').277 - 285
Found 'DD'-anomaly for variable 'headersIn' (lines '297'-'301').297 - 301
Found 'DD'-anomaly for variable 'mail' (lines '298'-'303').298 - 303
Found 'DD'-anomaly for variable 'recipientCollection' (lines '299'-'302').299 - 302
Assigning an Object to null is a code smell. Consider refactoring.346
Found 'DU'-anomaly for variable 'recipientCollection' (lines '346'-'357').346 - 357
Avoid empty catch blocks350 - 352
Assigning an Object to null is a code smell. Consider refactoring.354
Found 'DU'-anomaly for variable 'headersIn' (lines '354'-'357').354 - 357

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/EhloCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 112
Found 'DU'-anomaly for variable 'responseBuffer' (lines '60'-'101').60 - 101

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/ExpnCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 63

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/HeloCmdHandler.java

ViolationLine
Each class should declare at least one constructor36 - 78
Found 'DD'-anomaly for variable 'responseString' (lines '57'-'65').57 - 65

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/HelpCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 60

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/MailCmdHandler.java

ViolationLine
Each class should declare at least one constructor36 - 84
Found 'DU'-anomaly for variable 'argument' (lines '58'-'73').58 - 73
Found 'DD'-anomaly for variable 'responseString' (lines '61'-'70').61 - 70

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/NoopCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 61

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/POP3BeforeSMTPHandler.java

ViolationLine
Each class should declare at least one constructor34 - 87

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/QuitCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 84
Found 'DD'-anomaly for variable 'responseString' (lines '62'-'67').62 - 67
Found 'DD'-anomaly for variable 'responseString' (lines '62'-'69').62 - 69

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/RcptCmdHandler.java

ViolationLine
Each class should declare at least one constructor36 - 91
Found 'DU'-anomaly for variable 'argument' (lines '57'-'79').57 - 79
Found 'DD'-anomaly for variable 'responseString' (lines '59'-'76').59 - 76

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/RsetCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 80
Found 'DD'-anomaly for variable 'responseString' (lines '58'-'63').58 - 63
Found 'DD'-anomaly for variable 'responseString' (lines '58'-'65').58 - 65

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/SendMailHandler.java

ViolationLine
Each class should declare at least one constructor43 - 124
Found 'DD'-anomaly for variable 'responseString' (lines '65'-'99').65 - 99
Found 'DD'-anomaly for variable 'responseString' (lines '65'-'112').65 - 112
Found 'DD'-anomaly for variable 'recipientString' (lines '69'-'71').69 - 71
Found 'DU'-anomaly for variable 'recipientString' (lines '69'-'122').69 - 122
Found 'DU'-anomaly for variable 'recipientString' (lines '71'-'122').71 - 122

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/SetMimeHeaderHandler.java

ViolationLine
Each class should declare at least one constructor37 - 102
Found 'DU'-anomaly for variable 'message' (lines '87'-'98').87 - 98

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/UnknownCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 74

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/VrfyCmdHandler.java

ViolationLine
Each class should declare at least one constructor34 - 60

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/CoreFilterCmdHandlerLoader.java

ViolationLine
Each class should declare at least one constructor33 - 56
Perhaps 'DATABASEFILTERCMDHANDLER' could be replaced by a local variable.35
Perhaps 'EHLOBASEFILTERCMDHANDLER' could be replaced by a local variable.36
Perhaps 'HELOBASEFILTERCMDHANDLER' could be replaced by a local variable.37
Perhaps 'MAILBASEFILTERCMDHANDLER' could be replaced by a local variable.38
Perhaps 'RCPTBASEFILTERCMDHANDLER' could be replaced by a local variable.39

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/DataFilterCmdHandler.java

ViolationLine
Each class should declare at least one constructor36 - 87
Found 'DD'-anomaly for variable 'responseString' (lines '55'-'57').55 - 57
Found 'DD'-anomaly for variable 'responseString' (lines '55'-'63').55 - 63
Found 'DD'-anomaly for variable 'responseString' (lines '55'-'70').55 - 70
Found 'DU'-anomaly for variable 'responseString' (lines '55'-'76').55 - 76

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/EhloFilterCmdHandler.java

ViolationLine
Each class should declare at least one constructor35 - 82
Found 'DD'-anomaly for variable 'responseString' (lines '56'-'61').56 - 61
Found 'DU'-anomaly for variable 'responseString' (lines '56'-'70').56 - 70

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/HeloFilterCmdHandler.java

ViolationLine
Each class should declare at least one constructor36 - 85
Found 'DD'-anomaly for variable 'responseString' (lines '57'-'62').57 - 62
Found 'DU'-anomaly for variable 'responseString' (lines '57'-'73').57 - 73

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/MailFilterCmdHandler.java

ViolationLine
Each class should declare at least one constructor38 - 265
Found 'DD'-anomaly for variable 'responseString' (lines '61'-'70').61 - 70
Found 'DD'-anomaly for variable 'responseString' (lines '61'-'77').61 - 77
Found 'DD'-anomaly for variable 'responseString' (lines '61'-'85').61 - 85
Found 'DU'-anomaly for variable 'responseString' (lines '61'-'190').61 - 190
Found 'DD'-anomaly for variable 'responseString' (lines '61'-'135').61 - 135
Found 'DD'-anomaly for variable 'responseString' (lines '61'-'168').61 - 168
Found 'DD'-anomaly for variable 'sender' (lines '62'-'66').62 - 66
Found 'DU'-anomaly for variable 'sender' (lines '62'-'190').62 - 190
Found 'DU'-anomaly for variable 'sender' (lines '66'-'190').66 - 190
Found 'DD'-anomaly for variable 'mailOptionName' (lines '107'-'110').107 - 110
Found 'DD'-anomaly for variable 'mailOptionValue' (lines '108'-'111').108 - 111
Found 'DU'-anomaly for variable 'mailOptionValue' (lines '108'-'190').108 - 190
Found 'DD'-anomaly for variable 'mailOptionValue' (lines '108'-'108').108
Found 'DU'-anomaly for variable 'mailOptionValue' (lines '111'-'190').111 - 190
Found 'DD'-anomaly for variable 'mailOptionValue' (lines '111'-'108').111 - 108
A method should have only one exit point, and that should be the last statement in the method118
A method should have only one exit point, and that should be the last statement in the method148
Found 'DD'-anomaly for variable 'senderAddress' (lines '150'-'166').150 - 166
Avoid empty if statements157 - 159
Found 'DU'-anomaly for variable 'senderAddress' (lines '166'-'190').166 - 190
Found 'DU'-anomaly for variable 'tempSender' (lines '200'-'253').200 - 253
Found 'DD'-anomaly for variable 'size' (lines '201'-'203').201 - 203
Found 'DU'-anomaly for variable 'size' (lines '203'-'253').203 - 253
A method should have only one exit point, and that should be the last statement in the method213
A method should have only one exit point, and that should be the last statement in the method246

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/RcptFilterCmdHandler.java

ViolationLine
Each class should declare at least one constructor39 - 277
Found 'DD'-anomaly for variable 'responseString' (lines '58'-'67').58 - 67
Found 'DD'-anomaly for variable 'responseString' (lines '58'-'75').58 - 75
Found 'DD'-anomaly for variable 'responseString' (lines '58'-'98').58 - 98
Found 'DD'-anomaly for variable 'responseString' (lines '58'-'133').58 - 133
Found 'DD'-anomaly for variable 'recipient' (lines '60'-'63').60 - 63
Found 'DU'-anomaly for variable 'recipient' (lines '60'-'251').60 - 251
Found 'DU'-anomaly for variable 'recipient' (lines '63'-'251').63 - 251
Found 'DU'-anomaly for variable 'rcptColl' (lines '84'-'251').84 - 251
Found 'DD'-anomaly for variable 'rcptOptionString' (lines '90'-'92').90 - 92
Found 'DU'-anomaly for variable 'rcptOptionString' (lines '90'-'251').90 - 251
Found 'DU'-anomaly for variable 'rcptOptionString' (lines '92'-'251').92 - 251
A method should have only one exit point, and that should be the last statement in the method112
Found 'DD'-anomaly for variable 'recipientAddress' (lines '114'-'126').114 - 126
Found 'DU'-anomaly for variable 'recipientAddress' (lines '126'-'251').126 - 251
A method should have only one exit point, and that should be the last statement in the method148
A method should have only one exit point, and that should be the last statement in the method169
A method should have only one exit point, and that should be the last statement in the method195
Assigning an Object to null is a code smell. Consider refactoring.246
Found 'DU'-anomaly for variable 'recipient' (lines '254'-'265').254 - 265

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/AbstractJunkHandler.java

ViolationLine
Each class should declare at least one constructor35 - 144
Found 'DU'-anomaly for variable 'session' (lines '126'-'126').126
Found 'DU'-anomaly for variable 'session' (lines '134'-'134').134

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/DNSRBLHandler.java

ViolationLine
Each class should declare at least one constructor45 - 302
Perhaps 'blocklistedDetail' could be replaced by a local variable.58
Found 'DD'-anomaly for variable 'validConfig' (lines '68'-'85').68 - 85
Found 'DD'-anomaly for variable 'validConfig' (lines '68'-'100').68 - 100
Found 'DU'-anomaly for variable 'rblserverCollection' (lines '72'-'117').72 - 117
Found 'DD'-anomaly for variable 'validConfig' (lines '85'-'100').85 - 100
Found 'DU'-anomaly for variable 'ipAddress' (lines '179'-'245').179 - 245
A method should have only one exit point, and that should be the last statement in the method187
Found 'DU'-anomaly for variable 'reversedOctets' (lines '196'-'245').196 - 245
A method should have only one exit point, and that should be the last statement in the method206

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/GreylistHandler.java

ViolationLine
Each class should declare at least one constructor61 - 686
Perhaps 'sqlParameters' could be replaced by a local variable.102
Found 'DU'-anomaly for variable 'argument' (lines '312'-'387').312 - 387
Found 'DD'-anomaly for variable 'recip' (lines '313'-'318').313 - 318
Found 'DD'-anomaly for variable 'sender' (lines '314'-'319').314 - 319
Found 'DD'-anomaly for variable 'createTimeStamp' (lines '325'-'332').325 - 332
Found 'DD'-anomaly for variable 'count' (lines '326'-'333').326 - 333
Found 'DD'-anomaly for variable 'mappingStmt' (lines '407'-'409').407 - 409
Found 'DD'-anomaly for variable 'mappingRS' (lines '410'-'415').410 - 415
Found 'DD'-anomaly for variable 'mappingStmt' (lines '452'-'455').452 - 455
Found 'DD'-anomaly for variable 'mappingStmt' (lines '491'-'494').491 - 494
Found 'DD'-anomaly for variable 'mappingStmt' (lines '536'-'539').536 - 539
Found 'DD'-anomaly for variable 'mappingStmt' (lines '561'-'564').561 - 564
Found 'DD'-anomaly for variable 'sqlFile' (lines '599'-'602').599 - 602
Assigning an Object to null is a code smell. Consider refactoring.603
Found 'DU'-anomaly for variable 'sqlFileUrl' (lines '603'-'620').603 - 620
Found 'DU'-anomaly for variable 'createSqlStringName' (lines '634'-'661').634 - 661
A method should have only one exit point, and that should be the last statement in the method642
Found 'DD'-anomaly for variable 'createStatement' (lines '645'-'648').645 - 648
Found 'DD'-anomaly for variable 'logBuffer' (lines '651'-'652').651 - 652
Found 'DD'-anomaly for variable 'wNetworks' (lines '672'-'674').672 - 674

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/JunkHandlerData.java

ViolationLine
Each class should declare at least one constructor26 - 105

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/JunkScoreHandler.java

ViolationLine
Each class should declare at least one constructor50 - 175
Found 'DU'-anomaly for variable 'composed' (lines '113'-'166').113 - 166

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/MaxRcptHandler.java

ViolationLine
Each class should declare at least one constructor35 - 105
Found 'DU'-anomaly for variable 'session' (lines '95'-'104').95 - 104

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/ResolvableEhloHeloHandler.java

ViolationLine
Each class should declare at least one constructor42 - 208
Found 'DU'-anomaly for variable 'argument' (lines '114'-'122').114 - 122
Found 'DU'-anomaly for variable 'argument' (lines '132'-'146').132 - 146
A method should have only one exit point, and that should be the last statement in the method173
A method should have only one exit point, and that should be the last statement in the method177

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/ReverseEqualsEhloHeloHandler.java

ViolationLine
Each class should declare at least one constructor29 - 94
Found 'DU'-anomaly for variable 'argument' (lines '37'-'59').37 - 59
Found 'DD'-anomaly for variable 'badHelo' (lines '43'-'49').43 - 49
Found 'DD'-anomaly for variable 'badHelo' (lines '43'-'52').43 - 52
Found 'DD'-anomaly for variable 'badHelo' (lines '49'-'52').49 - 52

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/SPFHandler.java

ViolationLine
Each class should declare at least one constructor54 - 432
Found 'DU'-anomaly for variable 'configPermError' (lines '93'-'106').93 - 106
Found 'DD'-anomaly for variable 'explanation' (lines '203'-'219').203 - 219
Found 'DU'-anomaly for variable 'explanation' (lines '203'-'230').203 - 230
Found 'DU'-anomaly for variable 'blocklisted' (lines '260'-'278').260 - 278
Found 'DU'-anomaly for variable 'tempBlocklisted' (lines '261'-'278').261 - 278
A method should have only one exit point, and that should be the last statement in the method270
A method should have only one exit point, and that should be the last statement in the method274
Found 'DU'-anomaly for variable 'blocklistedDetail' (lines '285'-'302').285 - 302
Found 'DU'-anomaly for variable 'tempBlocklisted' (lines '286'-'302').286 - 302

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/SpamAssassinHandler.java

ViolationLine
Each class should declare at least one constructor54 - 206
Avoid empty catch blocks197 - 199

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/SupressDuplicateRcptHandler.java

ViolationLine
Each class should declare at least one constructor38 - 69

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/TarpitHandler.java

ViolationLine
Each class should declare at least one constructor34 - 125
Found 'DD'-anomaly for variable 'rcptCount' (lines '104'-'105').104 - 105
Found 'DD'-anomaly for variable 'rcptCount' (lines '105'-'106').105 - 106

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/URIRBLHandler.java

ViolationLine
Each class should declare at least one constructor53 - 295
Found 'DD'-anomaly for variable 'invalidConfig' (lines '79'-'96').79 - 96
Found 'DD'-anomaly for variable 'invalidConfig' (lines '79'-'100').79 - 100
Found 'DU'-anomaly for variable 'serverCollection' (lines '83'-'119').83 - 119
A method should have only one exit point, and that should be the last statement in the method212
Found 'DD'-anomaly for variable 'target' (lines '224'-'224').224
Found 'DU'-anomaly for variable 'target' (lines '224'-'255').224 - 255
A method should have only one exit point, and that should be the last statement in the method242
Avoid empty catch blocks244 - 246
Found 'DD'-anomaly for variable 'detail' (lines '265'-'274').265 - 274

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/ValidRcptHandler.java

ViolationLine
Each class should declare at least one constructor52 - 240
Found 'DU'-anomaly for variable 'compiler' (lines '143'-'156').143 - 156
Found 'DD'-anomaly for variable 'invalidUser' (lines '192'-'195').192 - 195
Found 'DU'-anomaly for variable 'matcher' (lines '219'-'239').219 - 239

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/ValidRcptMX.java

ViolationLine
Each class should declare at least one constructor45 - 185
A method should have only one exit point, and that should be the last statement in the method142
Found 'DD'-anomaly for variable 'mx' (lines '144'-'146').144 - 146
Avoid empty catch blocks147 - 149
A method should have only one exit point, and that should be the last statement in the method160
Avoid empty catch blocks162 - 164

Apache JAMES Server SMTP function - org/apache/james/smtpserver/core/filter/fastfail/ValidSenderDomainHandler.java

ViolationLine
Each class should declare at least one constructor40 - 148
A method should have only one exit point, and that should be the last statement in the method101
Found 'DD'-anomaly for variable 'records' (lines '107'-'112').107 - 112
Avoid empty catch blocks113 - 115
A method should have only one exit point, and that should be the last statement in the method119

Apache JAMES Server SMTP function - org/apache/james/smtpserver/junkscore/ComposedJunkScore.java

ViolationLine
Use explicit scoping instead of the default package private level32
Use explicit scoping instead of the default package private level34
Found 'DU'-anomaly for variable 'key' (lines '86'-'88').86 - 88
Found 'DU'-anomaly for variable 'score' (lines '86'-'88').86 - 88

Apache JAMES Server SMTP function - org/apache/james/smtpserver/junkscore/JunkScore.java

ViolationLine
Avoid modifiers which are implied by the context32
Avoid modifiers which are implied by the context37
Avoid modifiers which are implied by the context39
Avoid modifiers which are implied by the context41
Avoid modifiers which are implied by the context43
Avoid modifiers which are implied by the context50
Avoid modifiers which are implied by the context58
Avoid modifiers which are implied by the context66
Found 'DU'-anomaly for variable 'key' (lines '66'-'66').66
Avoid modifiers which are implied by the context75
Found 'DU'-anomaly for variable 'key' (lines '75'-'75').75
Found 'DU'-anomaly for variable 'score' (lines '75'-'75').75
Avoid modifiers which are implied by the context82

Apache JAMES Server SMTP function - org/apache/james/smtpserver/junkscore/JunkScoreConfigUtil.java

ViolationLine
Each class should declare at least one constructor28 - 70
Found 'DD'-anomaly for variable 'score' (lines '41'-'45').41 - 45
A method should have only one exit point, and that should be the last statement in the method66

Apache JAMES Server SMTP function - org/apache/james/smtpserver/junkscore/JunkScoreImpl.java

ViolationLine
Each class should declare at least one constructor31 - 94
Found 'DD'-anomaly for variable 'count' (lines '42'-'46').42 - 46
A method should have only one exit point, and that should be the last statement in the method68
A method should have only one exit point, and that should be the last statement in the method80

Apache JAMES Server SMTP function - org/apache/james/smtpserver/urirbl/TLDLookup.java

ViolationLine
Each class should declare at least one constructor31 - 1088
Found 'DU'-anomaly for variable 'msg' (lines '1,074'-'1,078').1074 - 1078
Found 'DU'-anomaly for variable 'th' (lines '1,083'-'1,087').1083 - 1087

Apache JAMES Server SMTP function - org/apache/james/smtpserver/urirbl/URIScanner.java

ViolationLine
Each class should declare at least one constructor31 - 379
Found 'DU'-anomaly for variable 'domains' (lines '187'-'200').187 - 200
These nested if statements could be combined194 - 196
Found 'DD'-anomaly for variable 'host' (lines '281'-'285').281 - 285
Found 'DD'-anomaly for variable 'domain' (lines '306'-'313').306 - 313
Found 'DD'-anomaly for variable 'domain' (lines '306'-'323').306 - 323
Found 'DD'-anomaly for variable 'domain' (lines '306'-'334').306 - 334
Found 'DD'-anomaly for variable 'domain' (lines '306'-'344').306 - 344
A method should have only one exit point, and that should be the last statement in the method315
A method should have only one exit point, and that should be the last statement in the method325
A method should have only one exit point, and that should be the last statement in the method336
A method should have only one exit point, and that should be the last statement in the method346
Found 'DU'-anomaly for variable 'msg' (lines '354'-'358').354 - 358

Apache JAMES Server SpoolManager function - org/apache/james/James.java

ViolationLine
Each class should declare at least one constructor95 - 1027
Perhaps 'mailetLogger' could be replaced by a local variable.117
Perhaps 'serverNames' could be replaced by a local variable.144
Found 'DD'-anomaly for variable 'confDir' (lines '307'-'313').307 - 313
Assigning an Object to null is a code smell. Consider refactoring.313
Found 'DU'-anomaly for variable 'usersStore' (lines '365'-'385').365 - 385
Found 'DD'-anomaly for variable 'domainName' (lines '411'-'417').411 - 417
Found 'DD'-anomaly for variable 'domainName' (lines '417'-'417').417
Found 'DD'-anomaly for variable 'userInbox' (lines '566'-'572').566 - 572
A method should have only one exit point, and that should be the last statement in the method575
Found 'DU'-anomaly for variable 'args' (lines '670'-'675').670 - 675
A method should have only one exit point, and that should be the last statement in the method684
Found 'DU'-anomaly for variable 'bouncer' (lines '761'-'780').761 - 780
Found 'DU'-anomaly for variable 'message' (lines '761'-'780').761 - 780
A method should have only one exit point, and that should be the last statement in the method816
A method should have only one exit point, and that should be the last statement in the method820
A method should have only one exit point, and that should be the last statement in the method822
Found 'DU'-anomaly for variable 'userName' (lines '834'-'842').834 - 842
Found 'DD'-anomaly for variable 'userName' (lines '834'-'839').834 - 839
A method should have only one exit point, and that should be the last statement in the method836
A method should have only one exit point, and that should be the last statement in the method874
A method should have only one exit point, and that should be the last statement in the method948
A method should have only one exit point, and that should be the last statement in the method1003
A method should have only one exit point, and that should be the last statement in the method1005
A method should have only one exit point, and that should be the last statement in the method1017
A method should have only one exit point, and that should be the last statement in the method1021

Apache JAMES Server SpoolManager function - org/apache/james/transport/JamesMailetLoader.java

ViolationLine
Error while parsing /opt/development/workspace-seda-imap/spoolmanager-function/src/main/java/org/apache/james/transport/JamesMailetLoader.java0
Error while parsing /opt/development/workspace-seda-imap/spoolmanager-function/src/main/java/org/apache/james/transport/JamesMailetLoader.java0

Apache JAMES Server SpoolManager function - org/apache/james/transport/JamesMatcherLoader.java

ViolationLine
Each class should declare at least one constructor33 - 82
Found 'UR'-anomaly for variable 'exceptionBuffer' (lines '44'-'44').44
Found 'DD'-anomaly for variable 'condition' (lines '46'-'49').46 - 49
Found 'DU'-anomaly for variable 'condition' (lines '46'-'81').46 - 81
Found 'DU'-anomaly for variable 'condition' (lines '49'-'81').49 - 81
Avoid empty catch blocks62 - 64
Found 'DD'-anomaly for variable 'exceptionBuffer' (lines '66'-'76').66 - 76
Found 'DU'-anomaly for variable 'exceptionBuffer' (lines '76'-'81').76 - 81

Apache JAMES Server SpoolManager function - org/apache/james/transport/JamesSpoolManager.java

ViolationLine
Each class should declare at least one constructor53 - 325
Found 'UR'-anomaly for variable 'processorClass' (lines '129'-'129').129
Found 'DD'-anomaly for variable 'key' (lines '195'-'198').195 - 198
Assigning an Object to null is a code smell. Consider refactoring.236
Found 'DD'-anomaly for variable 'mail' (lines '236'-'197').236 - 197
Found 'DU'-anomaly for variable 'mail' (lines '236'-'265').236 - 265
Avoid empty catch blocks289
A method should have only one exit point, and that should be the last statement in the method298
A method should have only one exit point, and that should be the last statement in the method306
A method should have only one exit point, and that should be the last statement in the method312
Found 'DU'-anomaly for variable 'processorName' (lines '316'-'324').316 - 324
A method should have only one exit point, and that should be the last statement in the method317
A method should have only one exit point, and that should be the last statement in the method320

Apache JAMES Server SpoolManager function - org/apache/james/transport/LinearProcessor.java

ViolationLine
Each class should declare at least one constructor90 - 699
Found 'DU'-anomaly for variable 'debugEnabled' (lines '165'-'173').165 - 173
Found 'DU'-anomaly for variable 'terminatingMatcher' (lines '224'-'261').224 - 261
Found 'DU'-anomaly for variable 'terminatingMatcher' (lines '224'-'261').224 - 261
Found 'DU'-anomaly for variable 'terminatingMatcher' (lines '224'-'261').224 - 261
Found 'DU'-anomaly for variable 'terminatingMatcher' (lines '224'-'261').224 - 261
Found 'DU'-anomaly for variable 'terminatingMatcher' (lines '224'-'261').224 - 261
Found 'DU'-anomaly for variable 'terminatingMatcher' (lines '224'-'261').224 - 261
Found 'DU'-anomaly for variable 'originalState' (lines '320'-'493').320 - 493
Found 'DU'-anomaly for variable 'originalMail' (lines '325'-'493').325 - 493
Assigning an Object to null is a code smell. Consider refactoring.328
Found 'DD'-anomaly for variable 'mail' (lines '328'-'347').328 - 347
Found 'DD'-anomaly for variable 'i' (lines '329'-'350').329 - 350
Assigning an Object to null is a code smell. Consider refactoring.347
Found 'DD'-anomaly for variable 'mail' (lines '347'-'353').347 - 353
Found 'DD'-anomaly for variable 'recipients' (lines '366'-'379').366 - 379
Found 'DD'-anomaly for variable 'logMessageBuffer' (lines '368'-'370').368 - 370
Found 'DD'-anomaly for variable 'recipients' (lines '382'-'398').382 - 398
Found 'DD'-anomaly for variable 'recipients' (lines '382'-'400').382 - 400
Assigning an Object to null is a code smell. Consider refactoring.472
Assigning an Object to null is a code smell. Consider refactoring.484
Found 'DD'-anomaly for variable 'mail' (lines '484'-'347').484 - 347
Found 'DU'-anomaly for variable 'mail' (lines '484'-'493').484 - 493
Assigning an Object to null is a code smell. Consider refactoring.545
Found 'UR'-anomaly for variable 'c' (lines '565'-'565').565
Found 'DD'-anomaly for variable 'mailet' (lines '580'-'628').580 - 628
Found 'DD'-anomaly for variable 'matcher' (lines '581'-'589').581 - 589
Found 'DD'-anomaly for variable 'matcher' (lines '581'-'591').581 - 591
Found 'DD'-anomaly for variable 'matcher' (lines '581'-'596').581 - 596

Apache JAMES Server SpoolManager function - org/apache/james/transport/Loader.java

ViolationLine
Each class should declare at least one constructor50 - 297
Found 'DU'-anomaly for variable 'arg0' (lines '118'-'118').118

Apache JAMES Server SpoolManager function - org/apache/james/transport/MailProcessor.java

ViolationLine
Found 'DU'-anomaly for variable 'mail' (lines '57'-'57').57

Apache JAMES Server SpoolManager function - org/apache/james/transport/MailetConfigImpl.java

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you59 - 60

Apache JAMES Server SpoolManager function - org/apache/james/transport/MailetContainer.java

ViolationLine
Found 'DU'-anomaly for variable 'mailetLoader' (lines '34'-'34').34
Found 'DU'-anomaly for variable 'matchLoader' (lines '41'-'41').41

Apache JAMES Server SpoolManager function - org/apache/james/transport/MailetLoader.java

ViolationLine
Avoid modifiers which are implied by the context45 - 46
Found 'DU'-anomaly for variable 'mailetName' (lines '45'-'46').45 - 46
Found 'DU'-anomaly for variable 'configuration' (lines '45'-'46').45 - 46

Apache JAMES Server SpoolManager function - org/apache/james/transport/MatcherConfigImpl.java

ViolationLine
Each class should declare at least one constructor31 - 105

Apache JAMES Server SpoolManager function - org/apache/james/transport/MatcherLoader.java

ViolationLine
Avoid modifiers which are implied by the context42
Found 'DU'-anomaly for variable 'matchName' (lines '42'-'42').42

Apache JAMES Server SpoolManager function - org/apache/james/transport/ProcessorList.java

ViolationLine
Found 'DU'-anomaly for variable 'name' (lines '35'-'35').35

Apache JAMES Server SpoolManager function - org/apache/james/transport/StateAwareProcessorList.java

ViolationLine
Error while parsing /opt/development/workspace-seda-imap/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java0
Error while parsing /opt/development/workspace-seda-imap/spoolmanager-function/src/main/java/org/apache/james/transport/StateAwareProcessorList.java0

Apache JAMES Server SpoolManager function - org/apache/james/transport/mailets/AbstractVirtualUserTableMailet.java

ViolationLine
Each class should declare at least one constructor43 - 186
Found 'DU'-anomaly for variable 'sender' (lines '121'-'172').121 - 172
Found 'DU'-anomaly for variable 'message' (lines '121'-'172').121 - 172
Found 'DU'-anomaly for variable 'recipient' (lines '121'-'172').121 - 172
Found 'DU'-anomaly for variable 'localRecipients' (lines '125'-'172').125 - 172
A method should have only one exit point, and that should be the last statement in the method152
A method should have only one exit point, and that should be the last statement in the method168
Found 'DU'-anomaly for variable 'sender' (lines '184'-'185').184 - 185
Found 'DU'-anomaly for variable 'message' (lines '184'-'185').184 - 185
Found 'DU'-anomaly for variable 'recipient' (lines '184'-'185').184 - 185

Apache JAMES Server SpoolManager function - org/apache/james/transport/mailets/LocalDelivery.java

ViolationLine
Each class should declare at least one constructor44 - 136
Found 'DU'-anomaly for variable 'm' (lines '90'-'134').90 - 134
Found 'DU'-anomaly for variable 'm' (lines '90'-'134').90 - 134
Found 'DU'-anomaly for variable 'm' (lines '90'-'134').90 - 134
Found 'DU'-anomaly for variable 'm' (lines '90'-'134').90 - 134
Found 'DU'-anomaly for variable 'm' (lines '90'-'134').90 - 134

Apache JAMES Server SpoolManager function - org/apache/james/transport/mailets/ToMultiRepository.java

ViolationLine
Each class should declare at least one constructor71 - 342
Found 'DU'-anomaly for variable 'message' (lines '130'-'196').130 - 196
Found 'DU'-anomaly for variable 'deliveredTo' (lines '143'-'196').143 - 196
These nested if statements could be combined165 - 175
Found 'UR'-anomaly for variable 'errorBuffer' (lines '214'-'214').214
Found 'DU'-anomaly for variable 'errorBuffer' (lines '233'-'242').233 - 242
Found 'DD'-anomaly for variable 'userInbox' (lines '333'-'336').333 - 336
Assigning an Object to null is a code smell. Consider refactoring.336

Apache JAMES Server SpoolManager function - org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java

ViolationLine
Each class should declare at least one constructor54 - 155
Found 'UR'-anomaly for variable 'errorBuffer' (lines '80'-'80').80
Found 'DU'-anomaly for variable 'sender' (lines '80'-'124').80 - 124
Found 'DU'-anomaly for variable 'errorBuffer' (lines '96'-'124').96 - 124
A method should have only one exit point, and that should be the last statement in the method105
A method should have only one exit point, and that should be the last statement in the method118

Apache JAMES Server SpoolManager function - org/apache/james/transport/mailets/VirtualUserTable.java

ViolationLine
Each class should declare at least one constructor44 - 141
Found 'UR'-anomaly for variable 'errorBuffer' (lines '112'-'112').112
Found 'DU'-anomaly for variable 'sender' (lines '112'-'131').112 - 131
Found 'DU'-anomaly for variable 'message' (lines '112'-'131').112 - 131
A method should have only one exit point, and that should be the last statement in the method117
Found 'DU'-anomaly for variable 'errorBuffer' (lines '120'-'131').120 - 131

Apache JAMES Server Spring Deployment - org/apache/james/container/spring/Main.java

ViolationLine
Each class should declare at least one constructor26 - 32
Found 'DU'-anomaly for variable 'args' (lines '28'-'30').28 - 30

Apache JAMES Server Spring Deployment - org/apache/james/container/spring/adaptor/FileSystemBridge.java

ViolationLine
Each class should declare at least one constructor30 - 64

Apache JAMES Server Spring Deployment - org/apache/james/container/spring/beanfactory/AvalonWebApplicationContext.java

ViolationLine
Each class should declare at least one constructor33 - 55

Apache JAMES Server Spring Deployment - org/apache/james/container/spring/beanfactory/JamesApplicationContext.java

ViolationLine
Found 'DD'-anomaly for variable 'r' (lines '72'-'75').72 - 75
Found 'DD'-anomaly for variable 'r' (lines '72'-'85').72 - 85
Found 'DD'-anomaly for variable 'r' (lines '72'-'87').72 - 87
Found 'DD'-anomaly for variable 'file' (lines '77'-'79').77 - 79
Found 'DD'-anomaly for variable 'file' (lines '77'-'81').77 - 81
Found 'DD'-anomaly for variable 'file' (lines '77'-'83').77 - 83

Apache JAMES Server User API - org/apache/james/api/user/JamesUser.java

ViolationLine
Found 'DU'-anomaly for variable 'pass' (lines '41'-'41').41
Found 'DU'-anomaly for variable 'forward' (lines '49'-'49').49
Found 'DU'-anomaly for variable 'address' (lines '62'-'62').62
Found 'DU'-anomaly for variable 'alias' (lines '73'-'73').73
Found 'DU'-anomaly for variable 'address' (lines '85'-'85').85

Apache JAMES Server User API - org/apache/james/api/user/User.java

ViolationLine
Found 'DU'-anomaly for variable 'pass' (lines '46'-'46').46
Found 'DU'-anomaly for variable 'newPass' (lines '55'-'55').55

Apache JAMES Server User API - org/apache/james/api/user/UserMetaDataRespository.java

ViolationLine
Avoid modifiers which are implied by the context37
Avoid modifiers which are implied by the context46
Found 'DU'-anomaly for variable 'key' (lines '46'-'46').46
Found 'DU'-anomaly for variable 'username' (lines '46'-'46').46
Avoid modifiers which are implied by the context54
Found 'DU'-anomaly for variable 'key' (lines '54'-'54').54
Found 'DU'-anomaly for variable 'value' (lines '54'-'54').54
Found 'DU'-anomaly for variable 'username' (lines '54'-'54').54
Avoid modifiers which are implied by the context61
Found 'DU'-anomaly for variable 'username' (lines '61'-'61').61

Apache JAMES Server User API - org/apache/james/api/user/UsersRepository.java

ViolationLine
Found 'DU'-anomaly for variable 'user' (lines '55'-'55').55
Found 'DU'-anomaly for variable 'attributes' (lines '67'-'67').67
Found 'DU'-anomaly for variable 'name' (lines '67'-'67').67
Found 'DU'-anomaly for variable 'password' (lines '78'-'78').78
Found 'DU'-anomaly for variable 'username' (lines '78'-'78').78
Found 'DU'-anomaly for variable 'name' (lines '89'-'89').89
Found 'DU'-anomaly for variable 'name' (lines '102'-'102').102
Found 'DU'-anomaly for variable 'name' (lines '111'-'111').111
Found 'DU'-anomaly for variable 'user' (lines '119'-'119').119
Found 'DU'-anomaly for variable 'name' (lines '126'-'126').126
Found 'DU'-anomaly for variable 'name' (lines '134'-'134').134
Found 'DU'-anomaly for variable 'name' (lines '146'-'146').146
Found 'DU'-anomaly for variable 'password' (lines '159'-'159').159
Found 'DU'-anomaly for variable 'name' (lines '159'-'159').159

Apache JAMES Server User API - org/apache/james/api/user/UsersStore.java

ViolationLine
Found 'DU'-anomaly for variable 'name' (lines '48'-'48').48

Apache JAMES Server User API - org/apache/james/api/user/management/UserManagementMBean.java

ViolationLine
Found 'DU'-anomaly for variable 'password' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'userName' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'repositoryName' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'userName' (lines '58'-'58').58
Found 'DU'-anomaly for variable 'repositoryName' (lines '58'-'58').58
Found 'DU'-anomaly for variable 'userName' (lines '71'-'71').71
Found 'DU'-anomaly for variable 'repositoryName' (lines '71'-'71').71
Found 'DU'-anomaly for variable 'repositoryName' (lines '83'-'83').83
Found 'DU'-anomaly for variable 'repositoryName' (lines '95'-'95').95
Found 'DU'-anomaly for variable 'password' (lines '109'-'109').109
Found 'DU'-anomaly for variable 'userName' (lines '109'-'109').109
Found 'DU'-anomaly for variable 'repositoryName' (lines '109'-'109').109
Found 'DU'-anomaly for variable 'userName' (lines '123'-'123').123
Found 'DU'-anomaly for variable 'aliasUserName' (lines '123'-'123').123
Found 'DU'-anomaly for variable 'repositoryName' (lines '123'-'123').123
Found 'DU'-anomaly for variable 'userName' (lines '136'-'136').136
Found 'DU'-anomaly for variable 'repositoryName' (lines '136'-'136').136
Found 'DU'-anomaly for variable 'userName' (lines '148'-'148').148
Found 'DU'-anomaly for variable 'repositoryName' (lines '148'-'148').148
Found 'DU'-anomaly for variable 'userName' (lines '162'-'162').162
Found 'DU'-anomaly for variable 'forwardEmailAddress' (lines '162'-'162').162
Found 'DU'-anomaly for variable 'repositoryName' (lines '162'-'162').162
Found 'DU'-anomaly for variable 'userName' (lines '175'-'175').175
Found 'DU'-anomaly for variable 'repositoryName' (lines '175'-'175').175
Found 'DU'-anomaly for variable 'userName' (lines '188'-'188').188
Found 'DU'-anomaly for variable 'repositoryName' (lines '188'-'188').188

Apache JAMES Server User API - org/apache/james/api/vut/VirtualUserTable.java

ViolationLine
Avoid modifiers which are implied by the context36
Avoid modifiers which are implied by the context41
Avoid modifiers which are implied by the context46
Avoid modifiers which are implied by the context51
Avoid modifiers which are implied by the context61
Found 'DU'-anomaly for variable 'user' (lines '61'-'61').61
Found 'DU'-anomaly for variable 'domain' (lines '61'-'61').61

Apache JAMES Server User API - org/apache/james/api/vut/VirtualUserTableStore.java

ViolationLine
Found 'DU'-anomaly for variable 'name' (lines '48'-'48').48

Apache JAMES Server User API - org/apache/james/api/vut/management/VirtualUserTableManagement.java

ViolationLine
Avoid modifiers which are implied by the context34
Avoid modifiers which are implied by the context45
Found 'DU'-anomaly for variable 'user' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'domain' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'regex' (lines '45'-'45').45
Avoid modifiers which are implied by the context56
Found 'DU'-anomaly for variable 'user' (lines '56'-'56').56
Found 'DU'-anomaly for variable 'domain' (lines '56'-'56').56
Found 'DU'-anomaly for variable 'regex' (lines '56'-'56').56
Avoid modifiers which are implied by the context67
Found 'DU'-anomaly for variable 'user' (lines '67'-'67').67
Found 'DU'-anomaly for variable 'domain' (lines '67'-'67').67
Found 'DU'-anomaly for variable 'address' (lines '67'-'67').67
Avoid modifiers which are implied by the context78
Found 'DU'-anomaly for variable 'user' (lines '78'-'78').78
Found 'DU'-anomaly for variable 'domain' (lines '78'-'78').78
Found 'DU'-anomaly for variable 'address' (lines '78'-'78').78
Avoid modifiers which are implied by the context89
Found 'DU'-anomaly for variable 'user' (lines '89'-'89').89
Found 'DU'-anomaly for variable 'domain' (lines '89'-'89').89
Found 'DU'-anomaly for variable 'error' (lines '89'-'89').89
Avoid modifiers which are implied by the context100
Found 'DU'-anomaly for variable 'user' (lines '100'-'100').100
Found 'DU'-anomaly for variable 'domain' (lines '100'-'100').100
Found 'DU'-anomaly for variable 'error' (lines '100'-'100').100
Avoid modifiers which are implied by the context111
Found 'DU'-anomaly for variable 'user' (lines '111'-'111').111
Found 'DU'-anomaly for variable 'domain' (lines '111'-'111').111
Avoid modifiers which are implied by the context122
Found 'DU'-anomaly for variable 'user' (lines '122'-'122').122
Found 'DU'-anomaly for variable 'mapping' (lines '122'-'122').122
Found 'DU'-anomaly for variable 'domain' (lines '122'-'122').122
Avoid modifiers which are implied by the context133
Found 'DU'-anomaly for variable 'user' (lines '133'-'133').133
Found 'DU'-anomaly for variable 'mapping' (lines '133'-'133').133
Found 'DU'-anomaly for variable 'domain' (lines '133'-'133').133
Avoid modifiers which are implied by the context142
Avoid modifiers which are implied by the context152
Found 'DU'-anomaly for variable 'realDomain' (lines '152'-'152').152
Found 'DU'-anomaly for variable 'aliasDomain' (lines '152'-'152').152
Avoid modifiers which are implied by the context162
Found 'DU'-anomaly for variable 'realDomain' (lines '162'-'162').162
Found 'DU'-anomaly for variable 'aliasDomain' (lines '162'-'162').162

Apache JAMES Server User API - org/apache/james/api/vut/management/VirtualUserTableManagementMBean.java

ViolationLine
Avoid modifiers which are implied by the context47
Found 'DU'-anomaly for variable 'user' (lines '47'-'47').47
Found 'DU'-anomaly for variable 'domain' (lines '47'-'47').47
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '47'-'47').47
Found 'DU'-anomaly for variable 'regex' (lines '47'-'47').47
Avoid modifiers which are implied by the context61
Found 'DU'-anomaly for variable 'user' (lines '61'-'61').61
Found 'DU'-anomaly for variable 'domain' (lines '61'-'61').61
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '61'-'61').61
Found 'DU'-anomaly for variable 'regex' (lines '61'-'61').61
Avoid modifiers which are implied by the context75
Found 'DU'-anomaly for variable 'user' (lines '75'-'75').75
Found 'DU'-anomaly for variable 'domain' (lines '75'-'75').75
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '75'-'75').75
Found 'DU'-anomaly for variable 'address' (lines '75'-'75').75
Avoid modifiers which are implied by the context89
Found 'DU'-anomaly for variable 'user' (lines '89'-'89').89
Found 'DU'-anomaly for variable 'domain' (lines '89'-'89').89
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '89'-'89').89
Found 'DU'-anomaly for variable 'address' (lines '89'-'89').89
Avoid modifiers which are implied by the context103
Found 'DU'-anomaly for variable 'user' (lines '103'-'103').103
Found 'DU'-anomaly for variable 'domain' (lines '103'-'103').103
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '103'-'103').103
Found 'DU'-anomaly for variable 'error' (lines '103'-'103').103
Avoid modifiers which are implied by the context117
Found 'DU'-anomaly for variable 'user' (lines '117'-'117').117
Found 'DU'-anomaly for variable 'domain' (lines '117'-'117').117
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '117'-'117').117
Found 'DU'-anomaly for variable 'error' (lines '117'-'117').117
Avoid modifiers which are implied by the context132
Found 'DU'-anomaly for variable 'user' (lines '132'-'132').132
Found 'DU'-anomaly for variable 'domain' (lines '132'-'132').132
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '132'-'132').132
Avoid modifiers which are implied by the context146
Found 'DU'-anomaly for variable 'user' (lines '146'-'146').146
Found 'DU'-anomaly for variable 'mapping' (lines '146'-'146').146
Found 'DU'-anomaly for variable 'domain' (lines '146'-'146').146
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '146'-'146').146
Avoid modifiers which are implied by the context160
Found 'DU'-anomaly for variable 'user' (lines '160'-'160').160
Found 'DU'-anomaly for variable 'mapping' (lines '160'-'160').160
Found 'DU'-anomaly for variable 'domain' (lines '160'-'160').160
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '160'-'160').160

Apache JAMES Server User API - org/apache/james/api/vut/management/VirtualUserTableManagementService.java

ViolationLine
Avoid modifiers which are implied by the context33
Avoid modifiers which are implied by the context45
Found 'DU'-anomaly for variable 'user' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'domain' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '45'-'45').45
Found 'DU'-anomaly for variable 'regex' (lines '45'-'45').45
Avoid modifiers which are implied by the context57
Found 'DU'-anomaly for variable 'user' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'domain' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '57'-'57').57
Found 'DU'-anomaly for variable 'regex' (lines '57'-'57').57
Avoid modifiers which are implied by the context69
Found 'DU'-anomaly for variable 'user' (lines '69'-'69').69
Found 'DU'-anomaly for variable 'domain' (lines '69'-'69').69
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '69'-'69').69
Found 'DU'-anomaly for variable 'address' (lines '69'-'69').69
Avoid modifiers which are implied by the context81
Found 'DU'-anomaly for variable 'user' (lines '81'-'81').81
Found 'DU'-anomaly for variable 'domain' (lines '81'-'81').81
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '81'-'81').81
Found 'DU'-anomaly for variable 'address' (lines '81'-'81').81
Avoid modifiers which are implied by the context93
Found 'DU'-anomaly for variable 'user' (lines '93'-'93').93
Found 'DU'-anomaly for variable 'domain' (lines '93'-'93').93
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '93'-'93').93
Found 'DU'-anomaly for variable 'error' (lines '93'-'93').93
Avoid modifiers which are implied by the context105
Found 'DU'-anomaly for variable 'user' (lines '105'-'105').105
Found 'DU'-anomaly for variable 'domain' (lines '105'-'105').105
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '105'-'105').105
Found 'DU'-anomaly for variable 'error' (lines '105'-'105').105
Avoid modifiers which are implied by the context117
Found 'DU'-anomaly for variable 'user' (lines '117'-'117').117
Found 'DU'-anomaly for variable 'domain' (lines '117'-'117').117
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '117'-'117').117
Avoid modifiers which are implied by the context129
Found 'DU'-anomaly for variable 'user' (lines '129'-'129').129
Found 'DU'-anomaly for variable 'mapping' (lines '129'-'129').129
Found 'DU'-anomaly for variable 'domain' (lines '129'-'129').129
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '129'-'129').129
Avoid modifiers which are implied by the context141
Found 'DU'-anomaly for variable 'user' (lines '141'-'141').141
Found 'DU'-anomaly for variable 'mapping' (lines '141'-'141').141
Found 'DU'-anomaly for variable 'domain' (lines '141'-'141').141
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '141'-'141').141
Avoid modifiers which are implied by the context150
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '150'-'150').150
Avoid modifiers which are implied by the context161
Found 'DU'-anomaly for variable 'realDomain' (lines '161'-'161').161
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '161'-'161').161
Found 'DU'-anomaly for variable 'aliasDomain' (lines '161'-'161').161
Avoid modifiers which are implied by the context172
Found 'DU'-anomaly for variable 'realDomain' (lines '172'-'172').172
Found 'DU'-anomaly for variable 'virtualUserTable' (lines '172'-'172').172
Found 'DU'-anomaly for variable 'aliasDomain' (lines '172'-'172').172

Apache JAMES Server User Library - org/apache/james/impl/jamesuser/AbstractUsersRepository.java

ViolationLine
Each class should declare at least one constructor42 - 215
Found 'DU'-anomaly for variable 'user' (lines '78'-'78').78
Found 'DU'-anomaly for variable 'user' (lines '86'-'86').86
Found 'DU'-anomaly for variable 'name' (lines '98'-'107').98 - 107
A method should have only one exit point, and that should be the last statement in the method126
A method should have only one exit point, and that should be the last statement in the method145
Found 'DU'-anomaly for variable 'domain' (lines '156'-'192').156 - 192
Found 'DD'-anomaly for variable 'forward' (lines '172'-'173').172 - 173
Avoid assignments in operands173 - 175
Found 'DU'-anomaly for variable 'forward' (lines '173'-'192').173 - 192
A method should have only one exit point, and that should be the last statement in the method188

Apache JAMES Server User Library - org/apache/james/impl/jamesuser/JamesUsersRepository.java

ViolationLine
Avoid modifiers which are implied by the context32
Found 'DU'-anomaly for variable 'enableAliases' (lines '32'-'32').32
Avoid modifiers which are implied by the context38
Found 'DU'-anomaly for variable 'enableForwarding' (lines '38'-'38').38
Avoid modifiers which are implied by the context44
Found 'DU'-anomaly for variable 'ignoreCase' (lines '44'-'44').44

Apache JAMES Server User Library - org/apache/james/impl/jamesuser/LocalJamesUsersRepository.java

ViolationLine
Each class should declare at least one constructor32 - 62

Apache JAMES Server User Library - org/apache/james/impl/user/DefaultJamesUser.java

ViolationLine
Assigning an Object to null is a code smell. Consider refactoring.77

Apache JAMES Server User Library - org/apache/james/impl/user/DigestUtil.java

ViolationLine
Found 'DU'-anomaly for variable 'alg' (lines '52'-'87').52 - 87
Found 'DD'-anomaly for variable 'alg' (lines '52'-'68').52 - 68
Found 'DU'-anomaly for variable 'file' (lines '53'-'87').53 - 87
Found 'DD'-anomaly for variable 'file' (lines '53'-'71').53 - 71
A method should have only one exit point, and that should be the last statement in the method57
A method should have only one exit point, and that should be the last statement in the method65
Found 'DU'-anomaly for variable 'alg' (lines '68'-'87').68 - 87
Found 'DD'-anomaly for variable 'alg' (lines '68'-'68').68
Found 'DU'-anomaly for variable 'file' (lines '71'-'87').71 - 87
Found 'DD'-anomaly for variable 'file' (lines '71'-'71').71
A method should have only one exit point, and that should be the last statement in the method77
Found 'DU'-anomaly for variable 'b' (lines '107'-'138').107 - 138
Found 'DU'-anomaly for variable 'count' (lines '108'-'138').108 - 138
Found 'DD'-anomaly for variable 'read' (lines '109'-'116').109 - 116
Found 'DU'-anomaly for variable 'read' (lines '109'-'138').109 - 138
Found 'DD'-anomaly for variable 'fis' (lines '110'-'114').110 - 114
Found 'DD'-anomaly for variable 'fos' (lines '111'-'126').111 - 126
Avoid empty catch blocks136

Apache JAMES Server User Library - org/apache/james/impl/user/LocalUsersRepository.java

ViolationLine
Each class should declare at least one constructor35 - 154

Apache JAMES Server User Library - org/apache/james/impl/user/UserManagement.java

ViolationLine
Each class should declare at least one constructor41 - 242
Use explicit scoping instead of the default package private level43
A method should have only one exit point, and that should be the last statement in the method85
A method should have only one exit point, and that should be the last statement in the method107
Found 'DU'-anomaly for variable 'repositoryName' (lines '153'-'162').153 - 162
Found 'DU'-anomaly for variable 'user' (lines '154'-'162').154 - 162
A method should have only one exit point, and that should be the last statement in the method156
Found 'DU'-anomaly for variable 'repositoryName' (lines '167'-'174').167 - 174
A method should have only one exit point, and that should be the last statement in the method169
Found 'DU'-anomaly for variable 'repositoryName' (lines '179'-'183').179 - 183
A method should have only one exit point, and that should be the last statement in the method181
Found 'DU'-anomaly for variable 'repositoryName' (lines '188'-'203').188 - 203
A method should have only one exit point, and that should be the last statement in the method198
Found 'DU'-anomaly for variable 'repositoryName' (lines '208'-'216').208 - 216
A method should have only one exit point, and that should be the last statement in the method211
Found 'DU'-anomaly for variable 'repositoryName' (lines '221'-'225').221 - 225
A method should have only one exit point, and that should be the last statement in the method223
A method should have only one exit point, and that should be the last statement in the method232

Apache JAMES Server User Library - org/apache/james/impl/vut/AbstractVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor56 - 558
Found 'UR'-anomaly for variable 'targetString' (lines '121'-'121').121
Found 'DU'-anomaly for variable 'mappings' (lines '130'-'199').130 - 199
Found 'DD'-anomaly for variable 'userName' (lines '163'-'169').163 - 169
Found 'DD'-anomaly for variable 'userName' (lines '163'-'173').163 - 173
Found 'DD'-anomaly for variable 'domainName' (lines '164'-'170').164 - 170
Found 'DD'-anomaly for variable 'domainName' (lines '164'-'174').164 - 174
A method should have only one exit point, and that should be the last statement in the method179
A method should have only one exit point, and that should be the last statement in the method196
A method should have only one exit point, and that should be the last statement in the method213
A method should have only one exit point, and that should be the last statement in the method242
A method should have only one exit point, and that should be the last statement in the method265
A method should have only one exit point, and that should be the last statement in the method287
A method should have only one exit point, and that should be the last statement in the method289
A method should have only one exit point, and that should be the last statement in the method292
A method should have only one exit point, and that should be the last statement in the method305
A method should have only one exit point, and that should be the last statement in the method307
A method should have only one exit point, and that should be the last statement in the method310
Found 'DD'-anomaly for variable 'count' (lines '320'-'324').320 - 324
A method should have only one exit point, and that should be the last statement in the method334
Found 'DD'-anomaly for variable 'hostName' (lines '348'-'350').348 - 350
Found 'DD'-anomaly for variable 'hostName' (lines '350'-'352').350 - 352
A method should have only one exit point, and that should be the last statement in the method377
Found 'DU'-anomaly for variable 'log' (lines '389'-'403').389 - 403
Found 'DU'-anomaly for variable 'dns' (lines '389'-'403').389 - 403
Found 'DU'-anomaly for variable 'i' (lines '482'-'496').482 - 496
Found 'DD'-anomaly for variable 'i' (lines '482'-'482').482
Found 'DD'-anomaly for variable 'i' (lines '487'-'482').487 - 482
Found 'DU'-anomaly for variable 'i' (lines '487'-'496').487 - 496
A method should have only one exit point, and that should be the last statement in the method492
Found 'DU'-anomaly for variable 'user' (lines '508'-'508').508
Found 'DU'-anomaly for variable 'mapping' (lines '508'-'508').508
Found 'DU'-anomaly for variable 'domain' (lines '508'-'508').508
Found 'DU'-anomaly for variable 'user' (lines '519'-'519').519
Found 'DU'-anomaly for variable 'mapping' (lines '519'-'519').519
Found 'DU'-anomaly for variable 'domain' (lines '519'-'519').519
Found 'DU'-anomaly for variable 'user' (lines '535'-'535').535
Found 'DU'-anomaly for variable 'domain' (lines '535'-'535').535
Found 'DU'-anomaly for variable 'user' (lines '557'-'557').557
Found 'DU'-anomaly for variable 'domain' (lines '557'-'557').557

Apache JAMES Server User Library - org/apache/james/impl/vut/DefaultVirtualUserTable.java

ViolationLine
Each class should declare at least one constructor39 - 152
Use explicit scoping instead of the default package private level41
Use explicit scoping instead of the default package private level43

Apache JAMES Server User Library - org/apache/james/impl/vut/VirtualUserTableManagement.java

ViolationLine
Each class should declare at least one constructor42 - 216
Use explicit scoping instead of the default package private level44
Use explicit scoping instead of the default package private level45
A method should have only one exit point, and that should be the last statement in the method73

Apache JAMES Server User Library - org/apache/james/impl/vut/VirtualUserTableUtil.java

ViolationLine
Found 'DD'-anomaly for variable 'result' (lines '62'-'85').62 - 85
A method should have only one exit point, and that should be the last statement in the method105
A method should have only one exit point, and that should be the last statement in the method112
A method should have only one exit point, and that should be the last statement in the method119