PMD Results

The following document contains the results of PMD 6.42.0.

Violations By Priority

Priority 1

Waarp Common - org/waarp/common/crypto/KeyObject.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 124

Waarp Common - org/waarp/common/database/ConnectionFactory.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 41290

Waarp Common - org/waarp/common/file/FileUtils.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 170
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 206

Waarp Common - org/waarp/common/future/WaarpFailedFuture.java

Rule Violation Line
AvoidThrowingNullPointerException Avoid throwing null pointer exceptions. 36

Waarp Common - org/waarp/common/utility/WaarpSystemUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 9114

Waarp Compression - org/waarp/compress/zstdsafe/Constants.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3699

Waarp Compression - org/waarp/compress/zstdsafe/Histogram.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3872

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressor.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 39159

Waarp Compression - org/waarp/compress/zstdsafe/SequenceEncoder.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 41395

Waarp Compression - org/waarp/compress/zstdsafe/ZstdFrameCompressor.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 41530

Waarp Compression - org/waarp/compress/zstdunsafe/Constants.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3699

Waarp Compression - org/waarp/compress/zstdunsafe/Histogram.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3878

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressor.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 38176

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceEncoder.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 41397

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameCompressor.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 42539

Waarp Digest - org/waarp/common/digest/WaarpBC.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 39174

Waarp Ftp Core - org/waarp/ftp/core/command/FtpArgumentCode.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 29282

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedSslConfiguration.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 40228

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtp4jClient.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 115
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 566
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 619
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 630
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 696
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 706
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 714
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 729
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 739
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 747

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtpClient.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 579
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 604
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 629
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 638
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 702
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 737

Waarp Gateway Ftp - org/waarp/gateway/ftp/ExecGatewayFtpServer.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 41132

Waarp Gateway Ftp - org/waarp/gateway/ftp/LogExport.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 47252

Waarp Gateway Ftp - org/waarp/gateway/ftp/ServerInitDatabase.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 37124

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/data/DbTransferLog.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1079

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/data/DbTransferLog.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1092

Waarp Http - org/waarp/http/protocol/HttpHelper.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3078

Waarp Http - org/waarp/http/protocol/HttpSessions.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 30104

Waarp Http - org/waarp/http/protocol/WaarpStartup.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3455

Waarp ICAP Client - org/waarp/icap/IcapScanFile.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 76917

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/R66Proxy.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3686

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/FileBasedConfiguration.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 46374

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ProxyEntry.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 30123

Waarp OpenR66 - org/waarp/openr66/configuration/AuthenticationFileBasedConfiguration.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 49256

Waarp OpenR66 - org/waarp/openr66/dao/database/DBDAOFactory.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 344
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 467

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostAuth.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 579

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Messages.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3296

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestV1Utils.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3568

Waarp OpenR66 - org/waarp/openr66/server/R66Server.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3697

Waarp OpenR66 - org/waarp/openr66/server/ServerInitDatabase.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 48390

Priority 2

Waarp Common - org/waarp/common/crypto/ssl/WaarpSecureKeyStore.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 592
GuardLogStatement Logger calls should be surrounded by log level guards. 612

Waarp Common - org/waarp/common/crypto/ssl/WaarpSslContextFactory.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 157
GuardLogStatement Logger calls should be surrounded by log level guards. 164
GuardLogStatement Logger calls should be surrounded by log level guards. 242

Waarp Common - org/waarp/common/crypto/ssl/WaarpSslUtility.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 105
GuardLogStatement Logger calls should be surrounded by log level guards. 113
GuardLogStatement Logger calls should be surrounded by log level guards. 120
GuardLogStatement Logger calls should be surrounded by log level guards. 143144
GuardLogStatement Logger calls should be surrounded by log level guards. 150151
GuardLogStatement Logger calls should be surrounded by log level guards. 168
GuardLogStatement Logger calls should be surrounded by log level guards. 199200

Waarp Common - org/waarp/common/database/ConnectionFactory.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 203205

Waarp Common - org/waarp/common/database/DbAdmin.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 230231
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 239
GuardLogStatement Logger calls should be surrounded by log level guards. 246247
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 255
GuardLogStatement Logger calls should be surrounded by log level guards. 403

Waarp Common - org/waarp/common/database/DbConstant.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6971

Waarp Common - org/waarp/common/database/DbPreparedStatement.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 87
GuardLogStatement Logger calls should be surrounded by log level guards. 135136
GuardLogStatement Logger calls should be surrounded by log level guards. 189190
GuardLogStatement Logger calls should be surrounded by log level guards. 222
GuardLogStatement Logger calls should be surrounded by log level guards. 236238
GuardLogStatement Logger calls should be surrounded by log level guards. 286287
GuardLogStatement Logger calls should be surrounded by log level guards. 324325
GuardLogStatement Logger calls should be surrounded by log level guards. 391393

Waarp Common - org/waarp/common/database/DbRequest.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 127
GuardLogStatement Logger calls should be surrounded by log level guards. 165
GuardLogStatement Logger calls should be surrounded by log level guards. 194
GuardLogStatement Logger calls should be surrounded by log level guards. 283

Waarp Common - org/waarp/common/database/DbSession.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 118
GuardLogStatement Logger calls should be surrounded by log level guards. 125126
GuardLogStatement Logger calls should be surrounded by log level guards. 162
GuardLogStatement Logger calls should be surrounded by log level guards. 197
GuardLogStatement Logger calls should be surrounded by log level guards. 227228
GuardLogStatement Logger calls should be surrounded by log level guards. 272
GuardLogStatement Logger calls should be surrounded by log level guards. 357
GuardLogStatement Logger calls should be surrounded by log level guards. 368369
GuardLogStatement Logger calls should be surrounded by log level guards. 377
GuardLogStatement Logger calls should be surrounded by log level guards. 394
GuardLogStatement Logger calls should be surrounded by log level guards. 406407
GuardLogStatement Logger calls should be surrounded by log level guards. 459460
GuardLogStatement Logger calls should be surrounded by log level guards. 465467
GuardLogStatement Logger calls should be surrounded by log level guards. 470472

Waarp Common - org/waarp/common/database/model/DbModelAbstract.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'stmt' 271

Waarp Common - org/waarp/common/database/model/DbModelH2.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 104105
GuardLogStatement Logger calls should be surrounded by log level guards. 122123
GuardLogStatement Logger calls should be surrounded by log level guards. 161162

Waarp Common - org/waarp/common/database/model/DbModelMariadb.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 127129
GuardLogStatement Logger calls should be surrounded by log level guards. 161162

Waarp Common - org/waarp/common/database/model/DbModelMysql.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 176178
GuardLogStatement Logger calls should be surrounded by log level guards. 198200
GuardLogStatement Logger calls should be surrounded by log level guards. 217218

Waarp Common - org/waarp/common/database/model/DbModelOracle.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 109111
GuardLogStatement Logger calls should be surrounded by log level guards. 139141
GuardLogStatement Logger calls should be surrounded by log level guards. 158159

Waarp Common - org/waarp/common/database/model/DbModelPostgresql.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9091

Waarp Common - org/waarp/common/file/AbstractDir.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 100
AvoidReassigningParameters Avoid reassigning parameters such as 'path' 133
GuardLogStatement Logger calls should be surrounded by log level guards. 138

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedFileImpl.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 196
GuardLogStatement Logger calls should be surrounded by log level guards. 449
GuardLogStatement Logger calls should be surrounded by log level guards. 580
GuardLogStatement Logger calls should be surrounded by log level guards. 686
GuardLogStatement Logger calls should be surrounded by log level guards. 742
GuardLogStatement Logger calls should be surrounded by log level guards. 746
GuardLogStatement Logger calls should be surrounded by log level guards. 774
GuardLogStatement Logger calls should be surrounded by log level guards. 777
GuardLogStatement Logger calls should be surrounded by log level guards. 814815
GuardLogStatement Logger calls should be surrounded by log level guards. 826

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedRestartImpl.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'nextBlock' 56

Waarp Common - org/waarp/common/filemonitor/FileMonitor.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 75
GuardLogStatement Logger calls should be surrounded by log level guards. 306308
GuardLogStatement Logger calls should be surrounded by log level guards. 345347
GuardLogStatement Logger calls should be surrounded by log level guards. 563565
GuardLogStatement Logger calls should be surrounded by log level guards. 601
GuardLogStatement Logger calls should be surrounded by log level guards. 604
AvoidReassigningParameters Avoid reassigning parameters such as 'fileItemsChanged' 722
GuardLogStatement Logger calls should be surrounded by log level guards. 806
GuardLogStatement Logger calls should be surrounded by log level guards. 822823
GuardLogStatement Logger calls should be surrounded by log level guards. 884885
GuardLogStatement Logger calls should be surrounded by log level guards. 901902
GuardLogStatement Logger calls should be surrounded by log level guards. 939940
GuardLogStatement Logger calls should be surrounded by log level guards. 958959
ProperCloneImplementation Object clone() should be implemented with super.clone() 10751085

Waarp Common - org/waarp/common/future/WaarpFuture.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 38

Waarp Common - org/waarp/common/guid/JvmProcessId.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'value' 318

Waarp Common - org/waarp/common/logging/SysErrLogger.java

Rule Violation Line
SystemPrintln System.out.println is used 53
SystemPrintln System.out.println is used 64
SystemPrintln System.err.print is used 85
SystemPrintln System.err.println is used 96
SystemPrintln System.err.print is used 117
SystemPrintln System.err.print is used 129

Waarp Common - org/waarp/common/logging/WaarpJdkLogger.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 144
GuardLogStatement Logger calls should be surrounded by log level guards. 166
GuardLogStatement Logger calls should be surrounded by log level guards. 186
GuardLogStatement Logger calls should be surrounded by log level guards. 242
GuardLogStatement Logger calls should be surrounded by log level guards. 264
GuardLogStatement Logger calls should be surrounded by log level guards. 284
GuardLogStatement Logger calls should be surrounded by log level guards. 340
GuardLogStatement Logger calls should be surrounded by log level guards. 362
GuardLogStatement Logger calls should be surrounded by log level guards. 382
GuardLogStatement Logger calls should be surrounded by log level guards. 439
GuardLogStatement Logger calls should be surrounded by log level guards. 461
GuardLogStatement Logger calls should be surrounded by log level guards. 481
GuardLogStatement Logger calls should be surrounded by log level guards. 537
GuardLogStatement Logger calls should be surrounded by log level guards. 559
GuardLogStatement Logger calls should be surrounded by log level guards. 580

Waarp Common - org/waarp/common/logging/WaarpLoggerFactory.java

Rule Violation Line
SingleMethodSingleton Class contains multiple getInstance methods. Please review. 63228
AvoidUsingVolatile Use of modifier volatile is not recommended. 64

Waarp Common - org/waarp/common/logging/WaarpSlf4JLogger.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 75
GuardLogStatement Logger calls should be surrounded by log level guards. 244
GuardLogStatement Logger calls should be surrounded by log level guards. 249
GuardLogStatement Logger calls should be surrounded by log level guards. 255
GuardLogStatement Logger calls should be surrounded by log level guards. 260
GuardLogStatement Logger calls should be surrounded by log level guards. 265

Waarp Common - org/waarp/common/transcode/CharsetsUtil.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 228
GuardLogStatement Logger calls should be surrounded by log level guards. 230
GuardLogStatement Logger calls should be surrounded by log level guards. 232

Waarp Common - org/waarp/common/utility/FileConvert.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 45
GuardLogStatement Logger calls should be surrounded by log level guards. 158
GuardLogStatement Logger calls should be surrounded by log level guards. 218219
GuardLogStatement Logger calls should be surrounded by log level guards. 223224
GuardLogStatement Logger calls should be surrounded by log level guards. 227228

Waarp Common - org/waarp/common/utility/Hexa.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'a' 39
AvoidReassigningParameters Avoid reassigning parameters such as 'b' 44

Waarp Common - org/waarp/common/utility/WaarpShutdownHook.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 62
AvoidUsingVolatile Use of modifier volatile is not recommended. 66
AvoidUsingVolatile Use of modifier volatile is not recommended. 76
GuardLogStatement Logger calls should be surrounded by log level guards. 191
GuardLogStatement Logger calls should be surrounded by log level guards. 211

Waarp Common - org/waarp/common/utility/WaarpStringUtils.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 8889
GuardLogStatement Logger calls should be surrounded by log level guards. 105106
GuardLogStatement Logger calls should be surrounded by log level guards. 134
GuardLogStatement Logger calls should be surrounded by log level guards. 175

Waarp Compression - org/waarp/compress/WaarpZstdCodec.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 66

Waarp Compression - org/waarp/compress/zstdsafe/FiniteStateEntropy.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'inputSize' 235
AvoidReassigningParameters Avoid reassigning parameters such as 'total' 364

Waarp Compression - org/waarp/compress/zstdsafe/FseTableReader.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 143

Waarp Compression - org/waarp/compress/zstdsafe/Histogram.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 55

Waarp Compression - org/waarp/compress/zstdsafe/Huffman.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'bitsConsumed' 390
AvoidReassigningParameters Avoid reassigning parameters such as 'bits' 391
AvoidReassigningParameters Avoid reassigning parameters such as 'currentAddress' 392
AvoidReassigningParameters Avoid reassigning parameters such as 'outputAddress' 398

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionTable.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'maxNumberOfBits' 87

Waarp Compression - org/waarp/compress/zstdsafe/SequenceEncoder.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'sequenceCount' 253

Waarp Compression - org/waarp/compress/zstdsafe/XxHash64.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 73
AvoidReassigningParameters Avoid reassigning parameters such as 'index' 74
AvoidReassigningParameters Avoid reassigning parameters such as 'address' 106
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 148

Waarp Compression - org/waarp/compress/zstdsafe/ZstdFrameDecompressor.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 583
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 591
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 592
AvoidReassigningParameters Avoid reassigning parameters such as 'matchLength' 593
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 611
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 612
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 640
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 657
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 671
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 704
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 737
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 774
AvoidReassigningParameters Avoid reassigning parameters such as 'literalInput' 775
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 792

Waarp Compression - org/waarp/compress/zstdunsafe/FiniteStateEntropy.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'inputSize' 235
AvoidReassigningParameters Avoid reassigning parameters such as 'total' 370

Waarp Compression - org/waarp/compress/zstdunsafe/FseTableReader.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 144

Waarp Compression - org/waarp/compress/zstdunsafe/Histogram.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 69

Waarp Compression - org/waarp/compress/zstdunsafe/Huffman.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'bitsConsumed' 394
AvoidReassigningParameters Avoid reassigning parameters such as 'bits' 395
AvoidReassigningParameters Avoid reassigning parameters such as 'currentAddress' 396
AvoidReassigningParameters Avoid reassigning parameters such as 'outputAddress' 402

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionTable.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'maxNumberOfBits' 87

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceEncoder.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'sequenceCount' 254

Waarp Compression - org/waarp/compress/zstdunsafe/XxHash64.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 71
AvoidReassigningParameters Avoid reassigning parameters such as 'index' 72
AvoidReassigningParameters Avoid reassigning parameters such as 'address' 104
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 146

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameDecompressor.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 586
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 594
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 595
AvoidReassigningParameters Avoid reassigning parameters such as 'matchLength' 596
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 616
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 617
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 651
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 671
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 685
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 718
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 751
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 789
AvoidReassigningParameters Avoid reassigning parameters such as 'literalInput' 790
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 809

Waarp Digest - org/waarp/common/digest/FilesystemBasedDigest.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'checksum' 406
AvoidReassigningParameters Avoid reassigning parameters such as 'checksum' 505
AvoidReassigningParameters Avoid reassigning parameters such as 'checksum' 650

Waarp Digest - org/waarp/common/digest/WaarpBC.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 43
SystemPrintln System.err.println is used 5960

Waarp Exec - org/waarp/commandexec/client/LocalExecClientHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 173174
AvoidReassigningParameters Avoid reassigning parameters such as 'mesg' 181
GuardLogStatement Logger calls should be surrounded by log level guards. 202204

Waarp Exec - org/waarp/commandexec/server/LocalExecServerHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 236
GuardLogStatement Logger calls should be surrounded by log level guards. 280281
GuardLogStatement Logger calls should be surrounded by log level guards. 292293
GuardLogStatement Logger calls should be surrounded by log level guards. 305306
GuardLogStatement Logger calls should be surrounded by log level guards. 318319

Waarp Exec - org/waarp/commandexec/ssl/client/LocalExecSslClientHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5960

Waarp Ftp Core - org/waarp/ftp/core/command/internal/IncorrectCommand.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 46

Waarp Ftp Core - org/waarp/ftp/core/command/internal/UnimplementedCommand.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 43

Waarp Ftp Core - org/waarp/ftp/core/command/internal/UnknownCommand.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 43

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/PASV.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 8486

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2428/EPSV.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7375

Waarp Ftp Core - org/waarp/ftp/core/config/FtpConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 563
GuardLogStatement Logger calls should be surrounded by log level guards. 584

Waarp Ftp Core - org/waarp/ftp/core/config/FtpInternalConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 316
GuardLogStatement Logger calls should be surrounded by log level guards. 338
GuardLogStatement Logger calls should be surrounded by log level guards. 450
GuardLogStatement Logger calls should be surrounded by log level guards. 453

Waarp Ftp Core - org/waarp/ftp/core/control/NetworkHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 207208
GuardLogStatement Logger calls should be surrounded by log level guards. 211213
GuardLogStatement Logger calls should be surrounded by log level guards. 224
GuardLogStatement Logger calls should be surrounded by log level guards. 233
GuardLogStatement Logger calls should be surrounded by log level guards. 248249
GuardLogStatement Logger calls should be surrounded by log level guards. 253254
GuardLogStatement Logger calls should be surrounded by log level guards. 260261
GuardLogStatement Logger calls should be surrounded by log level guards. 288289
GuardLogStatement Logger calls should be surrounded by log level guards. 316317
GuardLogStatement Logger calls should be surrounded by log level guards. 365
GuardLogStatement Logger calls should be surrounded by log level guards. 394
GuardLogStatement Logger calls should be surrounded by log level guards. 398
GuardLogStatement Logger calls should be surrounded by log level guards. 407408
GuardLogStatement Logger calls should be surrounded by log level guards. 454456
GuardLogStatement Logger calls should be surrounded by log level guards. 463465

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransferControl.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 210213
GuardLogStatement Logger calls should be surrounded by log level guards. 294
GuardLogStatement Logger calls should be surrounded by log level guards. 310311
GuardLogStatement Logger calls should be surrounded by log level guards. 340
GuardLogStatement Logger calls should be surrounded by log level guards. 400401
GuardLogStatement Logger calls should be surrounded by log level guards. 614
GuardLogStatement Logger calls should be surrounded by log level guards. 645
GuardLogStatement Logger calls should be surrounded by log level guards. 675
GuardLogStatement Logger calls should be surrounded by log level guards. 679
GuardLogStatement Logger calls should be surrounded by log level guards. 712
GuardLogStatement Logger calls should be surrounded by log level guards. 716

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransferExecutor.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 81

Waarp Ftp Core - org/waarp/ftp/core/data/handler/DataNetworkHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 218
GuardLogStatement Logger calls should be surrounded by log level guards. 228230
GuardLogStatement Logger calls should be surrounded by log level guards. 243
GuardLogStatement Logger calls should be surrounded by log level guards. 306
GuardLogStatement Logger calls should be surrounded by log level guards. 309310
GuardLogStatement Logger calls should be surrounded by log level guards. 315
GuardLogStatement Logger calls should be surrounded by log level guards. 334
GuardLogStatement Logger calls should be surrounded by log level guards. 340
GuardLogStatement Logger calls should be surrounded by log level guards. 343
GuardLogStatement Logger calls should be surrounded by log level guards. 347
GuardLogStatement Logger calls should be surrounded by log level guards. 349350
GuardLogStatement Logger calls should be surrounded by log level guards. 403
GuardLogStatement Logger calls should be surrounded by log level guards. 432

Waarp Ftp Core - org/waarp/ftp/core/session/FtpSession.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 517518

Waarp Ftp Core - org/waarp/ftp/core/session/FtpSessionReference.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 213214
GuardLogStatement Logger calls should be surrounded by log level guards. 232
GuardLogStatement Logger calls should be surrounded by log level guards. 296297

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpChannelUtils.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 180
GuardLogStatement Logger calls should be surrounded by log level guards. 194
GuardLogStatement Logger calls should be surrounded by log level guards. 204
GuardLogStatement Logger calls should be surrounded by log level guards. 212
GuardLogStatement Logger calls should be surrounded by log level guards. 221
GuardLogStatement Logger calls should be surrounded by log level guards. 343

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpFile.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 176
GuardLogStatement Logger calls should be surrounded by log level guards. 192

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/SimpleGatewaySslFtpServer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9294

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 198199
GuardLogStatement Logger calls should be surrounded by log level guards. 203
GuardLogStatement Logger calls should be surrounded by log level guards. 210
GuardLogStatement Logger calls should be surrounded by log level guards. 229
GuardLogStatement Logger calls should be surrounded by log level guards. 237
GuardLogStatement Logger calls should be surrounded by log level guards. 241
GuardLogStatement Logger calls should be surrounded by log level guards. 307308
GuardLogStatement Logger calls should be surrounded by log level guards. 316318
GuardLogStatement Logger calls should be surrounded by log level guards. 322323

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedSslConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 208209
GuardLogStatement Logger calls should be surrounded by log level guards. 213

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/control/SimpleBusinessHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 56
GuardLogStatement Logger calls should be surrounded by log level guards. 81
GuardLogStatement Logger calls should be surrounded by log level guards. 160161
GuardLogStatement Logger calls should be surrounded by log level guards. 163164
GuardLogStatement Logger calls should be surrounded by log level guards. 166167
GuardLogStatement Logger calls should be surrounded by log level guards. 169170
GuardLogStatement Logger calls should be surrounded by log level guards. 172173

Waarp Ftp R66 client - org/waarp/ftp/client/DataTimeOutListener.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6970

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtp4jClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 241
GuardLogStatement Logger calls should be surrounded by log level guards. 261
GuardLogStatement Logger calls should be surrounded by log level guards. 319
GuardLogStatement Logger calls should be surrounded by log level guards. 341
GuardLogStatement Logger calls should be surrounded by log level guards. 352
GuardLogStatement Logger calls should be surrounded by log level guards. 369
GuardLogStatement Logger calls should be surrounded by log level guards. 390
GuardLogStatement Logger calls should be surrounded by log level guards. 450
GuardLogStatement Logger calls should be surrounded by log level guards. 503
GuardLogStatement Logger calls should be surrounded by log level guards. 544
GuardLogStatement Logger calls should be surrounded by log level guards. 565
GuardLogStatement Logger calls should be surrounded by log level guards. 618
GuardLogStatement Logger calls should be surrounded by log level guards. 629
GuardLogStatement Logger calls should be surrounded by log level guards. 647
GuardLogStatement Logger calls should be surrounded by log level guards. 680
GuardLogStatement Logger calls should be surrounded by log level guards. 713
GuardLogStatement Logger calls should be surrounded by log level guards. 746
GuardLogStatement Logger calls should be surrounded by log level guards. 763

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtpClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 144
GuardLogStatement Logger calls should be surrounded by log level guards. 195
GuardLogStatement Logger calls should be surrounded by log level guards. 230
GuardLogStatement Logger calls should be surrounded by log level guards. 240241
GuardLogStatement Logger calls should be surrounded by log level guards. 245
GuardLogStatement Logger calls should be surrounded by log level guards. 253
GuardLogStatement Logger calls should be surrounded by log level guards. 306
GuardLogStatement Logger calls should be surrounded by log level guards. 326
GuardLogStatement Logger calls should be surrounded by log level guards. 344
GuardLogStatement Logger calls should be surrounded by log level guards. 460
GuardLogStatement Logger calls should be surrounded by log level guards. 503
GuardLogStatement Logger calls should be surrounded by log level guards. 541
GuardLogStatement Logger calls should be surrounded by log level guards. 578
GuardLogStatement Logger calls should be surrounded by log level guards. 603
GuardLogStatement Logger calls should be surrounded by log level guards. 628
GuardLogStatement Logger calls should be surrounded by log level guards. 654
GuardLogStatement Logger calls should be surrounded by log level guards. 683
GuardLogStatement Logger calls should be surrounded by log level guards. 701
GuardLogStatement Logger calls should be surrounded by log level guards. 736
GuardLogStatement Logger calls should be surrounded by log level guards. 763

Waarp Gateway Ftp - org/waarp/gateway/ftp/ExecGatewayFtpServer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 123128

Waarp Gateway Ftp - org/waarp/gateway/ftp/ServerInitDatabase.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 41

Waarp Gateway Ftp - org/waarp/gateway/ftp/adminssl/HttpSslHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 603607
GuardLogStatement Logger calls should be surrounded by log level guards. 848

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/AUTHUPDATE.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 92

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/FileBasedConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 784786
GuardLogStatement Logger calls should be surrounded by log level guards. 860
GuardLogStatement Logger calls should be surrounded by log level guards. 864
GuardLogStatement Logger calls should be surrounded by log level guards. 868
GuardLogStatement Logger calls should be surrounded by log level guards. 892
GuardLogStatement Logger calls should be surrounded by log level guards. 1065
GuardLogStatement Logger calls should be surrounded by log level guards. 13061307
GuardLogStatement Logger calls should be surrounded by log level guards. 1311
GuardLogStatement Logger calls should be surrounded by log level guards. 13891390
GuardLogStatement Logger calls should be surrounded by log level guards. 14871489
GuardLogStatement Logger calls should be surrounded by log level guards. 1493
GuardLogStatement Logger calls should be surrounded by log level guards. 1513
GuardLogStatement Logger calls should be surrounded by log level guards. 1529
GuardLogStatement Logger calls should be surrounded by log level guards. 15631564
GuardLogStatement Logger calls should be surrounded by log level guards. 1571
GuardLogStatement Logger calls should be surrounded by log level guards. 1583
GuardLogStatement Logger calls should be surrounded by log level guards. 16601661

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/ExecBusinessHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 278280
GuardLogStatement Logger calls should be surrounded by log level guards. 342347
GuardLogStatement Logger calls should be surrounded by log level guards. 357361
GuardLogStatement Logger calls should be surrounded by log level guards. 421
GuardLogStatement Logger calls should be surrounded by log level guards. 435

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/WaarpActionLogger.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 169

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/data/DbTransferLog.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 372
GuardLogStatement Logger calls should be surrounded by log level guards. 420
GuardLogStatement Logger calls should be surrounded by log level guards. 787788
GuardLogStatement Logger calls should be surrounded by log level guards. 1104
GuardLogStatement Logger calls should be surrounded by log level guards. 11171118
GuardLogStatement Logger calls should be surrounded by log level guards. 11801181
GuardLogStatement Logger calls should be surrounded by log level guards. 1205

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/ExecuteExecutor.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 104
GuardLogStatement Logger calls should be surrounded by log level guards. 141142
GuardLogStatement Logger calls should be surrounded by log level guards. 150151
GuardLogStatement Logger calls should be surrounded by log level guards. 154156
GuardLogStatement Logger calls should be surrounded by log level guards. 163164
GuardLogStatement Logger calls should be surrounded by log level guards. 173174

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/JavaExecutor.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6970
GuardLogStatement Logger calls should be surrounded by log level guards. 7879
GuardLogStatement Logger calls should be surrounded by log level guards. 83
GuardLogStatement Logger calls should be surrounded by log level guards. 111112
GuardLogStatement Logger calls should be surrounded by log level guards. 121
GuardLogStatement Logger calls should be surrounded by log level guards. 124

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/JavaExecutorWaarpFtp4jClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 118
GuardLogStatement Logger calls should be surrounded by log level guards. 139
GuardLogStatement Logger calls should be surrounded by log level guards. 151
GuardLogStatement Logger calls should be surrounded by log level guards. 163
GuardLogStatement Logger calls should be surrounded by log level guards. 175
GuardLogStatement Logger calls should be surrounded by log level guards. 189
GuardLogStatement Logger calls should be surrounded by log level guards. 202203

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/LocalExecClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 127129
GuardLogStatement Logger calls should be surrounded by log level guards. 148

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/R66PreparedTransferExecutor.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 138141
GuardLogStatement Logger calls should be surrounded by log level guards. 154155
GuardLogStatement Logger calls should be surrounded by log level guards. 187188
GuardLogStatement Logger calls should be surrounded by log level guards. 195
GuardLogStatement Logger calls should be surrounded by log level guards. 199200

Waarp Gateway Ftp - org/waarp/gateway/ftp/service/FtpEngine.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 68

Waarp Gateway Kernel - org/waarp/gateway/kernel/DefaultHttpField.java

Rule Violation Line
ProperCloneImplementation Object clone() should be implemented with super.clone() 183189

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpJsonDefinition.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 167168
GuardLogStatement Logger calls should be surrounded by log level guards. 172173
GuardLogStatement Logger calls should be surrounded by log level guards. 177178

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpPage.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 410411

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpPageHandler.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'page' 132

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpXmlDefinition.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 424425
GuardLogStatement Logger calls should be surrounded by log level guards. 430

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/WaarpActionLogger.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 159

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/data/DbTransferLog.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 411
GuardLogStatement Logger calls should be surrounded by log level guards. 798799
GuardLogStatement Logger calls should be surrounded by log level guards. 1117
GuardLogStatement Logger calls should be surrounded by log level guards. 11301131
GuardLogStatement Logger calls should be surrounded by log level guards. 11671168
GuardLogStatement Logger calls should be surrounded by log level guards. 11881189

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpRequestHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 286
GuardLogStatement Logger calls should be surrounded by log level guards. 360
GuardLogStatement Logger calls should be surrounded by log level guards. 856
GuardLogStatement Logger calls should be surrounded by log level guards. 889
GuardLogStatement Logger calls should be surrounded by log level guards. 962

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/DataModelRestMethodHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 8990
GuardLogStatement Logger calls should be surrounded by log level guards. 117119
GuardLogStatement Logger calls should be surrounded by log level guards. 144

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/HttpRestHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 462
GuardLogStatement Logger calls should be surrounded by log level guards. 479
GuardLogStatement Logger calls should be surrounded by log level guards. 496
GuardLogStatement Logger calls should be surrounded by log level guards. 513
GuardLogStatement Logger calls should be surrounded by log level guards. 530
GuardLogStatement Logger calls should be surrounded by log level guards. 577
GuardLogStatement Logger calls should be surrounded by log level guards. 614
GuardLogStatement Logger calls should be surrounded by log level guards. 797

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestArgument.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 311312
GuardLogStatement Logger calls should be surrounded by log level guards. 493494
GuardLogStatement Logger calls should be surrounded by log level guards. 535536
GuardLogStatement Logger calls should be surrounded by log level guards. 593594
AvoidReassigningParameters Avoid reassigning parameters such as 'filter' 707

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/HttpRestClientHelper.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 202
GuardLogStatement Logger calls should be surrounded by log level guards. 210
GuardLogStatement Logger calls should be surrounded by log level guards. 297
GuardLogStatement Logger calls should be surrounded by log level guards. 391
GuardLogStatement Logger calls should be surrounded by log level guards. 399
GuardLogStatement Logger calls should be surrounded by log level guards. 413
GuardLogStatement Logger calls should be surrounded by log level guards. 417
GuardLogStatement Logger calls should be surrounded by log level guards. 419

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/HttpRestClientSimpleResponseHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 85
GuardLogStatement Logger calls should be surrounded by log level guards. 92
GuardLogStatement Logger calls should be surrounded by log level guards. 106107
GuardLogStatement Logger calls should be surrounded by log level guards. 128

Waarp Http - org/waarp/http/protocol/HttpDeleteSession.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 134

Waarp Http - org/waarp/http/protocol/HttpDownloadSession.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 249

Waarp Http - org/waarp/http/protocol/HttpHelper.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 54
GuardLogStatement Logger calls should be surrounded by log level guards. 74

Waarp Http - org/waarp/http/protocol/HttpResumableSession.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 215216
GuardLogStatement Logger calls should be surrounded by log level guards. 236237
GuardLogStatement Logger calls should be surrounded by log level guards. 238239
GuardLogStatement Logger calls should be surrounded by log level guards. 251252
GuardLogStatement Logger calls should be surrounded by log level guards. 254255
GuardLogStatement Logger calls should be surrounded by log level guards. 262
GuardLogStatement Logger calls should be surrounded by log level guards. 264

Waarp Http - org/waarp/http/protocol/HttpSessionAbstract.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 180
GuardLogStatement Logger calls should be surrounded by log level guards. 190
GuardLogStatement Logger calls should be surrounded by log level guards. 198
GuardLogStatement Logger calls should be surrounded by log level guards. 253
GuardLogStatement Logger calls should be surrounded by log level guards. 267
GuardLogStatement Logger calls should be surrounded by log level guards. 284

Waarp Http - org/waarp/http/protocol/servlet/AbstractServlet.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5758
GuardLogStatement Logger calls should be surrounded by log level guards. 6566
GuardLogStatement Logger calls should be surrounded by log level guards. 8385

Waarp Http - org/waarp/http/protocol/servlet/DownloadServlet.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 93
GuardLogStatement Logger calls should be surrounded by log level guards. 160
GuardLogStatement Logger calls should be surrounded by log level guards. 164

Waarp Http - org/waarp/http/protocol/servlet/HttpAuthentDefault.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 63
GuardLogStatement Logger calls should be surrounded by log level guards. 65

Waarp Http - org/waarp/http/protocol/servlet/UploadServlet.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 8283
GuardLogStatement Logger calls should be surrounded by log level guards. 114
GuardLogStatement Logger calls should be surrounded by log level guards. 121
GuardLogStatement Logger calls should be surrounded by log level guards. 146
GuardLogStatement Logger calls should be surrounded by log level guards. 273

Waarp ICAP Client - org/waarp/icap/IcapClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 211212
GuardLogStatement Logger calls should be surrounded by log level guards. 217218
GuardLogStatement Logger calls should be surrounded by log level guards. 223224
GuardLogStatement Logger calls should be surrounded by log level guards. 344
GuardLogStatement Logger calls should be surrounded by log level guards. 356
GuardLogStatement Logger calls should be surrounded by log level guards. 363364
GuardLogStatement Logger calls should be surrounded by log level guards. 372373
GuardLogStatement Logger calls should be surrounded by log level guards. 796
GuardLogStatement Logger calls should be surrounded by log level guards. 913914
GuardLogStatement Logger calls should be surrounded by log level guards. 1005
GuardLogStatement Logger calls should be surrounded by log level guards. 11051106
GuardLogStatement Logger calls should be surrounded by log level guards. 1110
GuardLogStatement Logger calls should be surrounded by log level guards. 11951196
GuardLogStatement Logger calls should be surrounded by log level guards. 12001201
GuardLogStatement Logger calls should be surrounded by log level guards. 12191220
GuardLogStatement Logger calls should be surrounded by log level guards. 12241225

Waarp ICAP Client - org/waarp/icap/IcapScanFile.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 608
GuardLogStatement Logger calls should be surrounded by log level guards. 610
GuardLogStatement Logger calls should be surrounded by log level guards. 622
GuardLogStatement Logger calls should be surrounded by log level guards. 624
GuardLogStatement Logger calls should be surrounded by log level guards. 843
GuardLogStatement Logger calls should be surrounded by log level guards. 849
GuardLogStatement Logger calls should be surrounded by log level guards. 868

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/R66Proxy.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 55
GuardLogStatement Logger calls should be surrounded by log level guards. 5960

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/ConfigurationProxyR66.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 89
GuardLogStatement Logger calls should be surrounded by log level guards. 94
GuardLogStatement Logger calls should be surrounded by log level guards. 111
GuardLogStatement Logger calls should be surrounded by log level guards. 120
GuardLogStatement Logger calls should be surrounded by log level guards. 122124
GuardLogStatement Logger calls should be surrounded by log level guards. 129130
GuardLogStatement Logger calls should be surrounded by log level guards. 144145
GuardLogStatement Logger calls should be surrounded by log level guards. 154
GuardLogStatement Logger calls should be surrounded by log level guards. 156158
GuardLogStatement Logger calls should be surrounded by log level guards. 163164
GuardLogStatement Logger calls should be surrounded by log level guards. 176179

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/FileBasedConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 219
GuardLogStatement Logger calls should be surrounded by log level guards. 284
GuardLogStatement Logger calls should be surrounded by log level guards. 329330
GuardLogStatement Logger calls should be surrounded by log level guards. 334

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkServerHandler.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 89
GuardLogStatement Logger calls should be surrounded by log level guards. 145
GuardLogStatement Logger calls should be surrounded by log level guards. 153
GuardLogStatement Logger calls should be surrounded by log level guards. 157158
GuardLogStatement Logger calls should be surrounded by log level guards. 164
GuardLogStatement Logger calls should be surrounded by log level guards. 169
GuardLogStatement Logger calls should be surrounded by log level guards. 224226
GuardLogStatement Logger calls should be surrounded by log level guards. 270
GuardLogStatement Logger calls should be surrounded by log level guards. 274276
GuardLogStatement Logger calls should be surrounded by log level guards. 295296
GuardLogStatement Logger calls should be surrounded by log level guards. 300301
GuardLogStatement Logger calls should be surrounded by log level guards. 311

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkTransaction.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 124
GuardLogStatement Logger calls should be surrounded by log level guards. 129130
GuardLogStatement Logger calls should be surrounded by log level guards. 243244
GuardLogStatement Logger calls should be surrounded by log level guards. 248

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/HttpFormattedHandlerProxyR66.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 112113
GuardLogStatement Logger calls should be surrounded by log level guards. 213

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/adminssl/HttpSslHandlerProxyR66.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 94

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3AbstractTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 77

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3DeleteTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 78

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3PutTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9495

Waarp OpenR66 - org/waarp/openr66/client/AbstractBusinessRequest.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
GuardLogStatement Logger calls should be surrounded by log level guards. 180
GuardLogStatement Logger calls should be surrounded by log level guards. 187189
GuardLogStatement Logger calls should be surrounded by log level guards. 221222
GuardLogStatement Logger calls should be surrounded by log level guards. 248249

Waarp OpenR66 - org/waarp/openr66/client/AbstractTransfer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 155156
GuardLogStatement Logger calls should be surrounded by log level guards. 180181
GuardLogStatement Logger calls should be surrounded by log level guards. 198
GuardLogStatement Logger calls should be surrounded by log level guards. 257
GuardLogStatement Logger calls should be surrounded by log level guards. 268
GuardLogStatement Logger calls should be surrounded by log level guards. 327328
GuardLogStatement Logger calls should be surrounded by log level guards. 333334
GuardLogStatement Logger calls should be surrounded by log level guards. 432433
GuardLogStatement Logger calls should be surrounded by log level guards. 453455
GuardLogStatement Logger calls should be surrounded by log level guards. 482483
GuardLogStatement Logger calls should be surrounded by log level guards. 491493
GuardLogStatement Logger calls should be surrounded by log level guards. 568
GuardLogStatement Logger calls should be surrounded by log level guards. 570
GuardLogStatement Logger calls should be surrounded by log level guards. 587
GuardLogStatement Logger calls should be surrounded by log level guards. 659

Waarp OpenR66 - org/waarp/openr66/client/BusinessRequest.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6566
GuardLogStatement Logger calls should be surrounded by log level guards. 71
GuardLogStatement Logger calls should be surrounded by log level guards. 93
GuardLogStatement Logger calls should be surrounded by log level guards. 119

Waarp OpenR66 - org/waarp/openr66/client/DirectTransfer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 162
GuardLogStatement Logger calls should be surrounded by log level guards. 184185
GuardLogStatement Logger calls should be surrounded by log level guards. 189
GuardLogStatement Logger calls should be surrounded by log level guards. 197
GuardLogStatement Logger calls should be surrounded by log level guards. 209211
GuardLogStatement Logger calls should be surrounded by log level guards. 245246

Waarp OpenR66 - org/waarp/openr66/client/Message.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9394
GuardLogStatement Logger calls should be surrounded by log level guards. 111112
GuardLogStatement Logger calls should be surrounded by log level guards. 157158
GuardLogStatement Logger calls should be surrounded by log level guards. 166167
GuardLogStatement Logger calls should be surrounded by log level guards. 182183
GuardLogStatement Logger calls should be surrounded by log level guards. 213
GuardLogStatement Logger calls should be surrounded by log level guards. 235237
GuardLogStatement Logger calls should be surrounded by log level guards. 246249

Waarp OpenR66 - org/waarp/openr66/client/MultipleDirectTransfer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 8889
GuardLogStatement Logger calls should be surrounded by log level guards. 106107
GuardLogStatement Logger calls should be surrounded by log level guards. 113
GuardLogStatement Logger calls should be surrounded by log level guards. 158
GuardLogStatement Logger calls should be surrounded by log level guards. 167169
GuardLogStatement Logger calls should be surrounded by log level guards. 184185
GuardLogStatement Logger calls should be surrounded by log level guards. 198
GuardLogStatement Logger calls should be surrounded by log level guards. 223
GuardLogStatement Logger calls should be surrounded by log level guards. 238
GuardLogStatement Logger calls should be surrounded by log level guards. 260

Waarp OpenR66 - org/waarp/openr66/client/MultipleSubmitTransfer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9394
GuardLogStatement Logger calls should be surrounded by log level guards. 99100
GuardLogStatement Logger calls should be surrounded by log level guards. 141
GuardLogStatement Logger calls should be surrounded by log level guards. 187
GuardLogStatement Logger calls should be surrounded by log level guards. 224
GuardLogStatement Logger calls should be surrounded by log level guards. 251

Waarp OpenR66 - org/waarp/openr66/client/RequestInformation.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 58
GuardLogStatement Logger calls should be surrounded by log level guards. 100101
GuardLogStatement Logger calls should be surrounded by log level guards. 144145
GuardLogStatement Logger calls should be surrounded by log level guards. 149150
GuardLogStatement Logger calls should be surrounded by log level guards. 198199
GuardLogStatement Logger calls should be surrounded by log level guards. 207208
GuardLogStatement Logger calls should be surrounded by log level guards. 222223
GuardLogStatement Logger calls should be surrounded by log level guards. 235
GuardLogStatement Logger calls should be surrounded by log level guards. 255
GuardLogStatement Logger calls should be surrounded by log level guards. 311
GuardLogStatement Logger calls should be surrounded by log level guards. 326

Waarp OpenR66 - org/waarp/openr66/client/RequestTransfer.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 71
GuardLogStatement Logger calls should be surrounded by log level guards. 117118
GuardLogStatement Logger calls should be surrounded by log level guards. 191192
GuardLogStatement Logger calls should be surrounded by log level guards. 196197
GuardLogStatement Logger calls should be surrounded by log level guards. 284285
GuardLogStatement Logger calls should be surrounded by log level guards. 293294
GuardLogStatement Logger calls should be surrounded by log level guards. 302303
GuardLogStatement Logger calls should be surrounded by log level guards. 311
GuardLogStatement Logger calls should be surrounded by log level guards. 467468
GuardLogStatement Logger calls should be surrounded by log level guards. 477
GuardLogStatement Logger calls should be surrounded by log level guards. 517518
GuardLogStatement Logger calls should be surrounded by log level guards. 576577
GuardLogStatement Logger calls should be surrounded by log level guards. 589590
GuardLogStatement Logger calls should be surrounded by log level guards. 626627
GuardLogStatement Logger calls should be surrounded by log level guards. 645
GuardLogStatement Logger calls should be surrounded by log level guards. 690
GuardLogStatement Logger calls should be surrounded by log level guards. 721
GuardLogStatement Logger calls should be surrounded by log level guards. 733
GuardLogStatement Logger calls should be surrounded by log level guards. 746
GuardLogStatement Logger calls should be surrounded by log level guards. 761
GuardLogStatement Logger calls should be surrounded by log level guards. 773
GuardLogStatement Logger calls should be surrounded by log level guards. 785
GuardLogStatement Logger calls should be surrounded by log level guards. 801
GuardLogStatement Logger calls should be surrounded by log level guards. 824
GuardLogStatement Logger calls should be surrounded by log level guards. 839
GuardLogStatement Logger calls should be surrounded by log level guards. 855
GuardLogStatement Logger calls should be surrounded by log level guards. 877
GuardLogStatement Logger calls should be surrounded by log level guards. 893
GuardLogStatement Logger calls should be surrounded by log level guards. 905
GuardLogStatement Logger calls should be surrounded by log level guards. 921

Waarp OpenR66 - org/waarp/openr66/client/SendThroughClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 161162
GuardLogStatement Logger calls should be surrounded by log level guards. 188
GuardLogStatement Logger calls should be surrounded by log level guards. 281282

Waarp OpenR66 - org/waarp/openr66/client/SpooledDirectoryTransfer.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 122
GuardLogStatement Logger calls should be surrounded by log level guards. 230231
GuardLogStatement Logger calls should be surrounded by log level guards. 241242
GuardLogStatement Logger calls should be surrounded by log level guards. 253254
GuardLogStatement Logger calls should be surrounded by log level guards. 265266
GuardLogStatement Logger calls should be surrounded by log level guards. 275276
GuardLogStatement Logger calls should be surrounded by log level guards. 288289
GuardLogStatement Logger calls should be surrounded by log level guards. 310311
GuardLogStatement Logger calls should be surrounded by log level guards. 344352
GuardLogStatement Logger calls should be surrounded by log level guards. 374375
GuardLogStatement Logger calls should be surrounded by log level guards. 377378
GuardLogStatement Logger calls should be surrounded by log level guards. 395396
GuardLogStatement Logger calls should be surrounded by log level guards. 494495
GuardLogStatement Logger calls should be surrounded by log level guards. 536539
GuardLogStatement Logger calls should be surrounded by log level guards. 604607
GuardLogStatement Logger calls should be surrounded by log level guards. 617619
AvoidReassigningParameters Avoid reassigning parameters such as 'ko' 624
GuardLogStatement Logger calls should be surrounded by log level guards. 627629
AvoidReassigningParameters Avoid reassigning parameters such as 'newSpecialId' 643
GuardLogStatement Logger calls should be surrounded by log level guards. 651655
GuardLogStatement Logger calls should be surrounded by log level guards. 668670
GuardLogStatement Logger calls should be surrounded by log level guards. 676678
GuardLogStatement Logger calls should be surrounded by log level guards. 680683
GuardLogStatement Logger calls should be surrounded by log level guards. 688690
GuardLogStatement Logger calls should be surrounded by log level guards. 692695
GuardLogStatement Logger calls should be surrounded by log level guards. 715
GuardLogStatement Logger calls should be surrounded by log level guards. 723724
AvoidReassigningParameters Avoid reassigning parameters such as 'specialId' 763
GuardLogStatement Logger calls should be surrounded by log level guards. 768770
GuardLogStatement Logger calls should be surrounded by log level guards. 10291030
GuardLogStatement Logger calls should be surrounded by log level guards. 10341035
GuardLogStatement Logger calls should be surrounded by log level guards. 11941195
GuardLogStatement Logger calls should be surrounded by log level guards. 12541255
GuardLogStatement Logger calls should be surrounded by log level guards. 13031304
GuardLogStatement Logger calls should be surrounded by log level guards. 13201322
GuardLogStatement Logger calls should be surrounded by log level guards. 1356
GuardLogStatement Logger calls should be surrounded by log level guards. 13891393

Waarp OpenR66 - org/waarp/openr66/client/SubmitTransfer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 129
GuardLogStatement Logger calls should be surrounded by log level guards. 153

Waarp OpenR66 - org/waarp/openr66/client/TransferArgs.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 263
GuardLogStatement Logger calls should be surrounded by log level guards. 293
GuardLogStatement Logger calls should be surrounded by log level guards. 298299
GuardLogStatement Logger calls should be surrounded by log level guards. 338
GuardLogStatement Logger calls should be surrounded by log level guards. 397401
GuardLogStatement Logger calls should be surrounded by log level guards. 404407
GuardLogStatement Logger calls should be surrounded by log level guards. 411414
GuardLogStatement Logger calls should be surrounded by log level guards. 475
GuardLogStatement Logger calls should be surrounded by log level guards. 491

Waarp OpenR66 - org/waarp/openr66/client/spooledService/SpooledEngine.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6061
GuardLogStatement Logger calls should be surrounded by log level guards. 103
GuardLogStatement Logger calls should be surrounded by log level guards. 124128
GuardLogStatement Logger calls should be surrounded by log level guards. 147

Waarp OpenR66 - org/waarp/openr66/client/utils/OutputFormat.java

Rule Violation Line
SystemPrintln System.out.println is used 240
SystemPrintln System.out.println is used 241

Waarp OpenR66 - org/waarp/openr66/commander/ClientRunner.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 189
GuardLogStatement Logger calls should be surrounded by log level guards. 193195
GuardLogStatement Logger calls should be surrounded by log level guards. 204
GuardLogStatement Logger calls should be surrounded by log level guards. 212
GuardLogStatement Logger calls should be surrounded by log level guards. 220
GuardLogStatement Logger calls should be surrounded by log level guards. 228
GuardLogStatement Logger calls should be surrounded by log level guards. 247248
GuardLogStatement Logger calls should be surrounded by log level guards. 251
GuardLogStatement Logger calls should be surrounded by log level guards. 271
GuardLogStatement Logger calls should be surrounded by log level guards. 277282
GuardLogStatement Logger calls should be surrounded by log level guards. 285287
GuardLogStatement Logger calls should be surrounded by log level guards. 289291
GuardLogStatement Logger calls should be surrounded by log level guards. 296298
GuardLogStatement Logger calls should be surrounded by log level guards. 300302
GuardLogStatement Logger calls should be surrounded by log level guards. 501502
GuardLogStatement Logger calls should be surrounded by log level guards. 571572
GuardLogStatement Logger calls should be surrounded by log level guards. 652
GuardLogStatement Logger calls should be surrounded by log level guards. 669670
GuardLogStatement Logger calls should be surrounded by log level guards. 683

Waarp OpenR66 - org/waarp/openr66/commander/Commander.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 175177
GuardLogStatement Logger calls should be surrounded by log level guards. 209211
GuardLogStatement Logger calls should be surrounded by log level guards. 219220
GuardLogStatement Logger calls should be surrounded by log level guards. 231232
GuardLogStatement Logger calls should be surrounded by log level guards. 259261
GuardLogStatement Logger calls should be surrounded by log level guards. 269270
GuardLogStatement Logger calls should be surrounded by log level guards. 278279
GuardLogStatement Logger calls should be surrounded by log level guards. 287288
GuardLogStatement Logger calls should be surrounded by log level guards. 465467

Waarp OpenR66 - org/waarp/openr66/commander/CommanderNoDb.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 95
GuardLogStatement Logger calls should be surrounded by log level guards. 109
GuardLogStatement Logger calls should be surrounded by log level guards. 197

Waarp OpenR66 - org/waarp/openr66/commander/InternalRunner.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 126

Waarp OpenR66 - org/waarp/openr66/commander/ThreadPoolRunnerExecutor.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 57

Waarp OpenR66 - org/waarp/openr66/configuration/AuthenticationFileBasedConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7576
GuardLogStatement Logger calls should be surrounded by log level guards. 80
GuardLogStatement Logger calls should be surrounded by log level guards. 111112
GuardLogStatement Logger calls should be surrounded by log level guards. 124
GuardLogStatement Logger calls should be surrounded by log level guards. 130
GuardLogStatement Logger calls should be surrounded by log level guards. 223

Waarp OpenR66 - org/waarp/openr66/configuration/FileBasedConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 177179
GuardLogStatement Logger calls should be surrounded by log level guards. 186187
GuardLogStatement Logger calls should be surrounded by log level guards. 222224
GuardLogStatement Logger calls should be surrounded by log level guards. 246
GuardLogStatement Logger calls should be surrounded by log level guards. 284
GuardLogStatement Logger calls should be surrounded by log level guards. 303
GuardLogStatement Logger calls should be surrounded by log level guards. 314
GuardLogStatement Logger calls should be surrounded by log level guards. 325
GuardLogStatement Logger calls should be surrounded by log level guards. 338339
GuardLogStatement Logger calls should be surrounded by log level guards. 362
GuardLogStatement Logger calls should be surrounded by log level guards. 373
GuardLogStatement Logger calls should be surrounded by log level guards. 384
GuardLogStatement Logger calls should be surrounded by log level guards. 400
GuardLogStatement Logger calls should be surrounded by log level guards. 444446
GuardLogStatement Logger calls should be surrounded by log level guards. 450452
GuardLogStatement Logger calls should be surrounded by log level guards. 456458
GuardLogStatement Logger calls should be surrounded by log level guards. 484487
GuardLogStatement Logger calls should be surrounded by log level guards. 491492
GuardLogStatement Logger calls should be surrounded by log level guards. 494495
GuardLogStatement Logger calls should be surrounded by log level guards. 501502
GuardLogStatement Logger calls should be surrounded by log level guards. 504505
GuardLogStatement Logger calls should be surrounded by log level guards. 513
GuardLogStatement Logger calls should be surrounded by log level guards. 521
GuardLogStatement Logger calls should be surrounded by log level guards. 550552
GuardLogStatement Logger calls should be surrounded by log level guards. 559561
GuardLogStatement Logger calls should be surrounded by log level guards. 577579
GuardLogStatement Logger calls should be surrounded by log level guards. 585587
GuardLogStatement Logger calls should be surrounded by log level guards. 596
GuardLogStatement Logger calls should be surrounded by log level guards. 602604
GuardLogStatement Logger calls should be surrounded by log level guards. 611613
GuardLogStatement Logger calls should be surrounded by log level guards. 618619
GuardLogStatement Logger calls should be surrounded by log level guards. 624625
GuardLogStatement Logger calls should be surrounded by log level guards. 633634
GuardLogStatement Logger calls should be surrounded by log level guards. 729
GuardLogStatement Logger calls should be surrounded by log level guards. 737
GuardLogStatement Logger calls should be surrounded by log level guards. 762764
GuardLogStatement Logger calls should be surrounded by log level guards. 767769
GuardLogStatement Logger calls should be surrounded by log level guards. 776778
GuardLogStatement Logger calls should be surrounded by log level guards. 781783
GuardLogStatement Logger calls should be surrounded by log level guards. 790792
GuardLogStatement Logger calls should be surrounded by log level guards. 795797
GuardLogStatement Logger calls should be surrounded by log level guards. 822824
GuardLogStatement Logger calls should be surrounded by log level guards. 838840
GuardLogStatement Logger calls should be surrounded by log level guards. 846847
GuardLogStatement Logger calls should be surrounded by log level guards. 854855
GuardLogStatement Logger calls should be surrounded by log level guards. 862863
GuardLogStatement Logger calls should be surrounded by log level guards. 866867
GuardLogStatement Logger calls should be surrounded by log level guards. 874875
GuardLogStatement Logger calls should be surrounded by log level guards. 878879
GuardLogStatement Logger calls should be surrounded by log level guards. 915
GuardLogStatement Logger calls should be surrounded by log level guards. 922
GuardLogStatement Logger calls should be surrounded by log level guards. 938
GuardLogStatement Logger calls should be surrounded by log level guards. 957
GuardLogStatement Logger calls should be surrounded by log level guards. 992
GuardLogStatement Logger calls should be surrounded by log level guards. 10011002
GuardLogStatement Logger calls should be surrounded by log level guards. 1011
GuardLogStatement Logger calls should be surrounded by log level guards. 1019
GuardLogStatement Logger calls should be surrounded by log level guards. 13841386
GuardLogStatement Logger calls should be surrounded by log level guards. 13891391
GuardLogStatement Logger calls should be surrounded by log level guards. 14501452
GuardLogStatement Logger calls should be surrounded by log level guards. 15181519
GuardLogStatement Logger calls should be surrounded by log level guards. 15301531
GuardLogStatement Logger calls should be surrounded by log level guards. 15341536
GuardLogStatement Logger calls should be surrounded by log level guards. 15401541
GuardLogStatement Logger calls should be surrounded by log level guards. 1576
GuardLogStatement Logger calls should be surrounded by log level guards. 15841586
GuardLogStatement Logger calls should be surrounded by log level guards. 15921594
GuardLogStatement Logger calls should be surrounded by log level guards. 16001602
GuardLogStatement Logger calls should be surrounded by log level guards. 16101612
GuardLogStatement Logger calls should be surrounded by log level guards. 1623
GuardLogStatement Logger calls should be surrounded by log level guards. 1626
GuardLogStatement Logger calls should be surrounded by log level guards. 16581659
GuardLogStatement Logger calls should be surrounded by log level guards. 16701672
GuardLogStatement Logger calls should be surrounded by log level guards. 17141715
GuardLogStatement Logger calls should be surrounded by log level guards. 1809
GuardLogStatement Logger calls should be surrounded by log level guards. 19011902
GuardLogStatement Logger calls should be surrounded by log level guards. 19721974
GuardLogStatement Logger calls should be surrounded by log level guards. 19781980
GuardLogStatement Logger calls should be surrounded by log level guards. 19931994
GuardLogStatement Logger calls should be surrounded by log level guards. 20192021
GuardLogStatement Logger calls should be surrounded by log level guards. 20252027
GuardLogStatement Logger calls should be surrounded by log level guards. 20892091
GuardLogStatement Logger calls should be surrounded by log level guards. 20952097
GuardLogStatement Logger calls should be surrounded by log level guards. 21712173
GuardLogStatement Logger calls should be surrounded by log level guards. 21772179
GuardLogStatement Logger calls should be surrounded by log level guards. 22572259
GuardLogStatement Logger calls should be surrounded by log level guards. 22632265
GuardLogStatement Logger calls should be surrounded by log level guards. 23712373
GuardLogStatement Logger calls should be surrounded by log level guards. 23772379
GuardLogStatement Logger calls should be surrounded by log level guards. 2424
GuardLogStatement Logger calls should be surrounded by log level guards. 24252426
GuardLogStatement Logger calls should be surrounded by log level guards. 24752477
GuardLogStatement Logger calls should be surrounded by log level guards. 24812483

Waarp OpenR66 - org/waarp/openr66/configuration/RuleFileBasedConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 173
GuardLogStatement Logger calls should be surrounded by log level guards. 244
GuardLogStatement Logger calls should be surrounded by log level guards. 309310
GuardLogStatement Logger calls should be surrounded by log level guards. 315
GuardLogStatement Logger calls should be surrounded by log level guards. 347348
GuardLogStatement Logger calls should be surrounded by log level guards. 353
GuardLogStatement Logger calls should be surrounded by log level guards. 732

Waarp OpenR66 - org/waarp/openr66/context/R66Session.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 228229
AvoidReassigningParameters Avoid reassigning parameters such as 'softReference' 354
GuardLogStatement Logger calls should be surrounded by log level guards. 586587
GuardLogStatement Logger calls should be surrounded by log level guards. 699
GuardLogStatement Logger calls should be surrounded by log level guards. 792793
GuardLogStatement Logger calls should be surrounded by log level guards. 859
GuardLogStatement Logger calls should be surrounded by log level guards. 899
GuardLogStatement Logger calls should be surrounded by log level guards. 913914
GuardLogStatement Logger calls should be surrounded by log level guards. 923
GuardLogStatement Logger calls should be surrounded by log level guards. 10161017
GuardLogStatement Logger calls should be surrounded by log level guards. 1018
GuardLogStatement Logger calls should be surrounded by log level guards. 1085
GuardLogStatement Logger calls should be surrounded by log level guards. 1086
GuardLogStatement Logger calls should be surrounded by log level guards. 12211222
GuardLogStatement Logger calls should be surrounded by log level guards. 1287
GuardLogStatement Logger calls should be surrounded by log level guards. 1293
GuardLogStatement Logger calls should be surrounded by log level guards. 13011304

Waarp OpenR66 - org/waarp/openr66/context/authentication/R66Auth.java

Rule Violation Line
ProperCloneImplementation Object clone() should be implemented with super.clone() 7586
GuardLogStatement Logger calls should be surrounded by log level guards. 146
GuardLogStatement Logger calls should be surrounded by log level guards. 281282
GuardLogStatement Logger calls should be surrounded by log level guards. 346
GuardLogStatement Logger calls should be surrounded by log level guards. 352

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66File.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 116118
GuardLogStatement Logger calls should be surrounded by log level guards. 122124
GuardLogStatement Logger calls should be surrounded by log level guards. 130
GuardLogStatement Logger calls should be surrounded by log level guards. 287
GuardLogStatement Logger calls should be surrounded by log level guards. 314315
GuardLogStatement Logger calls should be surrounded by log level guards. 356357
GuardLogStatement Logger calls should be surrounded by log level guards. 428429
GuardLogStatement Logger calls should be surrounded by log level guards. 432
GuardLogStatement Logger calls should be surrounded by log level guards. 452
GuardLogStatement Logger calls should be surrounded by log level guards. 455
GuardLogStatement Logger calls should be surrounded by log level guards. 498499
GuardLogStatement Logger calls should be surrounded by log level guards. 507
GuardLogStatement Logger calls should be surrounded by log level guards. 587
GuardLogStatement Logger calls should be surrounded by log level guards. 653
GuardLogStatement Logger calls should be surrounded by log level guards. 671

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractExecTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 91
GuardLogStatement Logger calls should be surrounded by log level guards. 173175
GuardLogStatement Logger calls should be surrounded by log level guards. 254256
GuardLogStatement Logger calls should be surrounded by log level guards. 269271
GuardLogStatement Logger calls should be surrounded by log level guards. 311312

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 297299
GuardLogStatement Logger calls should be surrounded by log level guards. 353
GuardLogStatement Logger calls should be surrounded by log level guards. 373
AvoidReassigningParameters Avoid reassigning parameters such as 'dir' 668

Waarp OpenR66 - org/waarp/openr66/context/task/ChModTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 156157

Waarp OpenR66 - org/waarp/openr66/context/task/CompressTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7475
GuardLogStatement Logger calls should be surrounded by log level guards. 8789
GuardLogStatement Logger calls should be surrounded by log level guards. 9698
GuardLogStatement Logger calls should be surrounded by log level guards. 103104

Waarp OpenR66 - org/waarp/openr66/context/task/CopyRenameTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5557
GuardLogStatement Logger calls should be surrounded by log level guards. 7274

Waarp OpenR66 - org/waarp/openr66/context/task/CopyTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5557
GuardLogStatement Logger calls should be surrounded by log level guards. 6263
GuardLogStatement Logger calls should be surrounded by log level guards. 7071

Waarp OpenR66 - org/waarp/openr66/context/task/DeleteTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5758

Waarp OpenR66 - org/waarp/openr66/context/task/ExecBusinessTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 77
GuardLogStatement Logger calls should be surrounded by log level guards. 82

Waarp OpenR66 - org/waarp/openr66/context/task/ExecJavaTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7375
GuardLogStatement Logger calls should be surrounded by log level guards. 95
GuardLogStatement Logger calls should be surrounded by log level guards. 114115
GuardLogStatement Logger calls should be surrounded by log level guards. 135
GuardLogStatement Logger calls should be surrounded by log level guards. 176177
GuardLogStatement Logger calls should be surrounded by log level guards. 198
GuardLogStatement Logger calls should be surrounded by log level guards. 207

Waarp OpenR66 - org/waarp/openr66/context/task/ExecMoveTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 142143
GuardLogStatement Logger calls should be surrounded by log level guards. 150
GuardLogStatement Logger calls should be surrounded by log level guards. 157158
GuardLogStatement Logger calls should be surrounded by log level guards. 164165
GuardLogStatement Logger calls should be surrounded by log level guards. 176177
GuardLogStatement Logger calls should be surrounded by log level guards. 185186

Waarp OpenR66 - org/waarp/openr66/context/task/ExecOutputTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 160161
GuardLogStatement Logger calls should be surrounded by log level guards. 170171
GuardLogStatement Logger calls should be surrounded by log level guards. 178179
GuardLogStatement Logger calls should be surrounded by log level guards. 185186
GuardLogStatement Logger calls should be surrounded by log level guards. 190191
GuardLogStatement Logger calls should be surrounded by log level guards. 204205

Waarp OpenR66 - org/waarp/openr66/context/task/ExecTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6465
GuardLogStatement Logger calls should be surrounded by log level guards. 120
GuardLogStatement Logger calls should be surrounded by log level guards. 125
GuardLogStatement Logger calls should be surrounded by log level guards. 136137

Waarp OpenR66 - org/waarp/openr66/context/task/FileCheckTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 77
GuardLogStatement Logger calls should be surrounded by log level guards. 85
GuardLogStatement Logger calls should be surrounded by log level guards. 126127
GuardLogStatement Logger calls should be surrounded by log level guards. 130132
GuardLogStatement Logger calls should be surrounded by log level guards. 150152
GuardLogStatement Logger calls should be surrounded by log level guards. 163165

Waarp OpenR66 - org/waarp/openr66/context/task/FtpTransferTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 113115
GuardLogStatement Logger calls should be surrounded by log level guards. 127128
GuardLogStatement Logger calls should be surrounded by log level guards. 144
GuardLogStatement Logger calls should be surrounded by log level guards. 171
GuardLogStatement Logger calls should be surrounded by log level guards. 183
GuardLogStatement Logger calls should be surrounded by log level guards. 202
GuardLogStatement Logger calls should be surrounded by log level guards. 221
GuardLogStatement Logger calls should be surrounded by log level guards. 242

Waarp OpenR66 - org/waarp/openr66/context/task/IcapTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 105106
GuardLogStatement Logger calls should be surrounded by log level guards. 125127
GuardLogStatement Logger calls should be surrounded by log level guards. 132134
GuardLogStatement Logger calls should be surrounded by log level guards. 139141
GuardLogStatement Logger calls should be surrounded by log level guards. 150152
GuardLogStatement Logger calls should be surrounded by log level guards. 157159
GuardLogStatement Logger calls should be surrounded by log level guards. 164166
GuardLogStatement Logger calls should be surrounded by log level guards. 196198
GuardLogStatement Logger calls should be surrounded by log level guards. 202205

Waarp OpenR66 - org/waarp/openr66/context/task/LinkRenameTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7173

Waarp OpenR66 - org/waarp/openr66/context/task/LogTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 85
GuardLogStatement Logger calls should be surrounded by log level guards. 88
GuardLogStatement Logger calls should be surrounded by log level guards. 112
GuardLogStatement Logger calls should be surrounded by log level guards. 124
GuardLogStatement Logger calls should be surrounded by log level guards. 144

Waarp OpenR66 - org/waarp/openr66/context/task/MoveRenameTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6567

Waarp OpenR66 - org/waarp/openr66/context/task/MoveTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5455
GuardLogStatement Logger calls should be surrounded by log level guards. 6870

Waarp OpenR66 - org/waarp/openr66/context/task/RenameTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6365
GuardLogStatement Logger calls should be surrounded by log level guards. 7375

Waarp OpenR66 - org/waarp/openr66/context/task/RescheduleTransferTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 175
GuardLogStatement Logger calls should be surrounded by log level guards. 196197
GuardLogStatement Logger calls should be surrounded by log level guards. 205206
GuardLogStatement Logger calls should be surrounded by log level guards. 227228
GuardLogStatement Logger calls should be surrounded by log level guards. 240242
GuardLogStatement Logger calls should be surrounded by log level guards. 251253
GuardLogStatement Logger calls should be surrounded by log level guards. 326
GuardLogStatement Logger calls should be surrounded by log level guards. 370371
GuardLogStatement Logger calls should be surrounded by log level guards. 376377
GuardLogStatement Logger calls should be surrounded by log level guards. 417418
GuardLogStatement Logger calls should be surrounded by log level guards. 423424
GuardLogStatement Logger calls should be surrounded by log level guards. 431433
GuardLogStatement Logger calls should be surrounded by log level guards. 436

Waarp OpenR66 - org/waarp/openr66/context/task/RestartServerTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6465
GuardLogStatement Logger calls should be surrounded by log level guards. 7980

Waarp OpenR66 - org/waarp/openr66/context/task/SpooledInformTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9498
GuardLogStatement Logger calls should be surrounded by log level guards. 137138
GuardLogStatement Logger calls should be surrounded by log level guards. 140141
GuardLogStatement Logger calls should be surrounded by log level guards. 143
GuardLogStatement Logger calls should be surrounded by log level guards. 161

Waarp OpenR66 - org/waarp/openr66/context/task/TarTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 89
GuardLogStatement Logger calls should be surrounded by log level guards. 9597

Waarp OpenR66 - org/waarp/openr66/context/task/TaskType.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7879
GuardLogStatement Logger calls should be surrounded by log level guards. 117118
GuardLogStatement Logger calls should be surrounded by log level guards. 237
GuardLogStatement Logger calls should be surrounded by log level guards. 266
GuardLogStatement Logger calls should be surrounded by log level guards. 269
GuardLogStatement Logger calls should be surrounded by log level guards. 301
GuardLogStatement Logger calls should be surrounded by log level guards. 305
GuardLogStatement Logger calls should be surrounded by log level guards. 354

Waarp OpenR66 - org/waarp/openr66/context/task/TranscodeTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 126128
GuardLogStatement Logger calls should be surrounded by log level guards. 138139
GuardLogStatement Logger calls should be surrounded by log level guards. 153155
GuardLogStatement Logger calls should be surrounded by log level guards. 183184
GuardLogStatement Logger calls should be surrounded by log level guards. 192193

Waarp OpenR66 - org/waarp/openr66/context/task/TransferTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 138140
GuardLogStatement Logger calls should be surrounded by log level guards. 175178
GuardLogStatement Logger calls should be surrounded by log level guards. 185186

Waarp OpenR66 - org/waarp/openr66/context/task/UnzeroedFileTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 79
GuardLogStatement Logger calls should be surrounded by log level guards. 86
GuardLogStatement Logger calls should be surrounded by log level guards. 9697

Waarp OpenR66 - org/waarp/openr66/context/task/ValidFilePathTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 81

Waarp OpenR66 - org/waarp/openr66/context/task/ZipTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 88
GuardLogStatement Logger calls should be surrounded by log level guards. 9597

Waarp OpenR66 - org/waarp/openr66/context/task/javatask/AddDigestJavaTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 90
GuardLogStatement Logger calls should be surrounded by log level guards. 100101
GuardLogStatement Logger calls should be surrounded by log level guards. 125

Waarp OpenR66 - org/waarp/openr66/context/task/javatask/AddUuidJavaTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 98

Waarp OpenR66 - org/waarp/openr66/context/task/localexec/LocalExecClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 129131
GuardLogStatement Logger calls should be surrounded by log level guards. 152

Waarp OpenR66 - org/waarp/openr66/context/task/test/TestBusinessFactory.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 53
GuardLogStatement Logger calls should be surrounded by log level guards. 59
GuardLogStatement Logger calls should be surrounded by log level guards. 70
GuardLogStatement Logger calls should be surrounded by log level guards. 75
GuardLogStatement Logger calls should be surrounded by log level guards. 81
GuardLogStatement Logger calls should be surrounded by log level guards. 87
GuardLogStatement Logger calls should be surrounded by log level guards. 93
GuardLogStatement Logger calls should be surrounded by log level guards. 99
GuardLogStatement Logger calls should be surrounded by log level guards. 105
GuardLogStatement Logger calls should be surrounded by log level guards. 111

Waarp OpenR66 - org/waarp/openr66/context/task/test/TestExecJavaTask.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 81
GuardLogStatement Logger calls should be surrounded by log level guards. 87
GuardLogStatement Logger calls should be surrounded by log level guards. 89

Waarp OpenR66 - org/waarp/openr66/dao/database/StatementExecutor.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 149150
GuardLogStatement Logger calls should be surrounded by log level guards. 161162
GuardLogStatement Logger calls should be surrounded by log level guards. 170171

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLRuleDAO.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 116
GuardLogStatement Logger calls should be surrounded by log level guards. 305

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLTransferDAO.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 480482

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLUtils.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 68
GuardLogStatement Logger calls should be surrounded by log level guards. 70

Waarp OpenR66 - org/waarp/openr66/database/data/AbstractDbDataDao.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 308
GuardLogStatement Logger calls should be surrounded by log level guards. 331

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostAuth.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 157
GuardLogStatement Logger calls should be surrounded by log level guards. 220
GuardLogStatement Logger calls should be surrounded by log level guards. 247248

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 363364
GuardLogStatement Logger calls should be surrounded by log level guards. 373375
GuardLogStatement Logger calls should be surrounded by log level guards. 379380
GuardLogStatement Logger calls should be surrounded by log level guards. 734736
GuardLogStatement Logger calls should be surrounded by log level guards. 741742
GuardLogStatement Logger calls should be surrounded by log level guards. 888
GuardLogStatement Logger calls should be surrounded by log level guards. 905906
GuardLogStatement Logger calls should be surrounded by log level guards. 934936
GuardLogStatement Logger calls should be surrounded by log level guards. 941942
GuardLogStatement Logger calls should be surrounded by log level guards. 1129
GuardLogStatement Logger calls should be surrounded by log level guards. 1157

Waarp OpenR66 - org/waarp/openr66/database/data/DbRule.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'idsArrayRef' 273
GuardLogStatement Logger calls should be surrounded by log level guards. 555556

Waarp OpenR66 - org/waarp/openr66/database/data/DbTaskRunner.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 353354
GuardLogStatement Logger calls should be surrounded by log level guards. 866867
GuardLogStatement Logger calls should be surrounded by log level guards. 11821183
GuardLogStatement Logger calls should be surrounded by log level guards. 19391940
GuardLogStatement Logger calls should be surrounded by log level guards. 21662167
GuardLogStatement Logger calls should be surrounded by log level guards. 22692270
GuardLogStatement Logger calls should be surrounded by log level guards. 2351
GuardLogStatement Logger calls should be surrounded by log level guards. 2353
GuardLogStatement Logger calls should be surrounded by log level guards. 3161
GuardLogStatement Logger calls should be surrounded by log level guards. 3286
AvoidReassigningParameters Avoid reassigning parameters such as 'localChannelReference' 3328
GuardLogStatement Logger calls should be surrounded by log level guards. 33973398
GuardLogStatement Logger calls should be surrounded by log level guards. 35333534
GuardLogStatement Logger calls should be surrounded by log level guards. 3537
GuardLogStatement Logger calls should be surrounded by log level guards. 3540
GuardLogStatement Logger calls should be surrounded by log level guards. 35563557
GuardLogStatement Logger calls should be surrounded by log level guards. 3623
GuardLogStatement Logger calls should be surrounded by log level guards. 36833684
GuardLogStatement Logger calls should be surrounded by log level guards. 3811
GuardLogStatement Logger calls should be surrounded by log level guards. 4192
GuardLogStatement Logger calls should be surrounded by log level guards. 4274
GuardLogStatement Logger calls should be surrounded by log level guards. 4277
GuardLogStatement Logger calls should be surrounded by log level guards. 4291
GuardLogStatement Logger calls should be surrounded by log level guards. 4300
GuardLogStatement Logger calls should be surrounded by log level guards. 4566

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelFactoryR66.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'version' 120
GuardLogStatement Logger calls should be surrounded by log level guards. 410

Waarp OpenR66 - org/waarp/openr66/pojo/UpdatedInfo.java

Rule Violation Line
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 8183

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Configuration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 684685
GuardLogStatement Logger calls should be surrounded by log level guards. 822823
GuardLogStatement Logger calls should be surrounded by log level guards. 852853
GuardLogStatement Logger calls should be surrounded by log level guards. 855856
GuardLogStatement Logger calls should be surrounded by log level guards. 858859
GuardLogStatement Logger calls should be surrounded by log level guards. 899
GuardLogStatement Logger calls should be surrounded by log level guards. 901
GuardLogStatement Logger calls should be surrounded by log level guards. 918919
GuardLogStatement Logger calls should be surrounded by log level guards. 967971
GuardLogStatement Logger calls should be surrounded by log level guards. 991992
GuardLogStatement Logger calls should be surrounded by log level guards. 10071008
GuardLogStatement Logger calls should be surrounded by log level guards. 10291032
GuardLogStatement Logger calls should be surrounded by log level guards. 10761078
AvoidReassigningParameters Avoid reassigning parameters such as 'writeGlobalLimit' 1352
AvoidReassigningParameters Avoid reassigning parameters such as 'readGlobalLimit' 1355
AvoidReassigningParameters Avoid reassigning parameters such as 'writeSessionLimit' 1358
AvoidReassigningParameters Avoid reassigning parameters such as 'readSessionLimit' 1361
GuardLogStatement Logger calls should be surrounded by log level guards. 13831384
GuardLogStatement Logger calls should be surrounded by log level guards. 13991400
GuardLogStatement Logger calls should be surrounded by log level guards. 1571
GuardLogStatement Logger calls should be surrounded by log level guards. 1581
GuardLogStatement Logger calls should be surrounded by log level guards. 1586
GuardLogStatement Logger calls should be surrounded by log level guards. 1591
GuardLogStatement Logger calls should be surrounded by log level guards. 1596
GuardLogStatement Logger calls should be surrounded by log level guards. 1601
GuardLogStatement Logger calls should be surrounded by log level guards. 28782879
GuardLogStatement Logger calls should be surrounded by log level guards. 2928

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Messages.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'locale' 59

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/PartnerConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 327328
GuardLogStatement Logger calls should be surrounded by log level guards. 383384
GuardLogStatement Logger calls should be surrounded by log level guards. 435436

Waarp OpenR66 - org/waarp/openr66/protocol/exception/OpenR66ExceptionTrappedFactory.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6364
GuardLogStatement Logger calls should be surrounded by log level guards. 6971
GuardLogStatement Logger calls should be surrounded by log level guards. 76
GuardLogStatement Logger calls should be surrounded by log level guards. 91
GuardLogStatement Logger calls should be surrounded by log level guards. 9697
GuardLogStatement Logger calls should be surrounded by log level guards. 102103
GuardLogStatement Logger calls should be surrounded by log level guards. 108
GuardLogStatement Logger calls should be surrounded by log level guards. 113
GuardLogStatement Logger calls should be surrounded by log level guards. 118
GuardLogStatement Logger calls should be surrounded by log level guards. 123
GuardLogStatement Logger calls should be surrounded by log level guards. 128
GuardLogStatement Logger calls should be surrounded by log level guards. 133
GuardLogStatement Logger calls should be surrounded by log level guards. 137
GuardLogStatement Logger calls should be surrounded by log level guards. 141
GuardLogStatement Logger calls should be surrounded by log level guards. 145
GuardLogStatement Logger calls should be surrounded by log level guards. 153154
GuardLogStatement Logger calls should be surrounded by log level guards. 159160
GuardLogStatement Logger calls should be surrounded by log level guards. 171172
GuardLogStatement Logger calls should be surrounded by log level guards. 183
GuardLogStatement Logger calls should be surrounded by log level guards. 191193

Waarp OpenR66 - org/waarp/openr66/protocol/http/HttpFormattedHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 184
GuardLogStatement Logger calls should be surrounded by log level guards. 288290
GuardLogStatement Logger calls should be surrounded by log level guards. 523
GuardLogStatement Logger calls should be surrounded by log level guards. 582
GuardLogStatement Logger calls should be surrounded by log level guards. 615
GuardLogStatement Logger calls should be surrounded by log level guards. 646
GuardLogStatement Logger calls should be surrounded by log level guards. 712
GuardLogStatement Logger calls should be surrounded by log level guards. 919

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpResponsiveSslHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 226
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 227
AvoidReassigningParameters Avoid reassigning parameters such as 'head' 292
AvoidReassigningParameters Avoid reassigning parameters such as 'head' 496
GuardLogStatement Logger calls should be surrounded by log level guards. 498
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 499
GuardLogStatement Logger calls should be surrounded by log level guards. 605
GuardLogStatement Logger calls should be surrounded by log level guards. 610
GuardLogStatement Logger calls should be surrounded by log level guards. 615
GuardLogStatement Logger calls should be surrounded by log level guards. 642
GuardLogStatement Logger calls should be surrounded by log level guards. 683
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 684
GuardLogStatement Logger calls should be surrounded by log level guards. 813
GuardLogStatement Logger calls should be surrounded by log level guards. 903
GuardLogStatement Logger calls should be surrounded by log level guards. 930
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 931
GuardLogStatement Logger calls should be surrounded by log level guards. 1226
GuardLogStatement Logger calls should be surrounded by log level guards. 1242
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 1243
GuardLogStatement Logger calls should be surrounded by log level guards. 1848
GuardLogStatement Logger calls should be surrounded by log level guards. 18881890
GuardLogStatement Logger calls should be surrounded by log level guards. 20062009
GuardLogStatement Logger calls should be surrounded by log level guards. 20332034
GuardLogStatement Logger calls should be surrounded by log level guards. 22762277
GuardLogStatement Logger calls should be surrounded by log level guards. 2285

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpSslHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 289
GuardLogStatement Logger calls should be surrounded by log level guards. 528529
GuardLogStatement Logger calls should be surrounded by log level guards. 539
GuardLogStatement Logger calls should be surrounded by log level guards. 659660
GuardLogStatement Logger calls should be surrounded by log level guards. 669
GuardLogStatement Logger calls should be surrounded by log level guards. 766767
GuardLogStatement Logger calls should be surrounded by log level guards. 775
GuardLogStatement Logger calls should be surrounded by log level guards. 1001
GuardLogStatement Logger calls should be surrounded by log level guards. 1006
GuardLogStatement Logger calls should be surrounded by log level guards. 1011
GuardLogStatement Logger calls should be surrounded by log level guards. 1038
GuardLogStatement Logger calls should be surrounded by log level guards. 1163
GuardLogStatement Logger calls should be surrounded by log level guards. 1358
GuardLogStatement Logger calls should be surrounded by log level guards. 21342136
GuardLogStatement Logger calls should be surrounded by log level guards. 22362239
GuardLogStatement Logger calls should be surrounded by log level guards. 22632264
GuardLogStatement Logger calls should be surrounded by log level guards. 2573

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/client/HttpRestR66ClientResponseHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 103
GuardLogStatement Logger calls should be surrounded by log level guards. 357358
GuardLogStatement Logger calls should be surrounded by log level guards. 369371
GuardLogStatement Logger calls should be surrounded by log level guards. 373374
GuardLogStatement Logger calls should be surrounded by log level guards. 411
GuardLogStatement Logger calls should be surrounded by log level guards. 450

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestAbstractR66Handler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 99
GuardLogStatement Logger calls should be surrounded by log level guards. 192193
GuardLogStatement Logger calls should be surrounded by log level guards. 196
GuardLogStatement Logger calls should be surrounded by log level guards. 199
GuardLogStatement Logger calls should be surrounded by log level guards. 202

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestBusinessR66Handler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 144

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestInformationR66Handler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 121

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestServerR66Handler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 141142

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestHandlerHook.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 148
GuardLogStatement Logger calls should be surrounded by log level guards. 232237
GuardLogStatement Logger calls should be surrounded by log level guards. 441446

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestVersionHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 86

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/ConnectionActions.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 182183
GuardLogStatement Logger calls should be surrounded by log level guards. 268
GuardLogStatement Logger calls should be surrounded by log level guards. 289
GuardLogStatement Logger calls should be surrounded by log level guards. 302304
GuardLogStatement Logger calls should be surrounded by log level guards. 321323
AvoidReassigningParameters Avoid reassigning parameters such as 'e1' 326
GuardLogStatement Logger calls should be surrounded by log level guards. 345347
GuardLogStatement Logger calls should be surrounded by log level guards. 379
GuardLogStatement Logger calls should be surrounded by log level guards. 403404
GuardLogStatement Logger calls should be surrounded by log level guards. 513514
GuardLogStatement Logger calls should be surrounded by log level guards. 584
GuardLogStatement Logger calls should be surrounded by log level guards. 616

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalChannelReference.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 364365
GuardLogStatement Logger calls should be surrounded by log level guards. 423424
GuardLogStatement Logger calls should be surrounded by log level guards. 542543
GuardLogStatement Logger calls should be surrounded by log level guards. 581582

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalServerHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 112
GuardLogStatement Logger calls should be surrounded by log level guards. 138
GuardLogStatement Logger calls should be surrounded by log level guards. 141142
GuardLogStatement Logger calls should be surrounded by log level guards. 171173
GuardLogStatement Logger calls should be surrounded by log level guards. 177180
GuardLogStatement Logger calls should be surrounded by log level guards. 193194
GuardLogStatement Logger calls should be surrounded by log level guards. 256
GuardLogStatement Logger calls should be surrounded by log level guards. 299301
GuardLogStatement Logger calls should be surrounded by log level guards. 361
GuardLogStatement Logger calls should be surrounded by log level guards. 542
GuardLogStatement Logger calls should be surrounded by log level guards. 547
GuardLogStatement Logger calls should be surrounded by log level guards. 563565

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalTransaction.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 173
GuardLogStatement Logger calls should be surrounded by log level guards. 247248

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/RetrieveRunner.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 138139

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/ServerActions.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 171174
GuardLogStatement Logger calls should be surrounded by log level guards. 206
GuardLogStatement Logger calls should be surrounded by log level guards. 314
GuardLogStatement Logger calls should be surrounded by log level guards. 432
GuardLogStatement Logger calls should be surrounded by log level guards. 814
GuardLogStatement Logger calls should be surrounded by log level guards. 884
GuardLogStatement Logger calls should be surrounded by log level guards. 1179
GuardLogStatement Logger calls should be surrounded by log level guards. 1292
GuardLogStatement Logger calls should be surrounded by log level guards. 13171318
GuardLogStatement Logger calls should be surrounded by log level guards. 1473
GuardLogStatement Logger calls should be surrounded by log level guards. 1484
GuardLogStatement Logger calls should be surrounded by log level guards. 1487
GuardLogStatement Logger calls should be surrounded by log level guards. 1530
GuardLogStatement Logger calls should be surrounded by log level guards. 1533
GuardLogStatement Logger calls should be surrounded by log level guards. 1552
GuardLogStatement Logger calls should be surrounded by log level guards. 1593
GuardLogStatement Logger calls should be surrounded by log level guards. 1596
GuardLogStatement Logger calls should be surrounded by log level guards. 1620
GuardLogStatement Logger calls should be surrounded by log level guards. 1623
GuardLogStatement Logger calls should be surrounded by log level guards. 1646
GuardLogStatement Logger calls should be surrounded by log level guards. 1649
GuardLogStatement Logger calls should be surrounded by log level guards. 1667
AvoidReassigningParameters Avoid reassigning parameters such as 'bhost' 1770
AvoidReassigningParameters Avoid reassigning parameters such as 'brule' 1783
AvoidReassigningParameters Avoid reassigning parameters such as 'bbusiness' 1808
AvoidReassigningParameters Avoid reassigning parameters such as 'balias' 1824
AvoidReassigningParameters Avoid reassigning parameters such as 'broles' 1840
GuardLogStatement Logger calls should be surrounded by log level guards. 18901893
GuardLogStatement Logger calls should be surrounded by log level guards. 2039
AvoidReassigningParameters Avoid reassigning parameters such as 'stopid' 2083
GuardLogStatement Logger calls should be surrounded by log level guards. 2160
GuardLogStatement Logger calls should be surrounded by log level guards. 2208
GuardLogStatement Logger calls should be surrounded by log level guards. 2240
GuardLogStatement Logger calls should be surrounded by log level guards. 23312333
GuardLogStatement Logger calls should be surrounded by log level guards. 24422443
GuardLogStatement Logger calls should be surrounded by log level guards. 2460
GuardLogStatement Logger calls should be surrounded by log level guards. 2515
GuardLogStatement Logger calls should be surrounded by log level guards. 25262527
GuardLogStatement Logger calls should be surrounded by log level guards. 2560
GuardLogStatement Logger calls should be surrounded by log level guards. 2631
GuardLogStatement Logger calls should be surrounded by log level guards. 2650
GuardLogStatement Logger calls should be surrounded by log level guards. 27002701
GuardLogStatement Logger calls should be surrounded by log level guards. 27022703
GuardLogStatement Logger calls should be surrounded by log level guards. 27112712
GuardLogStatement Logger calls should be surrounded by log level guards. 2713
GuardLogStatement Logger calls should be surrounded by log level guards. 27932794
GuardLogStatement Logger calls should be surrounded by log level guards. 2812
GuardLogStatement Logger calls should be surrounded by log level guards. 2829

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/TransferActions.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 107110
GuardLogStatement Logger calls should be surrounded by log level guards. 120
GuardLogStatement Logger calls should be surrounded by log level guards. 122
GuardLogStatement Logger calls should be surrounded by log level guards. 125
GuardLogStatement Logger calls should be surrounded by log level guards. 178179
AvoidReassigningParameters Avoid reassigning parameters such as 'packet' 188
GuardLogStatement Logger calls should be surrounded by log level guards. 212
GuardLogStatement Logger calls should be surrounded by log level guards. 221222
GuardLogStatement Logger calls should be surrounded by log level guards. 223226
GuardLogStatement Logger calls should be surrounded by log level guards. 227232
GuardLogStatement Logger calls should be surrounded by log level guards. 256257
GuardLogStatement Logger calls should be surrounded by log level guards. 264
GuardLogStatement Logger calls should be surrounded by log level guards. 271
GuardLogStatement Logger calls should be surrounded by log level guards. 314315
AvoidReassigningParameters Avoid reassigning parameters such as 'packet' 318
GuardLogStatement Logger calls should be surrounded by log level guards. 340341
GuardLogStatement Logger calls should be surrounded by log level guards. 356357
GuardLogStatement Logger calls should be surrounded by log level guards. 370
GuardLogStatement Logger calls should be surrounded by log level guards. 374375
GuardLogStatement Logger calls should be surrounded by log level guards. 389390
AvoidReassigningParameters Avoid reassigning parameters such as 'shouldInformBack' 392
GuardLogStatement Logger calls should be surrounded by log level guards. 441
GuardLogStatement Logger calls should be surrounded by log level guards. 443
GuardLogStatement Logger calls should be surrounded by log level guards. 446
GuardLogStatement Logger calls should be surrounded by log level guards. 467468
GuardLogStatement Logger calls should be surrounded by log level guards. 513
GuardLogStatement Logger calls should be surrounded by log level guards. 549
GuardLogStatement Logger calls should be surrounded by log level guards. 569
GuardLogStatement Logger calls should be surrounded by log level guards. 576578
GuardLogStatement Logger calls should be surrounded by log level guards. 579
GuardLogStatement Logger calls should be surrounded by log level guards. 619620
GuardLogStatement Logger calls should be surrounded by log level guards. 646
GuardLogStatement Logger calls should be surrounded by log level guards. 652
GuardLogStatement Logger calls should be surrounded by log level guards. 670671
GuardLogStatement Logger calls should be surrounded by log level guards. 683684
GuardLogStatement Logger calls should be surrounded by log level guards. 707710
GuardLogStatement Logger calls should be surrounded by log level guards. 733
GuardLogStatement Logger calls should be surrounded by log level guards. 832833
GuardLogStatement Logger calls should be surrounded by log level guards. 846847
GuardLogStatement Logger calls should be surrounded by log level guards. 850853
GuardLogStatement Logger calls should be surrounded by log level guards. 862863
GuardLogStatement Logger calls should be surrounded by log level guards. 871872
GuardLogStatement Logger calls should be surrounded by log level guards. 880881
GuardLogStatement Logger calls should be surrounded by log level guards. 895898
GuardLogStatement Logger calls should be surrounded by log level guards. 916919
GuardLogStatement Logger calls should be surrounded by log level guards. 932935
GuardLogStatement Logger calls should be surrounded by log level guards. 957958
GuardLogStatement Logger calls should be surrounded by log level guards. 971972
GuardLogStatement Logger calls should be surrounded by log level guards. 10141016
GuardLogStatement Logger calls should be surrounded by log level guards. 1030
GuardLogStatement Logger calls should be surrounded by log level guards. 10491050
GuardLogStatement Logger calls should be surrounded by log level guards. 1093
GuardLogStatement Logger calls should be surrounded by log level guards. 11011103
GuardLogStatement Logger calls should be surrounded by log level guards. 11091110
GuardLogStatement Logger calls should be surrounded by log level guards. 1332
GuardLogStatement Logger calls should be surrounded by log level guards. 1413
GuardLogStatement Logger calls should be surrounded by log level guards. 14611463

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/DataPacket.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 237240

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/RequestPacket.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 381
GuardLogStatement Logger calls should be surrounded by log level guards. 405

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/compression/ZstdCompressionCodecDataPacket.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6769
GuardLogStatement Logger calls should be surrounded by log level guards. 100101

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/TransferRequestJsonPacket.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'fileInformation' 263

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClient.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 121
GuardLogStatement Logger calls should be surrounded by log level guards. 202
GuardLogStatement Logger calls should be surrounded by log level guards. 234235

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/MonitorExporterTransfers.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 191
GuardLogStatement Logger calls should be surrounded by log level guards. 199
GuardLogStatement Logger calls should be surrounded by log level guards. 280
GuardLogStatement Logger calls should be surrounded by log level guards. 296
GuardLogStatement Logger calls should be surrounded by log level guards. 304
GuardLogStatement Logger calls should be surrounded by log level guards. 333
GuardLogStatement Logger calls should be surrounded by log level guards. 335

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkServerHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 123125
GuardLogStatement Logger calls should be surrounded by log level guards. 190191
GuardLogStatement Logger calls should be surrounded by log level guards. 197198
GuardLogStatement Logger calls should be surrounded by log level guards. 216
GuardLogStatement Logger calls should be surrounded by log level guards. 244246
GuardLogStatement Logger calls should be surrounded by log level guards. 254256
GuardLogStatement Logger calls should be surrounded by log level guards. 307310
GuardLogStatement Logger calls should be surrounded by log level guards. 322324
GuardLogStatement Logger calls should be surrounded by log level guards. 369371
GuardLogStatement Logger calls should be surrounded by log level guards. 391393
GuardLogStatement Logger calls should be surrounded by log level guards. 420421
GuardLogStatement Logger calls should be surrounded by log level guards. 434435
GuardLogStatement Logger calls should be surrounded by log level guards. 451452
GuardLogStatement Logger calls should be surrounded by log level guards. 456
GuardLogStatement Logger calls should be surrounded by log level guards. 460462
GuardLogStatement Logger calls should be surrounded by log level guards. 479481
GuardLogStatement Logger calls should be surrounded by log level guards. 487489
GuardLogStatement Logger calls should be surrounded by log level guards. 493495
GuardLogStatement Logger calls should be surrounded by log level guards. 502504

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkServerInitializer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 6263

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkTransaction.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 187189
GuardLogStatement Logger calls should be surrounded by log level guards. 197198
GuardLogStatement Logger calls should be surrounded by log level guards. 408
GuardLogStatement Logger calls should be surrounded by log level guards. 412
GuardLogStatement Logger calls should be surrounded by log level guards. 416
GuardLogStatement Logger calls should be surrounded by log level guards. 420
GuardLogStatement Logger calls should be surrounded by log level guards. 425
GuardLogStatement Logger calls should be surrounded by log level guards. 603
GuardLogStatement Logger calls should be surrounded by log level guards. 607
GuardLogStatement Logger calls should be surrounded by log level guards. 645647
GuardLogStatement Logger calls should be surrounded by log level guards. 692
GuardLogStatement Logger calls should be surrounded by log level guards. 718
GuardLogStatement Logger calls should be surrounded by log level guards. 744745
GuardLogStatement Logger calls should be surrounded by log level guards. 973974
GuardLogStatement Logger calls should be surrounded by log level guards. 9991000
GuardLogStatement Logger calls should be surrounded by log level guards. 10121013

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/ssl/NetworkSslServerHandler.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7071

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/ssl/NetworkSslServerInitializer.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7677

Waarp OpenR66 - org/waarp/openr66/protocol/utils/ChannelUtils.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 244246
GuardLogStatement Logger calls should be surrounded by log level guards. 283284
GuardLogStatement Logger calls should be surrounded by log level guards. 310311
GuardLogStatement Logger calls should be surrounded by log level guards. 341
GuardLogStatement Logger calls should be surrounded by log level guards. 353

Waarp OpenR66 - org/waarp/openr66/protocol/utils/FileUtils.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 68
AvoidReassigningParameters Avoid reassigning parameters such as 'file' 81
GuardLogStatement Logger calls should be surrounded by log level guards. 8384
GuardLogStatement Logger calls should be surrounded by log level guards. 9495

Waarp OpenR66 - org/waarp/openr66/protocol/utils/TransferUtils.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 102
GuardLogStatement Logger calls should be surrounded by log level guards. 222223
GuardLogStatement Logger calls should be surrounded by log level guards. 244245
GuardLogStatement Logger calls should be surrounded by log level guards. 279
GuardLogStatement Logger calls should be surrounded by log level guards. 394395
GuardLogStatement Logger calls should be surrounded by log level guards. 422423
GuardLogStatement Logger calls should be surrounded by log level guards. 425426
GuardLogStatement Logger calls should be surrounded by log level guards. 440441
GuardLogStatement Logger calls should be surrounded by log level guards. 532533

Waarp OpenR66 - org/waarp/openr66/protocol/utils/Version.java

Rule Violation Line
SystemPrintln System.out.println is used 36

Waarp OpenR66 - org/waarp/openr66/server/ChangeBandwidthLimits.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
GuardLogStatement Logger calls should be surrounded by log level guards. 136137
GuardLogStatement Logger calls should be surrounded by log level guards. 216218
GuardLogStatement Logger calls should be surrounded by log level guards. 244245
GuardLogStatement Logger calls should be surrounded by log level guards. 247248

Waarp OpenR66 - org/waarp/openr66/server/ConfigExport.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
GuardLogStatement Logger calls should be surrounded by log level guards. 242244
GuardLogStatement Logger calls should be surrounded by log level guards. 268269
GuardLogStatement Logger calls should be surrounded by log level guards. 271273

Waarp OpenR66 - org/waarp/openr66/server/ConfigImport.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
GuardLogStatement Logger calls should be surrounded by log level guards. 364366
GuardLogStatement Logger calls should be surrounded by log level guards. 390391
GuardLogStatement Logger calls should be surrounded by log level guards. 393394

Waarp OpenR66 - org/waarp/openr66/server/LogExport.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 53
GuardLogStatement Logger calls should be surrounded by log level guards. 122
GuardLogStatement Logger calls should be surrounded by log level guards. 128129
GuardLogStatement Logger calls should be surrounded by log level guards. 213215
GuardLogStatement Logger calls should be surrounded by log level guards. 229231
GuardLogStatement Logger calls should be surrounded by log level guards. 233236

Waarp OpenR66 - org/waarp/openr66/server/LogExtendedExport.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 61
GuardLogStatement Logger calls should be surrounded by log level guards. 192
GuardLogStatement Logger calls should be surrounded by log level guards. 274276
GuardLogStatement Logger calls should be surrounded by log level guards. 437439
GuardLogStatement Logger calls should be surrounded by log level guards. 441444

Waarp OpenR66 - org/waarp/openr66/server/LogImport.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7778
GuardLogStatement Logger calls should be surrounded by log level guards. 87

Waarp OpenR66 - org/waarp/openr66/server/R66Server.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 5051
GuardLogStatement Logger calls should be surrounded by log level guards. 5761
GuardLogStatement Logger calls should be surrounded by log level guards. 6667
GuardLogStatement Logger calls should be surrounded by log level guards. 74
GuardLogStatement Logger calls should be surrounded by log level guards. 8485
GuardLogStatement Logger calls should be surrounded by log level guards. 91

Waarp OpenR66 - org/waarp/openr66/server/ServerInitDatabase.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
GuardLogStatement Logger calls should be surrounded by log level guards. 311312
GuardLogStatement Logger calls should be surrounded by log level guards. 360361
GuardLogStatement Logger calls should be surrounded by log level guards. 364365
GuardLogStatement Logger calls should be surrounded by log level guards. 368369

Waarp OpenR66 - org/waarp/openr66/server/ServerShutdown.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 106
GuardLogStatement Logger calls should be surrounded by log level guards. 149
GuardLogStatement Logger calls should be surrounded by log level guards. 163
GuardLogStatement Logger calls should be surrounded by log level guards. 168170
GuardLogStatement Logger calls should be surrounded by log level guards. 189190

Waarp OpenR66 - org/waarp/openr66/service/R66Engine.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 4950
GuardLogStatement Logger calls should be surrounded by log level guards. 67
GuardLogStatement Logger calls should be surrounded by log level guards. 86

Waarp OpenR66 - org/waarp/openr66/thrift/R66EmbeddedServiceImpl.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 9293
GuardLogStatement Logger calls should be surrounded by log level guards. 111
GuardLogStatement Logger calls should be surrounded by log level guards. 128
GuardLogStatement Logger calls should be surrounded by log level guards. 239240
GuardLogStatement Logger calls should be surrounded by log level guards. 296298
GuardLogStatement Logger calls should be surrounded by log level guards. 315316
GuardLogStatement Logger calls should be surrounded by log level guards. 379
GuardLogStatement Logger calls should be surrounded by log level guards. 426
GuardLogStatement Logger calls should be surrounded by log level guards. 467

Waarp OpenR66 - org/waarp/openr66/thrift/R66ThriftServerService.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 68

Waarp Snmp - org/waarp/snmp/SnmpConfiguration.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 336
GuardLogStatement Logger calls should be surrounded by log level guards. 354
GuardLogStatement Logger calls should be surrounded by log level guards. 506
GuardLogStatement Logger calls should be surrounded by log level guards. 515
GuardLogStatement Logger calls should be surrounded by log level guards. 520
GuardLogStatement Logger calls should be surrounded by log level guards. 541
GuardLogStatement Logger calls should be surrounded by log level guards. 545
GuardLogStatement Logger calls should be surrounded by log level guards. 605607
GuardLogStatement Logger calls should be surrounded by log level guards. 611612

Waarp Snmp - org/waarp/snmp/WaarpSnmpAgent.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 295296
GuardLogStatement Logger calls should be surrounded by log level guards. 387388
GuardLogStatement Logger calls should be surrounded by log level guards. 422
GuardLogStatement Logger calls should be surrounded by log level guards. 436437

Waarp Thrift - org/waarp/thrift/r66/R66Request.java

Rule Violation Line
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 9491096

Waarp Thrift - org/waarp/thrift/r66/R66Result.java

Rule Violation Line
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 13421566

Waarp Thrift - org/waarp/thrift/r66/R66Service.java

Rule Violation Line
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 837852
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 12571272
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 16731688
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 20822097
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 26192647
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 31243129
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 35203535
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 39513966

Priority 3

Waarp Common - org/waarp/common/command/NextCommandReply.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42

Waarp Common - org/waarp/common/command/ReplyCode.java

Rule Violation Line
CognitiveComplexity The method 'getFinalMsg(int, String)' has a cognitive complexity of 15, current threshold is 15 345377
EmptyCatchBlock Avoid empty catch blocks 363365
NcssCount The method 'getReplyCode(int)' has a NCSS line count of 104. 410516
ExcessiveMethodLength Avoid really long methods. 410516
CyclomaticComplexity The method 'getReplyCode(int)' has a cyclomatic complexity of 52. 410516
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 527
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 529
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 531
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 533

Waarp Common - org/waarp/common/command/exception/CommandAbstractException.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36

Waarp Common - org/waarp/common/cpu/CpuManagement.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 36
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 39

Waarp Common - org/waarp/common/cpu/CpuManagementSysmon.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 42
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 56

Waarp Common - org/waarp/common/cpu/WaarpConstraintLimitHandler.java

Rule Violation Line
GodClass Possible God Class (WMC=71, ATFD=26, TCC=30.303%) 35535
TooManyFields Too many fields 35535
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
ExcessiveParameterList Avoid long parameter lists. 189200
NPathComplexity The constructor 'WaarpConstraintLimitHandler(long, long, boolean, boolean, double, int, double, double, double, AbstractTrafficShapingHandler, long, long)' has an NPath complexity of 480, current threshold is 200 189251
CyclomaticComplexity The constructor 'WaarpConstraintLimitHandler(long, long, boolean, boolean, double, int, double, double, double, AbstractTrafficShapingHandler, long, long)' has a cyclomatic complexity of 13. 189251
CognitiveComplexity The constructor 'WaarpConstraintLimitHandler(long, long, boolean, boolean, double, int, double, double, double, AbstractTrafficShapingHandler, long, long)' has a cognitive complexity of 16, current threshold is 15 189251
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 217
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 247
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 247
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 248
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 258
CognitiveComplexity The method 'checkConstraintsSleep(int)' has a cognitive complexity of 22, current threshold is 15 329369
CyclomaticComplexity The method 'checkConstraintsSleep(int)' has a cyclomatic complexity of 11. 329369
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 362
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 435
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 438
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 438
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 439
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 443
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 444
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 444
NPathComplexity The method 'run()' has an NPath complexity of 676, current threshold is 200 454534
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 18. 454534
CognitiveComplexity The method 'run()' has a cognitive complexity of 35, current threshold is 15 454534
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 469
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 476
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 492

Waarp Common - org/waarp/common/crypto/DesManager.java

Rule Violation Line
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 26

Waarp Common - org/waarp/common/crypto/DynamicKeyManager.java

Rule Violation Line
NPathComplexity The method 'initFromList(List)' has an NPath complexity of 482, current threshold is 200 65148
NcssCount The method 'initFromList(List)' has a NCSS line count of 65. 65148
CognitiveComplexity The method 'initFromList(List)' has a cognitive complexity of 37, current threshold is 15 65148
CyclomaticComplexity The method 'initFromList(List)' has a cyclomatic complexity of 13. 65148
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 76
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 77
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 79
CloseResource Ensure that resources like this FileInputStream object are closed after use 80
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 82
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 111
UnusedAssignment The value assigned to variable 'inputStream' is never used (overwritten on lines 82 and 114) 112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 112
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 114
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
CloseResource Ensure that resources like this FileOutputStream object are closed after use 182
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 182183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 191

Waarp Common - org/waarp/common/crypto/DynamicKeyObject.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105

Waarp Common - org/waarp/common/crypto/HmacSha1.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 81

Waarp Common - org/waarp/common/crypto/HmacSha256.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 122
LawOfDemeter Potential violation of Law of Demeter (static property access) 125126

Waarp Common - org/waarp/common/crypto/KeyManager.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
CognitiveComplexity The method 'initFromList(List)' has a cognitive complexity of 25, current threshold is 15 56109
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 59
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 62
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 67
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 69
CloseResource Ensure that resources like this FileInputStream object are closed after use 70
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 116
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 116
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 155
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175

Waarp Common - org/waarp/common/crypto/KeyObject.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 61461
CloseResource Ensure that resources like this FileInputStream object are closed after use 157
CloseResource Ensure that resources like this FileInputStream object are closed after use 159
CloseResource Ensure that resources like this FileOutputStream object are closed after use 183
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 204
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 205
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 222
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 245
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 246
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 261
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 275
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 288
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 303
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 326
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 327
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 343
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 359
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 376
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 393
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 408
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 421
CloseResource Ensure that resources like this FileInputStream object are closed after use 427
CloseResource Ensure that resources like this DataInputStream object are closed after use 428

Waarp Common - org/waarp/common/crypto/ssl/WaarpSecureKeyStore.java

Rule Violation Line
CyclomaticComplexity The class 'WaarpSecureKeyStore' has a total cyclomatic complexity of 94 (highest 17). 52617
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
CyclomaticComplexity The constructor 'WaarpSecureKeyStore(String, String)' has a cyclomatic complexity of 11. 95122
AvoidDuplicateLiterals The String literal "JKS" appears 4 times in this file; the first occurrence is on line 100 100
CyclomaticComplexity The method 'initKeyStore(String, String, String)' has a cyclomatic complexity of 11. 180216
CloseResource Ensure that resources like this FileInputStream object are closed after use 194
CloseResource Ensure that resources like this FileOutputStream object are closed after use 290
CyclomaticComplexity The method 'initTrustStore(String, String, boolean)' has a cyclomatic complexity of 17. 328390
CloseResource Ensure that resources like this FileInputStream object are closed after use 340
CloseResource Ensure that resources like this FileOutputStream object are closed after use 469
CloseResource Ensure that resources like this FileInputStream object are closed after use 509

Waarp Common - org/waarp/common/crypto/ssl/WaarpSecureTrustManagerFactory.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
AvoidFieldNameMatchingMethodName Field needAuthentication has the same name as a method 39
AvoidFieldNameMatchingMethodName Field hasTrustStore has the same name as a method 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40

Waarp Common - org/waarp/common/crypto/ssl/WaarpSslContextFactory.java

Rule Violation Line
DataClass The class 'WaarpSslContextFactory' is suspected to be a Data Class (WOC=30.000%, NOPA=1, NOAM=3, WMC=21) 38258
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
AvoidFieldNameMatchingMethodName Field needClientAuthentication has the same name as a method 63
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 156159
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 163166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 243244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 248

Waarp Common - org/waarp/common/crypto/ssl/WaarpSslUtility.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 70
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 151
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 187
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 225
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 232
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 279
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 299

Waarp Common - org/waarp/common/crypto/ssl/WaarpX509TrustManager.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41

Waarp Common - org/waarp/common/database/ConnectionFactory.java

Rule Violation Line
UnusedAssignment The field initializer for 'maxConnections' is never used (overwritten on line 193) 84
SingularField Perhaps 'maxIdle' could be replaced by a local variable. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 101
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 128
NonThreadSafeSingleton Singleton is not thread safe 129132
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 69 characters appended. 277
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 278
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 279
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 280
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 281
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 282
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 283
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 284
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 285
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 286

Waarp Common - org/waarp/common/database/DbAdmin.java

Rule Violation Line
GodClass Possible God Class (WMC=47, ATFD=7, TCC=13.810%) 47445
AvoidFieldNameMatchingMethodName Field isReadOnly has the same name as a method 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 228
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 299
CloseResource Ensure that resources like this Connection object are closed after use 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 407

Waarp Common - org/waarp/common/database/DbConnectionPool.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 126
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 126
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 132
LawOfDemeter Potential violation of Law of Demeter (static property access) 135136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135136
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 138
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 142
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 154164
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 201
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 240
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 243246
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 274294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
CyclomaticComplexity The method 'getConnection()' has a cyclomatic complexity of 10. 312340
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 342367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 360
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 369392
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 375
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 390
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 394404
EmptyCatchBlock Avoid empty catch blocks 409411
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 446
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 447
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 460462

Waarp Common - org/waarp/common/database/DbConstant.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3181
MutableStaticState Do not use non-final non-private static fields 44
MutableStaticState Do not use non-final non-private static fields 48

Waarp Common - org/waarp/common/database/DbPreparedStatement.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
AvoidFieldNameMatchingMethodName Field isReady has the same name as a method 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 91
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 116
UnusedAssignment The value assigned to field 'preparedStatement' is never used (overwritten on lines 125, 131 and 138) 118
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 118
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 138
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 140141
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 168
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 170
UnusedAssignment The value assigned to field 'preparedStatement' is never used (overwritten on lines 177, 184 and 192) 170
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 192
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 194195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 238
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 241
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 243244
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 290
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 345
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 363

Waarp Common - org/waarp/common/database/DbRequest.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 98
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 100
EmptyCatchBlock Avoid empty catch blocks 154156
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 215
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 223
EmptyCatchBlock Avoid empty catch blocks 252254

Waarp Common - org/waarp/common/database/DbSession.java

Rule Violation Line
GodClass Possible God Class (WMC=104, ATFD=11, TCC=21.839%) 47681
TooManyMethods This class has too many methods, consider refactoring it. 47681
CyclomaticComplexity The class 'DbSession' has a total cyclomatic complexity of 104 (highest 9). 47681
AvoidFieldNameMatchingMethodName Field isReadOnly has the same name as a method 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
AvoidFieldNameMatchingMethodName Field isDisActive has the same name as a method 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 159
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 159
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 195
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 269
AvoidDuplicateLiterals The String literal "{}{}" appears 4 times in this file; the first occurrence is on line 277 277
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 300
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 310
LawOfDemeter Potential violation of Law of Demeter (static property access) 318
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 359
EmptyCatchBlock Avoid empty catch blocks 365367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 396
EmptyCatchBlock Avoid empty catch blocks 402404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 526
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 554
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 611

Waarp Common - org/waarp/common/database/WaarpBasicDataSourceJava6.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 13

Waarp Common - org/waarp/common/database/WaarpBasicDataSourceJava8.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 13

Waarp Common - org/waarp/common/database/data/AbstractDbData.java

Rule Violation Line
CyclomaticComplexity The class 'AbstractDbData' has a total cyclomatic complexity of 143 (highest 36). 53759
GodClass Possible God Class (WMC=143, ATFD=315, TCC=21.905%) 53759
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
AvoidDuplicateLiterals The String literal " WHERE " appears 4 times in this file; the first occurrence is on line 170 170
MethodReturnsInternalArray Returning 'allFields' may expose an internal array. 272
CyclomaticComplexity The method 'validateLength(int, String...)' has a cyclomatic complexity of 12. 346378
CyclomaticComplexity The method 'setTrueValue(PreparedStatement, DbValue, int)' has a cyclomatic complexity of 36. 389520
CognitiveComplexity The method 'setTrueValue(PreparedStatement, DbValue, int)' has a cognitive complexity of 33, current threshold is 15 389520
ExcessiveMethodLength Avoid really long methods. 389520
NcssCount The method 'setTrueValue(PreparedStatement, DbValue, int)' has a NCSS line count of 108. 389520
CloseResource Ensure that resources like this PreparedStatement object are closed after use 534
CyclomaticComplexity The method 'getTrueValue(ResultSet, DbValue)' has a cyclomatic complexity of 19. 549605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 589
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 592
CloseResource Ensure that resources like this ResultSet object are closed after use 619
CyclomaticComplexity The method 'getJson()' has a cyclomatic complexity of 17. 639686
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 641
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 641
ImplicitSwitchFallThrough A switch statement does not contain a break 643683
CyclomaticComplexity The method 'setFromJson(ObjectNode, boolean)' has a cyclomatic complexity of 25. 697758
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 714
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 719
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 727
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 731
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 735
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 744
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 744
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 747

Waarp Common - org/waarp/common/database/data/DbDataModel.java

Rule Violation Line
AvoidFieldNameMatchingMethodName Field SELECT has the same name as a method 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
AvoidDuplicateLiterals The String literal "=?," appears 5 times in this file; the first occurrence is on line 91 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 122
LawOfDemeter Potential violation of Law of Demeter (static property access) 123
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 358
LawOfDemeter Potential violation of Law of Demeter (static property access) 368

Waarp Common - org/waarp/common/database/data/DbValue.java

Rule Violation Line
CyclomaticComplexity The class 'DbValue' has a total cyclomatic complexity of 133 (highest 29). 42513
UnusedFormalParameter Avoid unused constructor parameters such as 'LONG'. 62
ArrayIsStoredDirectly The user-supplied array 'value' is stored directly. 249
CyclomaticComplexity The method 'getType()' has a cyclomatic complexity of 16. 280315
CyclomaticComplexity The method 'getValue()' has a cyclomatic complexity of 17. 317338
CyclomaticComplexity The method 'getValueAsString()' has a cyclomatic complexity of 17. 340370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 360
CloseResource Ensure that resources like this InputStream object are closed after use 374
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 380
CloseResource Ensure that resources like this Reader object are closed after use 392
CyclomaticComplexity The method 'setValueFromString(String)' has a cyclomatic complexity of 29. 408498
CognitiveComplexity The method 'setValueFromString(String)' has a cognitive complexity of 23, current threshold is 15 408498
NcssCount The method 'setValueFromString(String)' has a NCSS line count of 66. 408498
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 446
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 450
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 452453
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 452453
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 467
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 472
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 474475
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 474475

Waarp Common - org/waarp/common/database/model/DbModelAbstract.java

Rule Violation Line
GodClass Possible God Class (WMC=55, ATFD=37, TCC=10.909%) 41334
MutableStaticState Do not use non-final non-private static fields 58
MissingOverride The method 'getDbTypeResolver()' is missing an @Override annotation. 8284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
CyclomaticComplexity The method 'validConnection(DbSession)' has a cyclomatic complexity of 10. 148178
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 158
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 166
ExceptionAsFlowControl Avoid using exceptions as flow control. 186
ExceptionAsFlowControl Avoid using exceptions as flow control. 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 191
EmptyCatchBlock Avoid empty catch blocks 205207
CloseResource Ensure that resources like this Statement object are closed after use 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 229
ExceptionAsFlowControl Avoid using exceptions as flow control. 234
EmptyCatchBlock Avoid empty catch blocks 254256
CyclomaticComplexity The method 'subValidConnectionSelect(DbSession, Statement)' has a cyclomatic complexity of 12. 259309
ExceptionAsFlowControl Avoid using exceptions as flow control. 265
ExceptionAsFlowControl Avoid using exceptions as flow control. 265
ExceptionAsFlowControl Avoid using exceptions as flow control. 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
EmptyCatchBlock Avoid empty catch blocks 305307

Waarp Common - org/waarp/common/database/model/DbModelCommonMariadbMySql.java

Rule Violation Line
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 15. 73106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 179

Waarp Common - org/waarp/common/database/model/DbModelFactory.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 33106
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 5557

Waarp Common - org/waarp/common/database/model/DbModelH2.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 135
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 139144
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 17. 192229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264

Waarp Common - org/waarp/common/database/model/DbModelMariadb.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 249258
LawOfDemeter Potential violation of Law of Demeter (static property access) 254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 257

Waarp Common - org/waarp/common/database/model/DbModelMysql.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
CyclomaticComplexity The method 'createMysqlConnectionPoolDataSource(String, String, String)' has a cyclomatic complexity of 10. 102154
UnusedAssignment The initializer for variable 'mysqlConnectionPoolDataSourceClass' is never used (overwritten on lines 110, 114, 118 and 129) 105
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 106
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 111
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 121122
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 121122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 234
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 238243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 262
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 270

Waarp Common - org/waarp/common/database/model/DbModelOracle.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 102
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 132
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 208
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 15. 235268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 308

Waarp Common - org/waarp/common/database/model/DbModelPostgresql.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 61
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 15. 130163
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199

Waarp Common - org/waarp/common/database/properties/MySQLProperties.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 43
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 48

Waarp Common - org/waarp/common/file/AbstractDir.java

Rule Violation Line
GodClass Possible God Class (WMC=54, ATFD=20, TCC=17.647%) 43408
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
LawOfDemeter Potential violation of Law of Demeter (static property access) 136
EmptyCatchBlock Avoid empty catch blocks 139141
EmptyCatchBlock Avoid empty catch blocks 164166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 216
CyclomaticComplexity The method 'getCanonicalPath(File)' has a cyclomatic complexity of 11. 229274
CognitiveComplexity The method 'getCanonicalPath(File)' has a cognitive complexity of 19, current threshold is 15 229274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 335
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 400
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 400

Waarp Common - org/waarp/common/file/AbstractFile.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87

Waarp Common - org/waarp/common/file/DataBlock.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
AvoidFieldNameMatchingMethodName Field isEOF has the same name as a method 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
AvoidFieldNameMatchingMethodName Field isEOR has the same name as a method 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
AvoidFieldNameMatchingMethodName Field isERROR has the same name as a method 73
AvoidFieldNameMatchingMethodName Field isRESTART has the same name as a method 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
MethodReturnsInternalArray Returning 'block' may expose an internal array. 105
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 131
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 144
ArrayIsStoredDirectly The user-supplied array 'block' is stored directly. 165
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 167
AvoidArrayLoops System.arraycopy is more efficient 174176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 189
MethodReturnsInternalArray Returning 'markers' may expose an internal array. 312
ArrayIsStoredDirectly The user-supplied array 'markers' is stored directly. 337
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 348
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 350
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 398

Waarp Common - org/waarp/common/file/DirInterface.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 30343

Waarp Common - org/waarp/common/file/FileInterface.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 32257

Waarp Common - org/waarp/common/file/FileUtils.java

Rule Violation Line
CyclomaticComplexity The class 'FileUtils' has a total cyclomatic complexity of 131 (highest 17). 47651
TooManyMethods This class has too many methods, consider refactoring it. 47651
GodClass Possible God Class (WMC=131, ATFD=30, TCC=1.449%) 47651
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 62
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 73
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 78
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 89
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 105
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 180
NPathComplexity The method 'copy(File, File, boolean, boolean)' has an NPath complexity of 330, current threshold is 200 274316
CognitiveComplexity The method 'copy(File, File, boolean, boolean)' has a cognitive complexity of 15, current threshold is 15 274316
CyclomaticComplexity The method 'copy(File, File, boolean, boolean)' has a cyclomatic complexity of 17. 274316
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 293
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 298
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 303
NPathComplexity The method 'forceDeleteRecursiveSubDir(File)' has an NPath complexity of 240, current threshold is 200 360390
CyclomaticComplexity The method 'forceDeleteRecursiveSubDir(File)' has a cyclomatic complexity of 11. 360390
CognitiveComplexity The method 'forceDeleteRecursiveSubDir(File)' has a cognitive complexity of 17, current threshold is 15 360390
CognitiveComplexity The method 'forceDeleteRecursiveDir(File)' has a cognitive complexity of 15, current threshold is 15 399426
CyclomaticComplexity The method 'forceDeleteRecursiveDir(File)' has a cyclomatic complexity of 10. 399426
CyclomaticComplexity The method 'deleteRecursiveDir(File)' has a cyclomatic complexity of 10. 436465
EmptyCatchBlock Avoid empty catch blocks 528530
EmptyCatchBlock Avoid empty catch blocks 530532
CloseResource Ensure that resources like this FileInputStream object are closed after use 563
CloseResource Ensure that resources like this CompressorInputStream object are closed after use 564
CloseResource Ensure that resources like this FileOutputStream object are closed after use 565
LawOfDemeter Potential violation of Law of Demeter (static property access) 572

Waarp Common - org/waarp/common/file/Restart.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
AvoidFieldNameMatchingMethodName Field isSet has the same name as a method 41

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedAuthImpl.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
AvoidFieldNameMatchingMethodName Field isIdentified has the same name as a method 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 244
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 275277

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedDirImpl.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20782
GodClass Possible God Class (WMC=137, ATFD=68, TCC=2.956%) 62782
TooManyMethods This class has too many methods, consider refactoring it. 62782
CyclomaticComplexity The class 'FilesystemBasedDirImpl' has a total cyclomatic complexity of 137 (highest 17). 62782
MutableStaticState Do not use non-final non-private static fields 77
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 90
NPathComplexity The method 'wildcardFiles(String)' has an NPath complexity of 1600, current threshold is 200 142216
CyclomaticComplexity The method 'wildcardFiles(String)' has a cyclomatic complexity of 17. 142216
CognitiveComplexity The method 'wildcardFiles(String)' has a cognitive complexity of 23, current threshold is 15 142216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 253
AvoidDuplicateLiterals The String literal " founds" appears 6 times in this file; the first occurrence is on line 255 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 257
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274275
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 304
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 323
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 330
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 398
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 401
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 405
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 409
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 417
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 421
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 424
CognitiveComplexity The method 'list(String)' has a cognitive complexity of 18, current threshold is 15 432472
CyclomaticComplexity The method 'list(String)' has a cyclomatic complexity of 11. 432472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 451
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 459
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
CyclomaticComplexity The method 'listFull(String, boolean)' has a cyclomatic complexity of 15. 475530
CognitiveComplexity The method 'listFull(String, boolean)' has a cognitive complexity of 33, current threshold is 15 475530
NPathComplexity The method 'listFull(String, boolean)' has an NPath complexity of 336, current threshold is 200 475530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 483
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 495
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 538
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 541
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 542
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 6 consecutive times with literals. Use a single append with a single combined String. 581
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 607
NPathComplexity The method 'mlsxInfo(File)' has an NPath complexity of 312, current threshold is 200 618678
CognitiveComplexity The method 'mlsxInfo(File)' has a cognitive complexity of 40, current threshold is 15 618678
CyclomaticComplexity The method 'mlsxInfo(File)' has a cyclomatic complexity of 16. 618678
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 621
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 621
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 627
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 627
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 630
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 648
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 652
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 663
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 670
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 696
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 700
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 709
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 722
CloseResource Ensure that resources like this FileInputStream object are closed after use 728
CloseResource Ensure that resources like this CheckedInputStream object are closed after use 729
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 736
EmptyWhileStmt Avoid empty while statements 739741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 742
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 744
LawOfDemeter Potential violation of Law of Demeter (static property access) 754
LawOfDemeter Potential violation of Law of Demeter (static property access) 760
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 770
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 778

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedFileImpl.java

Rule Violation Line
GodClass Possible God Class (WMC=147, ATFD=34, TCC=22.521%) 45831
CyclomaticComplexity The class 'FilesystemBasedFileImpl' has a total cyclomatic complexity of 147 (highest 16). 45831
TooManyMethods This class has too many methods, consider refactoring it. 45831
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
UnusedAssignment The field initializer for 'currentRealFile' is never used (overwritten on lines 123 and 155) 83
RedundantFieldInitializer Avoid using redundant field initializer for 'currentRealFile' 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 155
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 164
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 279295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 282
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 289
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 298306
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 301
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 324329
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 332337
LawOfDemeter Potential violation of Law of Demeter (static property access) 354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 449
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 457
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 457
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 477483
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 480
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 486492
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 495509
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 518520
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 530546
CyclomaticComplexity The method 'writeBlock(byte, int, int)' has a cyclomatic complexity of 12. 561591
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 561591
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 588
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 603612
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 636645
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 663717
CyclomaticComplexity The method 'getByteBlock(byte)' has a cyclomatic complexity of 16. 663717
NPathComplexity The method 'getByteBlock(byte)' has an NPath complexity of 270, current threshold is 200 663717
CognitiveComplexity The method 'getByteBlock(byte)' has a cognitive complexity of 18, current threshold is 15 663717
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 692
CloseResource Ensure that resources like this RandomAccessFile object are closed after use 809
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 811

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedFileParameterImpl.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 35

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedOptsMLSxImpl.java

Rule Violation Line
DataClass The class 'FilesystemBasedOptsMLSxImpl' is suspected to be a Data Class (WOC=4.762%, NOPA=0, NOAM=18, WMC=39) 29338
CyclomaticComplexity The method 'getFeat()' has a cyclomatic complexity of 19. 260337
NPathComplexity The method 'getFeat()' has an NPath complexity of 19683, current threshold is 200 260337
CognitiveComplexity The method 'getFeat()' has a cognitive complexity of 36, current threshold is 15 260337
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 20 characters appended. 261

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedRestartImpl.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34

Waarp Common - org/waarp/common/file/filesystembased/specific/FilesystemBasedDirJdk6.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 47

Waarp Common - org/waarp/common/file/filesystembased/specific/FilesystemBasedDirJdkAbstract.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 35

Waarp Common - org/waarp/common/filemonitor/FileMonitor.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 201141
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201141
TooManyMethods This class has too many methods, consider refactoring it. 711141
TooManyFields Too many fields 711141
ExcessiveClassLength Avoid really long classes. 711141
GodClass Possible God Class (WMC=155, ATFD=97, TCC=19.061%) 711141
CyclomaticComplexity The class 'FileMonitor' has a total cyclomatic complexity of 155 (highest 31). 711141
MutableStaticState Do not use non-final non-private static fields 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreAlreadyUsed' 100
AvoidFieldNameMatchingMethodName Field initialized has the same name as a method 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 117
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 125
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 132
ExcessiveParameterList Avoid long parameter lists. 161167
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 299
LawOfDemeter Potential violation of Law of Demeter (static property access) 312
LawOfDemeter Potential violation of Law of Demeter (static property access) 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 353
LawOfDemeter Potential violation of Law of Demeter (static property access) 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 359
LawOfDemeter Potential violation of Law of Demeter (static property access) 361
LawOfDemeter Potential violation of Law of Demeter (static property access) 379
LawOfDemeter Potential violation of Law of Demeter (static property access) 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 386
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 440
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 482
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 483
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 488
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 519
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 520
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 522
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 523
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 523
CognitiveComplexity The method 'checkFiles()' has a cognitive complexity of 22, current threshold is 15 577652
NPathComplexity The method 'checkFiles()' has an NPath complexity of 5760, current threshold is 200 577652
CyclomaticComplexity The method 'checkFiles()' has a cyclomatic complexity of 17. 577652
LawOfDemeter Potential violation of Law of Demeter (static property access) 597
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 603606
LawOfDemeter Potential violation of Law of Demeter (static property access) 619
LawOfDemeter Potential violation of Law of Demeter (static property access) 627
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 633
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 634
CyclomaticComplexity The method 'setIfAlreadyUsed(FileItem, boolean)' has a cyclomatic complexity of 18. 654695
CognitiveComplexity The method 'setIfAlreadyUsed(FileItem, boolean)' has a cognitive complexity of 19, current threshold is 15 654695
CyclomaticComplexity The method 'checkOneDir(boolean, File)' has a cyclomatic complexity of 31. 703827
ExcessiveMethodLength Avoid really long methods. 703827
CognitiveComplexity The method 'checkOneDir(boolean, File)' has a cognitive complexity of 65, current threshold is 15 703827
NcssCount The method 'checkOneDir(boolean, File)' has a NCSS line count of 85. 703827
NPathComplexity The method 'checkOneDir(boolean, File)' has an NPath complexity of 484423, current threshold is 200 703827
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 721
LawOfDemeter Potential violation of Law of Demeter (static property access) 731
LawOfDemeter Potential violation of Law of Demeter (static property access) 736
CollapsibleIfStatements These nested if statements could be combined 764767
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 804807
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 820825
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 842
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 862
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 869
LawOfDemeter Potential violation of Law of Demeter (static property access) 881882
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 883888
LawOfDemeter Potential violation of Law of Demeter (static property access) 887
LawOfDemeter Potential violation of Law of Demeter (static property access) 891
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 896
LawOfDemeter Potential violation of Law of Demeter (static property access) 897
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 899904
LawOfDemeter Potential violation of Law of Demeter (static property access) 903
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 914
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 922
CognitiveComplexity The method 'run(Timeout)' has a cognitive complexity of 15, current threshold is 15 928962
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 930
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 931
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 933
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 937942
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 955961
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 957
DataClass The class 'FileMonitorInformation' is suspected to be a Data Class (WOC=0.000%, NOPA=12, NOAM=0, WMC=2) 9691012
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 970
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 971
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 972
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 973
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 974
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 975
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 976
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 977
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 978
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 979
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 980
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 981
ExcessiveParameterList Avoid long parameter lists. 987997
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1022
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1023
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1024
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1025
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1026
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1027
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1028
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1029
LawOfDemeter Potential violation of Law of Demeter (static property access) 1061
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1061
AvoidDuplicateLiterals The String literal " : " appears 6 times in this file; the first occurrence is on line 1 070 1070
NonThreadSafeSingleton Singleton is not thread safe 10891091
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1092
LawOfDemeter Potential violation of Law of Demeter (static property access) 10931094
LawOfDemeter Potential violation of Law of Demeter (static property access) 1099
LawOfDemeter Potential violation of Law of Demeter (static property access) 1104
LawOfDemeter Potential violation of Law of Demeter (static property access) 1109
LawOfDemeter Potential violation of Law of Demeter (static property access) 11161117
LawOfDemeter Potential violation of Law of Demeter (static property access) 1117
LawOfDemeter Potential violation of Law of Demeter (static property access) 11281129
LawOfDemeter Potential violation of Law of Demeter (static property access) 1129
LawOfDemeter Potential violation of Law of Demeter (static property access) 1134

Waarp Common - org/waarp/common/filemonitor/FileMonitorCommandRunnableFuture.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 34
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147

Waarp Common - org/waarp/common/filemonitor/RegexFileFilter.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53

Waarp Common - org/waarp/common/future/WaarpChannelFuture.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
AvoidFieldNameMatchingMethodName Field channel has the same name as a method 31

Waarp Common - org/waarp/common/future/WaarpFailedFuture.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 4244
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 4749

Waarp Common - org/waarp/common/future/WaarpFuture.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
LawOfDemeter Potential violation of Law of Demeter (static property access) 197
NPathComplexity The method 'await0(long, boolean)' has an NPath complexity of 420, current threshold is 200 202252
CognitiveComplexity The method 'await0(long, boolean)' has a cognitive complexity of 18, current threshold is 15 202252
CyclomaticComplexity The method 'await0(long, boolean)' has a cyclomatic complexity of 14. 202252
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 249
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 341

Waarp Common - org/waarp/common/future/WaarpFutureInterface.java

Rule Violation Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 36

Waarp Common - org/waarp/common/future/WaarpLock.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 73

Waarp Common - org/waarp/common/future/WaarpSucceededFuture.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 2830
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3335

Waarp Common - org/waarp/common/guid/GUID.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 9197
CyclomaticComplexity The method 'setString(String)' has a cyclomatic complexity of 16. 312374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 327
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 329330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 353

Waarp Common - org/waarp/common/guid/IntegerUuid.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5763

Waarp Common - org/waarp/common/guid/JvmProcessId.java

Rule Violation Line
GodClass Possible God Class (WMC=62, ATFD=30, TCC=8.791%) 41404
TooManyMethods This class has too many methods, consider refactoring it. 41404
MutableStaticState Do not use non-final non-private static fields 62
MutableStaticState Do not use non-final non-private static fields 63
MutableStaticState Do not use non-final non-private static fields 64
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 104
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 107110
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 122
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 130132
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 151161
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
CyclomaticComplexity The method 'compareAddresses(byte, byte)' has a cyclomatic complexity of 11. 167209
NPathComplexity The method 'compareAddresses(byte, byte)' has an NPath complexity of 256, current threshold is 200 167209
CognitiveComplexity The method 'compareAddresses(byte, byte)' has a cognitive complexity of 16, current threshold is 15 167209
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 173
EmptyCatchBlock Avoid empty catch blocks 263265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 292
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 296
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 298299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 308309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 318
CognitiveComplexity The method 'defaultMachineId()' has a cognitive complexity of 27, current threshold is 15 328403
CyclomaticComplexity The method 'defaultMachineId()' has a cyclomatic complexity of 17. 328403
NPathComplexity The method 'defaultMachineId()' has an NPath complexity of 980, current threshold is 200 328403
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 351
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 369
CollapsibleIfStatements These nested if statements could be combined 387389
CompareObjectsWithEquals Use equals() to compare object references. 399

Waarp Common - org/waarp/common/guid/LongUuid.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6874

Waarp Common - org/waarp/common/json/JsonHandler.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 44598
GodClass Possible God Class (WMC=74, ATFD=7, TCC=8.049%) 44598
AvoidRethrowingException A catch statement that catches an exception only to rethrow it should be avoided. 9597
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 453
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 584
LawOfDemeter Potential violation of Law of Demeter (static property access) 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 588

Waarp Common - org/waarp/common/logging/AbstractWaarpLogger.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 44376
GodClass Possible God Class (WMC=67, ATFD=15, TCC=5.534%) 44376
AvoidFieldNameMatchingMethodName Field name has the same name as a method 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 351

Waarp Common - org/waarp/common/logging/FormattingTuple.java

Rule Violation Line
ArrayIsStoredDirectly The user-supplied array 'argArray' is stored directly. 71
ArrayIsStoredDirectly The user-supplied array 'argArray' is stored directly. 71
MethodReturnsInternalArray Returning 'argArray' may expose an internal array. 98

Waarp Common - org/waarp/common/logging/MessageFormatter.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 139491
GodClass Possible God Class (WMC=60, ATFD=18, TCC=0.735%) 139491
CognitiveComplexity The method 'arrayFormat(String, Object)' has a cognitive complexity of 21, current threshold is 15 227295
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 275
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 282
CyclomaticComplexity The method 'deeplyAppendParameter(StringBuilder, Object, Map)' has a cyclomatic complexity of 11. 317348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 355
LawOfDemeter Potential violation of Law of Demeter (static property access) 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 357359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 359

Waarp Common - org/waarp/common/logging/PrintOnlyWarningLogbackStatusListener.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50

Waarp Common - org/waarp/common/logging/SysErrLogger.java

Rule Violation Line
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 105
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 118
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 130

Waarp Common - org/waarp/common/logging/WaarpJdkLogger.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 66654
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 537
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 537
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 559
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 559
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 631
LiteralsFirstInComparisons Position literals first in String comparisons 631
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 631
LiteralsFirstInComparisons Position literals first in String comparisons 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 650
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 651

Waarp Common - org/waarp/common/logging/WaarpJdkLoggerFactory.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 94

Waarp Common - org/waarp/common/logging/WaarpLogger.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 56588
TooManyMethods This class has too many methods, consider refactoring it. 62588

Waarp Common - org/waarp/common/logging/WaarpLoggerFactory.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 65
RedundantFieldInitializer Avoid using redundant field initializer for 'localName' 66
MutableStaticState Do not use non-final non-private static fields 66
UnusedAssignment The value assigned to field 'defaultFactory' is never used (overwritten on line 83) 76
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 7781
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 180
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 188193

Waarp Common - org/waarp/common/logging/WaarpSlf4JLogger.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 29267
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34

Waarp Common - org/waarp/common/logging/WaarpSlf4JLoggerFactory.java

Rule Violation Line
ImplicitSwitchFallThrough A switch statement does not contain a break 5068
CloseResource Ensure that resources like this PrintStream object are closed after use 84

Waarp Common - org/waarp/common/lru/AbstractLruCache.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31

Waarp Common - org/waarp/common/lru/InterfaceLruCache.java

Rule Violation Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 75
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 90

Waarp Common - org/waarp/common/lru/SimpleLRUCache.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 32

Waarp Common - org/waarp/common/lru/SoftReferenceCacheEntry.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33

Waarp Common - org/waarp/common/lru/StrongReferenceCacheEntry.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 28

Waarp Common - org/waarp/common/lru/SynchronizedLruCache.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 8587
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 9092
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 105107
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 110112
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 121127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 140153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147

Waarp Common - org/waarp/common/role/RoleDefault.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 25309
CyclomaticComplexity The method 'getComposingRoles()' has a cyclomatic complexity of 13. 122150
MethodReturnsInternalArray Returning 'READONLY_A' may expose an internal array. 125
MethodReturnsInternalArray Returning 'TRANSFER_A' may expose an internal array. 127
MethodReturnsInternalArray Returning 'PARTNER_A' may expose an internal array. 129
MethodReturnsInternalArray Returning 'RULE_A' may expose an internal array. 131
MethodReturnsInternalArray Returning 'HOST_A' may expose an internal array. 133
MethodReturnsInternalArray Returning 'CONFIGADMIN_A' may expose an internal array. 135
MethodReturnsInternalArray Returning 'LIMIT_A' may expose an internal array. 137
MethodReturnsInternalArray Returning 'SYSTEM_A' may expose an internal array. 139
MethodReturnsInternalArray Returning 'LOGCONTROL_A' may expose an internal array. 141
MethodReturnsInternalArray Returning 'FULLADMIN_A' may expose an internal array. 143
MethodReturnsInternalArray Returning 'UNUSED_A' may expose an internal array. 145
MethodReturnsInternalArray Returning 'NOACCESS_A' may expose an internal array. 148
CyclomaticComplexity The method 'fromByte(byte)' has a cyclomatic complexity of 13. 164192
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 198
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 215
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 220
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 230
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 258
LawOfDemeter Potential violation of Law of Demeter (static property access) 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 306

Waarp Common - org/waarp/common/service/EngineAbstract.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 25

Waarp Common - org/waarp/common/service/ServiceLauncher.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 43282
MutableStaticState Do not use non-final non-private static fields 47
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 49
MutableStaticState Do not use non-final non-private static fields 49
MutableStaticState Do not use non-final non-private static fields 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 53
MutableStaticState Do not use non-final non-private static fields 55
MutableStaticState Do not use non-final non-private static fields 57
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 62
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 69
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 72
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 74
NonThreadSafeSingleton Singleton is not thread safe 8183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 9194
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 93
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 97
CloseResource Ensure that resources like this InputStream object are closed after use 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
EmptyWhileStmt Avoid empty while statements 114116
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 142
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 170
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 199
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 274
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 277
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 278
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 278

Waarp Common - org/waarp/common/state/MachineState.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 188
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 189

Waarp Common - org/waarp/common/state/Transition.java

Rule Violation Line
DataClass The class 'Transition' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3067

Waarp Common - org/waarp/common/tar/TarUtility.java

Rule Violation Line
CloseResource Ensure that resources like this TarArchiveOutputStream object are closed after use 64
EmptyCatchBlock Avoid empty catch blocks 7981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 110
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 110
CloseResource Ensure that resources like this FileInputStream object are closed after use 117
CloseResource Ensure that resources like this TarArchiveOutputStream object are closed after use 148
EmptyCatchBlock Avoid empty catch blocks 165167
CloseResource Ensure that resources like this FileInputStream object are closed after use 188
CloseResource Ensure that resources like this FileInputStream object are closed after use 206
CloseResource Ensure that resources like this InputStream object are closed after use 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 211
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 218
CloseResource Ensure that resources like this FileOutputStream object are closed after use 220
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 226
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 12. 235283
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 24, current threshold is 15 235283
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 237241
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 263
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 278

Waarp Common - org/waarp/common/tar/ZipUtility.java

Rule Violation Line
CloseResource Ensure that resources like this ZipArchiveOutputStream object are closed after use 65
EmptyCatchBlock Avoid empty catch blocks 7981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 110
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 110
CloseResource Ensure that resources like this FileInputStream object are closed after use 117
CloseResource Ensure that resources like this ZipArchiveOutputStream object are closed after use 147
EmptyCatchBlock Avoid empty catch blocks 163165
CloseResource Ensure that resources like this FileInputStream object are closed after use 186
CloseResource Ensure that resources like this FileInputStream object are closed after use 204
CloseResource Ensure that resources like this InputStream object are closed after use 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 209
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 213
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 216
CloseResource Ensure that resources like this FileOutputStream object are closed after use 218
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 224
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 24, current threshold is 15 233281
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 12. 233281
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 235239
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 276

Waarp Common - org/waarp/common/transcode/CharsetsUtil.java

Rule Violation Line
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 80
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 82
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 85
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
NPathComplexity The method 'printOutCharsetsAvailable(int)' has an NPath complexity of 5136, current threshold is 200 107190
NcssCount The method 'printOutCharsetsAvailable(int)' has a NCSS line count of 67. 107190
CyclomaticComplexity The method 'printOutCharsetsAvailable(int)' has a cyclomatic complexity of 21. 107190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 116117
LawOfDemeter Potential violation of Law of Demeter (static property access) 121122
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 130
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 163166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 169171
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 175177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 203207
CloseResource Ensure that resources like this FileInputStream object are closed after use 211
CloseResource Ensure that resources like this InputStreamReader object are closed after use 212
CloseResource Ensure that resources like this FileOutputStream object are closed after use 213
CloseResource Ensure that resources like this OutputStreamWriter object are closed after use 214

Waarp Common - org/waarp/common/utility/Base64.java

Rule Violation Line
CyclomaticComplexity The class 'Base64' has a total cyclomatic complexity of 109 (highest 17). 2602217
TooManyMethods This class has too many methods, consider refactoring it. 2602217
ExcessiveClassLength Avoid really long classes. 2602217
GodClass Possible God Class (WMC=109, ATFD=29, TCC=16.138%) 2602217
AvoidFieldNameMatchingMethodName Field ENCODE has the same name as a method 272
AvoidFieldNameMatchingMethodName Field DECODE has the same name as a method 277
CloseResource Ensure that resources like this OutputStream object are closed after use 834
CloseResource Ensure that resources like this GZIPOutputStream object are closed after use 835
CloseResource Ensure that resources like this ObjectOutputStream object are closed after use 836
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 841
NPathComplexity The method 'encodeBytesToBytes(byte, int, int, int)' has an NPath complexity of 1056, current threshold is 200 10741169
CognitiveComplexity The method 'encodeBytesToBytes(byte, int, int, int)' has a cognitive complexity of 21, current threshold is 15 10741169
CyclomaticComplexity The method 'encodeBytesToBytes(byte, int, int, int)' has a cyclomatic complexity of 17. 10741169
CloseResource Ensure that resources like this GZIPOutputStream object are closed after use 1099
CloseResource Ensure that resources like this InnerOutputStream object are closed after use 1100
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 1105
CyclomaticComplexity The method 'decode4to3(byte, int, byte, int, int)' has a cyclomatic complexity of 13. 12061263
CyclomaticComplexity The method 'decode(byte, int, int, int)' has a cyclomatic complexity of 15. 13081373
CognitiveComplexity The method 'decode(byte, int, int, int)' has a cognitive complexity of 21, current threshold is 15 13081373
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1323
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1351
CyclomaticComplexity The method 'decode(String, int)' has a cyclomatic complexity of 10. 14031462
CloseResource Ensure that resources like this GZIPInputStream object are closed after use 1430
AssignmentInOperand Avoid assignments in operands 1440
LawOfDemeter Potential violation of Law of Demeter (static property access) 1449
CloseResource Ensure that resources like this ObjectInputStream object are closed after use 1512
CloseResource Ensure that resources like this InnerOutputStream object are closed after use 1578
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 1580
CloseResource Ensure that resources like this InnerOutputStream object are closed after use 1609
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 1611
CloseResource Ensure that resources like this InnerInputStream object are closed after use 1642
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 16591660
AssignmentInOperand Avoid assignments in operands 1663
CloseResource Ensure that resources like this InnerInputStream object are closed after use 1701
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 17191720
AssignmentInOperand Avoid assignments in operands 1723
CloseResource Ensure that resources like this OutputStream object are closed after use 1752
CloseResource Ensure that resources like this OutputStream object are closed after use 1776
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1799
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1800
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1801
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1802
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1803
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1804
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1805
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1807
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1808
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1858
CognitiveComplexity The method 'read()' has a cognitive complexity of 44, current threshold is 15 18701964
CyclomaticComplexity The method 'read()' has a cyclomatic complexity of 20. 18701964
NPathComplexity The method 'read()' has an NPath complexity of 308, current threshold is 200 18701964
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1891
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1918
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1919
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2013
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2014
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2015
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2016
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2017
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2018
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2019
AvoidFieldNameMatchingMethodName Field suspendEncoding has the same name as a method 2020
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2020
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2021
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2022
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2072
CognitiveComplexity The method 'write(int)' has a cognitive complexity of 15, current threshold is 15 20872127
CyclomaticComplexity The method 'write(int)' has a cyclomatic complexity of 10. 20872127
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2099
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2118
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2163
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2187
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2188

Waarp Common - org/waarp/common/utility/DetectionUtils.java

Rule Violation Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 35
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 40
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 117

Waarp Common - org/waarp/common/utility/FileConvert.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
AvoidFieldNameMatchingMethodName Field recursive has the same name as a method 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 62
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 62
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 77119
NonThreadSafeSingleton Singleton is not thread safe 8082
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9092
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9092
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101102
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 103
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 103
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 117
CognitiveComplexity The method 'convert(File, boolean)' has a cognitive complexity of 33, current threshold is 15 171239
CyclomaticComplexity The method 'convert(File, boolean)' has a cyclomatic complexity of 15. 171239
CloseResource Ensure that resources like this FileInputStream object are closed after use 177
CloseResource Ensure that resources like this FileOutputStream object are closed after use 178
AssignmentInOperand Avoid assignments in operands 188
AssignmentInOperand Avoid assignments in operands 198
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 199
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 204
CollapsibleIfStatements These nested if statements could be combined 232234

Waarp Common - org/waarp/common/utility/Hexa.java

Rule Violation Line
ForLoopVariableCount Too many control variables in the for statement 54
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 55
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 55
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 55
ForLoopVariableCount Too many control variables in the for statement 64
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 65
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 65
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 65
ForLoopVariableCount Too many control variables in the for statement 84
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 85
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 86

Waarp Common - org/waarp/common/utility/ParametersChecker.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 94
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 133
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 263

Waarp Common - org/waarp/common/utility/StringUtils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 70
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 89

Waarp Common - org/waarp/common/utility/SystemPropertyUtil.java

Rule Violation Line
CyclomaticComplexity The class 'SystemPropertyUtil' has a total cyclomatic complexity of 97 (highest 18). 36810
NPathComplexity The method 'refresh()' has an NPath complexity of 2560, current threshold is 200 90194
CyclomaticComplexity The method 'refresh()' has a cyclomatic complexity of 18. 90194
ExcessiveMethodLength Avoid really long methods. 90194
CognitiveComplexity The method 'refresh()' has a cognitive complexity of 23, current threshold is 15 90194
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 9698
LawOfDemeter Potential violation of Law of Demeter (static property access) 115117
LawOfDemeter Potential violation of Law of Demeter (static property access) 116117
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 118120
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 131133
LawOfDemeter Potential violation of Law of Demeter (static property access) 132133
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 134136
LawOfDemeter Potential violation of Law of Demeter (static property access) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 147149
LawOfDemeter Potential violation of Law of Demeter (static property access) 148149
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 150152
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 164166
LawOfDemeter Potential violation of Law of Demeter (static property access) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175
AvoidAccessibilityAlteration You should not modify visibility of constructors, methods or fields using setAccessible() 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 177179
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 184192
LawOfDemeter Potential violation of Law of Demeter (static property access) 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 187189
LawOfDemeter Potential violation of Law of Demeter (static property access) 190191
LawOfDemeter Potential violation of Law of Demeter (static property access) 201
AvoidDuplicateLiterals The String literal "Key" appears 17 times in this file; the first occurrence is on line 210 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
CyclomaticComplexity The method 'get(String, boolean)' has a cyclomatic complexity of 10. 270300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 277
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 277
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 278
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 282
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 282
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 282
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 286
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 286
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 295297
AvoidDuplicateLiterals The String literal " - " appears 6 times in this file; the first occurrence is on line 297 297
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 327
LawOfDemeter Potential violation of Law of Demeter (static property access) 330
LawOfDemeter Potential violation of Law of Demeter (static property access) 336
LawOfDemeter Potential violation of Law of Demeter (static property access) 339341
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 371
LawOfDemeter Potential violation of Law of Demeter (static property access) 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 380
LawOfDemeter Potential violation of Law of Demeter (static property access) 384386
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 408
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 409
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 417
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 417
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 417
LawOfDemeter Potential violation of Law of Demeter (static property access) 421423
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 445
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 445
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 446
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 449
EmptyCatchBlock Avoid empty catch blocks 449451
LawOfDemeter Potential violation of Law of Demeter (static property access) 454456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 478
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 479
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 482
EmptyCatchBlock Avoid empty catch blocks 482484
LawOfDemeter Potential violation of Law of Demeter (static property access) 487489
NonThreadSafeSingleton Singleton is not thread safe 742771
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 746
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 746
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 747
LawOfDemeter Potential violation of Law of Demeter (static property access) 749
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 751
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 767

Waarp Common - org/waarp/common/utility/ThreadLocalRandom.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74

Waarp Common - org/waarp/common/utility/Version.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 2857
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 29
AvoidFieldNameMatchingMethodName Field VERSION has the same name as a method 29
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 36

Waarp Common - org/waarp/common/utility/WaarpNettyUtil.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 79
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 124
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 125
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 179
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 185
LawOfDemeter Potential violation of Law of Demeter (static property access) 206
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 337

Waarp Common - org/waarp/common/utility/WaarpShutdownHook.java

Rule Violation Line
GodClass Possible God Class (WMC=59, ATFD=29, TCC=19.118%) 39471
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 39
TooManyMethods This class has too many methods, consider refactoring it. 39471
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
MutableStaticState Do not use non-final non-private static fields 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 84
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 91
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 92
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
NonThreadSafeSingleton Singleton is not thread safe 144151
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 159
CognitiveComplexity The method 'terminate()' has a cognitive complexity of 17, current threshold is 15 166224
CyclomaticComplexity The method 'terminate()' has a cyclomatic complexity of 10. 166224
NonThreadSafeSingleton Singleton is not thread safe 169175
LawOfDemeter Potential violation of Law of Demeter (static property access) 182
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 198
LawOfDemeter Potential violation of Law of Demeter (static property access) 202
LawOfDemeter Potential violation of Law of Demeter (static property access) 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 246
CyclomaticComplexity The method 'restartApplication()' has a cyclomatic complexity of 10. 266310
CognitiveComplexity The method 'restartApplication()' has a cognitive complexity of 15, current threshold is 15 266310
NonThreadSafeSingleton Singleton is not thread safe 267309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 273
NonThreadSafeSingleton Singleton is not thread safe 290292
LawOfDemeter Potential violation of Law of Demeter (static property access) 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 303
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 304308
LawOfDemeter Potential violation of Law of Demeter (static property access) 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 407408
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 414422
LawOfDemeter Potential violation of Law of Demeter (static property access) 419
LawOfDemeter Potential violation of Law of Demeter (static property access) 423
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 431
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 432
LawOfDemeter Potential violation of Law of Demeter (static property access) 453
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 455
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 463
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 464
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 464
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 465

Waarp Common - org/waarp/common/utility/WaarpStringUtils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 125
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 160
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 164
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 169171
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 228
EmptyWhileStmt Avoid empty while statements 271273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 299300
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 304
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 310
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 317

Waarp Common - org/waarp/common/utility/WaarpSystemUtil.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 12
AvoidFieldNameMatchingMethodName Field isJunit has the same name as a method 12
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 28
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 61
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 62
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 78
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 79
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 93

Waarp Common - org/waarp/common/utility/WaarpThreadFactory.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 55

Waarp Common - org/waarp/common/xml/XmlDecl.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
AvoidFieldNameMatchingMethodName Field isMultiple has the same name as a method 34
ArrayIsStoredDirectly The user-supplied array 'decls' is stored directly. 70
MethodReturnsInternalArray Returning 'subXml' may expose an internal array. 119
CognitiveComplexity The method 'isCompatible(XmlDecl)' has a cognitive complexity of 16, current threshold is 15 146166
CyclomaticComplexity The method 'isCompatible(XmlDecl)' has a cyclomatic complexity of 15. 146166

Waarp Common - org/waarp/common/xml/XmlHash.java

Rule Violation Line
ReplaceHashtableWithMap Consider replacing this Hashtable with the newer java.util.Map 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
LooseCoupling Avoid using implementation types like 'Hashtable'; use the interface instead 31

Waarp Common - org/waarp/common/xml/XmlType.java

Rule Violation Line
CyclomaticComplexity The method 'isNativelyCompatible(Object)' has a cyclomatic complexity of 14. 5691
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 86

Waarp Common - org/waarp/common/xml/XmlUtil.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 53845
CyclomaticComplexity The class 'XmlUtil' has a total cyclomatic complexity of 130 (highest 10). 53845
GodClass Possible God Class (WMC=130, ATFD=77, TCC=1.008%) 53845
EmptyCatchBlock Avoid empty catch blocks 8284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 448
CyclomaticComplexity The method 'addAndGetElementMultiple(Document, String)' has a cyclomatic complexity of 10. 488525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 511
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 521
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 542
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 588
CognitiveComplexity The method 'read(Document, XmlDecl)' has a cognitive complexity of 28, current threshold is 15 600649
CyclomaticComplexity The method 'read(Document, XmlDecl)' has a cyclomatic complexity of 10. 600649
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 640
EmptyCatchBlock Avoid empty catch blocks 643645
CyclomaticComplexity The method 'read(Element, XmlDecl)' has a cyclomatic complexity of 10. 659708
CognitiveComplexity The method 'read(Element, XmlDecl)' has a cognitive complexity of 29, current threshold is 15 659708
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 664
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 699
EmptyCatchBlock Avoid empty catch blocks 702704
EmptyCatchBlock Avoid empty catch blocks 716718
EmptyCatchBlock Avoid empty catch blocks 718720
EmptyCatchBlock Avoid empty catch blocks 731733
EmptyCatchBlock Avoid empty catch blocks 743745
CognitiveComplexity The method 'write(Document, XmlValue)' has a cognitive complexity of 22, current threshold is 15 756782
CognitiveComplexity The method 'write(Element, XmlValue)' has a cognitive complexity of 24, current threshold is 15 791817
LawOfDemeter Potential violation of Law of Demeter (static property access) 834

Waarp Common - org/waarp/common/xml/XmlValue.java

Rule Violation Line
CyclomaticComplexity The class 'XmlValue' has a total cyclomatic complexity of 211 (highest 40). 38799
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
CyclomaticComplexity The constructor 'XmlValue(XmlDecl)' has a cyclomatic complexity of 18. 5596
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 59
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 61
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 70
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 71
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 75
AvoidDuplicateLiterals The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 98 98
CognitiveComplexity The constructor 'XmlValue(XmlValue)' has a cognitive complexity of 24, current threshold is 15 99132
CyclomaticComplexity The constructor 'XmlValue(XmlValue)' has a cyclomatic complexity of 10. 99132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 105
EmptyCatchBlock Avoid empty catch blocks 121123
EmptyCatchBlock Avoid empty catch blocks 128130
MethodReturnsInternalArray Returning 'subXml' may expose an internal array. 184
CyclomaticComplexity The method 'addFromString(String)' has a cyclomatic complexity of 16. 213268
CyclomaticComplexity The method 'addValue(Object)' has a cyclomatic complexity of 18. 278333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 279
CyclomaticComplexity The method 'getCloneValue(XmlType, Object)' has a cyclomatic complexity of 17. 352389
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 429
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 440
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 474
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 518
CognitiveComplexity The method 'setValue(Object)' has a cognitive complexity of 21, current threshold is 15 585640
CyclomaticComplexity The method 'setValue(Object)' has a cyclomatic complexity of 23. 585640
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 586
CognitiveComplexity The method 'convert(Class, String)' has a cognitive complexity of 78, current threshold is 15 649761
CyclomaticComplexity The method 'convert(Class, String)' has a cyclomatic complexity of 40. 649761
ExcessiveMethodLength Avoid really long methods. 649761
NcssCount The method 'convert(Class, String)' has a NCSS line count of 89. 649761
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 733737
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 733737
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 746
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 746
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 752753
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 758759
CognitiveComplexity The method 'toFullString()' has a cognitive complexity of 28, current threshold is 15 770798
CyclomaticComplexity The method 'toFullString()' has a cyclomatic complexity of 10. 770798

Waarp Compression - org/waarp/compress/CompressorCodec.java

Rule Violation Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 50
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 63
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 82
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 95
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 108

Waarp Compression - org/waarp/compress/WaarpZstdCodec.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 64
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 106
CloseResource Ensure that resources like this InputStream object are closed after use 107
CloseResource Ensure that resources like this OutputStream object are closed after use 108
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 136
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 138
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 157
CloseResource Ensure that resources like this InputStream object are closed after use 158
CloseResource Ensure that resources like this OutputStream object are closed after use 159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 187
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 189

Waarp Compression - org/waarp/compress/zlib/ZlibCodec.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 41287
CloseResource Ensure that resources like this DeflaterOutputStream object are closed after use 51
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 59
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 70
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 75
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 82
CloseResource Ensure that resources like this InputStream object are closed after use 83
CloseResource Ensure that resources like this OutputStream object are closed after use 84
CloseResource Ensure that resources like this DeflaterOutputStream object are closed after use 85
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 91
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 93
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 104
CloseResource Ensure that resources like this InflaterOutputStream object are closed after use 106
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 114
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 125
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 130
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 137
CloseResource Ensure that resources like this InputStream object are closed after use 138
CloseResource Ensure that resources like this OutputStream object are closed after use 139
CloseResource Ensure that resources like this InflaterOutputStream object are closed after use 140
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 163
RedundantFieldInitializer Avoid using redundant field initializer for 'byteArrayOutputStream' 163
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 164
RedundantFieldInitializer Avoid using redundant field initializer for 'deflaterOutputStream' 164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 165
RedundantFieldInitializer Avoid using redundant field initializer for 'inflaterOutputStream' 165
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 184194
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 217227
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 236241
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 246256
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 267286
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 272
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 277
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 282

Waarp Compression - org/waarp/compress/zstdjni/ZstdJniCodec.java

Rule Violation Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 49
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 55
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 66
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 73
CloseResource Ensure that resources like this InputStream object are closed after use 74
CloseResource Ensure that resources like this OutputStream object are closed after use 75
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 90
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 92
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 102
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 113
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 124
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 131
CloseResource Ensure that resources like this InputStream object are closed after use 132
CloseResource Ensure that resources like this OutputStream object are closed after use 133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 139
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 141

Waarp Compression - org/waarp/compress/zstdsafe/BitInputStream.java

Rule Violation Line
ImplicitSwitchFallThrough A switch statement does not contain a break 6174
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 6174
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
ArrayIsStoredDirectly The user-supplied array 'inputBase' is stored directly. 106
DataClass The class 'Loader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=4, WMC=11) 147210
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 150
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 152
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 153
ArrayIsStoredDirectly The user-supplied array 'inputBase' is stored directly. 155
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 182

Waarp Compression - org/waarp/compress/zstdsafe/BitOutputStream.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
ArrayIsStoredDirectly The user-supplied array 'outputBase' is stored directly. 56

Waarp Compression - org/waarp/compress/zstdsafe/BlockCompressionState.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45

Waarp Compression - org/waarp/compress/zstdsafe/CompressionContext.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46

Waarp Compression - org/waarp/compress/zstdsafe/CompressionParameters.java

Rule Violation Line
DataClass The class 'CompressionParameters' is suspected to be a Data Class (WOC=11.111%, NOPA=1, NOAM=7, WMC=22) 39412

Waarp Compression - org/waarp/compress/zstdsafe/DoubleFastBlockCompressor.java

Rule Violation Line
MissingOverride The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' is missing an @Override annotation. 44229
NPathComplexity The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has an NPath complexity of 2912, current threshold is 200 44229
CognitiveComplexity The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cognitive complexity of 53, current threshold is 15 44229
CyclomaticComplexity The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cyclomatic complexity of 28. 44229
NcssCount The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a NCSS line count of 92. 44229
ExcessiveMethodLength Avoid really long methods. 44229

Waarp Compression - org/waarp/compress/zstdsafe/FiniteStateEntropy.java

Rule Violation Line
GodClass Possible God Class (WMC=59, ATFD=33, TCC=19.048%) 41592
NcssCount The method 'decompress(FiniteStateEntropy.Table, byte, int, int, byte)' has a NCSS line count of 80. 55187
ExcessiveMethodLength Avoid really long methods. 55187
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 131132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 152153
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 173174
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 205
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 272
CyclomaticComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cyclomatic complexity of 10. 290346
CognitiveComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cognitive complexity of 20, current threshold is 15 290346
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 321
CognitiveComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cognitive complexity of 31, current threshold is 15 348438
NPathComplexity The method 'normalizeCounts2(short, int, int, int, int)' has an NPath complexity of 1600, current threshold is 200 348438
CyclomaticComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cyclomatic complexity of 19. 348438
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 430
CognitiveComplexity The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has a cognitive complexity of 27, current threshold is 15 440562
ExcessiveMethodLength Avoid really long methods. 440562
NPathComplexity The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has an NPath complexity of 1089, current threshold is 200 440562
CyclomaticComplexity The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has a cyclomatic complexity of 14. 440562
NcssCount The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has a NCSS line count of 64. 440562
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 507
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 531
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 541
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 565
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 566
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 567
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 568
ArrayIsStoredDirectly The user-supplied array 'symbol' is stored directly. 577
ArrayIsStoredDirectly The user-supplied array 'newState' is stored directly. 577
ArrayIsStoredDirectly The user-supplied array 'numberOfBits' is stored directly. 578

Waarp Compression - org/waarp/compress/zstdsafe/FrameHeader.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 78
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 101

Waarp Compression - org/waarp/compress/zstdsafe/FseCompressionTable.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
CyclomaticComplexity The method 'initialize(short, int, int)' has a cyclomatic complexity of 10. 71137

Waarp Compression - org/waarp/compress/zstdsafe/FseTableReader.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
CyclomaticComplexity The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has a cyclomatic complexity of 18. 44182
ExcessiveMethodLength Avoid really long methods. 44182
CognitiveComplexity The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has a cognitive complexity of 41, current threshold is 15 44182
NcssCount The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has a NCSS line count of 86. 44182
NPathComplexity The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has an NPath complexity of 4008, current threshold is 200 44182

Waarp Compression - org/waarp/compress/zstdsafe/Huffman.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 80
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 173174
ExcessiveMethodLength Avoid really long methods. 202374
NcssCount The method 'decode4Streams(byte, int, int, byte, int, int)' has a NCSS line count of 92. 202374
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 316317
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 328329
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 340341
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 351352
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 387388

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionContext.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionTable.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 56
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
AvoidArrayLoops System.arraycopy is more efficient 9497
AvoidArrayLoops System.arraycopy is more efficient 108113
CyclomaticComplexity The method 'buildTree(int, int, NodeTable)' has a cyclomatic complexity of 13. 124211
CognitiveComplexity The method 'buildTree(int, int, NodeTable)' has a cognitive complexity of 17, current threshold is 15 124211
NPathComplexity The method 'buildTree(int, int, NodeTable)' has an NPath complexity of 640, current threshold is 200 124211
CyclomaticComplexity The method 'write(byte, int, int, HuffmanTableWriterWorkspace)' has a cyclomatic complexity of 10. 222284
NPathComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has an NPath complexity of 15648, current threshold is 200 314418
CyclomaticComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cyclomatic complexity of 19. 314418
ExcessiveMethodLength Avoid really long methods. 314418
CognitiveComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cognitive complexity of 35, current threshold is 15 314418
NcssCount The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a NCSS line count of 60. 314418
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 428
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 465

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionTableWorkspace.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressor.java

Rule Violation Line
ImplicitSwitchFallThrough A switch statement does not contain a break 133147

Waarp Compression - org/waarp/compress/zstdsafe/NodeTable.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42

Waarp Compression - org/waarp/compress/zstdsafe/RepeatedOffsets.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41

Waarp Compression - org/waarp/compress/zstdsafe/SequenceEncoder.java

Rule Violation Line
ExcessiveMethodLength Avoid really long methods. 78235
NPathComplexity The method 'compressSequences(byte, int, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has an NPath complexity of 384, current threshold is 200 78235
CyclomaticComplexity The method 'compressSequences(byte, int, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a cyclomatic complexity of 16. 78235
NcssCount The method 'compressSequences(byte, int, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a NCSS line count of 91. 78235
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
ExcessiveParameterList Avoid long parameter lists. 237246
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 251
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 365

Waarp Compression - org/waarp/compress/zstdsafe/SequenceStore.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 112
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 120
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 133
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 153
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 165

Waarp Compression - org/waarp/compress/zstdsafe/Util.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 102

Waarp Compression - org/waarp/compress/zstdsafe/XxHash64.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 54

Waarp Compression - org/waarp/compress/zstdsafe/ZstdFrameCompressor.java

Rule Violation Line
CyclomaticComplexity The method 'writeFrameHeader(byte, int, int, int, int)' has a cyclomatic complexity of 14. 68132
NPathComplexity The method 'writeFrameHeader(byte, int, int, int, int)' has an NPath complexity of 200, current threshold is 200 68132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 246248
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 251258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 251258
LawOfDemeter Potential violation of Law of Demeter (static property access) 263264
LawOfDemeter Potential violation of Law of Demeter (static property access) 267
CognitiveComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has a cognitive complexity of 23, current threshold is 15 305454
CyclomaticComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has a cyclomatic complexity of 20. 305454
NPathComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has an NPath complexity of 10800, current threshold is 200 305454
NcssCount The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has a NCSS line count of 67. 305454
ExcessiveMethodLength Avoid really long methods. 305454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 349
LawOfDemeter Potential violation of Law of Demeter (static property access) 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 365367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 372
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 496
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 499

Waarp Compression - org/waarp/compress/zstdsafe/ZstdFrameDecompressor.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 451061
CyclomaticComplexity The class 'ZstdFrameDecompressor' has a total cyclomatic complexity of 115 (highest 17). 451061
ExcessiveClassLength Avoid really long classes. 451061
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 126
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 136
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 147
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 148
CyclomaticComplexity The method 'decompress(byte, int, int, byte, int, int)' has a cyclomatic complexity of 11. 150234
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 241
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 243
ImplicitSwitchFallThrough A switch statement does not contain a break 307325
NPathComplexity The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has an NPath complexity of 3652, current threshold is 200 336574
CyclomaticComplexity The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has a cyclomatic complexity of 17. 336574
NcssCount The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has a NCSS line count of 132. 336574
ExcessiveMethodLength Avoid really long methods. 336574
ExcessiveParameterList Avoid long parameter lists. 336344
CognitiveComplexity The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has a cognitive complexity of 54, current threshold is 15 336574
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 359
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 365
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 435436
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 461
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 468
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 478
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 495
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 501
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 511512
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 631
AvoidArrayLoops System.arraycopy is more efficient 782786
AvoidArrayLoops System.arraycopy is more efficient 789793
ImplicitSwitchFallThrough A switch statement does not contain a break 809840
CyclomaticComplexity The method 'readFrameHeader(byte, int, int)' has a cyclomatic complexity of 14. 9561033
NPathComplexity The method 'readFrameHeader(byte, int, int)' has an NPath complexity of 360, current threshold is 200 9561033
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 9891002
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 10071027
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1040

Waarp Compression - org/waarp/compress/zstdsafe/ZstdSafeCodec.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 84
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 96
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 103
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 110
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 117
CloseResource Ensure that resources like this InputStream object are closed after use 118
CloseResource Ensure that resources like this OutputStream object are closed after use 119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 132
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 134
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 145
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 149
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 156
CloseResource Ensure that resources like this InputStream object are closed after use 157
CloseResource Ensure that resources like this OutputStream object are closed after use 158
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 170
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 172

Waarp Compression - org/waarp/compress/zstdunsafe/BitInputStream.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 55
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 5782
ImplicitSwitchFallThrough A switch statement does not contain a break 5782
LawOfDemeter Potential violation of Law of Demeter (static property access) 60
LawOfDemeter Potential violation of Law of Demeter (static property access) 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 68
LawOfDemeter Potential violation of Law of Demeter (static property access) 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 146
DataClass The class 'Loader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=4, WMC=11) 156219
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 162
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 202
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 214

Waarp Compression - org/waarp/compress/zstdunsafe/BitOutputStream.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
LawOfDemeter Potential violation of Law of Demeter (static property access) 80

Waarp Compression - org/waarp/compress/zstdunsafe/BlockCompressionState.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45

Waarp Compression - org/waarp/compress/zstdunsafe/CompressionContext.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44

Waarp Compression - org/waarp/compress/zstdunsafe/CompressionParameters.java

Rule Violation Line
DataClass The class 'CompressionParameters' is suspected to be a Data Class (WOC=11.111%, NOPA=1, NOAM=7, WMC=22) 38411

Waarp Compression - org/waarp/compress/zstdunsafe/DoubleFastBlockCompressor.java

Rule Violation Line
ExcessiveMethodLength Avoid really long methods. 41244
NPathComplexity The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has an NPath complexity of 2912, current threshold is 200 41244
MissingOverride The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' is missing an @Override annotation. 41244
NcssCount The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a NCSS line count of 92. 41244
CognitiveComplexity The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cognitive complexity of 53, current threshold is 15 41244
CyclomaticComplexity The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cyclomatic complexity of 28. 41244
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 159160
LawOfDemeter Potential violation of Law of Demeter (static property access) 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 174175
LawOfDemeter Potential violation of Law of Demeter (static property access) 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 294

Waarp Compression - org/waarp/compress/zstdunsafe/FiniteStateEntropy.java

Rule Violation Line
GodClass Possible God Class (WMC=59, ATFD=42, TCC=19.048%) 39598
NcssCount The method 'decompress(FiniteStateEntropy.Table, Object, long, long, byte)' has a NCSS line count of 80. 53185
ExcessiveMethodLength Avoid really long methods. 53185
LawOfDemeter Potential violation of Law of Demeter (static property access) 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 143
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 150151
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 164
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 171172
LawOfDemeter Potential violation of Law of Demeter (static property access) 179
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 240
LawOfDemeter Potential violation of Law of Demeter (static property access) 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 278
CyclomaticComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cyclomatic complexity of 10. 296352
CognitiveComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cognitive complexity of 20, current threshold is 15 296352
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 327
NPathComplexity The method 'normalizeCounts2(short, int, int, int, int)' has an NPath complexity of 1600, current threshold is 200 354444
CognitiveComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cognitive complexity of 31, current threshold is 15 354444
CyclomaticComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cyclomatic complexity of 19. 354444
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 436
NcssCount The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has a NCSS line count of 64. 446568
ExcessiveMethodLength Avoid really long methods. 446568
NPathComplexity The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has an NPath complexity of 1089, current threshold is 200 446568
CognitiveComplexity The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has a cognitive complexity of 27, current threshold is 15 446568
CyclomaticComplexity The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has a cyclomatic complexity of 14. 446568
LawOfDemeter Potential violation of Law of Demeter (static property access) 494
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 513
LawOfDemeter Potential violation of Law of Demeter (static property access) 517
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 537
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 547
LawOfDemeter Potential violation of Law of Demeter (static property access) 551
LawOfDemeter Potential violation of Law of Demeter (static property access) 562
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 571
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 572
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 573
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 574
ArrayIsStoredDirectly The user-supplied array 'newState' is stored directly. 583
ArrayIsStoredDirectly The user-supplied array 'symbol' is stored directly. 583
ArrayIsStoredDirectly The user-supplied array 'numberOfBits' is stored directly. 584

Waarp Compression - org/waarp/compress/zstdunsafe/FrameHeader.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44

Waarp Compression - org/waarp/compress/zstdunsafe/FseCompressionTable.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
CyclomaticComplexity The method 'initialize(short, int, int)' has a cyclomatic complexity of 10. 69135

Waarp Compression - org/waarp/compress/zstdunsafe/FseTableReader.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
ExcessiveMethodLength Avoid really long methods. 42183
CyclomaticComplexity The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has a cyclomatic complexity of 18. 42183
NPathComplexity The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has an NPath complexity of 4008, current threshold is 200 42183
CognitiveComplexity The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has a cognitive complexity of 41, current threshold is 15 42183
NcssCount The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has a NCSS line count of 86. 42183
LawOfDemeter Potential violation of Law of Demeter (static property access) 55
LawOfDemeter Potential violation of Law of Demeter (static property access) 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 139

Waarp Compression - org/waarp/compress/zstdunsafe/Histogram.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 50

Waarp Compression - org/waarp/compress/zstdunsafe/Huffman.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 75
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 87
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 174175
ExcessiveMethodLength Avoid really long methods. 203378
NcssCount The method 'decode4Streams(Object, long, long, Object, long, long)' has a NCSS line count of 92. 203378
LawOfDemeter Potential violation of Law of Demeter (static property access) 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 213214
LawOfDemeter Potential violation of Law of Demeter (static property access) 216217
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 320321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 332333
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 344345
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 355356
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 391392
LawOfDemeter Potential violation of Law of Demeter (static property access) 424

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionContext.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionTable.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
AvoidArrayLoops System.arraycopy is more efficient 9497
AvoidArrayLoops System.arraycopy is more efficient 108113
CognitiveComplexity The method 'buildTree(int, int, NodeTable)' has a cognitive complexity of 17, current threshold is 15 124211
NPathComplexity The method 'buildTree(int, int, NodeTable)' has an NPath complexity of 640, current threshold is 200 124211
CyclomaticComplexity The method 'buildTree(int, int, NodeTable)' has a cyclomatic complexity of 13. 124211
CyclomaticComplexity The method 'write(Object, long, int, HuffmanTableWriterWorkspace)' has a cyclomatic complexity of 10. 222286
LawOfDemeter Potential violation of Law of Demeter (static property access) 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 278280
ExcessiveMethodLength Avoid really long methods. 316420
NPathComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has an NPath complexity of 15648, current threshold is 200 316420
CyclomaticComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cyclomatic complexity of 19. 316420
NcssCount The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a NCSS line count of 60. 316420
CognitiveComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cognitive complexity of 35, current threshold is 15 316420
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 430
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 468

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionTableWorkspace.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressor.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 7879
LawOfDemeter Potential violation of Law of Demeter (static property access) 9091
LawOfDemeter Potential violation of Law of Demeter (static property access) 102104
ImplicitSwitchFallThrough A switch statement does not contain a break 136156
LawOfDemeter Potential violation of Law of Demeter (static property access) 138140
LawOfDemeter Potential violation of Law of Demeter (static property access) 143145
LawOfDemeter Potential violation of Law of Demeter (static property access) 148150
LawOfDemeter Potential violation of Law of Demeter (static property access) 159161
LawOfDemeter Potential violation of Law of Demeter (static property access) 162164
LawOfDemeter Potential violation of Law of Demeter (static property access) 165167
LawOfDemeter Potential violation of Law of Demeter (static property access) 168170

Waarp Compression - org/waarp/compress/zstdunsafe/NodeTable.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42

Waarp Compression - org/waarp/compress/zstdunsafe/RepeatedOffsets.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceEncoder.java

Rule Violation Line
CyclomaticComplexity The method 'compressSequences(Object, long, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a cyclomatic complexity of 16. 78236
ExcessiveMethodLength Avoid really long methods. 78236
NPathComplexity The method 'compressSequences(Object, long, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has an NPath complexity of 384, current threshold is 200 78236
NcssCount The method 'compressSequences(Object, long, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a NCSS line count of 91. 78236
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
ExcessiveParameterList Avoid long parameter lists. 238247
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 252
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 299
LawOfDemeter Potential violation of Law of Demeter (static property access) 368

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceStore.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 114
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 122
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 135
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 155
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 167

Waarp Compression - org/waarp/compress/zstdunsafe/UnsafeUtil.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 96
AvoidAccessibilityAlteration You should not modify visibility of constructors, methods or fields using setAccessible() 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 98
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 99100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 120
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 121122

Waarp Compression - org/waarp/compress/zstdunsafe/Util.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 9697
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 102

Waarp Compression - org/waarp/compress/zstdunsafe/XxHash64.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 52
LawOfDemeter Potential violation of Law of Demeter (static property access) 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 102

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameCompressor.java

Rule Violation Line
NPathComplexity The method 'writeFrameHeader(Object, long, long, int, int)' has an NPath complexity of 200, current threshold is 200 69133
CyclomaticComplexity The method 'writeFrameHeader(Object, long, long, int, int)' has a cyclomatic complexity of 14. 69133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 248250
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 253260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 253260
LawOfDemeter Potential violation of Law of Demeter (static property access) 266267
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
CyclomaticComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has a cyclomatic complexity of 20. 308458
ExcessiveMethodLength Avoid really long methods. 308458
NPathComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has an NPath complexity of 10800, current threshold is 200 308458
NcssCount The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has a NCSS line count of 67. 308458
CognitiveComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has a cognitive complexity of 23, current threshold is 15 308458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 352
LawOfDemeter Potential violation of Law of Demeter (static property access) 353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 375
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 503
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 506

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameDecompressor.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 461081
CyclomaticComplexity The class 'ZstdFrameDecompressor' has a total cyclomatic complexity of 115 (highest 17). 461081
ExcessiveClassLength Avoid really long classes. 461081
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 127
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
CyclomaticComplexity The method 'decompress(Object, long, long, Object, long, long)' has a cyclomatic complexity of 11. 151235
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 244
ImplicitSwitchFallThrough A switch statement does not contain a break 312330
CognitiveComplexity The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has a cognitive complexity of 54, current threshold is 15 341577
CyclomaticComplexity The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has a cyclomatic complexity of 17. 341577
NPathComplexity The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has an NPath complexity of 3652, current threshold is 200 341577
ExcessiveMethodLength Avoid really long methods. 341577
ExcessiveParameterList Avoid long parameter lists. 341350
NcssCount The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has a NCSS line count of 132. 341577
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 365
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 371
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 438439
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 464
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 471
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 481
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 498
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 504
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 514515
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 638
ImplicitSwitchFallThrough A switch statement does not contain a break 826858
NPathComplexity The method 'readFrameHeader(Object, long, long)' has an NPath complexity of 360, current threshold is 200 9761053
CyclomaticComplexity The method 'readFrameHeader(Object, long, long)' has a cyclomatic complexity of 14. 9761053
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 10091022
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 10271047
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1060

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdUnsafeCodec.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 82
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 98
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 105
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 111
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 118
CloseResource Ensure that resources like this InputStream object are closed after use 119
CloseResource Ensure that resources like this OutputStream object are closed after use 120
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 133
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 135
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 155
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 162
CloseResource Ensure that resources like this InputStream object are closed after use 163
CloseResource Ensure that resources like this OutputStream object are closed after use 164
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 176
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 178

Waarp Digest - org/waarp/common/digest/FilesystemBasedDigest.java

Rule Violation Line
CyclomaticComplexity The class 'FilesystemBasedDigest' has a total cyclomatic complexity of 136 (highest 20). 61795
TooManyMethods This class has too many methods, consider refactoring it. 61795
GodClass Possible God Class (WMC=136, ATFD=51, TCC=25.057%) 61795
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
AvoidMessageDigestField You shouldnt declare field of MessageDigest type, because unsynchronized access could cause problems 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
CyclomaticComplexity The method 'initialize()' has a cyclomatic complexity of 12. 98124
ImplicitSwitchFallThrough A switch statement does not contain a break 152164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 227
CyclomaticComplexity The method 'getFromName(String)' has a cyclomatic complexity of 11. 269294
EmptyCatchBlock Avoid empty catch blocks 272274
UnusedPrivateField Avoid unused private fields such as 'useFastMd5'. 300
CyclomaticComplexity The method 'getHashNoNio(InputStream, DigestAlgo, byte)' has a cyclomatic complexity of 13. 362400
AssignmentInOperand Avoid assignments in operands 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 392
AssignmentInOperand Avoid assignments in operands 408
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 411
CyclomaticComplexity The method 'getHash(File, boolean, DigestAlgo)' has a cyclomatic complexity of 20. 426496
CognitiveComplexity The method 'getHash(File, boolean, DigestAlgo)' has a cognitive complexity of 16, current threshold is 15 426496
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 470
AssignmentInOperand Avoid assignments in operands 470
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 471
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 491
AssignmentInOperand Avoid assignments in operands 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 511
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 537
CyclomaticComplexity The method 'getHash(ByteBuf, DigestAlgo)' has a cyclomatic complexity of 11. 554584
CyclomaticComplexity The method 'getHash(byte, int, DigestAlgo)' has a cyclomatic complexity of 10. 612630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 642
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 643
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 653
ForLoopVariableCount Too many control variables in the for statement 690
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 691
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 692
ForLoopVariableCount Too many control variables in the for statement 707
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 708
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 709
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 768

Waarp Digest - org/waarp/common/digest/WaarpBC.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'initialized' 43
RedundantFieldInitializer Avoid using redundant field initializer for 'specialSecureRandom' 44
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 5762
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 158159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 158159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 163

Waarp Exec - org/waarp/commandexec/client/LocalExecClientHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 214

Waarp Exec - org/waarp/commandexec/client/LocalExecClientInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 46
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 63

Waarp Exec - org/waarp/commandexec/server/LocalExecServer.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 4198
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 43
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 43
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 45
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 59
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 65
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 92
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95

Waarp Exec - org/waarp/commandexec/server/LocalExecServerHandler.java

Rule Violation Line
UnusedAssignment The field initializer for 'delay' is never used (overwritten on line 173) 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
AvoidFieldNameMatchingMethodName Field isShutdown has the same name as a method 63
MutableStaticState Do not use non-final non-private static fields 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 122
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 154
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 156
EmptyCatchBlock Avoid empty catch blocks 157159
NPathComplexity The method 'channelRead0(ChannelHandlerContext, String)' has an NPath complexity of 7203, current threshold is 200 197359
ExcessiveMethodLength Avoid really long methods. 197359
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, String)' has a cognitive complexity of 62, current threshold is 15 197359
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, String)' has a cyclomatic complexity of 24. 197359
NcssCount The method 'channelRead0(ChannelHandlerContext, String)' has a NCSS line count of 96. 197359
LawOfDemeter Potential violation of Law of Demeter (static property access) 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 227
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 227
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 227
CollapsibleIfStatements These nested if statements could be combined 235240
LawOfDemeter Potential violation of Law of Demeter (static property access) 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 308
LawOfDemeter Potential violation of Law of Demeter (static property access) 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 334
LawOfDemeter Potential violation of Law of Demeter (static property access) 335
LawOfDemeter Potential violation of Law of Demeter (static property access) 340
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 357
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 33, current threshold is 15 362397
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 13. 362397
EmptyIfStmt Avoid empty if statements 371373
EmptyIfStmt Avoid empty if statements 373375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 383
CollapsibleIfStatements These nested if statements could be combined 390395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 390

Waarp Exec - org/waarp/commandexec/server/LocalExecServerInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 52
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 65

Waarp Exec - org/waarp/commandexec/ssl/client/LocalExecSslClientHandler.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75

Waarp Exec - org/waarp/commandexec/ssl/client/LocalExecSslClientInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 63

Waarp Exec - org/waarp/commandexec/ssl/server/LocalExecSslServer.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 44139
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 46
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 46
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 47
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 48
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 66
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 18, current threshold is 15 66138
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 79
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 83
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 85
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 88
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 8893
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 90
LawOfDemeter Potential violation of Law of Demeter (static property access) 9798
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 133
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136

Waarp Exec - org/waarp/commandexec/ssl/server/LocalExecSslServerInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 51
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 79

Waarp Exec - org/waarp/commandexec/utils/LocalExecResult.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 27
AvoidFieldNameMatchingMethodName Field isSuccess has the same name as a method 27
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71

Waarp Ftp Core - org/waarp/ftp/core/command/AbstractCommand.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 83
NPathComplexity The method 'isNextCommandValid(CommandInterface)' has an NPath complexity of 396, current threshold is 200 88122
CognitiveComplexity The method 'isNextCommandValid(CommandInterface)' has a cognitive complexity of 20, current threshold is 15 88122
CyclomaticComplexity The method 'isNextCommandValid(CommandInterface)' has a cyclomatic complexity of 13. 88122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184

Waarp Ftp Core - org/waarp/ftp/core/command/FtpArgumentCode.java

Rule Violation Line
CyclomaticComplexity The method 'getTransferType(char)' has a cyclomatic complexity of 10. 176195
CyclomaticComplexity The method 'getTransferMode(char)' has a cyclomatic complexity of 10. 262281

Waarp Ftp Core - org/waarp/ftp/core/command/FtpCommandCode.java

Rule Violation Line
ExcessiveClassLength Avoid really long classes. 391658
ArrayIsStoredDirectly The user-supplied array 'nextValids' is stored directly. 1373
UnusedAssignment The value assigned to variable 'ftpCommandCode' is never used (overwritten on lines 1411 and 1413) 1394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1399
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1401
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1406
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1409
NcssCount The method 'getAbstractCommand(FtpCommandCode, FtpSession)' has a NCSS line count of 122. 14251549
ExcessiveMethodLength Avoid really long methods. 14251549
CyclomaticComplexity The method 'getAbstractCommand(FtpCommandCode, FtpSession)' has a cyclomatic complexity of 61. 14251549

Waarp Ftp Core - org/waarp/ftp/core/command/access/ACCT.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50

Waarp Ftp Core - org/waarp/ftp/core/command/access/PASS.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 52

Waarp Ftp Core - org/waarp/ftp/core/command/access/QUIT.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 31
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 32
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3334

Waarp Ftp Core - org/waarp/ftp/core/command/access/REIN.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 34
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 36

Waarp Ftp Core - org/waarp/ftp/core/command/access/USER.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 48

Waarp Ftp Core - org/waarp/ftp/core/command/directory/CDUP.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 34
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3941
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344

Waarp Ftp Core - org/waarp/ftp/core/command/directory/CWD.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 42
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5657

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XCRC.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4041

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XDIGEST.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4849

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XMD5.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4243

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XSHA1.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4243

Waarp Ftp Core - org/waarp/ftp/core/command/info/HELP.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3233

Waarp Ftp Core - org/waarp/ftp/core/command/info/NOOP.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45

Waarp Ftp Core - org/waarp/ftp/core/command/info/SITE.java

Rule Violation Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 10. 4387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4951
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4951
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 61
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 84

Waarp Ftp Core - org/waarp/ftp/core/command/info/STAT.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6465
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6768
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 72
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 33 characters appended. 73
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81

Waarp Ftp Core - org/waarp/ftp/core/command/info/SYST.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3132

Waarp Ftp Core - org/waarp/ftp/core/command/internal/ConnectionCommand.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44

Waarp Ftp Core - org/waarp/ftp/core/command/internal/INTERNALSHUTDOWN.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 67
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 67
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8384

Waarp Ftp Core - org/waarp/ftp/core/command/internal/IncorrectCommand.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55

Waarp Ftp Core - org/waarp/ftp/core/command/internal/LIMITBANDWIDTH.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4041
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 48
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 5657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6061

Waarp Ftp Core - org/waarp/ftp/core/command/internal/UnimplementedCommand.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4042
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45

Waarp Ftp Core - org/waarp/ftp/core/command/internal/UnknownCommand.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4042
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/MODE.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4042
LawOfDemeter Potential violation of Law of Demeter (static property access) 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 62

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/PASV.java

Rule Violation Line
NPathComplexity The method 'exec()' has an NPath complexity of 224, current threshold is 200 47113
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 14. 47113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 110111

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/PORT.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5658
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8183

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/STRU.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3738
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3738
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3941
LawOfDemeter Potential violation of Law of Demeter (static property access) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 62

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/TYPE.java

Rule Violation Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 14. 3584
CognitiveComplexity The method 'exec()' has a cognitive complexity of 19, current threshold is 15 3584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4043
LawOfDemeter Potential violation of Law of Demeter (static property access) 42
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 62
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 7071
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2389/FEAT.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3233

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2389/OPTS.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 34

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2428/EPRT.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4649
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6467

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2428/EPSV.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9193

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/MDTM.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/MLSD.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4142

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/MLST.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4041

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/SIZE.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/AUTH.java

Rule Violation Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 10. 5084
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7071
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7778
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 79

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/CCC.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/PBSZ.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 36
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/PROT.java

Rule Violation Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 17. 3676
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 57
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73

Waarp Ftp Core - org/waarp/ftp/core/command/service/ABOR.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3637
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3637
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3637
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4041
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4849

Waarp Ftp Core - org/waarp/ftp/core/command/service/ALLO.java

Rule Violation Line
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5455

Waarp Ftp Core - org/waarp/ftp/core/command/service/APPE.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546

Waarp Ftp Core - org/waarp/ftp/core/command/service/DELE.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4446

Waarp Ftp Core - org/waarp/ftp/core/command/service/LIST.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4142

Waarp Ftp Core - org/waarp/ftp/core/command/service/MKD.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3940

Waarp Ftp Core - org/waarp/ftp/core/command/service/NLST.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 37
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5455

Waarp Ftp Core - org/waarp/ftp/core/command/service/PWD.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 33

Waarp Ftp Core - org/waarp/ftp/core/command/service/REST.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3941

Waarp Ftp Core - org/waarp/ftp/core/command/service/RETR.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4950

Waarp Ftp Core - org/waarp/ftp/core/command/service/RMD.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3940

Waarp Ftp Core - org/waarp/ftp/core/command/service/RNFR.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4244

Waarp Ftp Core - org/waarp/ftp/core/command/service/RNTO.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5456

Waarp Ftp Core - org/waarp/ftp/core/command/service/STOR.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4546

Waarp Ftp Core - org/waarp/ftp/core/command/service/STOU.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4344

Waarp Ftp Core - org/waarp/ftp/core/config/FtpConfiguration.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 20764
GodClass Possible God Class (WMC=85, ATFD=12, TCC=4.862%) 45764
CyclomaticComplexity The class 'FtpConfiguration' has a total cyclomatic complexity of 85 (highest 13). 45764
TooManyFields Too many fields 45764
MutableStaticState Do not use non-final non-private static fields 59
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 110
AvoidFieldNameMatchingMethodName Field isShutdown has the same name as a method 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 176
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 181
RedundantFieldInitializer Avoid using redundant field initializer for 'activePassiveMode' 197
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 202
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 202
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 492
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 493
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 494
CognitiveComplexity The method 'getFtpSession(Channel, boolean)' has a cognitive complexity of 31, current threshold is 15 546594
CyclomaticComplexity The method 'getFtpSession(Channel, boolean)' has a cyclomatic complexity of 13. 546594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 551
LawOfDemeter Potential violation of Law of Demeter (static property access) 558
LawOfDemeter Potential violation of Law of Demeter (static property access) 567
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 576

Waarp Ftp Core - org/waarp/ftp/core/config/FtpGlobalTrafficShapingHandler.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 33
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 63
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 69

Waarp Ftp Core - org/waarp/ftp/core/config/FtpInternalConfiguration.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20613
GodClass Possible God Class (WMC=47, ATFD=71, TCC=14.719%) 63613
TooManyFields Too many fields 63613
MutableStaticState Do not use non-final non-private static fields 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 97
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 97
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 123
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 176
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 185
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 190
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 207
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 213
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 222
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 225
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 227
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 227
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 229
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 229
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 231
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 231
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 233
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 233
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 235
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 235
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 238
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 238
ExcessiveMethodLength Avoid really long methods. 248359
CyclomaticComplexity The method 'serverStartup()' has a cyclomatic complexity of 10. 248359
LawOfDemeter Potential violation of Law of Demeter (static property access) 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 348
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 451
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 454
LawOfDemeter Potential violation of Law of Demeter (static property access) 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 483
LawOfDemeter Potential violation of Law of Demeter (static property access) 486
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 490
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 512
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 521
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 578
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 579
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 580
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 581
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 585

Waarp Ftp Core - org/waarp/ftp/core/control/BusinessHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 192 characters appended. 126
LawOfDemeter Potential violation of Law of Demeter (static property access) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (static property access) 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 144
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 153
LawOfDemeter Potential violation of Law of Demeter (static property access) 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 159
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 5 consecutive times with literals. Use a single append with a single combined String. 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 164
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 220

Waarp Ftp Core - org/waarp/ftp/core/control/FtpInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 95

Waarp Ftp Core - org/waarp/ftp/core/control/NetworkHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20482
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 182
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 35, current threshold is 15 196268
NcssCount The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a NCSS line count of 60. 196268
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 17. 196268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 224
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 242
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 265
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, String)' has a cognitive complexity of 16, current threshold is 15 274334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 349
CyclomaticComplexity The method 'messageRunAnswer(ChannelHandlerContext)' has a cyclomatic complexity of 12. 392481
CognitiveComplexity The method 'messageRunAnswer(ChannelHandlerContext)' has a cognitive complexity of 31, current threshold is 15 392481
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 399
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 415
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 418
EmptyCatchBlock Avoid empty catch blocks 419421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 427
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 430
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 432
LawOfDemeter Potential violation of Law of Demeter (static property access) 439441
LawOfDemeter Potential violation of Law of Demeter (static property access) 440
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451452
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 454
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 460
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 463
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 477

Waarp Ftp Core - org/waarp/ftp/core/control/ftps/FtpsInitializer.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 39
MutableStaticState Do not use non-final non-private static fields 40
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 62
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 70
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 76

Waarp Ftp Core - org/waarp/ftp/core/control/ftps/SslNetworkHandler.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75

Waarp Ftp Core - org/waarp/ftp/core/data/FtpDataAsyncConn.java

Rule Violation Line
GodClass Possible God Class (WMC=62, ATFD=44, TCC=13.613%) 49547
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
UnusedAssignment The field initializer for 'remotePort' is never used (overwritten on line 142) 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
AvoidFieldNameMatchingMethodName Field isBind has the same name as a method 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 129
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 139
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 166172
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 186188
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 214216
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 218222
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 229238
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 273275
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 280282
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 287291
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 296298
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 303307
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 312314
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 319323
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 328330
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 335339
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370
CognitiveComplexity The method 'unbindData()' has a cognitive complexity of 18, current threshold is 15 379413
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 379413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388389
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388389
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 407
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 411
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426427
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426427
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 454460
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 465468
UnusedAssignment The initializer for variable 'port' is never used (overwritten on line 479) 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 486
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 497
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 33, but has at least 69 characters appended. 497
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 514
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 531546

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransfer.java

Rule Violation Line
DataClass The class 'FtpTransfer' is suspected to be a Data Class (WOC=22.222%, NOPA=0, NOAM=5, WMC=14) 34148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransferControl.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20868
CyclomaticComplexity The class 'FtpTransferControl' has a total cyclomatic complexity of 156 (highest 23). 57868
TooManyMethods This class has too many methods, consider refactoring it. 57868
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
AvoidFieldNameMatchingMethodName Field waitForOpenedDataChannel has the same name as a method 8384
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 122
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 177
UnusedAssignment The initializer for variable 'channel' is never used (overwritten on line 198) 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 209
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 222228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 234
CognitiveComplexity The method 'openDataConnection()' has a cognitive complexity of 31, current threshold is 15 248350
ExcessiveMethodLength Avoid really long methods. 248350
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 248350
NPathComplexity The method 'openDataConnection()' has an NPath complexity of 1056, current threshold is 200 248350
CyclomaticComplexity The method 'openDataConnection()' has a cyclomatic complexity of 23. 248350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 282
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 316
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 338339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 338
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 342
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362363
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368
LawOfDemeter Potential violation of Law of Demeter (static property access) 370
NPathComplexity The method 'runExecutor()' has an NPath complexity of 1008, current threshold is 200 380431
CyclomaticComplexity The method 'runExecutor()' has a cyclomatic complexity of 15. 380431
CognitiveComplexity The method 'runExecutor()' has a cognitive complexity of 19, current threshold is 15 380431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 386387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 386387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
AvoidDuplicateLiterals The String literal "Command cancelled" appears 4 times in this file; the first occurrence is on line 405 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 421
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 424
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 426
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 428
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 453
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 456
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 484
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 488
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 488
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 559
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 560
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 560
NcssCount The method 'checkFtpTransferStatus()' has a NCSS line count of 64. 570658
NPathComplexity The method 'checkFtpTransferStatus()' has an NPath complexity of 4000, current threshold is 200 570658
CyclomaticComplexity The method 'checkFtpTransferStatus()' has a cyclomatic complexity of 23. 570658
CognitiveComplexity The method 'checkFtpTransferStatus()' has a cognitive complexity of 29, current threshold is 15 570658
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 589
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 650
CyclomaticComplexity The method 'abortTransfer()' has a cyclomatic complexity of 10. 663698
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 690
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 692
CognitiveComplexity The method 'closeTransfer()' has a cognitive complexity of 16, current threshold is 15 703745
CyclomaticComplexity The method 'closeTransfer()' has a cyclomatic complexity of 11. 703745
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 721
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 731
LawOfDemeter Potential violation of Law of Demeter (static property access) 740
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 769
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 820
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 827840
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 833
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 837
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 857
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 860
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 864
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 865
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 865

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransferExecutor.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
CognitiveComplexity The method 'runNextCommand()' has a cognitive complexity of 18, current threshold is 15 90144
CyclomaticComplexity The method 'runNextCommand()' has a cyclomatic complexity of 10. 90144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
EmptyCatchBlock Avoid empty catch blocks 9799
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 137
EmptyCatchBlock Avoid empty catch blocks 137139
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 152

Waarp Ftp Core - org/waarp/ftp/core/data/handler/DataBusinessHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38

Waarp Ftp Core - org/waarp/ftp/core/data/handler/DataNetworkHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20450
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 140
CognitiveComplexity The method 'channelInactive(ChannelHandlerContext)' has a cognitive complexity of 15, current threshold is 15 149180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 156
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 156158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 164165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 164165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 177
CyclomaticComplexity The method 'channelActive(ChannelHandlerContext)' has a cyclomatic complexity of 12. 201255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 246247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 246247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 252253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 252253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 278
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 278279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 290
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 17. 298359
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 30, current threshold is 15 298359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 324325
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 324325
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 328
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356357
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 361363
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, DataBlock)' has a cyclomatic complexity of 10. 369413
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, DataBlock)' has a cognitive complexity of 21, current threshold is 15 369413
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 369413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 374375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 374375
LawOfDemeter Potential violation of Law of Demeter (static property access) 383
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 390391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 390391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 400401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 400401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 404405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 404405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 409410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 409410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 433
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 444

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 109110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 122

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataModeCodec.java

Rule Violation Line
CyclomaticComplexity The class 'FtpDataModeCodec' has a total cyclomatic complexity of 81 (highest 20). 47547
GodClass Possible God Class (WMC=81, ATFD=75, TCC=28.571%) 47547
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
ImmutableField Private field 'zlibCodec' could be made final; it is only initialized in the declaration or constructor. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 141
CollapsibleIfStatements These nested if statements could be combined 142144
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 149
EmptyCatchBlock Avoid empty catch blocks 156158
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 166
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 170
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 172
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 189
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 190
CollapsibleIfStatements These nested if statements could be combined 191193
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 198
EmptyCatchBlock Avoid empty catch blocks 205207
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 216
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 220
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 222
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 224
CognitiveComplexity The method 'decode(ChannelHandlerContext, ByteBuf, List)' has a cognitive complexity of 17, current threshold is 15 253341
CyclomaticComplexity The method 'decode(ChannelHandlerContext, ByteBuf, List)' has a cyclomatic complexity of 13. 253341
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 279
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 323
AvoidDuplicateLiterals The String literal "Mode unimplemented: " appears 4 times in this file; the first occurrence is on line 337 337
LawOfDemeter Potential violation of Law of Demeter (static property access) 360
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 367
EmptyCatchBlock Avoid empty catch blocks 372374
CognitiveComplexity The method 'encode(DataBlock)' has a cognitive complexity of 32, current threshold is 15 399498
NcssCount The method 'encode(DataBlock)' has a NCSS line count of 66. 399498
CyclomaticComplexity The method 'encode(DataBlock)' has a cyclomatic complexity of 20. 399498
LawOfDemeter Potential violation of Law of Demeter (static property access) 415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 441
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 449
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 455
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 468
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 484
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 490
LawOfDemeter Potential violation of Law of Demeter (static property access) 515

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataStructureCodec.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataTypeCodec.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 188
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 216

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpSeekAheadData.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 70
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 71

Waarp Ftp Core - org/waarp/ftp/core/data/handler/ftps/FtpsDataInitializer.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 6264
LawOfDemeter Potential violation of Law of Demeter (static property access) 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 66
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 7173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 8890
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89

Waarp Ftp Core - org/waarp/ftp/core/session/FtpSession.java

Rule Violation Line
GodClass Possible God Class (WMC=66, ATFD=43, TCC=10.121%) 55531
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
AvoidFieldNameMatchingMethodName Field isCurrentCommandFinished has the same name as a method 9899
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 119
AvoidFieldNameMatchingMethodName Field isReady has the same name as a method 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 124
AvoidFieldNameMatchingMethodName Field isSsl has the same name as a method 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 132
AvoidFieldNameMatchingMethodName Field isDataSsl has the same name as a method 132
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 188194
LawOfDemeter Potential violation of Law of Demeter (static property access) 289
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 357
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 358
NPathComplexity The method 'toString()' has an NPath complexity of 864, current threshold is 200 382421
CyclomaticComplexity The method 'toString()' has a cyclomatic complexity of 12. 382421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 415
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 449
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 450
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 467
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 478
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 505507

Waarp Ftp Core - org/waarp/ftp/core/session/FtpSessionReference.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 89
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 90
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 95
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 96
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 110
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 111
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 115
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 143
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 144
LawOfDemeter Potential violation of Law of Demeter (static property access) 144
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 188
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 212
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 261
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 279
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 295

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpChannelUtils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 71
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
CognitiveComplexity The method 'get2428InetSocketAddress(String)' has a cognitive complexity of 15, current threshold is 15 169225
CyclomaticComplexity The method 'get2428InetSocketAddress(String)' has a cyclomatic complexity of 12. 169225
NPathComplexity The method 'get2428InetSocketAddress(String)' has an NPath complexity of 432, current threshold is 200 169225
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 184
UnusedAssignment The initializer for variable 'isIPV4' is never used (overwritten on lines 189 and 191) 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 261262
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 261262
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 276277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 276277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 290291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 290291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 302303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 302303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 316317
LawOfDemeter Potential violation of Law of Demeter (static property access) 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 381382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 381382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 393394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 393394
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 400

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpShutdownHook.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 28
MutableStaticState Do not use non-final non-private static fields 30
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 38

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpTimerTask.java

Rule Violation Line
DataClass The class 'FtpTimerTask' is suspected to be a Data Class (WOC=25.000%, NOPA=2, NOAM=2, WMC=6) 3296
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
ImplicitSwitchFallThrough A switch statement does not contain a break 6880

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpAuth.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 134

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpFile.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 75
CyclomaticComplexity The method 'trueRetrieve()' has a cyclomatic complexity of 21. 86202
CognitiveComplexity The method 'trueRetrieve()' has a cognitive complexity of 26, current threshold is 15 86202
NcssCount The method 'trueRetrieve()' has a NCSS line count of 67. 86202
ExcessiveMethodLength Avoid really long methods. 86202
NPathComplexity The method 'trueRetrieve()' has an NPath complexity of 3459, current threshold is 200 86202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
ExceptionAsFlowControl Avoid using exceptions as flow control. 190

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpRestart.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 47
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 48
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 49
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 54
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 5859

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/SimpleGatewayFtpServer.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3777
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 45
LawOfDemeter Potential violation of Law of Demeter (static property access) 4648
LawOfDemeter Potential violation of Law of Demeter (static property access) 65

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/SimpleGatewaySslFtpServer.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 38101
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 46
LawOfDemeter Potential violation of Law of Demeter (static property access) 4749
LawOfDemeter Potential violation of Law of Demeter (static property access) 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 8485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/CircularIntValue.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedConfiguration.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'XML_USEFASTMD5'. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 166
ExcessiveMethodLength Avoid really long methods. 192362
NPathComplexity The method 'setConfigurationFromXml(String)' has an NPath complexity of 353894400, current threshold is 200 192362
CyclomaticComplexity The method 'setConfigurationFromXml(String)' has a cyclomatic complexity of 32. 192362
CognitiveComplexity The method 'setConfigurationFromXml(String)' has a cognitive complexity of 39, current threshold is 15 192362
NcssCount The method 'setConfigurationFromXml(String)' has a NCSS line count of 129. 192362
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 278
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 305
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 311
UnusedAssignment The value assigned to variable 'document' is never used (overwritten on line 314) 312
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 314
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 326
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 348
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 357

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedSslConfiguration.java

Rule Violation Line
NPathComplexity The method 'loadSsl(FtpConfiguration)' has an NPath complexity of 80196, current threshold is 200 107192
NcssCount The method 'loadSsl(FtpConfiguration)' has a NCSS line count of 60. 107192
CyclomaticComplexity The method 'loadSsl(FtpConfiguration)' has a cyclomatic complexity of 26. 107192
CognitiveComplexity The method 'loadSsl(FtpConfiguration)' has a cognitive complexity of 39, current threshold is 15 107192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 161
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 181183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 206
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 224
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 225
UnusedAssignment The value assigned to variable 'configuration' is never used 225

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/control/SimpleBusinessHandler.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 5355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 129130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 129130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
AvoidDuplicateLiterals The String literal "{} {}" appears 4 times in this file; the first occurrence is on line 160 160

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/file/FileBasedAuth.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 63
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 86

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/file/SimpleAuth.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
AvoidFieldNameMatchingMethodName Field isAdmin has the same name as a method 55
ArrayIsStoredDirectly The user-supplied array 'accounts' is stored directly. 63

Waarp Ftp R66 client - org/waarp/ftp/client/DataTimeOutListener.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 63
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 67
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 67
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 69
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 70
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 70
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 71
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 78

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtp4jClient.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20781
TooManyMethods This class has too many methods, consider refactoring it. 59781
CyclomaticComplexity The class 'WaarpFtp4jClient' has a total cyclomatic complexity of 113 (highest 11). 59781
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
UnusedAssignment The field initializer for 'port' is never used (overwritten on line 100) 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
RedundantFieldInitializer Avoid using redundant field initializer for 'directory' 82
CyclomaticComplexity The constructor 'WaarpFtp4jClient(String, int, String, String, String, boolean, int, int, int)' has a cyclomatic complexity of 11. 94177
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 141
AvoidUsingHardCodedIP Do not hard code the IP address 158
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 163
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 168
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 207
EmptyCatchBlock Avoid empty catch blocks 207209
CyclomaticComplexity The method 'connect()' has a cyclomatic complexity of 11. 220275
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 221
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 229
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 234
AvoidDuplicateLiterals The String literal ": {}" appears 18 times in this file; the first occurrence is on line 241 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 251
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 279
EmptyCatchBlock Avoid empty catch blocks 285287
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 295
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 299
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 310
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 316
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 327
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 337
LawOfDemeter Potential violation of Law of Demeter (static property access) 338
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 343
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 348
LawOfDemeter Potential violation of Law of Demeter (static property access) 349
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 359
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 376
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 435
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 446
LawOfDemeter Potential violation of Law of Demeter (static property access) 447
CloseResource Ensure that resources like this FileInputStream object are closed after use 461
CloseResource Ensure that resources like this OutputStream object are closed after use 469
UnusedAssignment The initializer for variable 'outputStream' is never used (overwritten on lines 473 and 476) 469
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 490
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 496
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 500
LawOfDemeter Potential violation of Law of Demeter (static property access) 501
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 515
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 521
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 528
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 533
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 535
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 539
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 541
LawOfDemeter Potential violation of Law of Demeter (static property access) 542
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 553
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 557
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 561
LawOfDemeter Potential violation of Law of Demeter (static property access) 562
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 605
AvoidDuplicateLiterals The String literal "FEAT" appears 4 times in this file; the first occurrence is on line 607 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 608
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 613
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 614
LawOfDemeter Potential violation of Law of Demeter (static property access) 615
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 624
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 626
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 636
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 639
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 643
LawOfDemeter Potential violation of Law of Demeter (static property access) 644
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 655
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 657
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 666
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 671
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 676
LawOfDemeter Potential violation of Law of Demeter (static property access) 677
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 687
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 691
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 694
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 695
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 699
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 700
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 704
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 708
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 709
LawOfDemeter Potential violation of Law of Demeter (static property access) 710
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 727
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 728
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 732
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 733
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 737
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 738
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 741
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 742
LawOfDemeter Potential violation of Law of Demeter (static property access) 743
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 755
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 759
LawOfDemeter Potential violation of Law of Demeter (static property access) 760
LawOfDemeter Potential violation of Law of Demeter (static property access) 775

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtpClient.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 47781
CyclomaticComplexity The class 'WaarpFtpClient' has a total cyclomatic complexity of 120 (highest 17). 47781
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
RedundantFieldInitializer Avoid using redundant field initializer for 'directory' 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
RedundantFieldInitializer Avoid using redundant field initializer for 'ipAddress' 66
ExcessiveParameterList Avoid long parameter lists. 102106
NPathComplexity The method 'connect()' has an NPath complexity of 1023, current threshold is 200 172265
CognitiveComplexity The method 'connect()' has a cognitive complexity of 27, current threshold is 15 172265
CyclomaticComplexity The method 'connect()' has a cyclomatic complexity of 17. 172265
NcssCount The method 'connect()' has a NCSS line count of 70. 172265
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 173
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 186
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 195
AvoidDuplicateLiterals The String literal ": {}" appears 18 times in this file; the first occurrence is on line 195 195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 234
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 269
EmptyCatchBlock Avoid empty catch blocks 272274
EmptyCatchBlock Avoid empty catch blocks 277279
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 303
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 314
LawOfDemeter Potential violation of Law of Demeter (static property access) 323
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 333
LawOfDemeter Potential violation of Law of Demeter (static property access) 341
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 371
CloseResource Ensure that resources like this OutputStream object are closed after use 419
CloseResource Ensure that resources like this FileInputStream object are closed after use 420
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 445
LawOfDemeter Potential violation of Law of Demeter (static property access) 457
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 470
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 500
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 513
LawOfDemeter Potential violation of Law of Demeter (static property access) 538
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 575
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 600
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 617
LawOfDemeter Potential violation of Law of Demeter (static property access) 625
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 636
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 643
LawOfDemeter Potential violation of Law of Demeter (static property access) 651
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 663
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 663
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 670
LawOfDemeter Potential violation of Law of Demeter (static property access) 680
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 690
LawOfDemeter Potential violation of Law of Demeter (static property access) 698
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 725
LawOfDemeter Potential violation of Law of Demeter (static property access) 733
LawOfDemeter Potential violation of Law of Demeter (static property access) 760
LawOfDemeter Potential violation of Law of Demeter (static property access) 775

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtpClientInterface.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 26273

Waarp Gateway Ftp - org/waarp/gateway/ftp/ExecGatewayFtpServer.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 56
LawOfDemeter Potential violation of Law of Demeter (static property access) 5759
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 65
CognitiveComplexity The method 'initialize(String, String)' has a cognitive complexity of 16, current threshold is 15 68130
CyclomaticComplexity The method 'initialize(String, String)' has a cyclomatic complexity of 11. 68130
NPathComplexity The method 'initialize(String, String)' has an NPath complexity of 384, current threshold is 200 68130
NonThreadSafeSingleton Singleton is not thread safe 7074
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 9293
LawOfDemeter Potential violation of Law of Demeter (static property access) 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 99100
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 120121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126127

Waarp Gateway Ftp - org/waarp/gateway/ftp/LogExport.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 54
MutableStaticState Do not use non-final non-private static fields 55
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
NonThreadSafeSingleton Singleton is not thread safe 126131
LawOfDemeter Potential violation of Law of Demeter (static property access) 139140
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 29, current threshold is 15 154195
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 17. 154195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 156
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 166
LawOfDemeter Potential violation of Law of Demeter (static property access) 169170
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 178179
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 187188
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 248

Waarp Gateway Ftp - org/waarp/gateway/ftp/ServerInitDatabase.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 41
MutableStaticState Do not use non-final non-private static fields 43
MutableStaticState Do not use non-final non-private static fields 44
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 50
NonThreadSafeSingleton Singleton is not thread safe 7375
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 110
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 120121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 120121
LawOfDemeter Potential violation of Law of Demeter (static property access) 121

Waarp Gateway Ftp - org/waarp/gateway/ftp/adminssl/HttpSslHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20863
CyclomaticComplexity The class 'HttpSslHandler' has a total cyclomatic complexity of 118 (highest 18). 79863
GodClass Possible God Class (WMC=118, ATFD=110, TCC=32.164%) 79863
TooManyMethods This class has too many methods, consider refactoring it. 80863
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 185
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 195196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 195196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199201
LawOfDemeter Potential violation of Law of Demeter (static property access) 199201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
CognitiveComplexity The method 'system()' has a cognitive complexity of 26, current threshold is 15 226298
CyclomaticComplexity The method 'system()' has a cyclomatic complexity of 11. 226298
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 262
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 263265
LawOfDemeter Potential violation of Law of Demeter (static property access) 266267
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 270272
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 276278
LawOfDemeter Potential violation of Law of Demeter (static property access) 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
CyclomaticComplexity The method 'rule()' has a cyclomatic complexity of 10. 300368
CognitiveComplexity The method 'rule()' has a cognitive complexity of 25, current threshold is 15 300368
LawOfDemeter Potential violation of Law of Demeter (static property access) 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (static property access) 351
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
CognitiveComplexity The method 'transfer()' has a cognitive complexity of 26, current threshold is 15 370455
CyclomaticComplexity The method 'transfer()' has a cyclomatic complexity of 14. 370455
NcssCount The method 'transfer()' has a NCSS line count of 60. 370455
LawOfDemeter Potential violation of Law of Demeter (static property access) 372
LawOfDemeter Potential violation of Law of Demeter (static property access) 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 377378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 452453
CognitiveComplexity The method 'user()' has a cognitive complexity of 34, current threshold is 15 457518
CyclomaticComplexity The method 'user()' has a cyclomatic complexity of 10. 457518
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 465
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 466
LawOfDemeter Potential violation of Law of Demeter (static property access) 470
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 492
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 496
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 498
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 505
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 507
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 516
CompareObjectsWithEquals Use equals() to compare object references. 521
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 522
CompareObjectsWithEquals Use equals() to compare object references. 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 526
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 531
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 541
CompareObjectsWithEquals Use equals() to compare object references. 548
LawOfDemeter Potential violation of Law of Demeter (static property access) 548
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 552
CognitiveComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cognitive complexity of 39, current threshold is 15 555640
NcssCount The method 'checkAuthent(ChannelHandlerContext)' has a NCSS line count of 62. 555640
CyclomaticComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cyclomatic complexity of 18. 555640
NPathComplexity The method 'checkAuthent(ChannelHandlerContext)' has an NPath complexity of 1288, current threshold is 200 555640
CompareObjectsWithEquals Use equals() to compare object references. 557
CompareObjectsWithEquals Use equals() to compare object references. 563
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 582
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 583
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 595
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 603604
LawOfDemeter Potential violation of Law of Demeter (static property access) 604
LawOfDemeter Potential violation of Law of Demeter (static property access) 606607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 608609
LawOfDemeter Potential violation of Law of Demeter (static property access) 609
LawOfDemeter Potential violation of Law of Demeter (static property access) 610611
LawOfDemeter Potential violation of Law of Demeter (static property access) 613
LawOfDemeter Potential violation of Law of Demeter (static property access) 634
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 11. 643696
LawOfDemeter Potential violation of Law of Demeter (static property access) 652
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 664
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 667
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 667
UnusedAssignment The initializer for variable 'req' is never used (overwritten on lines 670 and 672) 668
CognitiveComplexity The method 'checkSession()' has a cognitive complexity of 15, current threshold is 15 698728
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 699
LawOfDemeter Potential violation of Law of Demeter (static property access) 701
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 702
LiteralsFirstInComparisons Position literals first in String comparisons 704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 704
LawOfDemeter Potential violation of Law of Demeter (static property access) 718
CognitiveComplexity The method 'handleCookies(HttpResponse)' has a cognitive complexity of 22, current threshold is 15 730763
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 731
LawOfDemeter Potential violation of Law of Demeter (static property access) 733
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 738
LiteralsFirstInComparisons Position literals first in String comparisons 738
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 743744
LawOfDemeter Potential violation of Law of Demeter (static property access) 744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 747748
LawOfDemeter Potential violation of Law of Demeter (static property access) 748
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 753754
LawOfDemeter Potential violation of Law of Demeter (static property access) 754
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 760761
LawOfDemeter Potential violation of Law of Demeter (static property access) 761
LawOfDemeter Potential violation of Law of Demeter (static property access) 778779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 786787
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 787
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 790791
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 796797
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 832833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 834
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 850
LawOfDemeter Potential violation of Law of Demeter (static property access) 859860
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 859860

Waarp Gateway Ftp - org/waarp/gateway/ftp/adminssl/HttpSslInitializer.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 38
MutableStaticState Do not use non-final non-private static fields 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 52
LawOfDemeter Potential violation of Law of Demeter (static property access) 56
LawOfDemeter Potential violation of Law of Demeter (static property access) 62

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/AUTHUPDATE.java

Rule Violation Line
NPathComplexity The method 'exec()' has an NPath complexity of 252, current threshold is 200 5095
CognitiveComplexity The method 'exec()' has a cognitive complexity of 17, current threshold is 15 5095
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 16. 5095
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9394

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/CircularIntValue.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/FileBasedConfiguration.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 212044
CyclomaticComplexity The class 'FileBasedConfiguration' has a total cyclomatic complexity of 297 (highest 52). 942044
ExcessiveClassLength Avoid really long classes. 942044
TooManyMethods This class has too many methods, consider refactoring it. 942044
GodClass Possible God Class (WMC=297, ATFD=296, TCC=13.424%) 942044
TooManyFields Too many fields 942044
MutableStaticState Do not use non-final non-private static fields 593
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 593
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 597
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 608
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 630
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 648
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 653
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 653
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 658
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 658
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 663
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 663
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 701
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 713
CyclomaticComplexity The method 'loadServerParam()' has a cyclomatic complexity of 43. 722875
NPathComplexity The method 'loadServerParam()' has an NPath complexity of 128333160, current threshold is 200 722875
ExcessiveMethodLength Avoid really long methods. 722875
NcssCount The method 'loadServerParam()' has a NCSS line count of 113. 722875
CognitiveComplexity The method 'loadServerParam()' has a cognitive complexity of 78, current threshold is 15 722875
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 728
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 762
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 774
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 782
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 783
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 791
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 795
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 796
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 829
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 839
LawOfDemeter Potential violation of Law of Demeter (static property access) 851
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 858
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 879
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 883
ExcessiveMethodLength Avoid really long methods. 8981038
CognitiveComplexity The method 'loadLimit()' has a cognitive complexity of 62, current threshold is 15 8981038
NPathComplexity The method 'loadLimit()' has an NPath complexity of 2147483647, current threshold is 200 8981038
CyclomaticComplexity The method 'loadLimit()' has a cyclomatic complexity of 52. 8981038
NcssCount The method 'loadLimit()' has a NCSS line count of 103. 8981038
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 900
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 909
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 930
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 943
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 952
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 960
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 964
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 968
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 972
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 999
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1003
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1010
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1020
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1024
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1028
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1032
CyclomaticComplexity The method 'loadNetworkServer()' has a cyclomatic complexity of 11. 10401075
NPathComplexity The method 'loadNetworkServer()' has an NPath complexity of 243, current threshold is 200 10401075
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1043
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1051
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1058
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1062
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1070
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1084
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1088
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1128
NPathComplexity The method 'loadDatabase()' has an NPath complexity of 488, current threshold is 200 11411184
CyclomaticComplexity The method 'loadDatabase()' has a cyclomatic complexity of 18. 11411184
CognitiveComplexity The method 'loadDatabase()' has a cognitive complexity of 17, current threshold is 15 11411184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1169
CognitiveComplexity The method 'loadSsl()' has a cognitive complexity of 45, current threshold is 15 11861291
CyclomaticComplexity The method 'loadSsl()' has a cyclomatic complexity of 33. 11861291
NcssCount The method 'loadSsl()' has a NCSS line count of 78. 11861291
ExcessiveMethodLength Avoid really long methods. 11861291
NPathComplexity The method 'loadSsl()' has an NPath complexity of 6482592, current threshold is 200 11861291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1231
LawOfDemeter Potential violation of Law of Demeter (static property access) 1233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1246
LawOfDemeter Potential violation of Law of Demeter (static property access) 12561258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1289
CyclomaticComplexity The method 'setConfigurationServerFromXml(String)' has a cyclomatic complexity of 12. 13001360
NPathComplexity The method 'setConfigurationServerFromXml(String)' has an NPath complexity of 2048, current threshold is 200 13001360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1353
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1357
UnusedAssignment The value assigned to variable 'configuration' is never used 1357
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1373
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1373
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1376
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1376
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1378
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14031404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1433
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1436
ArrayIsStoredDirectly The user-supplied array 'serverkey' is stored directly. 1448
CognitiveComplexity The method 'initializeAuthent(String, boolean)' has a cognitive complexity of 50, current threshold is 15 14801606
NcssCount The method 'initializeAuthent(String, boolean)' has a NCSS line count of 96. 14801606
ExcessiveMethodLength Avoid really long methods. 14801606
NPathComplexity The method 'initializeAuthent(String, boolean)' has an NPath complexity of 472400, current threshold is 200 14801606
CyclomaticComplexity The method 'initializeAuthent(String, boolean)' has a cyclomatic complexity of 28. 14801606
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1500
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1519
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1519
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1524
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1561
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1568
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1569
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1570
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1580
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1581
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1582
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 15931594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1622
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1624
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1629
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1631
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1638
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1639
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1690
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1693
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1695
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1700
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1702
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1704
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1706
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1712
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1713
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1715
LawOfDemeter Potential violation of Law of Demeter (static property access) 1742
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1754
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1757
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1757
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1758
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1758
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1760
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1761
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1761
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1761
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1762
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1762
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1762
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1763
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1803
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1819
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1819
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1820
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1823
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1831
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1833
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 1845
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1848
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1854
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1857
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1860
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 18711872

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/ExecBusinessHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21530
CyclomaticComplexity The class 'ExecBusinessHandler' has a total cyclomatic complexity of 94 (highest 26). 60530
GodClass Possible God Class (WMC=94, ATFD=102, TCC=14.286%) 60530
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
ExcessiveMethodLength Avoid really long methods. 86223
CyclomaticComplexity The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has a cyclomatic complexity of 25. 86223
NPathComplexity The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has an NPath complexity of 1260, current threshold is 200 86223
NcssCount The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has a NCSS line count of 67. 86223
CognitiveComplexity The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has a cognitive complexity of 30, current threshold is 15 86223
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 120
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 159160
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 162163
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 247
ExcessiveMethodLength Avoid really long methods. 253369
NcssCount The method 'beforeRunCommand()' has a NCSS line count of 62. 253369
NPathComplexity The method 'beforeRunCommand()' has an NPath complexity of 720, current threshold is 200 253369
CyclomaticComplexity The method 'beforeRunCommand()' has a cyclomatic complexity of 26. 253369
CognitiveComplexity The method 'beforeRunCommand()' has a cognitive complexity of 41, current threshold is 15 253369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 266
EmptyIfStmt Avoid empty if statements 268270
EmptyIfStmt Avoid empty if statements 270272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 273
CollapsibleIfStatements These nested if statements could be combined 275290
CollapsibleIfStatements These nested if statements could be combined 276289
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 276289
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 283286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 320321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 320321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 360
LawOfDemeter Potential violation of Law of Demeter (static property access) 378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 389390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 389390
LawOfDemeter Potential violation of Law of Demeter (static property access) 392
CollapsibleIfStatements These nested if statements could be combined 393397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 394396
LawOfDemeter Potential violation of Law of Demeter (static property access) 394396
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 396
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 405
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 409
CollapsibleIfStatements These nested if statements could be combined 416429
LawOfDemeter Potential violation of Law of Demeter (static property access) 424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 425
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 426
LawOfDemeter Potential violation of Law of Demeter (static property access) 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 438
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 439
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 37, but has at least 39 characters appended. 473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 476477
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 476477
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 476477
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 480
LawOfDemeter Potential violation of Law of Demeter (static property access) 480
LawOfDemeter Potential violation of Law of Demeter (static property access) 489
LawOfDemeter Potential violation of Law of Demeter (static property access) 490
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 501
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 504
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 514
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 519
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 522
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 523

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/FtpConstraintLimitHandler.java

Rule Violation Line
ExcessiveParameterList Avoid long parameter lists. 114124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132133
LawOfDemeter Potential violation of Law of Demeter (static property access) 132133
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 143

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/WaarpActionLogger.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 67
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 8288
LawOfDemeter Potential violation of Law of Demeter (static property access) 8384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8384
LawOfDemeter Potential violation of Law of Demeter (static property access) 8687
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8687
EmptyCatchBlock Avoid empty catch blocks 9193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123
EmptyCatchBlock Avoid empty catch blocks 130132
LawOfDemeter Potential violation of Law of Demeter (static property access) 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136138
LawOfDemeter Potential violation of Law of Demeter (static property access) 136138
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 144146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144146
CognitiveComplexity The method 'logErrorAction(DbSession, long, FtpTransfer, String, ReplyCode, BusinessHandler)' has a cognitive complexity of 50, current threshold is 15 162249
CyclomaticComplexity The method 'logErrorAction(DbSession, long, FtpTransfer, String, ReplyCode, BusinessHandler)' has a cyclomatic complexity of 20. 162249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 191
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 206208
LawOfDemeter Potential violation of Law of Demeter (static property access) 206208
EmptyCatchBlock Avoid empty catch blocks 211213
LawOfDemeter Potential violation of Law of Demeter (static property access) 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 217219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 217219
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
CollapsibleIfStatements These nested if statements could be combined 223229
LawOfDemeter Potential violation of Law of Demeter (static property access) 225228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 225228
LawOfDemeter Potential violation of Law of Demeter (static property access) 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 235237
LawOfDemeter Potential violation of Law of Demeter (static property access) 235237
CollapsibleIfStatements These nested if statements could be combined 241246
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 242245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242245

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/DbConstantFtp.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 32

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/data/DbTransferLog.java

Rule Violation Line
CyclomaticComplexity The class 'DbTransferLog' has a total cyclomatic complexity of 124 (highest 14). 561210
ExcessiveClassLength Avoid really long classes. 561210
TooManyMethods This class has too many methods, consider refactoring it. 561210
GodClass Possible God Class (WMC=124, ATFD=69, TCC=15.686%) 561210
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
AvoidFieldNameMatchingMethodName Field isSender has the same name as a method 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 120
AvoidDuplicateLiterals The String literal "=?," appears 6 times in this file; the first occurrence is on line 137 137
ExcessiveParameterList Avoid long parameter lists. 162166
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 222
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
LawOfDemeter Potential violation of Law of Demeter (static property access) 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 279
LawOfDemeter Potential violation of Law of Demeter (static property access) 280
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 293
AvoidDuplicateLiterals The String literal " = ? AND " appears 7 times in this file; the first occurrence is on line 301 301
AvoidDuplicateLiterals The String literal " = '" appears 9 times in this file; the first occurrence is on line 321 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 375
CognitiveComplexity The method 'create()' has a cognitive complexity of 16, current threshold is 15 388460
CyclomaticComplexity The method 'create()' has a cyclomatic complexity of 14. 388460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 402
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 402
ExceptionAsFlowControl Avoid using exceptions as flow control. 419
ExceptionAsFlowControl Avoid using exceptions as flow control. 419
AvoidDuplicateLiterals The String literal ") FROM " appears 6 times in this file; the first occurrence is on line 424 424
AvoidDuplicateLiterals The String literal " WHERE " appears 12 times in this file; the first occurrence is on line 425 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 435
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 440441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 440441
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 447
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 450
AvoidDuplicateLiterals The String literal " = " appears 4 times in this file; the first occurrence is on line 510 510
LawOfDemeter Potential violation of Law of Demeter (static property access) 510
AvoidDuplicateLiterals The String literal " AND " appears 11 times in this file; the first occurrence is on line 511 511
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 513
AvoidDuplicateLiterals The String literal " ORDER BY " appears 5 times in this file; the first occurrence is on line 515 515
AvoidDuplicateLiterals The String literal " DESC " appears 5 times in this file; the first occurrence is on line 515 515
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 515
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 517518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 517518
CyclomaticComplexity The method 'getLogPrepareStament(DbSession, Timestamp, Timestamp, ReplyCode)' has a cyclomatic complexity of 12. 553608
LawOfDemeter Potential violation of Law of Demeter (static property access) 561
LawOfDemeter Potential violation of Law of Demeter (static property access) 568
LawOfDemeter Potential violation of Law of Demeter (static property access) 569
LawOfDemeter Potential violation of Law of Demeter (static property access) 571
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 575
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 581
LawOfDemeter Potential violation of Law of Demeter (static property access) 581
LawOfDemeter Potential violation of Law of Demeter (static property access) 583
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 586
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 597
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 603
LawOfDemeter Potential violation of Law of Demeter (static property access) 604
AvoidDuplicateLiterals The String literal "SELECT COUNT(" appears 5 times in this file; the first occurrence is on line 622 622
LawOfDemeter Potential violation of Law of Demeter (static property access) 622
LawOfDemeter Potential violation of Law of Demeter (static property access) 623
LawOfDemeter Potential violation of Law of Demeter (static property access) 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 643
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 646
LawOfDemeter Potential violation of Law of Demeter (static property access) 673
LawOfDemeter Potential violation of Law of Demeter (static property access) 674
AvoidDuplicateLiterals The String literal " >= ? " appears 4 times in this file; the first occurrence is on line 674 674
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 675
LawOfDemeter Potential violation of Law of Demeter (static property access) 675
LawOfDemeter Potential violation of Law of Demeter (static property access) 696
LawOfDemeter Potential violation of Law of Demeter (static property access) 697
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 719
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 785
LawOfDemeter Potential violation of Law of Demeter (static property access) 809
LawOfDemeter Potential violation of Law of Demeter (static property access) 812
LawOfDemeter Potential violation of Law of Demeter (static property access) 813
LawOfDemeter Potential violation of Law of Demeter (static property access) 813
AvoidDuplicateLiterals The String literal "' OR " appears 4 times in this file; the first occurrence is on line 813 813
LawOfDemeter Potential violation of Law of Demeter (static property access) 814
LawOfDemeter Potential violation of Law of Demeter (static property access) 815
LawOfDemeter Potential violation of Law of Demeter (static property access) 815
AvoidDuplicateLiterals The String literal "') " appears 4 times in this file; the first occurrence is on line 816 816
LawOfDemeter Potential violation of Law of Demeter (static property access) 818
LawOfDemeter Potential violation of Law of Demeter (static property access) 819
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 822
LawOfDemeter Potential violation of Law of Demeter (static property access) 823
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 823
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 825
LawOfDemeter Potential violation of Law of Demeter (static property access) 848
LawOfDemeter Potential violation of Law of Demeter (static property access) 851
LawOfDemeter Potential violation of Law of Demeter (static property access) 852
LawOfDemeter Potential violation of Law of Demeter (static property access) 852
LawOfDemeter Potential violation of Law of Demeter (static property access) 853
LawOfDemeter Potential violation of Law of Demeter (static property access) 854
LawOfDemeter Potential violation of Law of Demeter (static property access) 854
LawOfDemeter Potential violation of Law of Demeter (static property access) 857
LawOfDemeter Potential violation of Law of Demeter (static property access) 858
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 861
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 862
LawOfDemeter Potential violation of Law of Demeter (static property access) 862
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 865
LawOfDemeter Potential violation of Law of Demeter (static property access) 875
LawOfDemeter Potential violation of Law of Demeter (static property access) 887
LawOfDemeter Potential violation of Law of Demeter (static property access) 912
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1001
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1073
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1075
CloseResource Ensure that resources like this Writer object are closed after use 1137
CyclomaticComplexity The method 'saveDbTransferLogFile(DbPreparedStatement, Writer, boolean)' has a cyclomatic complexity of 10. 11601209
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1186

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/model/DbModelFactoryFtp.java

Rule Violation Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 4547

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/model/DbModelMariaDbFtp.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 48

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/model/DbModelMysqlFtp.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 48

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/AbstractExecutor.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 92
MutableStaticState Do not use non-final non-private static fields 97
MutableStaticState Do not use non-final non-private static fields 102
DataClass The class 'CommandExecutor' is suspected to be a Data Class (WOC=25.000%, NOPA=4, NOAM=8, WMC=44) 104319
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 119
CognitiveComplexity The constructor 'CommandExecutor(String, long, String, long)' has a cognitive complexity of 20, current threshold is 15 132186
CyclomaticComplexity The constructor 'CommandExecutor(String, long, String, long)' has a cyclomatic complexity of 13. 132186
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 134
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 149
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 160
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 223
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 226
CognitiveComplexity The method 'createAbstractExecutor(HttpAuthInterface, String, boolean, WaarpFuture)' has a cognitive complexity of 16, current threshold is 15 366438
CyclomaticComplexity The method 'createAbstractExecutor(HttpAuthInterface, String, boolean, WaarpFuture)' has a cyclomatic complexity of 16. 366438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 400
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 412
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 434
EmptyWhileStmt Avoid empty while statements 496498

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/ExecuteExecutor.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
NcssCount The method 'run()' has a NCSS line count of 67. 91198
ExcessiveMethodLength Avoid really long methods. 91198
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 29. 91198
NPathComplexity The method 'run()' has an NPath complexity of 12960, current threshold is 200 91198
CognitiveComplexity The method 'run()' has a cognitive complexity of 43, current threshold is 15 91198
LawOfDemeter Potential violation of Law of Demeter (static property access) 131
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 143
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 143
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 152
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 152
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 165
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 175
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 190

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/JavaExecutor.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 63127
CognitiveComplexity The method 'run()' has a cognitive complexity of 20, current threshold is 15 63127
LawOfDemeter Potential violation of Law of Demeter (static property access) 68
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 77
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
UnusedAssignment The initializer for variable 'status' is never used (overwritten on lines 87, 99, 101 and 107) 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 91
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 97
EmptyWhileStmt Avoid empty while statements 104106
LawOfDemeter Potential violation of Law of Demeter (static property access) 110
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 113114
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 120

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/JavaExecutorWaarpFtp4jClient.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
CognitiveComplexity The method 'run()' has a cognitive complexity of 32, current threshold is 15 111205
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 22. 111205
NPathComplexity The method 'run()' has an NPath complexity of 95928, current threshold is 200 111205
NcssCount The method 'run()' has a NCSS line count of 63. 111205
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 129
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 210

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/LocalExecClient.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 63
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 116
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/LogJavaTask.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 72

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/NoTaskExecutor.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
UnusedFormalParameter Avoid unused constructor parameters such as 'delay'. 36
UnusedFormalParameter Avoid unused constructor parameters such as 'command'. 36

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/R66PreparedTransferExecutor.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
UnusedFormalParameter Avoid unused constructor parameters such as 'delay'. 116
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 20. 128206
NPathComplexity The method 'run()' has an NPath complexity of 1024, current threshold is 200 128206
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 128206
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 156158
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 189
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 201

Waarp Gateway Ftp - org/waarp/gateway/ftp/file/FileBasedAuth.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 73
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 221
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 221

Waarp Gateway Ftp - org/waarp/gateway/ftp/file/SimpleAuth.java

Rule Violation Line
DataClass The class 'SimpleAuth' is suspected to be a Data Class (WOC=30.769%, NOPA=0, NOAM=8, WMC=28) 30279
AvoidFieldNameMatchingMethodName Field isAdmin has the same name as a method 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 125
MethodReturnsInternalArray Returning 'accounts' may expose an internal array. 193

Waarp Gateway Ftp - org/waarp/gateway/ftp/service/FtpEngine.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 35
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 40
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 6367

Waarp Gateway Ftp - org/waarp/gateway/ftp/service/FtpServiceLauncher.java

Rule Violation Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 34
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 55

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpCounter32.java

Rule Violation Line
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 34
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5152

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpGauge32.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 34
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5152

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpMonitoring.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 45478
TooManyFields Too many fields 45478
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
NonStaticInitializer Non-static initializers are confusing 9198
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 183
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 228229
LawOfDemeter Potential violation of Law of Demeter (static property access) 228229
CyclomaticComplexity The method 'run(long, WaarpGlobalValuesIndex)' has a cyclomatic complexity of 31. 288439
NcssCount The method 'run(long, WaarpGlobalValuesIndex)' has a NCSS line count of 104. 288439
ExcessiveMethodLength Avoid really long methods. 288439
ImplicitSwitchFallThrough A switch statement does not contain a break 295432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 429430
LawOfDemeter Potential violation of Law of Demeter (static property access) 429430

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpPrivateMib.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 54883
TooManyFields Too many fields 54883
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 126
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 136
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 156
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 258
LawOfDemeter Potential violation of Law of Demeter (static property access) 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 344
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 362
LawOfDemeter Potential violation of Law of Demeter (static property access) 375
LawOfDemeter Potential violation of Law of Demeter (static property access) 389
LawOfDemeter Potential violation of Law of Demeter (static property access) 402
LawOfDemeter Potential violation of Law of Demeter (static property access) 417
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 430503
LawOfDemeter Potential violation of Law of Demeter (static property access) 431432
LawOfDemeter Potential violation of Law of Demeter (static property access) 435436
LawOfDemeter Potential violation of Law of Demeter (static property access) 438
LawOfDemeter Potential violation of Law of Demeter (static property access) 440441
LawOfDemeter Potential violation of Law of Demeter (static property access) 445447
LawOfDemeter Potential violation of Law of Demeter (static property access) 447
LawOfDemeter Potential violation of Law of Demeter (static property access) 451453
LawOfDemeter Potential violation of Law of Demeter (static property access) 453
LawOfDemeter Potential violation of Law of Demeter (static property access) 457459
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 462464
LawOfDemeter Potential violation of Law of Demeter (static property access) 464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 466467
LawOfDemeter Potential violation of Law of Demeter (static property access) 469471
LawOfDemeter Potential violation of Law of Demeter (static property access) 471
LawOfDemeter Potential violation of Law of Demeter (static property access) 475477
LawOfDemeter Potential violation of Law of Demeter (static property access) 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 481483
LawOfDemeter Potential violation of Law of Demeter (static property access) 483
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 518537

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpTimeTicks.java

Rule Violation Line
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 37 and 43) 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5051
LawOfDemeter Potential violation of Law of Demeter (static property access) 5051

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpVariableFactory.java

Rule Violation Line
CyclomaticComplexity The method 'getVariable(OID, int, int, int)' has a cyclomatic complexity of 12. 3980

Waarp Gateway Kernel - org/waarp/gateway/kernel/AbstractHttpBusinessRequest.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedHashMap'; use the interface instead 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30
LooseCoupling Avoid using implementation types like 'LinkedHashMap'; use the interface instead 39

Waarp Gateway Kernel - org/waarp/gateway/kernel/AbstractHttpField.java

Rule Violation Line
DataClass The class 'AbstractHttpField' is suspected to be a Data Class (WOC=7.692%, NOPA=2, NOAM=12, WMC=24) 28295
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
ExcessiveParameterList Avoid long parameter lists. 7481
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 145

Waarp Gateway Kernel - org/waarp/gateway/kernel/DefaultHttpField.java

Rule Violation Line
GodClass Possible God Class (WMC=62, ATFD=9, TCC=0.000%) 28248
ExcessiveParameterList Avoid long parameter lists. 4249
NcssCount The method 'getHtmlFormField(HttpPage)' has a NCSS line count of 89. 56170
CognitiveComplexity The method 'getHtmlFormField(HttpPage)' has a cognitive complexity of 46, current threshold is 15 56170
CyclomaticComplexity The method 'getHtmlFormField(HttpPage)' has a cyclomatic complexity of 38. 56170
ExcessiveMethodLength Avoid really long methods. 56170
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 55 characters appended. 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (static property access) 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
CyclomaticComplexity The method 'setStringValue(String)' has a cyclomatic complexity of 15. 192227

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpBusinessFactory.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 43
ExcessiveMethodLength Avoid really long methods. 85226
NcssCount The method 'addDefaultErrorPages(HttpPageHandler, String, Class)' has a NCSS line count of 78. 85226
LawOfDemeter Potential violation of Law of Demeter (static property access) 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 161
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 206

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpJsonDefinition.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 139
UnusedAssignment The value assigned to variable 'list' is never used 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 240241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240241

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpPage.java

Rule Violation Line
CyclomaticComplexity The class 'HttpPage' has a total cyclomatic complexity of 117 (highest 13). 42662
GodClass Possible God Class (WMC=117, ATFD=51, TCC=1.795%) 42662
ExcessiveParameterList Avoid long parameter lists. 8995
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 116
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
CognitiveComplexity The method 'finalizePage(AbstractHttpBusinessRequest, boolean, StringBuilder)' has a cognitive complexity of 16, current threshold is 15 198227
CyclomaticComplexity The method 'finalizePage(AbstractHttpBusinessRequest, boolean, StringBuilder)' has a cyclomatic complexity of 11. 198227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 221
CyclomaticComplexity The method 'setFields(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cyclomatic complexity of 11. 229262
CognitiveComplexity The method 'setFields(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cognitive complexity of 28, current threshold is 15 229262
CognitiveComplexity The method 'setFromPossibleForm(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cognitive complexity of 20, current threshold is 15 264294
CyclomaticComplexity The method 'setFromPossibleForm(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cyclomatic complexity of 10. 264294
NPathComplexity The method 'getSimpleHtml(AbstractHttpBusinessRequest)' has an NPath complexity of 1296, current threshold is 200 296331
CyclomaticComplexity The method 'getSimpleHtml(AbstractHttpBusinessRequest)' has a cyclomatic complexity of 13. 296331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 477

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpPageHandler.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59
CyclomaticComplexity The method 'getHttpPage(String, String, HttpSession)' has a cyclomatic complexity of 17. 71120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
ImplicitSwitchFallThrough A switch statement does not contain a break 81115
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 83
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 92
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 99
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 134

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpXmlDefinition.java

Rule Violation Line
GodClass Possible God Class (WMC=98, ATFD=117, TCC=23.810%) 49523
CyclomaticComplexity The class 'HttpXmlDefinition' has a total cyclomatic complexity of 98 (highest 43). 49523
NPathComplexity The method 'loadHttpPage(XmlValue)' has an NPath complexity of 2097152, current threshold is 200 232302
CognitiveComplexity The method 'loadHttpPage(XmlValue)' has a cognitive complexity of 21, current threshold is 15 232302
CyclomaticComplexity The method 'loadHttpPage(XmlValue)' has a cyclomatic complexity of 36. 232302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 248
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 254255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 293
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 293
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 298
NPathComplexity The method 'loadHttpConfiguration(XmlValue)' has an NPath complexity of 33554432, current threshold is 200 304401
CyclomaticComplexity The method 'loadHttpConfiguration(XmlValue)' has a cyclomatic complexity of 43. 304401
NcssCount The method 'loadHttpConfiguration(XmlValue)' has a NCSS line count of 70. 304401
CognitiveComplexity The method 'loadHttpConfiguration(XmlValue)' has a cognitive complexity of 25, current threshold is 15 304401
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 327
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 327
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 332
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 337
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 363364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 422
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 426427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 448
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 470
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 500
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 510
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 512

Waarp Gateway Kernel - org/waarp/gateway/kernel/commonfile/CommonFileChunkedInput.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114

Waarp Gateway Kernel - org/waarp/gateway/kernel/commonfile/FilesystemBasedFileParameterImpl.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 37

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/WaarpActionLogger.java

Rule Violation Line
CyclomaticComplexity The method 'logCreate(DbSession, String, HttpSession)' has a cyclomatic complexity of 11. 5395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 84
EmptyCatchBlock Avoid empty catch blocks 9092
CyclomaticComplexity The method 'logAction(DbSession, HttpSession, String, HttpResponseStatus, UpdatedInfo)' has a cyclomatic complexity of 12. 106143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
EmptyCatchBlock Avoid empty catch blocks 139141
CyclomaticComplexity The method 'logErrorAction(DbSession, HttpSession, String, HttpResponseStatus)' has a cyclomatic complexity of 14. 153197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 180
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 183
EmptyCatchBlock Avoid empty catch blocks 193195

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/data/DbTransferLog.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201194
TooManyMethods This class has too many methods, consider refactoring it. 571194
ExcessiveClassLength Avoid really long classes. 571194
GodClass Possible God Class (WMC=129, ATFD=60, TCC=14.745%) 571194
CyclomaticComplexity The class 'DbTransferLog' has a total cyclomatic complexity of 129 (highest 14). 571194
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
AvoidFieldNameMatchingMethodName Field isSender has the same name as a method 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
AvoidDuplicateLiterals The String literal "=?," appears 6 times in this file; the first occurrence is on line 135 135
ExcessiveParameterList Avoid long parameter lists. 160164
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 217
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 276
LawOfDemeter Potential violation of Law of Demeter (static property access) 277
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 279
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
AvoidDuplicateLiterals The String literal " = ? AND " appears 7 times in this file; the first occurrence is on line 295 295
AvoidDuplicateLiterals The String literal " = '" appears 11 times in this file; the first occurrence is on line 315 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
CyclomaticComplexity The method 'create()' has a cyclomatic complexity of 14. 379451
CognitiveComplexity The method 'create()' has a cognitive complexity of 16, current threshold is 15 379451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 393
ExceptionAsFlowControl Avoid using exceptions as flow control. 410
ExceptionAsFlowControl Avoid using exceptions as flow control. 410
AvoidDuplicateLiterals The String literal ") FROM " appears 6 times in this file; the first occurrence is on line 415 415
AvoidDuplicateLiterals The String literal " WHERE " appears 18 times in this file; the first occurrence is on line 416 416
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 431432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 431432
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 438
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 441
AvoidDuplicateLiterals The String literal " = " appears 12 times in this file; the first occurrence is on line 500 500
LawOfDemeter Potential violation of Law of Demeter (static property access) 500
AvoidDuplicateLiterals The String literal " AND " appears 14 times in this file; the first occurrence is on line 501 501
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 503
AvoidDuplicateLiterals The String literal " DESC " appears 6 times in this file; the first occurrence is on line 505 505
AvoidDuplicateLiterals The String literal " ORDER BY " appears 6 times in this file; the first occurrence is on line 505 505
LawOfDemeter Potential violation of Law of Demeter (static property access) 505
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 507508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 507508
CyclomaticComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cyclomatic complexity of 11. 513557
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 513515
CognitiveComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cognitive complexity of 19, current threshold is 15 513557
NPathComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has an NPath complexity of 324, current threshold is 200 513557
LawOfDemeter Potential violation of Law of Demeter (static property access) 520
LawOfDemeter Potential violation of Law of Demeter (static property access) 524
LawOfDemeter Potential violation of Law of Demeter (static property access) 526
LawOfDemeter Potential violation of Law of Demeter (static property access) 531
LawOfDemeter Potential violation of Law of Demeter (static property access) 533
LawOfDemeter Potential violation of Law of Demeter (static property access) 538
LawOfDemeter Potential violation of Law of Demeter (static property access) 540
LawOfDemeter Potential violation of Law of Demeter (static property access) 545
LawOfDemeter Potential violation of Law of Demeter (static property access) 547
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 553
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 555
LawOfDemeter Potential violation of Law of Demeter (static property access) 555
CyclomaticComplexity The method 'getLogPrepareStament(DbSession, Timestamp, Timestamp)' has a cyclomatic complexity of 11. 571618
LawOfDemeter Potential violation of Law of Demeter (static property access) 578
LawOfDemeter Potential violation of Law of Demeter (static property access) 579
LawOfDemeter Potential violation of Law of Demeter (static property access) 581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 585
LawOfDemeter Potential violation of Law of Demeter (static property access) 591
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 591
LawOfDemeter Potential violation of Law of Demeter (static property access) 593
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 596
LawOfDemeter Potential violation of Law of Demeter (static property access) 602
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 602
LawOfDemeter Potential violation of Law of Demeter (static property access) 604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 607
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 613
LawOfDemeter Potential violation of Law of Demeter (static property access) 614
LawOfDemeter Potential violation of Law of Demeter (static property access) 632
AvoidDuplicateLiterals The String literal "SELECT COUNT(" appears 5 times in this file; the first occurrence is on line 632 632
LawOfDemeter Potential violation of Law of Demeter (static property access) 633
LawOfDemeter Potential violation of Law of Demeter (static property access) 634
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 653
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 656
LawOfDemeter Potential violation of Law of Demeter (static property access) 683
LawOfDemeter Potential violation of Law of Demeter (static property access) 684
AvoidDuplicateLiterals The String literal " >= ? " appears 4 times in this file; the first occurrence is on line 684 684
LawOfDemeter Potential violation of Law of Demeter (static property access) 685
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 685
LawOfDemeter Potential violation of Law of Demeter (static property access) 706
LawOfDemeter Potential violation of Law of Demeter (static property access) 707
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 730
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 755
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 796
LawOfDemeter Potential violation of Law of Demeter (static property access) 820
LawOfDemeter Potential violation of Law of Demeter (static property access) 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 825
AvoidDuplicateLiterals The String literal "' OR " appears 6 times in this file; the first occurrence is on line 825 825
LawOfDemeter Potential violation of Law of Demeter (static property access) 825
LawOfDemeter Potential violation of Law of Demeter (static property access) 826
LawOfDemeter Potential violation of Law of Demeter (static property access) 826
LawOfDemeter Potential violation of Law of Demeter (static property access) 827
LawOfDemeter Potential violation of Law of Demeter (static property access) 828
AvoidDuplicateLiterals The String literal "') " appears 4 times in this file; the first occurrence is on line 828 828
LawOfDemeter Potential violation of Law of Demeter (static property access) 830
LawOfDemeter Potential violation of Law of Demeter (static property access) 831
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 834
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 835
LawOfDemeter Potential violation of Law of Demeter (static property access) 835
LawOfDemeter Potential violation of Law of Demeter (static property access) 836
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 836
LawOfDemeter Potential violation of Law of Demeter (static property access) 837
LawOfDemeter Potential violation of Law of Demeter (static property access) 860
LawOfDemeter Potential violation of Law of Demeter (static property access) 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 865
LawOfDemeter Potential violation of Law of Demeter (static property access) 865
LawOfDemeter Potential violation of Law of Demeter (static property access) 866
LawOfDemeter Potential violation of Law of Demeter (static property access) 866
LawOfDemeter Potential violation of Law of Demeter (static property access) 867
LawOfDemeter Potential violation of Law of Demeter (static property access) 868
LawOfDemeter Potential violation of Law of Demeter (static property access) 870
LawOfDemeter Potential violation of Law of Demeter (static property access) 871
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 874
LawOfDemeter Potential violation of Law of Demeter (static property access) 875
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 875
LawOfDemeter Potential violation of Law of Demeter (static property access) 877
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 877
LawOfDemeter Potential violation of Law of Demeter (static property access) 878
LawOfDemeter Potential violation of Law of Demeter (static property access) 888
CompareObjectsWithEquals Use equals() to compare object references. 898
LawOfDemeter Potential violation of Law of Demeter (static property access) 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 925
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1011
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1086
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1088
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1171

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelFactoryGateway.java

Rule Violation Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 5456
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 117

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelH2Kernel.java

Rule Violation Line
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 56126
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 56126
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 31 characters appended. 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 86
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 9394
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 122

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelMariaDbKernel.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 48

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelMysqlKernel.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 52
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 60133
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 60133
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 31 characters appended. 69
LawOfDemeter Potential violation of Law of Demeter (static property access) 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 90
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 110
LawOfDemeter Potential violation of Law of Demeter (static property access) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 128

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelOracleKernel.java

Rule Violation Line
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 56125
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 56125
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 20 characters appended. 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 68
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 87
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 121

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelPostgresqlKernel.java

Rule Violation Line
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 50119
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 50119
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 31 characters appended. 59
LawOfDemeter Potential violation of Law of Demeter (static property access) 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 115

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpCleanChannelFutureListener.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpRequestHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20994
CyclomaticComplexity The class 'HttpRequestHandler' has a total cyclomatic complexity of 134 (highest 16). 85994
TooManyMethods This class has too many methods, consider refactoring it. 86994
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 137
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 155
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 168
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 182
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 197
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 214
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
ExcessiveMethodLength Avoid really long methods. 261363
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 19, current threshold is 15 261363
NcssCount The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a NCSS line count of 68. 261363
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 16. 261363
CompareObjectsWithEquals Use equals() to compare object references. 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 310
LawOfDemeter Potential violation of Law of Demeter (static property access) 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 320
ImplicitSwitchFallThrough A switch statement does not contain a break 325349
CompareObjectsWithEquals Use equals() to compare object references. 356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 397
LawOfDemeter Potential violation of Law of Demeter (static property access) 408
CompareObjectsWithEquals Use equals() to compare object references. 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 446
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 450
LawOfDemeter Potential violation of Law of Demeter (static property access) 452
CyclomaticComplexity The method 'writeSimplePage(ChannelHandlerContext)' has a cyclomatic complexity of 10. 465507
NPathComplexity The method 'writeSimplePage(ChannelHandlerContext)' has an NPath complexity of 256, current threshold is 200 465507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 469
EmptyCatchBlock Avoid empty catch blocks 475477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 484
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 487
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 489490
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 492
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 493
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 497498
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 529530
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 533535
LawOfDemeter Potential violation of Law of Demeter (static property access) 534535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 548
LawOfDemeter Potential violation of Law of Demeter (static property access) 552
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 560561
LawOfDemeter Potential violation of Law of Demeter (static property access) 561
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 562
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 570572
LawOfDemeter Potential violation of Law of Demeter (static property access) 571572
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 591592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 592
CompareObjectsWithEquals Use equals() to compare object references. 601
LawOfDemeter Potential violation of Law of Demeter (static property access) 602603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 613614
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 614
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 619620
CyclomaticComplexity The method 'finalData(ChannelHandlerContext)' has a cyclomatic complexity of 14. 648700
LawOfDemeter Potential violation of Law of Demeter (static property access) 660
CompareObjectsWithEquals Use equals() to compare object references. 695
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 800
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 854
EmptyCatchBlock Avoid empty catch blocks 915917
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 933
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 935
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 940
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 944
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 947
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 949
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 951
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 952
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 955
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 959

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpWriteCacheEnable.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20282
LooseCoupling Avoid using implementation types like 'ArrayList'; use the interface instead 78
CyclomaticComplexity The method 'writeFile(HttpRequest, ChannelHandlerContext, String, String)' has a cyclomatic complexity of 11. 120192
NPathComplexity The method 'writeFile(HttpRequest, ChannelHandlerContext, String, String)' has an NPath complexity of 216, current threshold is 200 120192
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
CloseResource Ensure that resources like this FileInputStream object are closed after use 156
UnusedAssignment The initializer for variable 'inputStream' is never used (overwritten on line 158) 156
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 177178
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 180181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 202203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 218219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 223224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 226227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 239240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 267
EmptyIfStmt Avoid empty if statements 271273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274275
LawOfDemeter Potential violation of Law of Demeter (static property access) 275

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/saplink/HttpGerenateJsonConfiguration.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3050
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 36
LawOfDemeter Potential violation of Law of Demeter (static property access) 3738
LawOfDemeter Potential violation of Law of Demeter (static property access) 46

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/saplink/HttpSapBusinessFactory.java

Rule Violation Line
ExcessiveMethodLength Avoid really long methods. 213410
NcssCount The method 'initializeHttpPageHandler()' has a NCSS line count of 144. 213410
LawOfDemeter Potential violation of Law of Demeter (static property access) 240
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 244
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 245
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 246
AvoidDuplicateLiterals The String literal "404" appears 10 times in this file; the first occurrence is on line 247 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 256
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 259
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 260
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 274
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 275
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 276
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 277
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 288
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 290
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 291
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 292
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 293
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 305
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 307
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 308
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 309
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 310
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 322
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 324
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 325
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 326
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 327
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 338
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 340
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 341
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 342
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 343
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 344
LawOfDemeter Potential violation of Law of Demeter (static property access) 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 354
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 357
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 358
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 359
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 360
LawOfDemeter Potential violation of Law of Demeter (static property access) 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 371
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 373
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 374
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 375
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 376
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 377
LawOfDemeter Potential violation of Law of Demeter (static property access) 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 388
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 390
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 391
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 392
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 393
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 394
LawOfDemeter Potential violation of Law of Demeter (static property access) 397
LawOfDemeter Potential violation of Law of Demeter (static property access) 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 405
LawOfDemeter Potential violation of Law of Demeter (static property access) 407
NcssCount The method 'addDefaultFields(LinkedHashMap, SapField)' has a NCSS line count of 94. 412553
ExcessiveMethodLength Avoid really long methods. 412553
LooseCoupling Avoid using implementation types like 'LinkedHashMap'; use the interface instead 413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 431
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 432
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 439443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 449
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 450
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 457461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 467
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 468
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 475479
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 484
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 485
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 486
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 493497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 502
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 503
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 504
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 511515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 520
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 521
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 522
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 529533
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 539
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 540
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 547551

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/DataModelRestMethodHandler.java

Rule Violation Line
GodClass Possible God Class (WMC=58, ATFD=51, TCC=10.909%) 54473
CyclomaticComplexity The method 'checkHandlerSessionCorrectness(HttpRestHandler, RestArgument, RestArgument)' has a cyclomatic complexity of 12. 84122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150
CyclomaticComplexity The method 'getAll(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 12. 286322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 399
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 407408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 414
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 457
CompareObjectsWithEquals Use equals() to compare object references. 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
LawOfDemeter Potential violation of Law of Demeter (static property access) 467468

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/HttpRestHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20861
TooManyFields Too many fields 83861
CyclomaticComplexity The class 'HttpRestHandler' has a total cyclomatic complexity of 114 (highest 32). 83861
TooManyMethods This class has too many methods, consider refactoring it. 84861
MutableStaticState Do not use non-final non-private static fields 194
MutableStaticState Do not use non-final non-private static fields 196
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 223
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 223
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 224
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 225
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 227
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 230
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 231
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 233
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 240
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 248
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 252
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 293
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 297
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 301
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 303
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 304
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 305
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 308
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363366
LawOfDemeter Potential violation of Law of Demeter (static property access) 364366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 366
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 32. 407540
NcssCount The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a NCSS line count of 93. 407540
ExcessiveMethodLength Avoid really long methods. 407540
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 64, current threshold is 15 407540
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 416
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 418
CompareObjectsWithEquals Use equals() to compare object references. 459
AvoidDuplicateLiterals The String literal "Error: {}" appears 5 times in this file; the first occurrence is on line 462 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
CompareObjectsWithEquals Use equals() to compare object references. 476
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 480
CompareObjectsWithEquals Use equals() to compare object references. 493
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 497
CompareObjectsWithEquals Use equals() to compare object references. 510
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 514
CompareObjectsWithEquals Use equals() to compare object references. 527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 549
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 558
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 598
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 604
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 608
CompareObjectsWithEquals Use equals() to compare object references. 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 632
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 634
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 634
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 658659
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 658659
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 659
CompareObjectsWithEquals Use equals() to compare object references. 666
LawOfDemeter Potential violation of Law of Demeter (static property access) 667668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 669
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 680681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 687688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 712
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 716
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 734
EmptyCatchBlock Avoid empty catch blocks 787789
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 15, current threshold is 15 793818
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 795
CompareObjectsWithEquals Use equals() to compare object references. 809

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestArgument.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 201022
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201022
CyclomaticComplexity The class 'RestArgument' has a total cyclomatic complexity of 167 (highest 21). 721022
TooManyMethods This class has too many methods, consider refactoring it. 721022
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 187
CyclomaticComplexity The method 'setRequest(HttpRequest)' has a cyclomatic complexity of 21. 215315
NPathComplexity The method 'setRequest(HttpRequest)' has an NPath complexity of 5168, current threshold is 200 215315
ExcessiveMethodLength Avoid really long methods. 215315
CognitiveComplexity The method 'setRequest(HttpRequest)' has a cognitive complexity of 46, current threshold is 15 215315
NcssCount The method 'setRequest(HttpRequest)' has a NCSS line count of 69. 215315
CompareObjectsWithEquals Use equals() to compare object references. 218219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 290
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 295
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 308
AvoidDuplicateLiterals The String literal "Arguments incompatible with Security: " appears 4 times in this file; the first occurrence is on line 311 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 325326
LawOfDemeter Potential violation of Law of Demeter (static property access) 325326
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 330331
LawOfDemeter Potential violation of Law of Demeter (static property access) 330331
LawOfDemeter Potential violation of Law of Demeter (static property access) 333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 335336
LawOfDemeter Potential violation of Law of Demeter (static property access) 335336
LawOfDemeter Potential violation of Law of Demeter (static property access) 338
LawOfDemeter Potential violation of Law of Demeter (static property access) 340341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 340341
LawOfDemeter Potential violation of Law of Demeter (static property access) 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 349
LawOfDemeter Potential violation of Law of Demeter (static property access) 351
LawOfDemeter Potential violation of Law of Demeter (static property access) 353
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 399
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 411
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 415
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 428
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 448
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 454
CognitiveComplexity The method 'setHeaderArgs(List)' has a cognitive complexity of 16, current threshold is 15 464497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 473
LawOfDemeter Potential violation of Law of Demeter (static property access) 473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 479
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 484485
CognitiveComplexity The method 'setHeaderArgs(Iterator)' has a cognitive complexity of 16, current threshold is 15 504539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 521
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 526527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 529
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 532
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 532
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 535
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 556557
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 568569
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 570
LawOfDemeter Potential violation of Law of Demeter (static property access) 584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 591
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 627
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 634
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 654
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 665
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 690
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 723
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 724
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 735
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 747
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 754
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 754
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 758
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 758
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 771
LawOfDemeter Potential violation of Law of Demeter (static property access) 771
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 772
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 774
LawOfDemeter Potential violation of Law of Demeter (static property access) 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 783
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 783
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 787
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 788
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 821
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 821
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 823
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 824
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 829
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 829
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 832
LawOfDemeter Potential violation of Law of Demeter (static property access) 832
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 838
CyclomaticComplexity The method 'checkBaseAuthent(HmacSha256, String, long)' has a cyclomatic complexity of 18. 892953
CognitiveComplexity The method 'checkBaseAuthent(HmacSha256, String, long)' has a cognitive complexity of 20, current threshold is 15 892953
NPathComplexity The method 'checkBaseAuthent(HmacSha256, String, long)' has an NPath complexity of 1040, current threshold is 200 892953
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 902
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 907
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 908
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 911
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 912
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 913
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 915
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 915
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 918
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 920
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 922
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 930
LawOfDemeter Potential violation of Law of Demeter (static property access) 930
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 935
LawOfDemeter Potential violation of Law of Demeter (static property access) 935
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 948
LooseCoupling Avoid using implementation types like 'TreeMap'; use the interface instead 965
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 970
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 991
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1011
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1012
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1013

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestConfiguration.java

Rule Violation Line
DataClass The class 'RestConfiguration' is suspected to be a Data Class (WOC=15.789%, NOPA=1, NOAM=16, WMC=21) 34245
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 112
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 118121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123
MethodReturnsInternalArray Returning 'resthandlersCrud' may expose an internal array. 236
ArrayIsStoredDirectly The user-supplied array 'resthandlersCrud' is stored directly. 242

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestMethodHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
CompareObjectsWithEquals Use equals() to compare object references. 255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 264265
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 291

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RootOptionsRestMethodHandler.java

Rule Violation Line
CyclomaticComplexity The method 'optionsCommand(HttpRestHandler, RestArgument, RestArgument)' has a cyclomatic complexity of 12. 85126
NPathComplexity The method 'optionsCommand(HttpRestHandler, RestArgument, RestArgument)' has an NPath complexity of 324, current threshold is 200 85126
CognitiveComplexity The method 'optionsCommand(HttpRestHandler, RestArgument, RestArgument)' has a cognitive complexity of 20, current threshold is 15 85126
LawOfDemeter Potential violation of Law of Demeter (static property access) 91
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
CompareObjectsWithEquals Use equals() to compare object references. 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (static property access) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 134135
LawOfDemeter Potential violation of Law of Demeter (static property access) 135

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/HttpRestClientHelper.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20424
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
UnusedFormalParameter Avoid unused constructor parameters such as 'timeout'. 86
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 99
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144145
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 174180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 224225
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 272276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 311312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 320
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 340
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 340
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 16, current threshold is 15 347423
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 347423
NPathComplexity The method 'main(String)' has an NPath complexity of 384, current threshold is 200 347423
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 351
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 360
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 378
UnusedAssignment The initializer for variable 'port' is never used (overwritten on line 387) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 417

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/HttpRestClientSimpleResponseHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 89
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 13. 101145
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 31, current threshold is 15 101145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 127130
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 163

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/RestFuture.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30

Waarp Gateway Kernel - org/waarp/gateway/kernel/session/DefaultHttpAuth.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
AvoidFieldNameMatchingMethodName Field isIdentified has the same name as a method 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51

Waarp Gateway Kernel - org/waarp/gateway/kernel/session/HttpSession.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40

Waarp Http - org/waarp/http/protocol/HttpDeleteSession.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 6466
UnusedAssignment The value assigned to variable 'runner' is never used 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 101 and 104) 96
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 133

Waarp Http - org/waarp/http/protocol/HttpDownloadSession.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 74
UnusedLocalVariable Avoid unused local variables such as 'business'. 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 154
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 178 and 181) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 218
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 248
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 301

Waarp Http - org/waarp/http/protocol/HttpResumableChunkNumber.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 27

Waarp Http - org/waarp/http/protocol/HttpResumableInfo.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95

Waarp Http - org/waarp/http/protocol/HttpResumableSession.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
RedundantFieldInitializer Avoid using redundant field initializer for 'size' 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 98100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
CyclomaticComplexity The method 'checkIfUploadFinished(String)' has a cyclomatic complexity of 10. 214269
CognitiveComplexity The method 'checkIfUploadFinished(String)' has a cognitive complexity of 18, current threshold is 15 214269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 257
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 258

Waarp Http - org/waarp/http/protocol/HttpSession.java

Rule Violation Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 39

Waarp Http - org/waarp/http/protocol/HttpSessionAbstract.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7475
LawOfDemeter Potential violation of Law of Demeter (static property access) 7475
CyclomaticComplexity The method 'getDbTaskRunner(String, String, String, long, String, int, R66BusinessInterface, boolean)' has a cyclomatic complexity of 15. 114193
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 122
UnusedAssignment The initializer for variable 'rule' is never used (overwritten on line 128) 126
LawOfDemeter Potential violation of Law of Demeter (static property access) 133
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 137 and 152) 134
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 159
AvoidDuplicateLiterals The String literal "Cannot save Status: " appears 4 times in this file; the first occurrence is on line 180 180
AvoidDuplicateLiterals The String literal ": {}" appears 4 times in this file; the first occurrence is on line 180 180
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 209
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 294

Waarp Http - org/waarp/http/protocol/HttpSessions.java

Rule Violation Line
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5868
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 102

Waarp Http - org/waarp/http/protocol/servlet/AbstractServlet.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 60
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 63
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 74
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 7980
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85

Waarp Http - org/waarp/http/protocol/servlet/DownloadServlet.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 101
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 168
CyclomaticComplexity The method 'getDownloadSession(Map, String, boolean)' has a cyclomatic complexity of 11. 176213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 195
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 207208
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 210211

Waarp Http - org/waarp/http/protocol/servlet/HttpAuthent.java

Rule Violation Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 52
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 68

Waarp Http - org/waarp/http/protocol/servlet/HttpAuthentDefault.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
LawOfDemeter Potential violation of Law of Demeter (static property access) 53
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 59
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 61
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 77

Waarp Http - org/waarp/http/protocol/servlet/UploadServlet.java

Rule Violation Line
NPathComplexity The method 'doPost(HttpServletRequest, HttpServletResponse)' has an NPath complexity of 1800, current threshold is 200 72187
CognitiveComplexity The method 'doPost(HttpServletRequest, HttpServletResponse)' has a cognitive complexity of 41, current threshold is 15 72187
NcssCount The method 'doPost(HttpServletRequest, HttpServletResponse)' has a NCSS line count of 75. 72187
CyclomaticComplexity The method 'doPost(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 27. 72187
ExcessiveMethodLength Avoid really long methods. 72187
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77
CloseResource Ensure that resources like this InputStream object are closed after use 78
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 90
LiteralsFirstInComparisons Position literals first in String comparisons 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 100105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108
ExceptionAsFlowControl Avoid using exceptions as flow control. 113
ExceptionAsFlowControl Avoid using exceptions as flow control. 113
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 118
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 118
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 125
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 137
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 156
LiteralsFirstInComparisons Position literals first in String comparisons 161
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 161
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
CyclomaticComplexity The method 'getResumableSession(Map, HttpResumableInfo)' has a cyclomatic complexity of 10. 223255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 249250
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 252253
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 282

Waarp ICAP Client - org/waarp/icap/IcapClient.java

Rule Violation Line
TooManyFields Too many fields 651231
GodClass Possible God Class (WMC=173, ATFD=108, TCC=20.479%) 651231
CyclomaticComplexity The class 'IcapClient' has a total cyclomatic complexity of 173 (highest 19). 651231
TooManyMethods This class has too many methods, consider refactoring it. 651231
ExcessiveClassLength Avoid really long classes. 651231
AvoidFieldNameMatchingMethodName Field setPreviewSize has the same name as a method 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcapPreview' 107
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcapPreview' 108
RedundantFieldInitializer Avoid using redundant field initializer for 'substringHttpStatus200' 109
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap200' 110
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap200' 111
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap204' 112
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap204' 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 116
RedundantFieldInitializer Avoid using redundant field initializer for 'finalResult' 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 122
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 125
CyclomaticComplexity The method 'connect()' has a cyclomatic complexity of 12. 183231
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 186
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 279
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 287
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 295
NPathComplexity The method 'scanFile(String)' has an NPath complexity of 384, current threshold is 200 314390
CognitiveComplexity The method 'scanFile(String)' has a cognitive complexity of 21, current threshold is 15 314390
CyclomaticComplexity The method 'scanFile(String)' has a cyclomatic complexity of 19. 314390
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 323
UnusedAssignment The initializer for variable 'inputStream' is never used (overwritten on lines 341 and 370) 325
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 331
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 333
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 345346
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 533
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 557
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 581
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 604
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 628
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 651
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 675
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 733
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 792
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 799
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 800
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 812
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 813815
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 814
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 815
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 830
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 830831
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 831
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 832
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 833
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 897
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 904
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 945
CognitiveComplexity The method 'getHeader(String, byte)' has a cognitive complexity of 15, current threshold is 15 10661125
CyclomaticComplexity The method 'getHeader(String, byte)' has a cyclomatic complexity of 15. 10661125
AssignmentInOperand Avoid assignments in operands 1081
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1085
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1097
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1159

Waarp ICAP Client - org/waarp/icap/IcapModel.java

Rule Violation Line
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 54
MethodReturnsInternalArray Returning 'defaultArgs' may expose an internal array. 62

Waarp ICAP Client - org/waarp/icap/IcapScanFile.java

Rule Violation Line
TooManyFields Too many fields 76917
GodClass Possible God Class (WMC=122, ATFD=177, TCC=6.154%) 76917
CyclomaticComplexity The class 'IcapScanFile' has a total cyclomatic complexity of 122 (highest 18). 76917
RedundantFieldInitializer Avoid using redundant field initializer for 'serverIP' 240
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 241
RedundantFieldInitializer Avoid using redundant field initializer for 'icapService' 242
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 242
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 243
RedundantFieldInitializer Avoid using redundant field initializer for 'icapModel' 243
RedundantFieldInitializer Avoid using redundant field initializer for 'filepath' 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 247
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 248
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 249
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcapPreview' 250
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 250
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcapPreview' 251
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 251
RedundantFieldInitializer Avoid using redundant field initializer for 'substringHttpStatus200' 252
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 252
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 253
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap200' 253
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap200' 254
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 254
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 255
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap204' 255
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap204' 256
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 256
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 257
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 258
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 259
RedundantFieldInitializer Avoid using redundant field initializer for 'pathMoveError' 259
RedundantFieldInitializer Avoid using redundant field initializer for 'deleteOnError' 260
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 260
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 261
RedundantFieldInitializer Avoid using redundant field initializer for 'sendOnError' 261
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreNetworkError' 262
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 262
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreTooBigFileError' 263
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 263
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 264
RedundantFieldInitializer Avoid using redundant field initializer for 'logLevel' 264
RedundantFieldInitializer Avoid using redundant field initializer for 'result' 266
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 266
CyclomaticComplexity The method 'getIcapScanFileArgs(String, Options)' has a cyclomatic complexity of 10. 363401
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 381
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 383
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 383
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
LawOfDemeter Potential violation of Law of Demeter (static property access) 415
CyclomaticComplexity The method 'getOtherOptions(IcapScanFile, CommandLine)' has a cyclomatic complexity of 13. 430469
NPathComplexity The method 'getOtherOptions(IcapScanFile, CommandLine)' has an NPath complexity of 4096, current threshold is 200 430469
NPathComplexity The method 'getNumbers(IcapScanFile, CommandLine)' has an NPath complexity of 244, current threshold is 200 479524
CyclomaticComplexity The method 'getNumbers(IcapScanFile, CommandLine)' has a cyclomatic complexity of 18. 479524
CognitiveComplexity The method 'getNumbers(IcapScanFile, CommandLine)' has a cognitive complexity of 16, current threshold is 15 479524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563573
CyclomaticComplexity The method 'finalizeOnError(IcapScanFile)' has a cyclomatic complexity of 16. 584633
CognitiveComplexity The method 'finalizeOnError(IcapScanFile)' has a cognitive complexity of 26, current threshold is 15 584633
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 619
CognitiveComplexity The method 'scanFile(String)' has a cognitive complexity of 18, current threshold is 15 832871
CyclomaticComplexity The method 'scanFile(String)' has a cyclomatic complexity of 15. 832871
CyclomaticComplexity The method 'scanFile()' has a cyclomatic complexity of 10. 882916
CloseResource Ensure that resources like this IcapClient object are closed after use 900
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 901
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 902
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 906
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 907

Waarp Password Management GUI and Console - org/waarp/uip/WaarpPassword.java

Rule Violation Line
GodClass Possible God Class (WMC=75, ATFD=23, TCC=26.667%) 44420
MutableStaticState Do not use non-final non-private static fields 45
MutableStaticState Do not use non-final non-private static fields 46
MutableStaticState Do not use non-final non-private static fields 58
MutableStaticState Do not use non-final non-private static fields 59
MutableStaticState Do not use non-final non-private static fields 60
MutableStaticState Do not use non-final non-private static fields 61
MutableStaticState Do not use non-final non-private static fields 62
MutableStaticState Do not use non-final non-private static fields 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 77
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 10. 77111
LawOfDemeter Potential violation of Law of Demeter (static property access) 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 105106
LawOfDemeter Potential violation of Law of Demeter (static property access) 107108
CognitiveComplexity The method 'loadOptions(String)' has a cognitive complexity of 61, current threshold is 15 113215
NPathComplexity The method 'loadOptions(String)' has an NPath complexity of 8160, current threshold is 200 113215
NcssCount The method 'loadOptions(String)' has a NCSS line count of 89. 113215
ExcessiveMethodLength Avoid really long methods. 113215
CyclomaticComplexity The method 'loadOptions(String)' has a cyclomatic complexity of 29. 113215
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 116
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 117
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 118
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 120
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 129132
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 185186
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 197198
NonThreadSafeSingleton Singleton is not thread safe 201203
LawOfDemeter Potential violation of Law of Demeter (static property access) 205206
LawOfDemeter Potential violation of Law of Demeter (static property access) 210211
NPathComplexity The constructor 'WaarpPassword()' has an NPath complexity of 384, current threshold is 200 217250
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 217
CyclomaticComplexity The constructor 'WaarpPassword()' has a cyclomatic complexity of 10. 217250
CloseResource Ensure that resources like this InputStream object are closed after use 254
CloseResource Ensure that resources like this InputStreamReader object are closed after use 256
LawOfDemeter Potential violation of Law of Demeter (static property access) 260
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 270
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 273
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 332
CloseResource Ensure that resources like this FileOutputStream object are closed after use 359
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 372
CloseResource Ensure that resources like this FileInputStream object are closed after use 376
CloseResource Ensure that resources like this DataInputStream object are closed after use 378
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 408

Waarp Password Management GUI and Console - org/waarp/uip/WaarpUiPassword.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20806
GodClass Possible God Class (WMC=47, ATFD=223, TCC=3.000%) 61806
TooManyFields Too many fields 61806
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
SingularField Perhaps 'helpMenuItem' could be replaced by a local variable. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
SingularField Perhaps 'jMenu5' could be replaced by a local variable. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
SingularField Perhaps 'jPanel1' could be replaced by a local variable. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
SingularField Perhaps 'savePasswordMenuItem' could be replaced by a local variable. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
SingularField Perhaps 'loadPasswordMenuItem' could be replaced by a local variable. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
SingularField Perhaps 'exitMenuItem' could be replaced by a local variable. 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
SingularField Perhaps 'jSeparator2' could be replaced by a local variable. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
SingularField Perhaps 'openFileMenuItem' could be replaced by a local variable. 91
SingularField Perhaps 'newFileMenuItem' could be replaced by a local variable. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 93
SingularField Perhaps 'jMenu3' could be replaced by a local variable. 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
SingularField Perhaps 'jMenuBar1' could be replaced by a local variable. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
UnusedFormalParameter Avoid unused constructor parameters such as 'extended_ignore'. 127
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 127
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 167
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 196
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 201
NcssCount The method 'initGUI()' has a NCSS line count of 86. 205464
CognitiveComplexity The method 'initGUI()' has a cognitive complexity of 24, current threshold is 15 205464
ExcessiveMethodLength Avoid really long methods. 205464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 208
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 250
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 253
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 257
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 258
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 268
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 269
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 271
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 275
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 276
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 288
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 291
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 293
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 295
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 295
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 296
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 305319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 305319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 305319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 337351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 337351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 337351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 338350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 338350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 338350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 339344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 339344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 377385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 377385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 377385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 378385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 378385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 382385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 382385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 382385
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 461
LawOfDemeter Potential violation of Law of Demeter (static property access) 462
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 502
LawOfDemeter Potential violation of Law of Demeter (static property access) 503
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 525
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 526
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 528
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 530
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 531
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 533
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 534
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 537
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 557
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 558
LawOfDemeter Potential violation of Law of Demeter (static property access) 559
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 561
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 562
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
LawOfDemeter Potential violation of Law of Demeter (static property access) 582
CognitiveComplexity The method 'getSaveAsKeyAction()' has a cognitive complexity of 18, current threshold is 15 591625
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 601
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 602
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 604
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 605
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 613
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 615
LawOfDemeter Potential violation of Law of Demeter (static property access) 617
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 637
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 638
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 640
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 641
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 642
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 644
LawOfDemeter Potential violation of Law of Demeter (static property access) 646
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 647
LawOfDemeter Potential violation of Law of Demeter (static property access) 648
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 650
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 650
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 651
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 652
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 671
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 672
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 674
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 675
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 679
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 680
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 682
LawOfDemeter Potential violation of Law of Demeter (static property access) 684
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 704
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 721742
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 721742
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 721742
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 722741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 722741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 730741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 730741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 730741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 799
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 799

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/R66Proxy.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 49
LawOfDemeter Potential violation of Law of Demeter (static property access) 5657
LawOfDemeter Potential violation of Law of Demeter (static property access) 6162
NonThreadSafeSingleton Singleton is not thread safe 6870
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 7882

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/ConfigurationProxyR66.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 72
CyclomaticComplexity The method 'r66Startup()' has a cyclomatic complexity of 12. 93171
CognitiveComplexity The method 'r66Startup()' has a cognitive complexity of 27, current threshold is 15 93171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 162
LawOfDemeter Potential violation of Law of Demeter (static property access) 219

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/FileBasedConfiguration.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 185186
UnusedAssignment The value assigned to variable 'hashConfigSub' is never used 189
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 189
UnusedAssignment The value assigned to variable 'hashConfigSub' is never used 201
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 201
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 216
CognitiveComplexity The method 'loadNetworkServer(Configuration)' has a cognitive complexity of 38, current threshold is 15 227297
NPathComplexity The method 'loadNetworkServer(Configuration)' has an NPath complexity of 26280, current threshold is 200 227297
CyclomaticComplexity The method 'loadNetworkServer(Configuration)' has a cyclomatic complexity of 22. 227297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 246
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 278
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 280
LawOfDemeter Potential violation of Law of Demeter (static property access) 288
CyclomaticComplexity The method 'setConfigurationProxyFromXml(Configuration, String)' has a cyclomatic complexity of 10. 322372
NPathComplexity The method 'setConfigurationProxyFromXml(Configuration, String)' has an NPath complexity of 384, current threshold is 200 322372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 327
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 368
UnusedAssignment The value assigned to variable 'configuration' is never used 370
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 370

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkPacketCodec.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 43
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 75
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 96

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkServerHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
AvoidFieldNameMatchingMethodName Field isSSL has the same name as a method 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 156
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 169
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190192
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 275
EmptyIfStmt Avoid empty if statements 313315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 342

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkTransaction.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 108
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
CollapsibleIfStatements These nested if statements could be combined 176181
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 180
CyclomaticComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cyclomatic complexity of 19. 196255
CognitiveComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cognitive complexity of 30, current threshold is 15 196255
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 214215
LawOfDemeter Potential violation of Law of Demeter (static property access) 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 277

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ProxyBridge.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 61

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ProxyEntry.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ssl/NetworkSslServerHandler.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7879
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ssl/NetworkSslServerInitializerProxy.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 61

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/HttpFormattedHandlerProxyR66.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 90
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 122123
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126127
LawOfDemeter Potential violation of Law of Demeter (static property access) 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 13. 143199
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 360, current threshold is 200 143199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 150
CompareObjectsWithEquals Use equals() to compare object references. 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
ImplicitSwitchFallThrough A switch statement does not contain a break 187196
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 215
EmptyIfStmt Avoid empty if statements 218220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233234

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/HttpInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 46

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/adminssl/HttpSslHandlerProxyR66.java

Rule Violation Line
GodClass Possible God Class (WMC=73, ATFD=98, TCC=10.714%) 51526
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 99100
LawOfDemeter Potential violation of Law of Demeter (static property access) 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 104105
LawOfDemeter Potential violation of Law of Demeter (static property access) 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 167
NPathComplexity The method 'System()' has an NPath complexity of 636, current threshold is 200 207348
ExcessiveMethodLength Avoid really long methods. 207348
CyclomaticComplexity The method 'System()' has a cyclomatic complexity of 26. 207348
CognitiveComplexity The method 'System()' has a cognitive complexity of 109, current threshold is 15 207348
NcssCount The method 'System()' has a NCSS line count of 113. 207348
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 245
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 245247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 279281
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 319
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 327
LawOfDemeter Potential violation of Law of Demeter (static property access) 340
CompareObjectsWithEquals Use equals() to compare object references. 351
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 352
CompareObjectsWithEquals Use equals() to compare object references. 353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 361
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
CyclomaticComplexity The method 'checkAuthentProxy(ChannelHandlerContext)' has a cyclomatic complexity of 20. 378476
NPathComplexity The method 'checkAuthentProxy(ChannelHandlerContext)' has an NPath complexity of 1920, current threshold is 200 378476
NcssCount The method 'checkAuthentProxy(ChannelHandlerContext)' has a NCSS line count of 72. 378476
CognitiveComplexity The method 'checkAuthentProxy(ChannelHandlerContext)' has a cognitive complexity of 49, current threshold is 15 378476
CompareObjectsWithEquals Use equals() to compare object references. 380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 382
CompareObjectsWithEquals Use equals() to compare object references. 387
LawOfDemeter Potential violation of Law of Demeter (static property access) 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 437
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 460461
LawOfDemeter Potential violation of Law of Demeter (static property access) 460
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 10. 479525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 483
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 503
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 507
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 508
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 508

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/adminssl/HttpSslInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 49
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 50
LawOfDemeter Potential violation of Law of Demeter (static property access) 54

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3AbstractTask.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
RedundantFieldInitializer Avoid using redundant field initializer for 'taskUtil' 41
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 62
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3PutAndR66DeleteTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 87

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3PutTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 94

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/elasticsearch/ElasticsearchMonitoringExporterClientFactoryImpl.java

Rule Violation Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3033

Waarp OpenR66 - org/waarp/openr66/client/AbstractBusinessRequest.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 77
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
NonThreadSafeSingleton Singleton is not thread safe 154156
LawOfDemeter Potential violation of Law of Demeter (static property access) 166
LawOfDemeter Potential violation of Law of Demeter (static property access) 193
MutableStaticState Do not use non-final non-private static fields 199
MutableStaticState Do not use non-final non-private static fields 200
MutableStaticState Do not use non-final non-private static fields 201
MutableStaticState Do not use non-final non-private static fields 202
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 12. 211251
NonThreadSafeSingleton Singleton is not thread safe 212214
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 215
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 234
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 237
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 241

Waarp OpenR66 - org/waarp/openr66/client/AbstractTransfer.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20679
CyclomaticComplexity The class 'AbstractTransfer' has a total cyclomatic complexity of 80 (highest 16). 70679
TooManyMethods This class has too many methods, consider refactoring it. 70679
MutableStaticState Do not use non-final non-private static fields 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
ExcessiveParameterList Avoid long parameter lists. 112116
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 118
NonThreadSafeSingleton Singleton is not thread safe 148150
LawOfDemeter Potential violation of Law of Demeter (static property access) 155156
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
NPathComplexity The method 'initRequest()' has an NPath complexity of 272, current threshold is 200 175276
CognitiveComplexity The method 'initRequest()' has a cognitive complexity of 30, current threshold is 15 175276
CyclomaticComplexity The method 'initRequest()' has a cyclomatic complexity of 16. 175276
ExcessiveMethodLength Avoid really long methods. 175276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222223
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 230
LawOfDemeter Potential violation of Law of Demeter (static property access) 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 235
MutableStaticState Do not use non-final non-private static fields 278
MutableStaticState Do not use non-final non-private static fields 279
MutableStaticState Do not use non-final non-private static fields 280
MutableStaticState Do not use non-final non-private static fields 281
MutableStaticState Do not use non-final non-private static fields 282
MutableStaticState Do not use non-final non-private static fields 283
MutableStaticState Do not use non-final non-private static fields 286
MutableStaticState Do not use non-final non-private static fields 287
MutableStaticState Do not use non-final non-private static fields 288
MutableStaticState Do not use non-final non-private static fields 289
MutableStaticState Do not use non-final non-private static fields 290
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 293
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 294
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 296
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 301
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 303
NonThreadSafeSingleton Singleton is not thread safe 317319
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 344
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 349
NonThreadSafeSingleton Singleton is not thread safe 382384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 405
CognitiveComplexity The method 'getRemoteFiles(String, String, NetworkTransaction)' has a cognitive complexity of 22, current threshold is 15 421460
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 431
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 435438
LawOfDemeter Potential violation of Law of Demeter (static property access) 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 445
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 448
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 455
CognitiveComplexity The method 'getLocalFiles(DbRule, String)' has a cognitive complexity of 17, current threshold is 15 462499
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 466467
LawOfDemeter Potential violation of Law of Demeter (static property access) 467
LawOfDemeter Potential violation of Law of Demeter (static property access) 472
NonThreadSafeSingleton Singleton is not thread safe 513515
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 525
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 538
NonThreadSafeSingleton Singleton is not thread safe 548550
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 552
LawOfDemeter Potential violation of Law of Demeter (static property access) 553
LawOfDemeter Potential violation of Law of Demeter (static property access) 554
AvoidDuplicateLiterals The String literal "Transfer.Status" appears 4 times in this file; the first occurrence is on line 555 555
LawOfDemeter Potential violation of Law of Demeter (static property access) 559
LawOfDemeter Potential violation of Law of Demeter (static property access) 560
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 566
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 574
NonThreadSafeSingleton Singleton is not thread safe 580582
LawOfDemeter Potential violation of Law of Demeter (static property access) 583
LawOfDemeter Potential violation of Law of Demeter (static property access) 584
LawOfDemeter Potential violation of Law of Demeter (static property access) 586
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 588
LawOfDemeter Potential violation of Law of Demeter (static property access) 588
NonThreadSafeSingleton Singleton is not thread safe 594596
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 597
LawOfDemeter Potential violation of Law of Demeter (static property access) 598
LawOfDemeter Potential violation of Law of Demeter (static property access) 599
LawOfDemeter Potential violation of Law of Demeter (static property access) 604
LawOfDemeter Potential violation of Law of Demeter (static property access) 605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 612
NonThreadSafeSingleton Singleton is not thread safe 618620
LawOfDemeter Potential violation of Law of Demeter (static property access) 621
LawOfDemeter Potential violation of Law of Demeter (static property access) 622
LawOfDemeter Potential violation of Law of Demeter (static property access) 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 626
LawOfDemeter Potential violation of Law of Demeter (static property access) 627
LawOfDemeter Potential violation of Law of Demeter (static property access) 628
LawOfDemeter Potential violation of Law of Demeter (static property access) 629
LawOfDemeter Potential violation of Law of Demeter (static property access) 630
LawOfDemeter Potential violation of Law of Demeter (static property access) 632
LawOfDemeter Potential violation of Law of Demeter (static property access) 634
LawOfDemeter Potential violation of Law of Demeter (static property access) 635
NonThreadSafeSingleton Singleton is not thread safe 642644
LawOfDemeter Potential violation of Law of Demeter (static property access) 645
LawOfDemeter Potential violation of Law of Demeter (static property access) 647
LawOfDemeter Potential violation of Law of Demeter (static property access) 651
LawOfDemeter Potential violation of Law of Demeter (static property access) 653
LawOfDemeter Potential violation of Law of Demeter (static property access) 661
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 662
NonThreadSafeSingleton Singleton is not thread safe 668670
LawOfDemeter Potential violation of Law of Demeter (static property access) 671
LawOfDemeter Potential violation of Law of Demeter (static property access) 672

Waarp OpenR66 - org/waarp/openr66/client/BusinessRequest.java

Rule Violation Line
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 10. 58130
NonThreadSafeSingleton Singleton is not thread safe 6163
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 125

Waarp OpenR66 - org/waarp/openr66/client/DirectTransfer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
CognitiveComplexity The method 'run()' has a cognitive complexity of 26, current threshold is 15 84153
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 84153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 93
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 101
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 106
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 112113
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 129
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 39, current threshold is 15 155257
ExcessiveMethodLength Avoid really long methods. 155257
NPathComplexity The method 'main(String)' has an NPath complexity of 650, current threshold is 200 155257
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 22. 155257
NcssCount The method 'main(String)' has a NCSS line count of 71. 155257
LawOfDemeter Potential violation of Law of Demeter (static property access) 164165
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 182
LawOfDemeter Potential violation of Law of Demeter (static property access) 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 242244

Waarp OpenR66 - org/waarp/openr66/client/Message.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 5758
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
MutableStaticState Do not use non-final non-private static fields 71
MutableStaticState Do not use non-final non-private static fields 72
NonThreadSafeSingleton Singleton is not thread safe 8284
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 87
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 102
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 105
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 122
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 165
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 180
UnusedAssignment The value assigned to variable 'socketAddress' is never used 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 190
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 16, current threshold is 15 201269
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 201269
NonThreadSafeSingleton Singleton is not thread safe 204206
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 234
AvoidDuplicateLiterals The String literal "Message.11" appears 4 times in this file; the first occurrence is on line 235 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 239242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 251255

Waarp OpenR66 - org/waarp/openr66/client/MultipleDirectTransfer.java

Rule Violation Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 75149
CognitiveComplexity The method 'run()' has a cognitive complexity of 40, current threshold is 15 75149
NPathComplexity The method 'run()' has an NPath complexity of 384, current threshold is 200 75149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'filename' 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 109
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 116117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 121130
LawOfDemeter Potential violation of Law of Demeter (static property access) 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 168
LawOfDemeter Potential violation of Law of Demeter (static property access) 182
LawOfDemeter Potential violation of Law of Demeter (static property access) 185
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 15. 191282
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 25, current threshold is 15 191282
NcssCount The method 'main(String)' has a NCSS line count of 65. 191282
LawOfDemeter Potential violation of Law of Demeter (static property access) 200201
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 256
LawOfDemeter Potential violation of Law of Demeter (static property access) 264
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 274276

Waarp OpenR66 - org/waarp/openr66/client/MultipleSubmitTransfer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
ExcessiveParameterList Avoid long parameter lists. 7176
CognitiveComplexity The method 'run()' has a cognitive complexity of 37, current threshold is 15 83164
NPathComplexity The method 'run()' has an NPath complexity of 1440, current threshold is 200 83164
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 18. 83164
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85
UnusedAssignment The initializer for variable 'dbrule' is never used (overwritten on line 91) 89
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'filename' 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 122128
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 133
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 135136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 30, current threshold is 15 173271
NPathComplexity The method 'main(String)' has an NPath complexity of 1560, current threshold is 200 173271
NcssCount The method 'main(String)' has a NCSS line count of 70. 173271
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 18. 173271
LawOfDemeter Potential violation of Law of Demeter (static property access) 189190
LawOfDemeter Potential violation of Law of Demeter (static property access) 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 261

Waarp OpenR66 - org/waarp/openr66/client/ProgressBarTransfer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
UnusedAssignment The field initializer for 'intervalCallback' is never used (overwritten on line 58) 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
ExcessiveParameterList Avoid long parameter lists. 4853
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 25. 87198
NcssCount The method 'run()' has a NCSS line count of 68. 87198
CognitiveComplexity The method 'run()' has a cognitive complexity of 43, current threshold is 15 87198
ExcessiveMethodLength Avoid really long methods. 87198
NPathComplexity The method 'run()' has an NPath complexity of 1040, current threshold is 200 87198
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 97
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108109
ImplicitSwitchFallThrough A switch statement does not contain a break 110118
LawOfDemeter Potential violation of Law of Demeter (static property access) 124125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124125
LawOfDemeter Potential violation of Law of Demeter (static property access) 127
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 149
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 154155
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 172

Waarp OpenR66 - org/waarp/openr66/client/RecvThroughClient.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
ExcessiveParameterList Avoid long parameter lists. 8894
CognitiveComplexity The method 'run()' has a cognitive complexity of 19, current threshold is 15 108172
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 13. 108172
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 118
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 125
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 130
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 136137
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 144145
CollapsibleIfStatements These nested if statements could be combined 163169

Waarp OpenR66 - org/waarp/openr66/client/RequestInformation.java

Rule Violation Line
TooManyFields Too many fields 54346
MutableStaticState Do not use non-final non-private static fields 58
MutableStaticState Do not use non-final non-private static fields 6264
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
UnusedAssignment The field initializer for 'id' is never used (overwritten on line 177) 72
UnusedAssignment The field initializer for 'isTo' is never used (overwritten on line 178) 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
MutableStaticState Do not use non-final non-private static fields 76
MutableStaticState Do not use non-final non-private static fields 77
MutableStaticState Do not use non-final non-private static fields 78
MutableStaticState Do not use non-final non-private static fields 79
MutableStaticState Do not use non-final non-private static fields 80
MutableStaticState Do not use non-final non-private static fields 81
MutableStaticState Do not use non-final non-private static fields 82
NPathComplexity The method 'getParams(String)' has an NPath complexity of 2160, current threshold is 200 91154
NcssCount The method 'getParams(String)' has a NCSS line count of 61. 91154
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 24. 91154
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 26, current threshold is 15 91154
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 94
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 112
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 123
LawOfDemeter Potential violation of Law of Demeter (static property access) 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 131
NonThreadSafeSingleton Singleton is not thread safe 140142
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 17. 248344
NPathComplexity The method 'main(String)' has an NPath complexity of 320, current threshold is 200 248344
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 30, current threshold is 15 248344
NcssCount The method 'main(String)' has a NCSS line count of 68. 248344
NonThreadSafeSingleton Singleton is not thread safe 251253
LawOfDemeter Potential violation of Law of Demeter (static property access) 257258
LawOfDemeter Potential violation of Law of Demeter (static property access) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 324
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 325
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 331333

Waarp OpenR66 - org/waarp/openr66/client/RequestTransfer.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20931
TooManyFields Too many fields 65931
CyclomaticComplexity The class 'RequestTransfer' has a total cyclomatic complexity of 142 (highest 29). 65931
MutableStaticState Do not use non-final non-private static fields 71
MutableStaticState Do not use non-final non-private static fields 7375
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
AvoidFieldNameMatchingMethodName Field cancel has the same name as a method 82
AvoidFieldNameMatchingMethodName Field stop has the same name as a method 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
AvoidFieldNameMatchingMethodName Field restart has the same name as a method 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
MutableStaticState Do not use non-final non-private static fields 88
MutableStaticState Do not use non-final non-private static fields 89
MutableStaticState Do not use non-final non-private static fields 90
MutableStaticState Do not use non-final non-private static fields 91
MutableStaticState Do not use non-final non-private static fields 92
MutableStaticState Do not use non-final non-private static fields 93
MutableStaticState Do not use non-final non-private static fields 94
MutableStaticState Do not use non-final non-private static fields 95
MutableStaticState Do not use non-final non-private static fields 96
NPathComplexity The method 'getParams(String)' has an NPath complexity of 3360, current threshold is 200 105202
NcssCount The method 'getParams(String)' has a NCSS line count of 76. 105202
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 49, current threshold is 15 105202
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 29. 105202
NonThreadSafeSingleton Singleton is not thread safe 106108
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 111
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 123
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 135
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 169
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 176
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 178
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 178
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 179
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 180181
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 184
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 249
NPathComplexity The method 'run()' has an NPath complexity of 345, current threshold is 200 254449
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 28. 254449
ExcessiveMethodLength Avoid really long methods. 254449
CognitiveComplexity The method 'run()' has a cognitive complexity of 44, current threshold is 15 254449
NcssCount The method 'run()' has a NCSS line count of 129. 254449
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 335
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 384
CognitiveComplexity The method 'sendValid(DbTaskRunner, byte)' has a cognitive complexity of 38, current threshold is 15 463583
CyclomaticComplexity The method 'sendValid(DbTaskRunner, byte)' has a cyclomatic complexity of 19. 463583
ExcessiveMethodLength Avoid really long methods. 463583
NPathComplexity The method 'sendValid(DbTaskRunner, byte)' has an NPath complexity of 3360, current threshold is 200 463583
NcssCount The method 'sendValid(DbTaskRunner, byte)' has a NCSS line count of 74. 463583
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 499
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 506
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 509
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 534
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 548
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 620
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 17. 638706
NPathComplexity The method 'main(String)' has an NPath complexity of 210, current threshold is 200 638706
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 23, current threshold is 15 638706
NonThreadSafeSingleton Singleton is not thread safe 641643
LawOfDemeter Potential violation of Law of Demeter (static property access) 647648
LawOfDemeter Potential violation of Law of Demeter (static property access) 658
LawOfDemeter Potential violation of Law of Demeter (static property access) 682
LawOfDemeter Potential violation of Law of Demeter (static property access) 683
LawOfDemeter Potential violation of Law of Demeter (static property access) 685
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 687
ExcessiveMethodLength Avoid really long methods. 708808
CyclomaticComplexity The method 'restart(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cyclomatic complexity of 17. 708808
NcssCount The method 'restart(R66Future, RequestTransfer, R66Result, OutputFormat)' has a NCSS line count of 80. 708808
CognitiveComplexity The method 'restart(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cognitive complexity of 20, current threshold is 15 708808
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 713806
LawOfDemeter Potential violation of Law of Demeter (static property access) 716
LawOfDemeter Potential violation of Law of Demeter (static property access) 717
LawOfDemeter Potential violation of Law of Demeter (static property access) 719
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 720
LawOfDemeter Potential violation of Law of Demeter (static property access) 728
LawOfDemeter Potential violation of Law of Demeter (static property access) 729
LawOfDemeter Potential violation of Law of Demeter (static property access) 731
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 732
LawOfDemeter Potential violation of Law of Demeter (static property access) 740
LawOfDemeter Potential violation of Law of Demeter (static property access) 741
LawOfDemeter Potential violation of Law of Demeter (static property access) 743
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744
LawOfDemeter Potential violation of Law of Demeter (static property access) 756
LawOfDemeter Potential violation of Law of Demeter (static property access) 757
LawOfDemeter Potential violation of Law of Demeter (static property access) 759
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 760
LawOfDemeter Potential violation of Law of Demeter (static property access) 768
LawOfDemeter Potential violation of Law of Demeter (static property access) 769
LawOfDemeter Potential violation of Law of Demeter (static property access) 771
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 772
LawOfDemeter Potential violation of Law of Demeter (static property access) 780
LawOfDemeter Potential violation of Law of Demeter (static property access) 781
LawOfDemeter Potential violation of Law of Demeter (static property access) 783
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 784
LawOfDemeter Potential violation of Law of Demeter (static property access) 792
LawOfDemeter Potential violation of Law of Demeter (static property access) 793
LawOfDemeter Potential violation of Law of Demeter (static property access) 795
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 796
LawOfDemeter Potential violation of Law of Demeter (static property access) 798
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 799
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 815860
LawOfDemeter Potential violation of Law of Demeter (static property access) 818
LawOfDemeter Potential violation of Law of Demeter (static property access) 819
LawOfDemeter Potential violation of Law of Demeter (static property access) 821
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 822
LawOfDemeter Potential violation of Law of Demeter (static property access) 834
LawOfDemeter Potential violation of Law of Demeter (static property access) 835
LawOfDemeter Potential violation of Law of Demeter (static property access) 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 838
LawOfDemeter Potential violation of Law of Demeter (static property access) 846
LawOfDemeter Potential violation of Law of Demeter (static property access) 847
LawOfDemeter Potential violation of Law of Demeter (static property access) 849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 850
LawOfDemeter Potential violation of Law of Demeter (static property access) 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 853
CyclomaticComplexity The method 'cancel(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cyclomatic complexity of 11. 864929
CognitiveComplexity The method 'cancel(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cognitive complexity of 21, current threshold is 15 864929
LawOfDemeter Potential violation of Law of Demeter (static property access) 871
LawOfDemeter Potential violation of Law of Demeter (static property access) 872
LawOfDemeter Potential violation of Law of Demeter (static property access) 874
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 875
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 885926
LawOfDemeter Potential violation of Law of Demeter (static property access) 888
LawOfDemeter Potential violation of Law of Demeter (static property access) 889
LawOfDemeter Potential violation of Law of Demeter (static property access) 891
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 892
LawOfDemeter Potential violation of Law of Demeter (static property access) 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 901
LawOfDemeter Potential violation of Law of Demeter (static property access) 903
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 904
LawOfDemeter Potential violation of Law of Demeter (static property access) 912
LawOfDemeter Potential violation of Law of Demeter (static property access) 913
LawOfDemeter Potential violation of Law of Demeter (static property access) 915
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 916
LawOfDemeter Potential violation of Law of Demeter (static property access) 918
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 919

Waarp OpenR66 - org/waarp/openr66/client/SendThroughClient.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
CognitiveComplexity The method 'initiateRequest()' has a cognitive complexity of 18, current threshold is 15 153253
NPathComplexity The method 'initiateRequest()' has an NPath complexity of 360, current threshold is 200 153253
ExcessiveMethodLength Avoid really long methods. 153253
CyclomaticComplexity The method 'initiateRequest()' has a cyclomatic complexity of 15. 153253
NcssCount The method 'initiateRequest()' has a NCSS line count of 60. 153253
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 195
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 196
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 202
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 207208
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 215216
CognitiveComplexity The method 'finalizeRequest()' has a cognitive complexity of 25, current threshold is 15 258322
CyclomaticComplexity The method 'finalizeRequest()' has a cyclomatic complexity of 18. 258322
NPathComplexity The method 'finalizeRequest()' has an NPath complexity of 250, current threshold is 200 258322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 290
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 292
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 303
CollapsibleIfStatements These nested if statements could be combined 313319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 331332
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 331332
LawOfDemeter Potential violation of Law of Demeter (static property access) 339

Waarp OpenR66 - org/waarp/openr66/client/SpooledDirectoryTransfer.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 201438
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201438
ExcessiveClassLength Avoid really long classes. 1151438
GodClass Possible God Class (WMC=151, ATFD=245, TCC=27.473%) 1151438
CyclomaticComplexity The class 'SpooledDirectoryTransfer' has a total cyclomatic complexity of 151 (highest 57). 1151438
TooManyFields Too many fields 1151438
MutableStaticState Do not use non-final non-private static fields 122
MutableStaticState Do not use non-final non-private static fields 124125
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 147
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 153
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 163
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 167
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 169
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 173
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 175
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 189
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 196
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 198
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 200
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 203
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 204
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 204
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 207
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 213
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 216
NPathComplexity The method 'run()' has an NPath complexity of 116640, current threshold is 200 222360
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 23. 222360
ExcessiveMethodLength Avoid really long methods. 222360
NcssCount The method 'run()' has a NCSS line count of 81. 222360
CognitiveComplexity The method 'run()' has a cognitive complexity of 31, current threshold is 15 222360
LawOfDemeter Potential violation of Law of Demeter (static property access) 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 256
LawOfDemeter Potential violation of Law of Demeter (static property access) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 278
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 286
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 291
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 358
CognitiveComplexity The method 'setWaarpHostCommand(FileMonitor)' has a cognitive complexity of 34, current threshold is 15 362419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 385
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 386
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 387388
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 390391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 403
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 411414
GodClass Possible God Class (WMC=53, ATFD=62, TCC=21.429%) 455777
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 464
CognitiveComplexity The method 'run(FileItem)' has a cognitive complexity of 41, current threshold is 15 469555
NPathComplexity The method 'run(FileItem)' has an NPath complexity of 1920, current threshold is 200 469555
CyclomaticComplexity The method 'run(FileItem)' has a cyclomatic complexity of 17. 469555
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 473
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 491
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 491
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 492
LawOfDemeter Potential violation of Law of Demeter (static property access) 493
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 496
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 506
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 527
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 544548
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 625
CyclomaticComplexity The method 'finalizeInSuccess(long, String, String, R66Result)' has a cyclomatic complexity of 13. 635699
CognitiveComplexity The method 'finalizeInSuccess(long, String, String, R66Result)' has a cognitive complexity of 35, current threshold is 15 635699
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 638
AvoidDuplicateLiterals The String literal "RequestInformation.Success" appears 5 times in this file; the first occurrence is on line 645 645
LawOfDemeter Potential violation of Law of Demeter (static property access) 706
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 721
CognitiveComplexity The method 'checkReuseUniqueHost(FileItem, long)' has a cognitive complexity of 20, current threshold is 15 728776
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 741
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 742
LawOfDemeter Potential violation of Law of Demeter (static property access) 743
LawOfDemeter Potential violation of Law of Demeter (static property access) 750
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 766
DataClass The class 'Arguments' is suspected to be a Data Class (WOC=10.256%, NOPA=0, NOAM=35, WMC=39) 782960
TooManyFields Too many fields 782960
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 788
AvoidFieldNameMatchingMethodName Field isMd5 has the same name as a method 788
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 799
AvoidFieldNameMatchingMethodName Field isParallel has the same name as a method 799
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreAlreadyUsed' 803
NPathComplexity The method 'getParamsFromConfigFile(String)' has an NPath complexity of 2147483647, current threshold is 200 10201174
ExcessiveMethodLength Avoid really long methods. 10201174
NcssCount The method 'getParamsFromConfigFile(String)' has a NCSS line count of 120. 10201174
CognitiveComplexity The method 'getParamsFromConfigFile(String)' has a cognitive complexity of 126, current threshold is 15 10201174
CyclomaticComplexity The method 'getParamsFromConfigFile(String)' has a cyclomatic complexity of 57. 10201174
NonThreadSafeSingleton Singleton is not thread safe 10211023
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1027
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1042
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1045
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1048
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1052
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1054
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1057
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 1065
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1065
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1068
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1070
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 1095
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1095
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1098
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1151
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 1151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1154
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 47. 11831326
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 118, current threshold is 15 11831326
ExcessiveMethodLength Avoid really long methods. 11831326
NcssCount The method 'getParams(String)' has a NCSS line count of 138. 11831326
NPathComplexity The method 'getParams(String)' has an NPath complexity of 13832, current threshold is 200 11831326
NonThreadSafeSingleton Singleton is not thread safe 11841186
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1188
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1200
LawOfDemeter Potential violation of Law of Demeter (static property access) 1206
UnusedAssignment The initializer for variable 'i' is never used (overwritten on line 1209) 1207
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'string' 1214
LawOfDemeter Potential violation of Law of Demeter (static property access) 12181219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12181219
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'string' 1220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1220
LawOfDemeter Potential violation of Law of Demeter (static property access) 1220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1222
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 1231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1234
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1277
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 1277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1280
LawOfDemeter Potential violation of Law of Demeter (static property access) 1311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1315
NonThreadSafeSingleton Singleton is not thread safe 13311333
MutableStaticState Do not use non-final non-private static fields 1339
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1340
MutableStaticState Do not use non-final non-private static fields 1340
CyclomaticComplexity The method 'initialize(String, boolean)' has a cyclomatic complexity of 11. 13491408
NonThreadSafeSingleton Singleton is not thread safe 13511353
LawOfDemeter Potential violation of Law of Demeter (static property access) 1366
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1369
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1372
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1374
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1375
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1380
LawOfDemeter Potential violation of Law of Demeter (static property access) 1381
LawOfDemeter Potential violation of Law of Demeter (static property access) 1384
LawOfDemeter Potential violation of Law of Demeter (static property access) 1386
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 13981401

Waarp OpenR66 - org/waarp/openr66/client/SubmitTransfer.java

Rule Violation Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 10. 55113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 88
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 18, current threshold is 15 122176
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 12. 122176
NPathComplexity The method 'main(String)' has an NPath complexity of 200, current threshold is 200 122176
LawOfDemeter Potential violation of Law of Demeter (static property access) 131132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 169

Waarp OpenR66 - org/waarp/openr66/client/TransferArgs.java

Rule Violation Line
GodClass Possible God Class (WMC=93, ATFD=122, TCC=4.100%) 72707
CyclomaticComplexity The class 'TransferArgs' has a total cyclomatic complexity of 93 (highest 10). 72707
LawOfDemeter Potential violation of Law of Demeter (static property access) 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 292
AvoidDuplicateLiterals The String literal "AbstractTransfer.20" appears 4 times in this file; the first occurrence is on line 293 293
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 319320
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 319320
LawOfDemeter Potential violation of Law of Demeter (static property access) 321323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 337
CyclomaticComplexity The method 'finalizeTransferArgs(boolean, TransferArgs)' has a cyclomatic complexity of 10. 375416
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 469
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 472
LawOfDemeter Potential violation of Law of Demeter (static property access) 474
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 485
LawOfDemeter Potential violation of Law of Demeter (static property access) 490
CognitiveComplexity The method 'getAllInfo(TransferArgs, int, String, String)' has a cognitive complexity of 17, current threshold is 15 507532
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 516
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 522
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 525
LawOfDemeter Potential violation of Law of Demeter (static property access) 542
LawOfDemeter Potential violation of Law of Demeter (static property access) 543
LawOfDemeter Potential violation of Law of Demeter (static property access) 545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 545
LawOfDemeter Potential violation of Law of Demeter (static property access) 546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 547548
LawOfDemeter Potential violation of Law of Demeter (static property access) 547548
CollapsibleIfStatements These nested if statements could be combined 547556
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 550
LawOfDemeter Potential violation of Law of Demeter (static property access) 552
LawOfDemeter Potential violation of Law of Demeter (static property access) 553555
LawOfDemeter Potential violation of Law of Demeter (static property access) 554
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 571
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 572
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 572
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 581
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 581
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 592
AvoidFieldNameMatchingMethodName Field isMD5 has the same name as a method 592
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 594
RedundantFieldInitializer Avoid using redundant field initializer for 'nolog' 599

Waarp OpenR66 - org/waarp/openr66/client/spooledService/SpooledEngine.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 45
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 50
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 10. 56104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 66
CloseResource Ensure that resources like this FileInputStream object are closed after use 70
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 97102
LawOfDemeter Potential violation of Law of Demeter (static property access) 113114
LawOfDemeter Potential violation of Law of Demeter (static property access) 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 116117
LawOfDemeter Potential violation of Law of Demeter (static property access) 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 132

Waarp OpenR66 - org/waarp/openr66/client/spooledService/SpooledServiceLauncher.java

Rule Violation Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 34
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 55

Waarp OpenR66 - org/waarp/openr66/client/utils/OutputFormat.java

Rule Violation Line
GodClass Possible God Class (WMC=58, ATFD=36, TCC=25.661%) 36372
MutableStaticState Do not use non-final non-private static fields 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 277
CognitiveComplexity The method 'toString(OUTPUTFORMAT)' has a cognitive complexity of 33, current threshold is 15 291371
NcssCount The method 'toString(OUTPUTFORMAT)' has a NCSS line count of 66. 291371
CyclomaticComplexity The method 'toString(OUTPUTFORMAT)' has a cyclomatic complexity of 20. 291371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 301
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 309
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 352

Waarp OpenR66 - org/waarp/openr66/commander/ClientRunner.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20737
GodClass Possible God Class (WMC=112, ATFD=184, TCC=26.144%) 61737
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 61
CyclomaticComplexity The class 'ClientRunner' has a total cyclomatic complexity of 112 (highest 32). 61737
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 77
RedundantFieldInitializer Avoid using redundant field initializer for 'staticRecvHandlerJunit' 82
MutableStaticState Do not use non-final non-private static fields 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
RedundantFieldInitializer Avoid using redundant field initializer for 'handler' 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 128129
LawOfDemeter Potential violation of Law of Demeter (static property access) 128129
ExcessiveMethodLength Avoid really long methods. 154311
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 32. 154311
CognitiveComplexity The method 'run()' has a cognitive complexity of 60, current threshold is 15 154311
NcssCount The method 'run()' has a NCSS line count of 95. 154311
NPathComplexity The method 'run()' has an NPath complexity of 29958, current threshold is 200 154311
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 176178
LawOfDemeter Potential violation of Law of Demeter (static property access) 177178
LawOfDemeter Potential violation of Law of Demeter (static property access) 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 202
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 359360
LawOfDemeter Potential violation of Law of Demeter (static property access) 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 365
CyclomaticComplexity The method 'tryAgainTransferOnOverloaded(boolean, LocalChannelReference)' has a cyclomatic complexity of 12. 387439
ImplicitSwitchFallThrough A switch statement does not contain a break 398406
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 410411
LawOfDemeter Potential violation of Law of Demeter (static property access) 410411
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 416418
LawOfDemeter Potential violation of Law of Demeter (static property access) 417
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 422423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 430432
LawOfDemeter Potential violation of Law of Demeter (static property access) 431
CyclomaticComplexity The method 'finishTransfer(LocalChannelReference)' has a cyclomatic complexity of 16. 448524
NPathComplexity The method 'finishTransfer(LocalChannelReference)' has an NPath complexity of 288, current threshold is 200 448524
CognitiveComplexity The method 'finishTransfer(LocalChannelReference)' has a cognitive complexity of 22, current threshold is 15 448524
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 457
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 461
ImplicitSwitchFallThrough A switch statement does not contain a break 480496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 499
ImplicitSwitchFallThrough A switch statement does not contain a break 511520
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 519
CyclomaticComplexity The method 'initRequest()' has a cyclomatic complexity of 26. 535691
ExcessiveMethodLength Avoid really long methods. 535691
NPathComplexity The method 'initRequest()' has an NPath complexity of 13824, current threshold is 200 535691
CognitiveComplexity The method 'initRequest()' has a cognitive complexity of 23, current threshold is 15 535691
NcssCount The method 'initRequest()' has a NCSS line count of 92. 535691
LawOfDemeter Potential violation of Law of Demeter (static property access) 552
CollapsibleIfStatements These nested if statements could be combined 554557
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 574575
LawOfDemeter Potential violation of Law of Demeter (static property access) 609
LawOfDemeter Potential violation of Law of Demeter (static property access) 611
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 619620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 641
LawOfDemeter Potential violation of Law of Demeter (static property access) 663
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 673674
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 674
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 675
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 677

Waarp OpenR66 - org/waarp/openr66/commander/Commander.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
RedundantFieldInitializer Avoid using redundant field initializer for 'totalRuns' 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 108
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 125126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146147
CognitiveComplexity The method 'run()' has a cognitive complexity of 42, current threshold is 15 154309
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 29. 154309
ExcessiveMethodLength Avoid really long methods. 154309
NPathComplexity The method 'run()' has an NPath complexity of 3984, current threshold is 200 154309
NcssCount The method 'run()' has a NCSS line count of 78. 154309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 156
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 161
AvoidDuplicateLiterals The String literal ": {}" appears 8 times in this file; the first occurrence is on line 176 176
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 188189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 205
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 301302
LawOfDemeter Potential violation of Law of Demeter (static property access) 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 329330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 339
LawOfDemeter Potential violation of Law of Demeter (static property access) 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 363364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 401
EmptyIfStmt Avoid empty if statements 402404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 410
LawOfDemeter Potential violation of Law of Demeter (static property access) 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 436
EmptyIfStmt Avoid empty if statements 437439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 445
CognitiveComplexity The method 'checkTaskRunner(DbMultipleMonitor)' has a cognitive complexity of 25, current threshold is 15 451509
CyclomaticComplexity The method 'checkTaskRunner(DbMultipleMonitor)' has a cyclomatic complexity of 11. 451509
UnusedFormalParameter Avoid unused method parameters such as 'multipleMonitor'. 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 453
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 480
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 480
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 482483
LawOfDemeter Potential violation of Law of Demeter (static property access) 482483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 487
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 491
LawOfDemeter Potential violation of Law of Demeter (static property access) 499

Waarp OpenR66 - org/waarp/openr66/commander/CommanderNoDb.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
CognitiveComplexity The constructor 'CommanderNoDb(InternalRunner, boolean)' has a cognitive complexity of 16, current threshold is 15 75113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 88
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 93
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 101
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 129200
CognitiveComplexity The method 'run()' has a cognitive complexity of 40, current threshold is 15 129200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 166167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 166167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 171
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 179
LawOfDemeter Potential violation of Law of Demeter (static property access) 186

Waarp OpenR66 - org/waarp/openr66/commander/InternalRunner.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 57
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 70
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 74
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 74
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 81
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 115
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 130
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 145
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 146
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 160
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 161
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 179

Waarp OpenR66 - org/waarp/openr66/commander/ThreadPoolRunnerExecutor.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 36
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 41
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 51
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 52
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 57
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 57

Waarp OpenR66 - org/waarp/openr66/configuration/AuthenticationFileBasedConfiguration.java

Rule Violation Line
NcssCount The method 'loadAuthentication(Configuration, String)' has a NCSS line count of 90. 69190
CyclomaticComplexity The method 'loadAuthentication(Configuration, String)' has a cyclomatic complexity of 30. 69190
CognitiveComplexity The method 'loadAuthentication(Configuration, String)' has a cognitive complexity of 58, current threshold is 15 69190
ExcessiveMethodLength Avoid really long methods. 69190
NPathComplexity The method 'loadAuthentication(Configuration, String)' has an NPath complexity of 787324, current threshold is 200 69190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 87
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 109
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 110
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 116
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 128
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 129
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 173174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 219
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 229
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 230

Waarp OpenR66 - org/waarp/openr66/configuration/ExtensionFilter.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30

Waarp OpenR66 - org/waarp/openr66/configuration/FileBasedConfiguration.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 202530
ExcessiveClassLength Avoid really long classes. 942530
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 942530
TooManyMethods This class has too many methods, consider refactoring it. 942530
CyclomaticComplexity The class 'FileBasedConfiguration' has a total cyclomatic complexity of 521 (highest 55). 942530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 193
UnusedAssignment The value assigned to variable 'hashConfig' is never used 198
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 218
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 231
UnusedAssignment The value assigned to variable 'hashConfig' is never used 231
NcssCount The method 'loadPushMonitorParam(Configuration)' has a NCSS line count of 117. 235418
CyclomaticComplexity The method 'loadPushMonitorParam(Configuration)' has a cyclomatic complexity of 48. 235418
CognitiveComplexity The method 'loadPushMonitorParam(Configuration)' has a cognitive complexity of 101, current threshold is 15 235418
ExcessiveMethodLength Avoid really long methods. 235418
NPathComplexity The method 'loadPushMonitorParam(Configuration)' has an NPath complexity of 106665987, current threshold is 200 235418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 273
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 293
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 321
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 369
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 403
NcssCount The method 'loadServerParam(Configuration)' has a NCSS line count of 68. 425530
NPathComplexity The method 'loadServerParam(Configuration)' has an NPath complexity of 11665, current threshold is 200 425530
ExcessiveMethodLength Avoid really long methods. 425530
CognitiveComplexity The method 'loadServerParam(Configuration)' has a cognitive complexity of 46, current threshold is 15 425530
CyclomaticComplexity The method 'loadServerParam(Configuration)' has a cyclomatic complexity of 24. 425530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 433
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 434
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 464
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 465
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 482
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 483
AvoidDuplicateLiterals The String literal "FileBasedConfiguration.MMOff" appears 4 times in this file; the first occurrence is on line 492 492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 509
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 511
AvoidDuplicateLiterals The String literal "Bad Business Factory class: {}" appears 4 times in this file; the first occurrence is on line 513 513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 519
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 520
UnusedAssignment The value assigned to variable 'hashConfig' is never used 528
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 528
NPathComplexity The method 'loadServerConfig(Configuration, XmlHash)' has an NPath complexity of 2147483647, current threshold is 200 532708
NcssCount The method 'loadServerConfig(Configuration, XmlHash)' has a NCSS line count of 115. 532708
CognitiveComplexity The method 'loadServerConfig(Configuration, XmlHash)' has a cognitive complexity of 61, current threshold is 15 532708
ExcessiveMethodLength Avoid really long methods. 532708
CyclomaticComplexity The method 'loadServerConfig(Configuration, XmlHash)' has a cyclomatic complexity of 44. 532708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 535
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 543
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 547
UnusedAssignment The value assigned to variable 'hashConfig2' is never used 566
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 566
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 571
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 583
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 584
AvoidDuplicateLiterals The String literal ": {}" appears 13 times in this file; the first occurrence is on line 587 587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 600
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 601
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 610
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 682
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 692
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 696
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 720
CollapsibleIfStatements These nested if statements could be combined 720722
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 725
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 727
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 735
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 736
UnusedAssignment The value assigned to variable 'hashConfig' is never used 804
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 804
UnusedFormalParameter Avoid unused method parameters such as 'config'. 808
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 813
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 814
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 816
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 821
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 837
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 843
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 893
LawOfDemeter Potential violation of Law of Demeter (static property access) 893
CyclomaticComplexity The method 'loadLimit(Configuration, boolean)' has a cyclomatic complexity of 29. 902980
NPathComplexity The method 'loadLimit(Configuration, boolean)' has an NPath complexity of 1259714, current threshold is 200 902980
CognitiveComplexity The method 'loadLimit(Configuration, boolean)' has a cognitive complexity of 33, current threshold is 15 902980
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 912
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 913
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 917
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 918
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 925
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 927
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 928
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 934
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 940
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 941
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 947
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 948
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 951
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 952
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 955
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 960
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 961
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 964
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 965
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 968
SimplifiedTernary Ternary operators that can be simplified with || or && 969970
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 969
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 969
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 971
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 972
UnusedAssignment The value assigned to variable 'hashConfig' is never used 978
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 978
CognitiveComplexity The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has a cognitive complexity of 75, current threshold is 15 9821149
NPathComplexity The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has an NPath complexity of 2147483647, current threshold is 200 9821149
CyclomaticComplexity The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has a cyclomatic complexity of 55. 9821149
NcssCount The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has a NCSS line count of 115. 9821149
ExcessiveMethodLength Avoid really long methods. 9821149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 986
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 995
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1006
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1014
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1016
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1048
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1057
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1064
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1066
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1076
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1080
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1082
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1087
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1091
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1093
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1098
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1147
NPathComplexity The method 'loadSsl(Configuration, XmlRootHash)' has an NPath complexity of 10879, current threshold is 200 11571250
CyclomaticComplexity The method 'loadSsl(Configuration, XmlRootHash)' has a cyclomatic complexity of 21. 11571250
CognitiveComplexity The method 'loadSsl(Configuration, XmlRootHash)' has a cognitive complexity of 34, current threshold is 15 11571250
NcssCount The method 'loadSsl(Configuration, XmlRootHash)' has a NCSS line count of 64. 11571250
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12101211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1219
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12341236
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1248
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1248
CyclomaticComplexity The method 'loadNetworkServer(Configuration)' has a cyclomatic complexity of 17. 12571317
NPathComplexity The method 'loadNetworkServer(Configuration)' has an NPath complexity of 6562, current threshold is 200 12571317
CognitiveComplexity The method 'loadNetworkServer(Configuration)' has a cognitive complexity of 16, current threshold is 15 12571317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1309
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1315
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1315
AvoidDuplicateLiterals The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 1 324 1324
CognitiveComplexity The method 'loadRest(Configuration)' has a cognitive complexity of 142, current threshold is 15 13251470
NcssCount The method 'loadRest(Configuration)' has a NCSS line count of 105. 13251470
NPathComplexity The method 'loadRest(Configuration)' has an NPath complexity of 8226043, current threshold is 200 13251470
CyclomaticComplexity The method 'loadRest(Configuration)' has a cyclomatic complexity of 39. 13251470
ExcessiveMethodLength Avoid really long methods. 13251470
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1329
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1330
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1331
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1367
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1368
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 13701372
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1399
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1407
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1407
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1408
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1412
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1421
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1433
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1435
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1444
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1460
LawOfDemeter Potential violation of Law of Demeter (static property access) 1460
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1468
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1486
CognitiveComplexity The method 'loadFromDatabase(Configuration)' has a cognitive complexity of 19, current threshold is 15 15101549
MutableStaticState Do not use non-final non-private static fields 1551
AvoidDuplicateLiterals The String literal "deprecation" appears 5 times in this file; the first occurrence is on line 1 561 1561
CyclomaticComplexity The method 'loadDatabase(Configuration, boolean)' has a cyclomatic complexity of 34. 15621710
NcssCount The method 'loadDatabase(Configuration, boolean)' has a NCSS line count of 80. 15621710
NPathComplexity The method 'loadDatabase(Configuration, boolean)' has an NPath complexity of 2052026, current threshold is 200 15621710
ExcessiveMethodLength Avoid really long methods. 15621710
CognitiveComplexity The method 'loadDatabase(Configuration, boolean)' has a cognitive complexity of 56, current threshold is 15 15621710
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1581
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1583
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1589
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1591
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1597
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1599
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1605
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1631
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1636
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16461647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16461647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16461647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16491650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16491650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16491650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16511652
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16511652
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16511652
LawOfDemeter Potential violation of Law of Demeter (static property access) 1654
EmptyCatchBlock Avoid empty catch blocks 16771682
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1686
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1690
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1694
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1695
CollapsibleIfStatements These nested if statements could be combined 17001702
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1708
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1732
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1741
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1743
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1744
UnusedAssignment The value assigned to variable 'ids' is never used 1744
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1751
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1751
CognitiveComplexity The method 'loadAliases(Configuration)' has a cognitive complexity of 15, current threshold is 15 17611791
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1766
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1767
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1768
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1770
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1773
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1775
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1778
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1781
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1783
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1789
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1789
CyclomaticComplexity The method 'loadRolesList(Configuration)' has a cyclomatic complexity of 11. 18181860
CognitiveComplexity The method 'loadRolesList(Configuration)' has a cognitive complexity of 24, current threshold is 15 18181860
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1823
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1824
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1827
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1830
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1832
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1835
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1836
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1837
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1841
LawOfDemeter Potential violation of Law of Demeter (static property access) 1841
EmptyCatchBlock Avoid empty catch blocks 18481850
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1853
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1858
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1858
UnusedAssignment The initializer for variable 'hostconfiguration' is never used (overwritten on lines 1872 and 1877) 1870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1900
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1908
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1924
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1924
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1970
UnusedAssignment The value assigned to variable 'hashConfig' is never used 1990
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1990
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1998
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1999
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2017
CollapsibleIfStatements These nested if statements could be combined 20502053
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2056
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2057
CyclomaticComplexity The method 'setConfigurationServerMinimalFromXml(Configuration, String)' has a cyclomatic complexity of 15. 20702141
CognitiveComplexity The method 'setConfigurationServerMinimalFromXml(Configuration, String)' has a cognitive complexity of 17, current threshold is 15 20702141
NPathComplexity The method 'setConfigurationServerMinimalFromXml(Configuration, String)' has an NPath complexity of 4608, current threshold is 200 20702141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 20722073
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2087
CollapsibleIfStatements These nested if statements could be combined 21202123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2139
NPathComplexity The method 'setConfigurationServerShutdownFromXml(Configuration, String)' has an NPath complexity of 55296, current threshold is 200 21522237
CyclomaticComplexity The method 'setConfigurationServerShutdownFromXml(Configuration, String)' has a cyclomatic complexity of 19. 21522237
CognitiveComplexity The method 'setConfigurationServerShutdownFromXml(Configuration, String)' has a cognitive complexity of 21, current threshold is 15 21522237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 21542155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2169
CollapsibleIfStatements These nested if statements could be combined 22152218
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2234
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2235
CyclomaticComplexity The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has a cyclomatic complexity of 23. 22492341
CognitiveComplexity The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has a cognitive complexity of 26, current threshold is 15 22492341
NPathComplexity The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has an NPath complexity of 497664, current threshold is 200 22492341
NcssCount The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has a NCSS line count of 63. 22492341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2255
CollapsibleIfStatements These nested if statements could be combined 22842287
CollapsibleIfStatements These nested if statements could be combined 23062309
CollapsibleIfStatements These nested if statements could be combined 23172320
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2338
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2339
NcssCount The method 'setClientConfigurationFromXml(Configuration, String)' has a NCSS line count of 60. 23522445
NPathComplexity The method 'setClientConfigurationFromXml(Configuration, String)' has an NPath complexity of 55296, current threshold is 200 23522445
CognitiveComplexity The method 'setClientConfigurationFromXml(Configuration, String)' has a cognitive complexity of 20, current threshold is 15 23522445
CyclomaticComplexity The method 'setClientConfigurationFromXml(Configuration, String)' has a cyclomatic complexity of 18. 23522445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 23542355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2369
CollapsibleIfStatements These nested if statements could be combined 24162419
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2442
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2443
NPathComplexity The method 'setSubmitClientConfigurationFromXml(Configuration, String)' has an NPath complexity of 1536, current threshold is 200 24562529
CyclomaticComplexity The method 'setSubmitClientConfigurationFromXml(Configuration, String)' has a cyclomatic complexity of 12. 24562529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24582459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2506
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2510
UnusedAssignment The value assigned to variable 'hashConfig' is never used 2510
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2526
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2527

Waarp OpenR66 - org/waarp/openr66/configuration/RuleFileBasedConfiguration.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20773
CyclomaticComplexity The class 'RuleFileBasedConfiguration' has a total cyclomatic complexity of 137 (highest 41). 62773
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 166
CognitiveComplexity The method 'getTasksRule(XmlValue)' has a cognitive complexity of 24, current threshold is 15 191256
NPathComplexity The method 'getTasksRule(XmlValue)' has an NPath complexity of 6918, current threshold is 200 191256
CyclomaticComplexity The method 'getTasksRule(XmlValue)' has a cyclomatic complexity of 19. 191256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 193
MethodReturnsInternalArray Returning 'STRINGS_0_0_LENGTH' may expose an internal array. 195
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 197
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 364
ExcessiveMethodLength Avoid really long methods. 385499
CyclomaticComplexity The method 'getFromXmlValue(XmlValue)' has a cyclomatic complexity of 41. 385499
CognitiveComplexity The method 'getFromXmlValue(XmlValue)' has a cognitive complexity of 46, current threshold is 15 385499
NPathComplexity The method 'getFromXmlValue(XmlValue)' has an NPath complexity of 50331648, current threshold is 200 385499
NcssCount The method 'getFromXmlValue(XmlValue)' has a NCSS line count of 86. 385499
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 405
LawOfDemeter Potential violation of Law of Demeter (static property access) 406
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 412
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 412
LawOfDemeter Potential violation of Law of Demeter (static property access) 413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 419
LawOfDemeter Potential violation of Law of Demeter (static property access) 420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 426
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426
LawOfDemeter Potential violation of Law of Demeter (static property access) 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 476
CognitiveComplexity The method 'addToElement(Element, DbRule)' has a cognitive complexity of 77, current threshold is 15 521688
NPathComplexity The method 'addToElement(Element, DbRule)' has an NPath complexity of 35831808, current threshold is 200 521688
CyclomaticComplexity The method 'addToElement(Element, DbRule)' has a cyclomatic complexity of 39. 521688
ExcessiveMethodLength Avoid really long methods. 521688
NcssCount The method 'addToElement(Element, DbRule)' has a NCSS line count of 136. 521688
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 573
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 577
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 580
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 593
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 597
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 600
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 613
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 617
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 620
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 633
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 637
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 640
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 653
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 657
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 660
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 673
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 677
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 680
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 701
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 760

Waarp OpenR66 - org/waarp/openr66/context/ErrorCode.java

Rule Violation Line
CyclomaticComplexity The method 'getFromCode(String)' has a cyclomatic complexity of 37. 201283
NcssCount The method 'getFromCode(String)' has a NCSS line count of 78. 201283
CyclomaticComplexity The method 'isErrorCode(ErrorCode)' has a cyclomatic complexity of 35. 285327

Waarp OpenR66 - org/waarp/openr66/context/R66FiniteDualStates.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 88

Waarp OpenR66 - org/waarp/openr66/context/R66Result.java

Rule Violation Line
DataClass The class 'R66Result' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=10, WMC=22) 29194
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
AvoidFieldNameMatchingMethodName Field isAnswered has the same name as a method 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107

Waarp OpenR66 - org/waarp/openr66/context/R66Session.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201352
ExcessivePublicCount This class has a bunch of public methods and attributes 201352
TooManyFields Too many fields 591352
GodClass Possible God Class (WMC=261, ATFD=234, TCC=22.222%) 591352
ExcessiveClassLength Avoid really long classes. 591352
CyclomaticComplexity The class 'R66Session' has a total cyclomatic complexity of 261 (highest 35). 591352
TooManyMethods This class has too many methods, consider refactoring it. 591352
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
AvoidFieldNameMatchingMethodName Field isReady has the same name as a method 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 124
RedundantFieldInitializer Avoid using redundant field initializer for 'traceState' 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 130
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 141
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableBufferStatic' 143
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableDataPacketBufferStatic' 144
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableCompressionBufferStatic' 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 146
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableBuffer' 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 147
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableDataPacketBuffer' 147
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableCompressionBuffer' 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
RedundantFieldInitializer Avoid using redundant field initializer for 'digestBlock' 149
AvoidFieldNameMatchingMethodName Field isSender has the same name as a method 150
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 150
AvoidFieldNameMatchingMethodName Field isCompressionEnabled has the same name as a method 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 152
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 174
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 174
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 176
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 176
UnusedFormalParameter Avoid unused constructor parameters such as 'noBuffer'. 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
NPathComplexity The method 'partialClear()' has an NPath complexity of 432, current threshold is 200 290331
CyclomaticComplexity The method 'partialClear()' has a cyclomatic complexity of 15. 290331
CognitiveComplexity The method 'partialClear()' has a cognitive complexity of 22, current threshold is 15 290331
CollapsibleIfStatements These nested if statements could be combined 293308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
CollapsibleIfStatements These nested if statements could be combined 294307
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 314
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 316
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 328
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 329
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 330
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 415
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 420
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 439
LawOfDemeter Potential violation of Law of Demeter (static property access) 441
LawOfDemeter Potential violation of Law of Demeter (static property access) 545
CyclomaticComplexity The method 'setFileAfterPreRunnerReceiver(boolean)' has a cyclomatic complexity of 21. 613677
CognitiveComplexity The method 'setFileAfterPreRunnerReceiver(boolean)' has a cognitive complexity of 27, current threshold is 15 613677
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 635
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 637
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 639
CognitiveComplexity The method 'setFileAfterPreRunner(boolean)' has a cognitive complexity of 58, current threshold is 15 692801
NcssCount The method 'setFileAfterPreRunner(boolean)' has a NCSS line count of 67. 692801
CyclomaticComplexity The method 'setFileAfterPreRunner(boolean)' has a cyclomatic complexity of 35. 692801
NPathComplexity The method 'setFileAfterPreRunner(boolean)' has an NPath complexity of 2040, current threshold is 200 692801
ExcessiveMethodLength Avoid really long methods. 692801
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 723
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 749
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 749
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 751
CognitiveComplexity The method 'setBadRunner(DbTaskRunner, ErrorCode)' has a cognitive complexity of 16, current threshold is 15 810841
CyclomaticComplexity The method 'setRunner(DbTaskRunner)' has a cyclomatic complexity of 12. 852900
CognitiveComplexity The method 'setRunner(DbTaskRunner)' has a cognitive complexity of 22, current threshold is 15 852900
EmptyCatchBlock Avoid empty catch blocks 870872
LawOfDemeter Potential violation of Law of Demeter (static property access) 914
LawOfDemeter Potential violation of Law of Demeter (static property access) 914
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 921
LawOfDemeter Potential violation of Law of Demeter (static property access) 924
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 943
CyclomaticComplexity The method 'initializeReceiver()' has a cyclomatic complexity of 10. 9561002
CognitiveComplexity The method 'initializeReceiver()' has a cognitive complexity of 16, current threshold is 15 9561002
EmptyIfStmt Avoid empty if statements 958960
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 979
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 980
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 981
EmptyCatchBlock Avoid empty catch blocks 10281030
CognitiveComplexity The method 'initializeTransfer(boolean)' has a cognitive complexity of 30, current threshold is 15 10331081
NPathComplexity The method 'initializeTransfer(boolean)' has an NPath complexity of 222, current threshold is 200 10331081
CyclomaticComplexity The method 'initializeTransfer(boolean)' has a cyclomatic complexity of 19. 10331081
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1035
LawOfDemeter Potential violation of Law of Demeter (static property access) 1040
LawOfDemeter Potential violation of Law of Demeter (static property access) 1041
CollapsibleIfStatements These nested if statements could be combined 10651074
EmptyCatchBlock Avoid empty catch blocks 10711073
NPathComplexity The method 'setFinalizeTransfer(boolean, R66Result)' has an NPath complexity of 181440, current threshold is 200 11391248
NcssCount The method 'setFinalizeTransfer(boolean, R66Result)' has a NCSS line count of 63. 11391248
ExcessiveMethodLength Avoid really long methods. 11391248
CognitiveComplexity The method 'setFinalizeTransfer(boolean, R66Result)' has a cognitive complexity of 41, current threshold is 15 11391248
CyclomaticComplexity The method 'setFinalizeTransfer(boolean, R66Result)' has a cyclomatic complexity of 26. 11391248
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1191
LawOfDemeter Potential violation of Law of Demeter (static property access) 1223
CyclomaticComplexity The method 'tryFinalizeRequest(R66Result)' has a cyclomatic complexity of 10. 12581307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1304
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 1341

Waarp OpenR66 - org/waarp/openr66/context/authentication/R66Auth.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
AvoidFieldNameMatchingMethodName Field isAdmin has the same name as a method 57
MissingOverride The method 'clone()' is missing an @Override annotation. 7586
CloneMethodMustImplementCloneable clone() method should be implemented only if implementing Cloneable interface 7586
LawOfDemeter Potential violation of Law of Demeter (static property access) 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 121
CognitiveComplexity The method 'connection(String, byte, boolean)' has a cognitive complexity of 24, current threshold is 15 139195
CyclomaticComplexity The method 'connection(String, byte, boolean)' has a cyclomatic complexity of 13. 139195
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 148
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 149
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 280
AvoidUsingHardCodedIP Do not hard code the IP address 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 325
CyclomaticComplexity The method 'connectionHttps(String, byte)' has a cyclomatic complexity of 11. 342382
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 351
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 365
LawOfDemeter Potential violation of Law of Demeter (static property access) 365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
LawOfDemeter Potential violation of Law of Demeter (static property access) 367

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66Dir.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6994
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 75
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 75
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 82
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103
CyclomaticComplexity The method 'wildcardFilesNoCheck(String)' has a cyclomatic complexity of 14. 128190
NPathComplexity The method 'wildcardFilesNoCheck(String)' has an NPath complexity of 640, current threshold is 200 128190
CognitiveComplexity The method 'wildcardFilesNoCheck(String)' has a cognitive complexity of 17, current threshold is 15 128190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 160
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 212

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66File.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20717
CyclomaticComplexity The class 'R66File' has a total cyclomatic complexity of 130 (highest 39). 59717
TooManyMethods This class has too many methods, consider refactoring it. 59717
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
AvoidFieldNameMatchingMethodName Field isExternal has the same name as a method 69
CyclomaticComplexity The method 'retrieveBlocking(AtomicBoolean)' has a cyclomatic complexity of 39. 105294
NcssCount The method 'retrieveBlocking(AtomicBoolean)' has a NCSS line count of 101. 105294
NPathComplexity The method 'retrieveBlocking(AtomicBoolean)' has an NPath complexity of 788088, current threshold is 200 105294
ExcessiveMethodLength Avoid really long methods. 105294
CognitiveComplexity The method 'retrieveBlocking(AtomicBoolean)' has a cognitive complexity of 62, current threshold is 15 105294
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 105294
AvoidDuplicateLiterals The String literal "Filename " appears 4 times in this file; the first occurrence is on line 119 119
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
EmptyCatchBlock Avoid empty catch blocks 177179
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 217
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 372
UnusedAssignment The initializer for variable 'fileInputStream' is never used (overwritten on line 419) 417
CloseResource Ensure that resources like this RandomAccessFile object are closed after use 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 495
LawOfDemeter Potential violation of Law of Demeter (static property access) 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 555
NPathComplexity The method 'renameTo(String)' has an NPath complexity of 200, current threshold is 200 565610
CyclomaticComplexity The method 'renameTo(String)' has a cyclomatic complexity of 12. 565610
CognitiveComplexity The method 'renameTo(String)' has a cognitive complexity of 19, current threshold is 15 565610
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 578
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 595
CyclomaticComplexity The method 'renameTo(String, boolean)' has a cyclomatic complexity of 12. 632675
CognitiveComplexity The method 'renameTo(String, boolean)' has a cognitive complexity of 19, current threshold is 15 632675
NPathComplexity The method 'renameTo(String, boolean)' has an NPath complexity of 200, current threshold is 200 632675
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 656
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 661
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 691
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 697703

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66Restart.java

Rule Violation Line
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 4647

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractExecJavaTask.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractExecTask.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 89
DataClass The class 'PrepareCommandExec' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=14) 106193
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 117
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 168
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 185
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 199
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 200
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 201
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 202
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 203
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 204
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 205
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 205
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 206
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 207
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 215
CyclomaticComplexity The method 'invoke()' has a cyclomatic complexity of 10. 233293
CognitiveComplexity The method 'invoke()' has a cognitive complexity of 20, current threshold is 15 233293
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 287

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractTask.java

Rule Violation Line
CyclomaticComplexity The class 'AbstractTask' has a total cyclomatic complexity of 83 (highest 16). 47871
TooManyMethods This class has too many methods, consider refactoring it. 47871
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 208
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 213
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 218
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 223
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 232
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 236
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 301
LawOfDemeter Potential violation of Law of Demeter (static property access) 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 345
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 351
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 371
AvoidDuplicateLiterals The String literal "NoError" appears 4 times in this file; the first occurrence is on line 381 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388389
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 390
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 395396
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 395396
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 397
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 402403
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 402403
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 404
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 404
LawOfDemeter Potential violation of Law of Demeter (static property access) 406
CyclomaticComplexity The method 'substitutePath(StringBuilder, DbTaskRunner)' has a cyclomatic complexity of 16. 411501
CognitiveComplexity The method 'substitutePath(StringBuilder, DbTaskRunner)' has a cognitive complexity of 38, current threshold is 15 411501
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 417
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 438
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 466
LawOfDemeter Potential violation of Law of Demeter (static property access) 474
LawOfDemeter Potential violation of Law of Demeter (static property access) 481
LawOfDemeter Potential violation of Law of Demeter (static property access) 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 506
LawOfDemeter Potential violation of Law of Demeter (static property access) 509510
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 510
LawOfDemeter Potential violation of Law of Demeter (static property access) 514
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 519
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 521
AvoidDuplicateLiterals The String literal "unknown" appears 4 times in this file; the first occurrence is on line 523 523
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 529
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 532
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 563
AvoidDuplicateLiterals The String literal "nofile" appears 4 times in this file; the first occurrence is on line 574 574
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 589
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 591592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 604605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 611
LawOfDemeter Potential violation of Law of Demeter (static property access) 612
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 619620
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 621622
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 623624
LawOfDemeter Potential violation of Law of Demeter (static property access) 625
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 628629
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 630
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 631
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 631
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 632633
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 637638
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 639
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 639
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 640
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 640
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 641642
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 645646
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 647
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 648
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 649650
LawOfDemeter Potential violation of Law of Demeter (static property access) 651
ExcessiveMethodLength Avoid really long methods. 656769
CognitiveComplexity The method 'substitutePath(Map, DbTaskRunner, R66Dir)' has a cognitive complexity of 38, current threshold is 15 656769
CyclomaticComplexity The method 'substitutePath(Map, DbTaskRunner, R66Dir)' has a cyclomatic complexity of 16. 656769
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 661
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 662663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 670
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 671672
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 679
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 680681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 689690
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 697
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 698699
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 706
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 707708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 715
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 716717
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 724
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 725726
LawOfDemeter Potential violation of Law of Demeter (static property access) 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 735736
LawOfDemeter Potential violation of Law of Demeter (static property access) 743
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 744745
LawOfDemeter Potential violation of Law of Demeter (static property access) 752
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 753754
LawOfDemeter Potential violation of Law of Demeter (static property access) 761
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 762763
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 773774
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 775
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 779
LawOfDemeter Potential violation of Law of Demeter (static property access) 779
LawOfDemeter Potential violation of Law of Demeter (static property access) 782
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 784785
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 788789
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 790
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 791792
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 793
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 795796
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 797798
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 805
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 808
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 815816
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 818819
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 822
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 826827
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 829830
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 832833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 835836
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 839840
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 852853
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 855856
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 858859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 862863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 864865
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 866867

Waarp OpenR66 - org/waarp/openr66/context/task/AllLineReader.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 38
AssignmentInOperand Avoid assignments in operands 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51
EmptyCatchBlock Avoid empty catch blocks 5458

Waarp OpenR66 - org/waarp/openr66/context/task/ChModTask.java

Rule Violation Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 82161
NPathComplexity The method 'run()' has an NPath complexity of 772, current threshold is 200 82161
CognitiveComplexity The method 'run()' has a cognitive complexity of 43, current threshold is 15 82161
NcssCount The method 'run()' has a NCSS line count of 67. 82161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8486
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8486
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 8486
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152

Waarp OpenR66 - org/waarp/openr66/context/task/CompressTask.java

Rule Violation Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 55106
NPathComplexity The method 'run()' has an NPath complexity of 288, current threshold is 200 55106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 61
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 67
AvoidDuplicateLiterals The String literal "Compress" appears 4 times in this file; the first occurrence is on line 71 71
AvoidDuplicateLiterals The String literal "Decompress" appears 4 times in this file; the first occurrence is on line 71 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 74
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103

Waarp OpenR66 - org/waarp/openr66/context/task/CopyRenameTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 67

Waarp OpenR66 - org/waarp/openr66/context/task/CopyTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66

Waarp OpenR66 - org/waarp/openr66/context/task/DeleteTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 59

Waarp OpenR66 - org/waarp/openr66/context/task/ExecBusinessTask.java

Rule Violation Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 25, current threshold is 15 4298
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 10. 4298
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
UnusedAssignment The value assigned to variable 'validate' is never used 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87

Waarp OpenR66 - org/waarp/openr66/context/task/ExecJavaTask.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
NPathComplexity The method 'run()' has an NPath complexity of 10240, current threshold is 200 71212
ExcessiveMethodLength Avoid really long methods. 71212
CognitiveComplexity The method 'run()' has a cognitive complexity of 50, current threshold is 15 71212
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 23. 71212
NcssCount The method 'run()' has a NCSS line count of 90. 71212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 135
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 146
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 148
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 151
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 156
EmptyWhileStmt Avoid empty while statements 163165
EmptyWhileStmt Avoid empty while statements 169171
LawOfDemeter Potential violation of Law of Demeter (static property access) 175
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 197

Waarp OpenR66 - org/waarp/openr66/context/task/ExecMoveTask.java

Rule Violation Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 72137
LawOfDemeter Potential violation of Law of Demeter (static property access) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 91
CloseResource Ensure that resources like this PipedInputStream object are closed after use 106
CloseResource Ensure that resources like this PipedOutputStream object are closed after use 107
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 178

Waarp OpenR66 - org/waarp/openr66/context/task/ExecOutputTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
CloseResource Ensure that resources like this PipedInputStream object are closed after use 113
CloseResource Ensure that resources like this PipedOutputStream object are closed after use 114
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 119
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 119
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
CognitiveComplexity The method 'finalizeExec(int, String, String)' has a cognitive complexity of 18, current threshold is 15 144196
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 188
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 203

Waarp OpenR66 - org/waarp/openr66/context/task/ExecTask.java

Rule Violation Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 19, current threshold is 15 58130
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 58130
NPathComplexity The method 'run()' has an NPath complexity of 768, current threshold is 200 58130
LawOfDemeter Potential violation of Law of Demeter (static property access) 69
CloseResource Ensure that resources like this PipedInputStream object are closed after use 88
CloseResource Ensure that resources like this PipedOutputStream object are closed after use 89
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 119

Waarp OpenR66 - org/waarp/openr66/context/task/FileCheckTask.java

Rule Violation Line
ExcessiveMethodLength Avoid really long methods. 73180
NcssCount The method 'run()' has a NCSS line count of 72. 73180
CognitiveComplexity The method 'run()' has a cognitive complexity of 33, current threshold is 15 73180
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 19. 73180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 134135
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 137
EmptyCatchBlock Avoid empty catch blocks 140142
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 154
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 155156
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 167
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 168169

Waarp OpenR66 - org/waarp/openr66/context/task/FtpArgs.java

Rule Violation Line
TooManyFields Too many fields 38374
GodClass Possible God Class (WMC=60, ATFD=85, TCC=3.743%) 38374
RedundantFieldInitializer Avoid using redundant field initializer for 'filepath' 102
RedundantFieldInitializer Avoid using redundant field initializer for 'filename' 103
RedundantFieldInitializer Avoid using redundant field initializer for 'requested' 104
RedundantFieldInitializer Avoid using redundant field initializer for 'user' 106
RedundantFieldInitializer Avoid using redundant field initializer for 'pwd' 107
RedundantFieldInitializer Avoid using redundant field initializer for 'acct' 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
AvoidFieldNameMatchingMethodName Field isPassive has the same name as a method 109
RedundantFieldInitializer Avoid using redundant field initializer for 'ssl' 110
RedundantFieldInitializer Avoid using redundant field initializer for 'cwd' 111
RedundantFieldInitializer Avoid using redundant field initializer for 'digest' 112
RedundantFieldInitializer Avoid using redundant field initializer for 'digestCommand' 114
RedundantFieldInitializer Avoid using redundant field initializer for 'codeCommand' 116
RedundantFieldInitializer Avoid using redundant field initializer for 'preArgs' 117
RedundantFieldInitializer Avoid using redundant field initializer for 'postArgs' 118
CognitiveComplexity The method 'getFtpArgs(String)' has a cognitive complexity of 28, current threshold is 15 137229
NcssCount The method 'getFtpArgs(String)' has a NCSS line count of 76. 137229
NPathComplexity The method 'getFtpArgs(String)' has an NPath complexity of 15361, current threshold is 200 137229
CyclomaticComplexity The method 'getFtpArgs(String)' has a cyclomatic complexity of 27. 137229
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
ExceptionAsFlowControl Avoid using exceptions as flow control. 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 165
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208

Waarp OpenR66 - org/waarp/openr66/context/task/FtpTransferTask.java

Rule Violation Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 38, current threshold is 15 110264
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 27. 110264
NcssCount The method 'run()' has a NCSS line count of 91. 110264
NPathComplexity The method 'run()' has an NPath complexity of 1534848, current threshold is 200 110264
ExcessiveMethodLength Avoid really long methods. 110264
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 260

Waarp OpenR66 - org/waarp/openr66/context/task/IcapTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 114
AvoidDuplicateLiterals The String literal " and " appears 7 times in this file; the first occurrence is on line 127 127
CognitiveComplexity The method 'finalizeIcapOnError(String)' has a cognitive complexity of 28, current threshold is 15 179221
LawOfDemeter Potential violation of Law of Demeter (static property access) 181
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 182
JumbledIncrementer Avoid modifying an outer loop incrementer in an inner loop for update expression 182217
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 182
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 184
JumbledIncrementer Avoid modifying an outer loop incrementer in an inner loop for update expression 185187
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 185
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 185
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 193
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 199200
LawOfDemeter Potential violation of Law of Demeter (static property access) 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 206
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 207208
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 210212
LawOfDemeter Potential violation of Law of Demeter (static property access) 212

Waarp OpenR66 - org/waarp/openr66/context/task/LastLineReader.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
AssignmentInOperand Avoid assignments in operands 48
EmptyCatchBlock Avoid empty catch blocks 5458

Waarp OpenR66 - org/waarp/openr66/context/task/LinkRenameTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 77

Waarp OpenR66 - org/waarp/openr66/context/task/LogTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 73
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 73
CyclomaticComplexity The method 'runFor2Or3(String, WaarpLogLevel)' has a cyclomatic complexity of 11. 103151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 110
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 111
CloseResource Ensure that resources like this FileOutputStream object are closed after use 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 122
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 143

Waarp OpenR66 - org/waarp/openr66/context/task/MoveRenameTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71

Waarp OpenR66 - org/waarp/openr66/context/task/MoveTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 62
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74

Waarp OpenR66 - org/waarp/openr66/context/task/RenameTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 70

Waarp OpenR66 - org/waarp/openr66/context/task/RescheduleTransferTask.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 147
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 162255
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 12. 162255
NPathComplexity The method 'run()' has an NPath complexity of 672, current threshold is 200 162255
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 264
NcssCount The method 'validateArgs(String)' has a NCSS line count of 125. 271438
NPathComplexity The method 'validateArgs(String)' has an NPath complexity of 24832, current threshold is 200 271438
ExcessiveMethodLength Avoid really long methods. 271438
CyclomaticComplexity The method 'validateArgs(String)' has a cyclomatic complexity of 36. 271438
CognitiveComplexity The method 'validateArgs(String)' has a cognitive complexity of 94, current threshold is 15 271438
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 275
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 288
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 315
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
CollapsibleIfStatements These nested if statements could be combined 375379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 377
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 401
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 406
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 411
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 414
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 421
CollapsibleIfStatements These nested if statements could be combined 422426
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
NPathComplexity The method 'getCalendar(String)' has an NPath complexity of 212, current threshold is 200 449543
CyclomaticComplexity The method 'getCalendar(String)' has a cyclomatic complexity of 23. 449543
NcssCount The method 'getCalendar(String)' has a NCSS line count of 75. 449543
CognitiveComplexity The method 'getCalendar(String)' has a cognitive complexity of 56, current threshold is 15 449543
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 453

Waarp OpenR66 - org/waarp/openr66/context/task/RestartServerTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 61
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68
LawOfDemeter Potential violation of Law of Demeter (static property access) 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 83
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 8788

Waarp OpenR66 - org/waarp/openr66/context/task/SnmpTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6669
LawOfDemeter Potential violation of Law of Demeter (static property access) 6669
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 6869
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7273
LawOfDemeter Potential violation of Law of Demeter (static property access) 7273

Waarp OpenR66 - org/waarp/openr66/context/task/SpooledInformTask.java

Rule Violation Line
CyclomaticComplexity The class 'SpooledInformTask' has a total cyclomatic complexity of 82 (highest 17). 53657
TooManyMethods This class has too many methods, consider refactoring it. 53657
LooseCoupling Avoid using implementation types like 'TreeMap'; use the interface instead 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 17. 85164
CognitiveComplexity The method 'run()' has a cognitive complexity of 53, current threshold is 15 85164
LawOfDemeter Potential violation of Law of Demeter (static property access) 9293
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 102
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 105106
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 108110
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 111113
LawOfDemeter Potential violation of Law of Demeter (static property access) 112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 114
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 123124
LawOfDemeter Potential violation of Law of Demeter (static property access) 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 130131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 125 characters appended. 229
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 230231
CognitiveComplexity The method 'buildSpooledTableElement(boolean, int, StringBuilder, String)' has a cognitive complexity of 21, current threshold is 15 271341
NPathComplexity The method 'buildSpooledTableElement(boolean, int, StringBuilder, String)' has an NPath complexity of 216, current threshold is 200 271341
CyclomaticComplexity The method 'buildSpooledTableElement(boolean, int, StringBuilder, String)' has a cyclomatic complexity of 12. 271341
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 279
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 292
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 301
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 364
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 371
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 375
LawOfDemeter Potential violation of Law of Demeter (static property access) 499
LawOfDemeter Potential violation of Law of Demeter (static property access) 500
LawOfDemeter Potential violation of Law of Demeter (static property access) 503
CyclomaticComplexity The method 'buildSpooledJsonElement(boolean, int, ArrayNode, String, boolean)' has a cyclomatic complexity of 13. 523594
CognitiveComplexity The method 'buildSpooledJsonElement(boolean, int, ArrayNode, String, boolean)' has a cognitive complexity of 29, current threshold is 15 523594
LawOfDemeter Potential violation of Law of Demeter (static property access) 532
LawOfDemeter Potential violation of Law of Demeter (static property access) 533
LawOfDemeter Potential violation of Law of Demeter (static property access) 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 543
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 544
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 546
LawOfDemeter Potential violation of Law of Demeter (static property access) 546
LawOfDemeter Potential violation of Law of Demeter (static property access) 549
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 556
LawOfDemeter Potential violation of Law of Demeter (static property access) 556
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 559
LawOfDemeter Potential violation of Law of Demeter (static property access) 559
LawOfDemeter Potential violation of Law of Demeter (static property access) 560
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 560
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 561
LawOfDemeter Potential violation of Law of Demeter (static property access) 561
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 562
LawOfDemeter Potential violation of Law of Demeter (static property access) 562
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 563
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 564
LawOfDemeter Potential violation of Law of Demeter (static property access) 564
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 565566
LawOfDemeter Potential violation of Law of Demeter (static property access) 566
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 567
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 583584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 583584
LawOfDemeter Potential violation of Law of Demeter (static property access) 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 589
NPathComplexity The method 'buildSpooledJsonFiles(ObjectNode, SpooledInformation, String, boolean)' has an NPath complexity of 388, current threshold is 200 601656
CognitiveComplexity The method 'buildSpooledJsonFiles(ObjectNode, SpooledInformation, String, boolean)' has a cognitive complexity of 22, current threshold is 15 601656
CyclomaticComplexity The method 'buildSpooledJsonFiles(ObjectNode, SpooledInformation, String, boolean)' has a cyclomatic complexity of 11. 601656
LawOfDemeter Potential violation of Law of Demeter (static property access) 606
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 612
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 613
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 615
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 617
LawOfDemeter Potential violation of Law of Demeter (static property access) 620
LawOfDemeter Potential violation of Law of Demeter (static property access) 623
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 624
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 628
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 632
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 634
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 636
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 639
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 644
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 646
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 648
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 650
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 652

Waarp OpenR66 - org/waarp/openr66/context/task/TaskType.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 51
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 92
CyclomaticComplexity The method 'getTaskFromId(TaskType, String, int, R66Session)' has a cyclomatic complexity of 29. 133240
ExcessiveMethodLength Avoid really long methods. 133240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 154
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 187
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 214
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 218
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 265
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 265
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 267
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 270
CyclomaticComplexity The method 'getTaskFromIdForBusiness(String, String, int, R66Session)' has a cyclomatic complexity of 36. 287357
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 300
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 300
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 302
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 306

Waarp OpenR66 - org/waarp/openr66/context/task/TranscodeTask.java

Rule Violation Line
NcssCount The method 'run()' has a NCSS line count of 85. 83197
ExcessiveMethodLength Avoid really long methods. 83197
CognitiveComplexity The method 'run()' has a cognitive complexity of 46, current threshold is 15 83197
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 26. 83197
NPathComplexity The method 'run()' has an NPath complexity of 6480, current threshold is 200 83197
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 97
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 102
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 107
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 112
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 144
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162
UnusedAssignment The initializer for variable 'finalname' is never used (overwritten on lines 165, 167 and 169) 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 172
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 177
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 177

Waarp OpenR66 - org/waarp/openr66/context/task/TransferTask.java

Rule Violation Line
NPathComplexity The method 'run()' has an NPath complexity of 260, current threshold is 200 94189
CognitiveComplexity The method 'run()' has a cognitive complexity of 30, current threshold is 15 94189
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 94189
NcssCount The method 'run()' has a NCSS line count of 61. 94189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124125
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165

Waarp OpenR66 - org/waarp/openr66/context/task/UnzeroedFileTask.java

Rule Violation Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 67104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 72
CloseResource Ensure that resources like this FileOutputStream object are closed after use 73
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 78
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 95

Waarp OpenR66 - org/waarp/openr66/context/task/ValidFilePathTask.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 68

Waarp OpenR66 - org/waarp/openr66/context/task/javatask/AddDigestJavaTask.java

Rule Violation Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 16, current threshold is 15 63131
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 63131
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 73
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 76
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 80
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 82
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 83
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 111112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 116117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123

Waarp OpenR66 - org/waarp/openr66/context/task/javatask/AddUuidJavaTask.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 69
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 72
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 76
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8990
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96

Waarp OpenR66 - org/waarp/openr66/context/task/localexec/LocalExecClient.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 62
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151

Waarp OpenR66 - org/waarp/openr66/context/task/test/TestExecJavaTask.java

Rule Violation Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 26, current threshold is 15 4693
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 54
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 55
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 89

Waarp OpenR66 - org/waarp/openr66/dao/AbstractDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 33188

Waarp OpenR66 - org/waarp/openr66/dao/DAOFactory.java

Rule Violation Line
NonThreadSafeSingleton Singleton is not thread safe 4143
NonThreadSafeSingleton Singleton is not thread safe 4749

Waarp OpenR66 - org/waarp/openr66/dao/Filter.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
UnusedPrivateField Avoid unused private fields such as 'specialOperand'. 36
ArrayIsStoredDirectly The user-supplied array 'values' is stored directly. 39
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 44
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 46
CognitiveComplexity The method 'append(StringBuilder)' has a cognitive complexity of 15, current threshold is 15 6993
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 73
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 74

Waarp OpenR66 - org/waarp/openr66/dao/TransferDAO.java

Rule Violation Line
MissingOverride The method 'find(List, int)' is missing an @Override annotation. 4243
MissingOverride The method 'find(List, String, boolean)' is missing an @Override annotation. 6465
MissingOverride The method 'find(List, String, boolean, int)' is missing an @Override annotation. 7576
MissingOverride The method 'find(List, String, boolean, int, int)' is missing an @Override annotation. 8687
MissingOverride The method 'count(List)' is missing an @Override annotation. 98

Waarp OpenR66 - org/waarp/openr66/dao/database/DBBusinessDAO.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142

Waarp OpenR66 - org/waarp/openr66/dao/database/DBDAOFactory.java

Rule Violation Line
CouplingBetweenObjects High amount of different objects as members denotes a high coupling 21518
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21518
ExcessivePublicCount This class has a bunch of public methods and attributes 21518
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 184
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 189
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 191
TooManyMethods This class has too many methods, consider refactoring it. 211517
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 212

Waarp OpenR66 - org/waarp/openr66/dao/database/DBHostDAO.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 150

Waarp OpenR66 - org/waarp/openr66/dao/database/DBLimitDAO.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131

Waarp OpenR66 - org/waarp/openr66/dao/database/DBRuleDAO.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 180
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 272

Waarp OpenR66 - org/waarp/openr66/dao/database/DBTransferDAO.java

Rule Violation Line
GodClass Possible God Class (WMC=58, ATFD=141, TCC=0.000%) 46476
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 213
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 214
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242
CloseResource Ensure that resources like this PreparedStatement object are closed after use 275
CloseResource Ensure that resources like this PreparedStatement object are closed after use 295
CloseResource Ensure that resources like this PreparedStatement object are closed after use 315
CloseResource Ensure that resources like this PreparedStatement object are closed after use 350
CloseResource Ensure that resources like this ResultSet object are closed after use 351
CloseResource Ensure that resources like this PreparedStatement object are closed after use 372
CloseResource Ensure that resources like this ResultSet object are closed after use 373
CloseResource Ensure that resources like this PreparedStatement object are closed after use 393
CloseResource Ensure that resources like this ResultSet object are closed after use 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 404
LawOfDemeter Potential violation of Law of Demeter (static property access) 420
LawOfDemeter Potential violation of Law of Demeter (static property access) 450451
LawOfDemeter Potential violation of Law of Demeter (static property access) 452453

Waarp OpenR66 - org/waarp/openr66/dao/database/StatementExecutor.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 42606
CyclomaticComplexity The class 'StatementExecutor' has a total cyclomatic complexity of 120 (highest 12). 42606
GodClass Possible God Class (WMC=120, ATFD=11, TCC=15.508%) 42606
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 123
MissingOverride The method 'close()' is missing an @Override annotation. 166173
CloseResource Ensure that resources like this PreparedStatement object are closed after use 208
CloseResource Ensure that resources like this PreparedStatement object are closed after use 227
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 255
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 260
UnusedLocalVariable Avoid unused local variables such as 'es'. 282
CloseResource Ensure that resources like this PreparedStatement object are closed after use 287
CloseResource Ensure that resources like this PreparedStatement object are closed after use 302
CloseResource Ensure that resources like this ResultSet object are closed after use 303
CyclomaticComplexity The method 'find(List, String, boolean, int, int)' has a cyclomatic complexity of 11. 364403
CloseResource Ensure that resources like this PreparedStatement object are closed after use 373
CloseResource Ensure that resources like this ResultSet object are closed after use 374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 385
UnusedLocalVariable Avoid unused local variables such as 'es'. 408
CloseResource Ensure that resources like this PreparedStatement object are closed after use 414
CloseResource Ensure that resources like this ResultSet object are closed after use 415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 420
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 431
CloseResource Ensure that resources like this PreparedStatement object are closed after use 434
CloseResource Ensure that resources like this PreparedStatement object are closed after use 459
CloseResource Ensure that resources like this ResultSet object are closed after use 460
CloseResource Ensure that resources like this PreparedStatement object are closed after use 496
CloseResource Ensure that resources like this ResultSet object are closed after use 497
CyclomaticComplexity The method 'select(String)' has a cyclomatic complexity of 12. 512549
CloseResource Ensure that resources like this PreparedStatement object are closed after use 530
CloseResource Ensure that resources like this ResultSet object are closed after use 531
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 541
CloseResource Ensure that resources like this PreparedStatement object are closed after use 564
CloseResource Ensure that resources like this PreparedStatement object are closed after use 590

Waarp OpenR66 - org/waarp/openr66/dao/database/h2/H2TransferDAO.java

Rule Violation Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 41
EmptyCatchBlock Avoid empty catch blocks 5961

Waarp OpenR66 - org/waarp/openr66/dao/database/mariadb/MariaDBTransferDAO.java

Rule Violation Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 44
EmptyCatchBlock Avoid empty catch blocks 6264

Waarp OpenR66 - org/waarp/openr66/dao/database/mysql/MySqlDBTransferDAO.java

Rule Violation Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 45
CloseResource Ensure that resources like this PreparedStatement object are closed after use 46
EmptyCatchBlock Avoid empty catch blocks 6971

Waarp OpenR66 - org/waarp/openr66/dao/database/oracle/OracleTransferDAO.java

Rule Violation Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 43
EmptyCatchBlock Avoid empty catch blocks 6163

Waarp OpenR66 - org/waarp/openr66/dao/database/postgres/PostgreSQLTransferDAO.java

Rule Violation Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 44
EmptyCatchBlock Avoid empty catch blocks 6264

Waarp OpenR66 - org/waarp/openr66/dao/xml/SimpleVariableResolver.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLBusinessDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 33140
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 73 73

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLHostDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 53276
GodClass Possible God Class (WMC=70, ATFD=60, TCC=23.333%) 53276
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
CyclomaticComplexity The method 'getAll()' has a cyclomatic complexity of 12. 86116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
CyclomaticComplexity The method 'exist(String)' has a cyclomatic complexity of 12. 119147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 152 152
CyclomaticComplexity The method 'select(String)' has a cyclomatic complexity of 14. 206243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 227
CyclomaticComplexity The method 'getFromNode(Node)' has a cyclomatic complexity of 10. 250275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 267
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 271

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLLimitDAO.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 33140
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 73 73

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLRuleDAO.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21340
GodClass Possible God Class (WMC=80, ATFD=77, TCC=16.959%) 58340
CyclomaticComplexity The class 'XMLRuleDAO' has a total cyclomatic complexity of 80 (highest 23). 58340
TooManyMethods This class has too many methods, consider refactoring it. 58340
LawOfDemeter Potential violation of Law of Demeter (static property access) 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 89
CyclomaticComplexity The method 'getAll()' has a cyclomatic complexity of 13. 111146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 141
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 159 159
CognitiveComplexity The method 'getFromNode(Node)' has a cognitive complexity of 41, current threshold is 15 224276
CyclomaticComplexity The method 'getFromNode(Node)' has a cyclomatic complexity of 23. 224276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 235
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 286
CognitiveComplexity The method 'retrieveTasks(Node)' has a cognitive complexity of 36, current threshold is 15 291339
CyclomaticComplexity The method 'retrieveTasks(Node)' has a cyclomatic complexity of 12. 291339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 298
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 331

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLTransferDAO.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21607
GodClass Possible God Class (WMC=126, ATFD=176, TCC=20.443%) 60607
CyclomaticComplexity The class 'XMLTransferDAO' has a total cyclomatic complexity of 126 (highest 25). 60607
TooManyMethods This class has too many methods, consider refactoring it. 60607
AvoidDuplicateLiterals The String literal "='$" appears 4 times in this file; the first occurrence is on line 70 70
RedundantFieldInitializer Avoid using redundant field initializer for 'noFile' 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
CognitiveComplexity The method 'getAll()' has a cognitive complexity of 23, current threshold is 15 179227
CyclomaticComplexity The method 'getAll()' has a cyclomatic complexity of 16. 179227
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 8 times in this file; the first occurrence is on line 247 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
CyclomaticComplexity The method 'select(long, String, String, String)' has a cyclomatic complexity of 17. 377422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 408
CyclomaticComplexity The method 'update(Transfer)' has a cyclomatic complexity of 25. 425497
NPathComplexity The method 'update(Transfer)' has an NPath complexity of 340, current threshold is 200 425497
CognitiveComplexity The method 'update(Transfer)' has a cognitive complexity of 37, current threshold is 15 425497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 445
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 451454
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 451
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 456
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 457458
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 457458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 461462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 461462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 464
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 464468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 465466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 465466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 487
NcssCount The method 'getFromNode(Node)' has a NCSS line count of 68. 499551
CognitiveComplexity The method 'getFromNode(Node)' has a cognitive complexity of 23, current threshold is 15 499551
CyclomaticComplexity The method 'getFromNode(Node)' has a cyclomatic complexity of 23. 499551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 506
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 506
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 508
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 508
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 509
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 510
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 510
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 511
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 512
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 512
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 517
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 519
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 520
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 520
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 521
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 522
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 523
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 524
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 524
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 526
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 526
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 528
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 528
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 529
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 530
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 532
LawOfDemeter Potential violation of Law of Demeter (static property access) 532
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 533
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 533
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 535
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 536
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 537
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 540
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 540
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 541
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 542
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 542
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 543
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 544
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 545
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 546
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 547
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 555556
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 557558
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 559560
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 561562
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 563564
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 565567
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 568570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 571572
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 573574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 575576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 577578
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 579580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 581582
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 583584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 585588
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 587588
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 589592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 591592
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 593594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 595596
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 597598
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 598
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 599600
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 600
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 601602
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 602
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 603604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 604

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLUtils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 51
CloseResource Ensure that resources like this FileOutputStream object are closed after use 58
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 71

Waarp OpenR66 - org/waarp/openr66/database/data/AbstractDbDataDao.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 48414
GodClass Possible God Class (WMC=72, ATFD=30, TCC=22.632%) 48414
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
CyclomaticComplexity The method 'validateLength(int, String...)' has a cyclomatic complexity of 12. 89121
MissingOverride The method 'getTable()' is missing an @Override annotation. 123
MissingOverride The method 'changeUpdatedInfo(AbstractDbData.UpdatedInfo)' is missing an @Override annotation. 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 276
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 280284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283
CognitiveComplexity The method 'setFromJson(ObjectNode, boolean)' has a cognitive complexity of 18, current threshold is 15 302335
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 305322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 316
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 320

Waarp OpenR66 - org/waarp/openr66/database/data/DbConfiguration.java

Rule Violation Line
GodClass Possible God Class (WMC=51, ATFD=45, TCC=1.282%) 50352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 11. 189221
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 276
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 285
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 290
AvoidDuplicateLiterals The String literal " > " appears 4 times in this file; the first occurrence is on line 291 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 299
LawOfDemeter Potential violation of Law of Demeter (static property access) 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 338342
LawOfDemeter Potential violation of Law of Demeter (static property access) 349
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 349

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostAuth.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20840
GodClass Possible God Class (WMC=133, ATFD=105, TCC=2.381%) 65840
CyclomaticComplexity The class 'DbHostAuth' has a total cyclomatic complexity of 133 (highest 15). 65840
AvoidUsingHardCodedIP Do not hard code the IP address 70
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 132
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 156
CyclomaticComplexity The method 'setFromJson(ObjectNode, boolean)' has a cyclomatic complexity of 12. 188224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 201202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 201202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 201202
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 203
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 15. 227277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 313
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 351
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 400401
LawOfDemeter Potential violation of Law of Demeter (static property access) 400401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 412
AvoidDuplicateLiterals The String literal " = '" appears 4 times in this file; the first occurrence is on line 443 443
LawOfDemeter Potential violation of Law of Demeter (static property access) 443
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 451
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 454
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 464
LawOfDemeter Potential violation of Law of Demeter (static property access) 490
LawOfDemeter Potential violation of Law of Demeter (static property access) 498
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 498
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 501
LawOfDemeter Potential violation of Law of Demeter (static property access) 506
LawOfDemeter Potential violation of Law of Demeter (static property access) 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 565566
LawOfDemeter Potential violation of Law of Demeter (static property access) 565566
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 568
LawOfDemeter Potential violation of Law of Demeter (static property access) 582583
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 582583
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 584
LiteralsFirstInComparisons Position literals first in String comparisons 613
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 613
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 664
LawOfDemeter Potential violation of Law of Demeter (static property access) 664
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 667668
LawOfDemeter Potential violation of Law of Demeter (static property access) 667668
LawOfDemeter Potential violation of Law of Demeter (static property access) 671
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 671
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 684685
LawOfDemeter Potential violation of Law of Demeter (static property access) 684685
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 686
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 688
LawOfDemeter Potential violation of Law of Demeter (static property access) 688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 690
LawOfDemeter Potential violation of Law of Demeter (static property access) 690
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 691
LawOfDemeter Potential violation of Law of Demeter (static property access) 694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 694
LawOfDemeter Potential violation of Law of Demeter (static property access) 695696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 695696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 695696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 728
LawOfDemeter Potential violation of Law of Demeter (static property access) 744
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 746
LawOfDemeter Potential violation of Law of Demeter (static property access) 747
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 753
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 757761
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 757761
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 757760
CyclomaticComplexity The method 'toSpecializedHtml(R66Session, String, boolean)' has a cyclomatic complexity of 10. 783820
NPathComplexity The method 'toSpecializedHtml(R66Session, String, boolean)' has an NPath complexity of 384, current threshold is 200 783820
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 798
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 808809
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 814
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 831

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostConfiguration.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201374
TooManyMethods This class has too many methods, consider refactoring it. 781374
ExcessiveClassLength Avoid really long classes. 781374
CyclomaticComplexity The class 'DbHostConfiguration' has a total cyclomatic complexity of 220 (highest 27). 781374
GodClass Possible God Class (WMC=220, ATFD=193, TCC=7.827%) 781374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 325
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 326
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 327
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 349
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 352
LawOfDemeter Potential violation of Law of Demeter (static property access) 352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353
LawOfDemeter Potential violation of Law of Demeter (static property access) 353
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354
NcssCount The method 'readValuesFromXml(String, XmlDecl)' has a NCSS line count of 71. 361455
CyclomaticComplexity The method 'readValuesFromXml(String, XmlDecl)' has a cyclomatic complexity of 27. 361455
CognitiveComplexity The method 'readValuesFromXml(String, XmlDecl)' has a cognitive complexity of 53, current threshold is 15 361455
NPathComplexity The method 'readValuesFromXml(String, XmlDecl)' has an NPath complexity of 39312, current threshold is 200 361455
CloseResource Ensure that resources like this StringReader object are closed after use 368
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 386
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 390392
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 394
LawOfDemeter Potential violation of Law of Demeter (static property access) 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 400
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 402
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 415
LawOfDemeter Potential violation of Law of Demeter (static property access) 415
LawOfDemeter Potential violation of Law of Demeter (static property access) 417
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 422
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 424
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 436
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 439
EmptyCatchBlock Avoid empty catch blocks 446448
AvoidDuplicateLiterals The String literal "New Role: {}:{}" appears 4 times in this file; the first occurrence is on line 450 450
LawOfDemeter Potential violation of Law of Demeter (static property access) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 473
LawOfDemeter Potential violation of Law of Demeter (static property access) 486
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 490
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 14. 502552
CognitiveComplexity The method 'setFromJson(String, JsonNode)' has a cognitive complexity of 23, current threshold is 15 502552
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 507
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 521
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 537
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 539
LawOfDemeter Potential violation of Law of Demeter (static property access) 544
LawOfDemeter Potential violation of Law of Demeter (static property access) 602
LawOfDemeter Potential violation of Law of Demeter (static property access) 604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 609
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 617
NPathComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has an NPath complexity of 324, current threshold is 200 640694
CyclomaticComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cyclomatic complexity of 11. 640694
CognitiveComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cognitive complexity of 19, current threshold is 15 640694
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 640642
AvoidDuplicateLiterals The String literal " WHERE " appears 5 times in this file; the first occurrence is on line 649 649
LawOfDemeter Potential violation of Law of Demeter (static property access) 649
AvoidDuplicateLiterals The String literal "%' " appears 8 times in this file; the first occurrence is on line 654 654
AvoidDuplicateLiterals The String literal " LIKE '%" appears 8 times in this file; the first occurrence is on line 654 654
AvoidDuplicateLiterals The String literal " AND " appears 4 times in this file; the first occurrence is on line 654 654
LawOfDemeter Potential violation of Law of Demeter (static property access) 654
LawOfDemeter Potential violation of Law of Demeter (static property access) 657
LawOfDemeter Potential violation of Law of Demeter (static property access) 662
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 662
LawOfDemeter Potential violation of Law of Demeter (static property access) 665
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 670
LawOfDemeter Potential violation of Law of Demeter (static property access) 671
LawOfDemeter Potential violation of Law of Demeter (static property access) 674
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 679
LawOfDemeter Potential violation of Law of Demeter (static property access) 680
LawOfDemeter Potential violation of Law of Demeter (static property access) 683
LawOfDemeter Potential violation of Law of Demeter (static property access) 688
LawOfDemeter Potential violation of Law of Demeter (static property access) 691
LawOfDemeter Potential violation of Law of Demeter (static property access) 699
LawOfDemeter Potential violation of Law of Demeter (static property access) 713
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 713
LooseCoupling Avoid using implementation types like 'HashSet'; use the interface instead 726
CloseResource Ensure that resources like this StringReader object are closed after use 729
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 732
AvoidDuplicateLiterals The String literal "Unable to read the XML Config " appears 4 times in this file; the first occurrence is on line 735 735
AvoidDuplicateLiterals The String literal " string: " appears 4 times in this file; the first occurrence is on line 735 735
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 746
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 749
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 752
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 754
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 755
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 780
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 788
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 792
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 794
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 794
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 797
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 801
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 804
NcssCount The method 'updateFromConfiguration(Configuration)' has a NCSS line count of 67. 815909
NPathComplexity The method 'updateFromConfiguration(Configuration)' has an NPath complexity of 1296, current threshold is 200 815909
CognitiveComplexity The method 'updateFromConfiguration(Configuration)' has a cognitive complexity of 51, current threshold is 15 815909
CyclomaticComplexity The method 'updateFromConfiguration(Configuration)' has a cyclomatic complexity of 18. 815909
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 817
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 820
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 828
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 831
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 834
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 835836
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 838
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 838
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 842
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 844
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 848
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 850
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 850
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 850
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 852
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 855
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 859
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 863864
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 865
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 866
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 866
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 869
LawOfDemeter Potential violation of Law of Demeter (static property access) 870
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 876
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 878
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 878
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 878
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 880
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 880
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 886
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 889
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 889
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 891
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 894
CognitiveComplexity The method 'updateMap(String, String, String, String, String, HashMap)' has a cognitive complexity of 17, current threshold is 15 923973
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 926
CloseResource Ensure that resources like this StringReader object are closed after use 929
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 932
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 946
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 957
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 958
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 963
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 968
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 969
CognitiveComplexity The method 'updateAlias(Configuration, String, boolean)' has a cognitive complexity of 40, current threshold is 15 9861066
NPathComplexity The method 'updateAlias(Configuration, String, boolean)' has an NPath complexity of 360, current threshold is 200 9861066
NcssCount The method 'updateAlias(Configuration, String, boolean)' has a NCSS line count of 62. 9861066
CyclomaticComplexity The method 'updateAlias(Configuration, String, boolean)' has a cyclomatic complexity of 17. 9861066
AvoidDuplicateLiterals The String literal " |\\|" appears 4 times in this file; the first occurrence is on line 992 992
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 996
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 997
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1009
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1011
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1012
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1012
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1015
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1017
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1017
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1023
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1025
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1033
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1035
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1035
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1036
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1038
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1042
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1045
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1049
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1051
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1051
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1057
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1061
NPathComplexity The method 'updateRoles(Configuration, String, boolean)' has an NPath complexity of 312, current threshold is 200 10791163
CognitiveComplexity The method 'updateRoles(Configuration, String, boolean)' has a cognitive complexity of 51, current threshold is 15 10791163
NcssCount The method 'updateRoles(Configuration, String, boolean)' has a NCSS line count of 60. 10791163
CyclomaticComplexity The method 'updateRoles(Configuration, String, boolean)' has a cyclomatic complexity of 19. 10791163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1089
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1101
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1105
LawOfDemeter Potential violation of Law of Demeter (static property access) 1107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1109
LawOfDemeter Potential violation of Law of Demeter (static property access) 1109
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1113
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1117
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1117
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1119
EmptyCatchBlock Avoid empty catch blocks 11221124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1140
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1144
LawOfDemeter Potential violation of Law of Demeter (static property access) 1144
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1149
EmptyCatchBlock Avoid empty catch blocks 11531155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1158
LawOfDemeter Potential violation of Law of Demeter (static property access) 1188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1190
LawOfDemeter Potential violation of Law of Demeter (static property access) 1200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1202
LawOfDemeter Potential violation of Law of Demeter (static property access) 1233
LawOfDemeter Potential violation of Law of Demeter (static property access) 1238
LawOfDemeter Potential violation of Law of Demeter (static property access) 1243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1245
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1248
LawOfDemeter Potential violation of Law of Demeter (static property access) 1253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1253
LawOfDemeter Potential violation of Law of Demeter (static property access) 1256
LawOfDemeter Potential violation of Law of Demeter (static property access) 1257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1257
LawOfDemeter Potential violation of Law of Demeter (static property access) 1276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1278
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1281
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1282
LawOfDemeter Potential violation of Law of Demeter (static property access) 1300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1302
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13041305
LawOfDemeter Potential violation of Law of Demeter (static property access) 1304
LawOfDemeter Potential violation of Law of Demeter (static property access) 1308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13091310
LawOfDemeter Potential violation of Law of Demeter (static property access) 1309

Waarp OpenR66 - org/waarp/openr66/database/data/DbMultipleMonitor.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 199
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 255

Waarp OpenR66 - org/waarp/openr66/database/data/DbRule.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201103
GodClass Possible God Class (WMC=176, ATFD=204, TCC=0.157%) 711103
TooManyMethods This class has too many methods, consider refactoring it. 711103
CyclomaticComplexity The class 'DbRule' has a total cyclomatic complexity of 176 (highest 20). 711103
ExcessiveClassLength Avoid really long classes. 711103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 145
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 175
ExcessiveParameterList Avoid long parameter lists. 195200
ExcessiveParameterList Avoid long parameter lists. 262270
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 18. 317372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 390
LawOfDemeter Potential violation of Law of Demeter (static property access) 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 507508
LawOfDemeter Potential violation of Law of Demeter (static property access) 507508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 512
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 519
LawOfDemeter Potential violation of Law of Demeter (static property access) 531
CloseResource Ensure that resources like this StringReader object are closed after use 547
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 550
CloseResource Ensure that resources like this StringReader object are closed after use 579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 582
LawOfDemeter Potential violation of Law of Demeter (static property access) 607
LawOfDemeter Potential violation of Law of Demeter (static property access) 624
LawOfDemeter Potential violation of Law of Demeter (static property access) 639
LawOfDemeter Potential violation of Law of Demeter (static property access) 655
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 667
LawOfDemeter Potential violation of Law of Demeter (static property access) 702
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 706
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 707
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 710
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 723
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 736
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 738
LawOfDemeter Potential violation of Law of Demeter (static property access) 754
LawOfDemeter Potential violation of Law of Demeter (static property access) 775
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 783
LawOfDemeter Potential violation of Law of Demeter (static property access) 783
LawOfDemeter Potential violation of Law of Demeter (static property access) 788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 791
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 819
CyclomaticComplexity The method 'getInternalJson()' has a cyclomatic complexity of 12. 834870
NPathComplexity The method 'getInternalJson()' has an NPath complexity of 2048, current threshold is 200 834870
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 836
LawOfDemeter Potential violation of Law of Demeter (static property access) 837
LawOfDemeter Potential violation of Law of Demeter (static property access) 840
LawOfDemeter Potential violation of Law of Demeter (static property access) 843
LawOfDemeter Potential violation of Law of Demeter (static property access) 846
LawOfDemeter Potential violation of Law of Demeter (static property access) 849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 851
LawOfDemeter Potential violation of Law of Demeter (static property access) 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 854
LawOfDemeter Potential violation of Law of Demeter (static property access) 855
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 857
LawOfDemeter Potential violation of Law of Demeter (static property access) 858
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 860
LawOfDemeter Potential violation of Law of Demeter (static property access) 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 863
LawOfDemeter Potential violation of Law of Demeter (static property access) 864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 866
LawOfDemeter Potential violation of Law of Demeter (static property access) 867
CognitiveComplexity The method 'toSpecializedHtml(R66Session, String)' has a cognitive complexity of 19, current threshold is 15 887946
NPathComplexity The method 'toSpecializedHtml(R66Session, String)' has an NPath complexity of 18432, current threshold is 200 887946
CyclomaticComplexity The method 'toSpecializedHtml(R66Session, String)' has a cyclomatic complexity of 20. 887946
LawOfDemeter Potential violation of Law of Demeter (static property access) 894
AvoidDuplicateLiterals The String literal "checked" appears 8 times in this file; the first occurrence is on line 895 895
LawOfDemeter Potential violation of Law of Demeter (static property access) 896
LawOfDemeter Potential violation of Law of Demeter (static property access) 898
LawOfDemeter Potential violation of Law of Demeter (static property access) 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 903
LawOfDemeter Potential violation of Law of Demeter (static property access) 906
LawOfDemeter Potential violation of Law of Demeter (static property access) 909
LawOfDemeter Potential violation of Law of Demeter (static property access) 912
LawOfDemeter Potential violation of Law of Demeter (static property access) 953
LawOfDemeter Potential violation of Law of Demeter (static property access) 963
LawOfDemeter Potential violation of Law of Demeter (static property access) 973
LawOfDemeter Potential violation of Law of Demeter (static property access) 983
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1034
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1083

Waarp OpenR66 - org/waarp/openr66/database/data/DbTaskRunner.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 204732
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 204732
ExcessiveClassLength Avoid really long classes. 1134732
NcssCount The class 'DbTaskRunner' has a NCSS line count of 2233 (Highest = 139). 1134732
TooManyMethods This class has too many methods, consider refactoring it. 1134732
GodClass Possible God Class (WMC=832, ATFD=878, TCC=6.018%) 1134732
CyclomaticComplexity The class 'DbTaskRunner' has a total cyclomatic complexity of 832 (highest 52). 1134732
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 236
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 238
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 240
AvoidFieldNameMatchingMethodName Field continueTransfer has the same name as a method 240
AvoidFieldNameMatchingMethodName Field isRecvThrough has the same name as a method 246
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 246
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 247
AvoidFieldNameMatchingMethodName Field isSendThrough has the same name as a method 247
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 249
RedundantFieldInitializer Avoid using redundant field initializer for 'transferMap' 250
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 327
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 391
UnusedAssignment The value assigned to field 'rule' is never used (overwritten on line 416) 392
CyclomaticComplexity The constructor 'DbTaskRunner(R66Session, DbRule, long, String, String)' has a cyclomatic complexity of 12. 478513
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 491492
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 498499
CyclomaticComplexity The method 'setFromJson(ObjectNode, boolean)' has a cyclomatic complexity of 51. 589734
NcssCount The method 'setFromJson(ObjectNode, boolean)' has a NCSS line count of 124. 589734
ExcessiveMethodLength Avoid really long methods. 589734
CognitiveComplexity The method 'setFromJson(ObjectNode, boolean)' has a cognitive complexity of 46, current threshold is 15 589734
NPathComplexity The method 'setFromJson(ObjectNode, boolean)' has an NPath complexity of 52704, current threshold is 200 589734
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 600
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 600
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 603
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 606
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 609
LawOfDemeter Potential violation of Law of Demeter (static property access) 612
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 612
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 615
LawOfDemeter Potential violation of Law of Demeter (static property access) 615
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 618
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 621
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 624
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 633
LawOfDemeter Potential violation of Law of Demeter (static property access) 635
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 643
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 646
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 649
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 652
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 655
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 659
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 662
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 665
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 668
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 672
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 675
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 675
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 676
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 681
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 693
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 693
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 705
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 714
AvoidDuplicateLiterals The String literal " = '" appears 10 times in this file; the first occurrence is on line 776 776
LawOfDemeter Potential violation of Law of Demeter (static property access) 777
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 804
LawOfDemeter Potential violation of Law of Demeter (static property access) 807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 836
LawOfDemeter Potential violation of Law of Demeter (static property access) 840
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 843
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 860
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 861
LawOfDemeter Potential violation of Law of Demeter (static property access) 862
LawOfDemeter Potential violation of Law of Demeter (static property access) 863864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 863864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 873
CollapsibleIfStatements These nested if statements could be combined 873876
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 874875
LawOfDemeter Potential violation of Law of Demeter (static property access) 874875
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 875
LawOfDemeter Potential violation of Law of Demeter (static property access) 904
LawOfDemeter Potential violation of Law of Demeter (static property access) 905
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 930
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 959
LawOfDemeter Potential violation of Law of Demeter (static property access) 992
LawOfDemeter Potential violation of Law of Demeter (static property access) 993
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1019
LawOfDemeter Potential violation of Law of Demeter (static property access) 1072
LawOfDemeter Potential violation of Law of Demeter (static property access) 1073
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1093
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1094
LawOfDemeter Potential violation of Law of Demeter (static property access) 1134
LawOfDemeter Potential violation of Law of Demeter (static property access) 1178
EmptyCatchBlock Avoid empty catch blocks 12221224
ExcessiveMethodLength Avoid really long methods. 12641457
ExcessiveParameterList Avoid long parameter lists. 12641270
NPathComplexity The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has an NPath complexity of 473834592, current threshold is 200 12641457
NcssCount The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has a NCSS line count of 139. 12641457
CognitiveComplexity The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has a cognitive complexity of 90, current threshold is 15 12641457
CyclomaticComplexity The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has a cyclomatic complexity of 52. 12641457
AvoidDuplicateLiterals The String literal " WHERE " appears 16 times in this file; the first occurrence is on line 1 279 1279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12821284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12821284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12821284
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1289
LawOfDemeter Potential violation of Law of Demeter (static property access) 1296
LawOfDemeter Potential violation of Law of Demeter (static property access) 1302
AvoidDuplicateLiterals The String literal " >= ? " appears 8 times in this file; the first occurrence is on line 1 302 1302
AvoidDuplicateLiterals The String literal " <= ? " appears 4 times in this file; the first occurrence is on line 1 308 1308
LawOfDemeter Potential violation of Law of Demeter (static property access) 1308
LawOfDemeter Potential violation of Law of Demeter (static property access) 1316
LawOfDemeter Potential violation of Law of Demeter (static property access) 1322
LawOfDemeter Potential violation of Law of Demeter (static property access) 1328
LawOfDemeter Potential violation of Law of Demeter (static property access) 1335
LawOfDemeter Potential violation of Law of Demeter (static property access) 1348
LawOfDemeter Potential violation of Law of Demeter (static property access) 1352
LawOfDemeter Potential violation of Law of Demeter (static property access) 1356
LawOfDemeter Potential violation of Law of Demeter (static property access) 1357
LawOfDemeter Potential violation of Law of Demeter (static property access) 1358
LawOfDemeter Potential violation of Law of Demeter (static property access) 1362
LawOfDemeter Potential violation of Law of Demeter (static property access) 1363
LawOfDemeter Potential violation of Law of Demeter (static property access) 1367
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1370
LawOfDemeter Potential violation of Law of Demeter (static property access) 1371
AvoidDuplicateLiterals The String literal " = " appears 10 times in this file; the first occurrence is on line 1 371 1371
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1372
LawOfDemeter Potential violation of Law of Demeter (static property access) 1374
AvoidDuplicateLiterals The String literal " IN(" appears 4 times in this file; the first occurrence is on line 1 374 1374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1376
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1378
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1386
LawOfDemeter Potential violation of Law of Demeter (static property access) 1387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1388
LawOfDemeter Potential violation of Law of Demeter (static property access) 1390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1392
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1394
UnusedAssignment The value assigned to variable 'hasCondition' is never used 1405
LawOfDemeter Potential violation of Law of Demeter (static property access) 1406
LawOfDemeter Potential violation of Law of Demeter (static property access) 1407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14131414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14131414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14131414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1431
EmptyCatchBlock Avoid empty catch blocks 14381440
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1441
EmptyCatchBlock Avoid empty catch blocks 14481450
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1451
ExcessiveParameterList Avoid long parameter lists. 14801485
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 14801485
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 15141519
ExcessiveParameterList Avoid long parameter lists. 15141519
UnusedAssignment The initializer for variable 'orderby' is never used (overwritten on lines 1532 and 1534) 1525
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1528
AvoidDuplicateLiterals The String literal " DESC " appears 6 times in this file; the first occurrence is on line 1 532 1532
LawOfDemeter Potential violation of Law of Demeter (static property access) 1532
LawOfDemeter Potential violation of Law of Demeter (static property access) 1534
LawOfDemeter Potential violation of Law of Demeter (static property access) 1557
LawOfDemeter Potential violation of Law of Demeter (static property access) 1580
LawOfDemeter Potential violation of Law of Demeter (static property access) 1581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1599
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16271628
LawOfDemeter Potential violation of Law of Demeter (static property access) 16271628
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1632
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1645
AvoidDuplicateLiterals The String literal ") FROM " appears 6 times in this file; the first occurrence is on line 1 666 1666
LawOfDemeter Potential violation of Law of Demeter (static property access) 1666
LawOfDemeter Potential violation of Law of Demeter (static property access) 1667
LawOfDemeter Potential violation of Law of Demeter (static property access) 1668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1686
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1689
LawOfDemeter Potential violation of Law of Demeter (static property access) 1718
LawOfDemeter Potential violation of Law of Demeter (static property access) 1721
LawOfDemeter Potential violation of Law of Demeter (static property access) 1722
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1724
LawOfDemeter Potential violation of Law of Demeter (static property access) 1725
LawOfDemeter Potential violation of Law of Demeter (static property access) 1745
LawOfDemeter Potential violation of Law of Demeter (static property access) 1747
LawOfDemeter Potential violation of Law of Demeter (static property access) 1749
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1767
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1770
LawOfDemeter Potential violation of Law of Demeter (static property access) 1800
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1802
LawOfDemeter Potential violation of Law of Demeter (static property access) 1802
LawOfDemeter Potential violation of Law of Demeter (static property access) 1803
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1803
LawOfDemeter Potential violation of Law of Demeter (static property access) 1804
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1806
LawOfDemeter Potential violation of Law of Demeter (static property access) 1807
LawOfDemeter Potential violation of Law of Demeter (static property access) 1830
LawOfDemeter Potential violation of Law of Demeter (static property access) 1833
LawOfDemeter Potential violation of Law of Demeter (static property access) 1834
LawOfDemeter Potential violation of Law of Demeter (static property access) 1836
LawOfDemeter Potential violation of Law of Demeter (static property access) 1838
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1841
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1843
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1845
LawOfDemeter Potential violation of Law of Demeter (static property access) 1847
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1847
LawOfDemeter Potential violation of Law of Demeter (static property access) 1848
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 1849
LawOfDemeter Potential violation of Law of Demeter (static property access) 1872
LawOfDemeter Potential violation of Law of Demeter (static property access) 1875
LawOfDemeter Potential violation of Law of Demeter (static property access) 1876
LawOfDemeter Potential violation of Law of Demeter (static property access) 1878
LawOfDemeter Potential violation of Law of Demeter (static property access) 1880
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1883
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1885
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1887
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1889
LawOfDemeter Potential violation of Law of Demeter (static property access) 1889
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1891
LawOfDemeter Potential violation of Law of Demeter (static property access) 1891
LawOfDemeter Potential violation of Law of Demeter (static property access) 1892
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1910
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1937
CyclomaticComplexity The method 'getLogPrepareStatement(DbSession, Timestamp, Timestamp)' has a cyclomatic complexity of 11. 19572003
LawOfDemeter Potential violation of Law of Demeter (static property access) 1965
LawOfDemeter Potential violation of Law of Demeter (static property access) 1966
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1969
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1970
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1976
LawOfDemeter Potential violation of Law of Demeter (static property access) 1977
LawOfDemeter Potential violation of Law of Demeter (static property access) 1978
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1981
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1987
LawOfDemeter Potential violation of Law of Demeter (static property access) 1988
LawOfDemeter Potential violation of Law of Demeter (static property access) 1989
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1992
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1998
LawOfDemeter Potential violation of Law of Demeter (static property access) 1999
CyclomaticComplexity The method 'purgeLogPrepareStatement(DbSession, Timestamp, Timestamp)' has a cyclomatic complexity of 11. 20182068
LawOfDemeter Potential violation of Law of Demeter (static property access) 2026
LawOfDemeter Potential violation of Law of Demeter (static property access) 2028
LawOfDemeter Potential violation of Law of Demeter (static property access) 2031
LawOfDemeter Potential violation of Law of Demeter (static property access) 2032
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2035
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2036
LawOfDemeter Potential violation of Law of Demeter (static property access) 2042
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 2042
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2045
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 2051
LawOfDemeter Potential violation of Law of Demeter (static property access) 2051
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2054
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 20902101
ExcessiveParameterList Avoid long parameter lists. 20902101
LawOfDemeter Potential violation of Law of Demeter (static property access) 2114
LawOfDemeter Potential violation of Law of Demeter (static property access) 2115
LawOfDemeter Potential violation of Law of Demeter (static property access) 2120
LawOfDemeter Potential violation of Law of Demeter (static property access) 2120
LawOfDemeter Potential violation of Law of Demeter (static property access) 2122
LawOfDemeter Potential violation of Law of Demeter (static property access) 2126
LawOfDemeter Potential violation of Law of Demeter (static property access) 2156
LawOfDemeter Potential violation of Law of Demeter (static property access) 2157
LawOfDemeter Potential violation of Law of Demeter (static property access) 2158
LawOfDemeter Potential violation of Law of Demeter (static property access) 2159
LawOfDemeter Potential violation of Law of Demeter (static property access) 2160
LawOfDemeter Potential violation of Law of Demeter (static property access) 2190
LawOfDemeter Potential violation of Law of Demeter (static property access) 2192
LawOfDemeter Potential violation of Law of Demeter (static property access) 2194
LawOfDemeter Potential violation of Law of Demeter (static property access) 2196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2200
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 2214
CyclomaticComplexity The method 'restart(boolean)' has a cyclomatic complexity of 11. 22952327
EmptyIfStmt Avoid empty if statements 22992301
ImplicitSwitchFallThrough A switch statement does not contain a break 23392347
LawOfDemeter Potential violation of Law of Demeter (static property access) 2366
LawOfDemeter Potential violation of Law of Demeter (static property access) 2370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2475
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2569
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2592
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2594
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2594
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2595
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2598
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 2601
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2657
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2660
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2664
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2680
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2692
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2702
SimplifiedTernary Ternary operators that can be simplified with || or && 2753
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2789
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2850
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2869
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2876
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2883
LawOfDemeter Potential violation of Law of Demeter (static property access) 29472948
LawOfDemeter Potential violation of Law of Demeter (static property access) 2948
LawOfDemeter Potential violation of Law of Demeter (static property access) 29672968
LawOfDemeter Potential violation of Law of Demeter (static property access) 2968
LawOfDemeter Potential violation of Law of Demeter (static property access) 3030
LawOfDemeter Potential violation of Law of Demeter (static property access) 3030
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3057
LawOfDemeter Potential violation of Law of Demeter (static property access) 30583059
LawOfDemeter Potential violation of Law of Demeter (static property access) 3059
CyclomaticComplexity The method 'runNextTask(String)' has a cyclomatic complexity of 20. 30833142
NPathComplexity The method 'runNextTask(String)' has an NPath complexity of 8640, current threshold is 200 30833142
CognitiveComplexity The method 'runNextTask(String)' has a cognitive complexity of 23, current threshold is 15 30833142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 31103111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3134
CollapsibleIfStatements These nested if statements could be combined 31363138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3141
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 31623163
CognitiveComplexity The method 'runNext()' has a cognitive complexity of 34, current threshold is 15 31753238
CyclomaticComplexity The method 'runNext()' has a cyclomatic complexity of 23. 31753238
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3182
CognitiveComplexity The method 'run()' has a cognitive complexity of 25, current threshold is 15 32453299
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 17. 32453299
NPathComplexity The method 'run()' has an NPath complexity of 294, current threshold is 200 32453299
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3252
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3293
CyclomaticComplexity The method 'internalFinalizeValid(LocalChannelReference, R66File, R66Result)' has a cyclomatic complexity of 12. 33423402
EmptyIfStmt Avoid empty if statements 33533355
LawOfDemeter Potential violation of Law of Demeter (static property access) 3361
LawOfDemeter Potential violation of Law of Demeter (static property access) 3370
CyclomaticComplexity The method 'finalizeReceiver(LocalChannelReference, R66File, R66Result)' has a cyclomatic complexity of 14. 34043462
CognitiveComplexity The method 'finalizeReceiver(LocalChannelReference, R66File, R66Result)' has a cognitive complexity of 21, current threshold is 15 34043462
LawOfDemeter Potential violation of Law of Demeter (static property access) 3419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 34313434
LawOfDemeter Potential violation of Law of Demeter (static property access) 3433
CyclomaticComplexity The method 'resultFileMove(LocalChannelReference, R66File, R66Result)' has a cyclomatic complexity of 11. 34643516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3471
NPathComplexity The method 'errorTransfer(R66Result, R66File, LocalChannelReference)' has an NPath complexity of 1200, current threshold is 200 35273605
CyclomaticComplexity The method 'errorTransfer(R66Result, R66File, LocalChannelReference)' has a cyclomatic complexity of 16. 35273605
CognitiveComplexity The method 'errorTransfer(R66Result, R66File, LocalChannelReference)' has a cognitive complexity of 23, current threshold is 15 35273605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3534
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 35693570
EmptyCatchBlock Avoid empty catch blocks 35763578
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3679
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3700
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3700
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3715
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3723
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3733
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3739
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3740
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3802
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3821
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3821
ImplicitSwitchFallThrough A switch statement does not contain a break 38283849
ImplicitSwitchFallThrough A switch statement does not contain a break 38553877
AvoidDuplicateLiterals The String literal "</td><td>" appears 12 times in this file; the first occurrence is on line 3 892 3892
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3897
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3936
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3939
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3940
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3948
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3951
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3952
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3963
LawOfDemeter Potential violation of Law of Demeter (static property access) 3963
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39643965
LawOfDemeter Potential violation of Law of Demeter (static property access) 3965
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39673968
LawOfDemeter Potential violation of Law of Demeter (static property access) 3968
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39693970
LawOfDemeter Potential violation of Law of Demeter (static property access) 3970
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3979
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3980
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3988
LawOfDemeter Potential violation of Law of Demeter (static property access) 3988
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39893990
LawOfDemeter Potential violation of Law of Demeter (static property access) 3990
LawOfDemeter Potential violation of Law of Demeter (static property access) 3991
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3991
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 39923993
LawOfDemeter Potential violation of Law of Demeter (static property access) 3993
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4021
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4036
LawOfDemeter Potential violation of Law of Demeter (static property access) 4047
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4047
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40484049
LawOfDemeter Potential violation of Law of Demeter (static property access) 4049
CyclomaticComplexity The method 'getValue(DbTaskRunner, String)' has a cyclomatic complexity of 24. 40854136
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 4087
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4090
LawOfDemeter Potential violation of Law of Demeter (static property access) 4090
LawOfDemeter Potential violation of Law of Demeter (static property access) 4092
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4092
LawOfDemeter Potential violation of Law of Demeter (static property access) 4094
LawOfDemeter Potential violation of Law of Demeter (static property access) 4096
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4098
LawOfDemeter Potential violation of Law of Demeter (static property access) 4098
LawOfDemeter Potential violation of Law of Demeter (static property access) 4100
LawOfDemeter Potential violation of Law of Demeter (static property access) 4102
LawOfDemeter Potential violation of Law of Demeter (static property access) 4104
LawOfDemeter Potential violation of Law of Demeter (static property access) 4106
LawOfDemeter Potential violation of Law of Demeter (static property access) 4108
LawOfDemeter Potential violation of Law of Demeter (static property access) 4110
LawOfDemeter Potential violation of Law of Demeter (static property access) 4112
LawOfDemeter Potential violation of Law of Demeter (static property access) 4116
LawOfDemeter Potential violation of Law of Demeter (static property access) 4118
LawOfDemeter Potential violation of Law of Demeter (static property access) 4120
LawOfDemeter Potential violation of Law of Demeter (static property access) 4122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4124
LawOfDemeter Potential violation of Law of Demeter (static property access) 4124
LawOfDemeter Potential violation of Law of Demeter (static property access) 4126
LawOfDemeter Potential violation of Law of Demeter (static property access) 4128
LawOfDemeter Potential violation of Law of Demeter (static property access) 4130
LawOfDemeter Potential violation of Law of Demeter (static property access) 4132
LawOfDemeter Potential violation of Law of Demeter (static property access) 4148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4149
LawOfDemeter Potential violation of Law of Demeter (static property access) 4149
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 4152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4183
AvoidDuplicateLiterals The String literal ": {}" appears 5 times in this file; the first occurrence is on line 4 192 4192
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 41934194
LawOfDemeter Potential violation of Law of Demeter (static property access) 4216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4220
LawOfDemeter Potential violation of Law of Demeter (static property access) 4221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 42214222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4222
AvoidDuplicateLiterals The String literal "Running" appears 4 times in this file; the first occurrence is on line 4 224 4224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 42384241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 42384241
CyclomaticComplexity The method 'writeXMLWriter(DbPreparedStatement, String)' has a cyclomatic complexity of 16. 42574320
CognitiveComplexity The method 'writeXMLWriter(DbPreparedStatement, String)' has a cognitive complexity of 21, current threshold is 15 42574320
CloseResource Ensure that resources like this OutputStream object are closed after use 4262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4268
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 4275
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 4278
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 42924293
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 43014302
LawOfDemeter Potential violation of Law of Demeter (static property access) 4354
LawOfDemeter Potential violation of Law of Demeter (static property access) 4355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4365
LawOfDemeter Potential violation of Law of Demeter (static property access) 4374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4375
LawOfDemeter Potential violation of Law of Demeter (static property access) 4375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4376
LawOfDemeter Potential violation of Law of Demeter (static property access) 4376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 43774378
LawOfDemeter Potential violation of Law of Demeter (static property access) 4377
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4385
ExcessiveMethodLength Avoid really long methods. 43964497
NcssCount The method 'setFromJson(String, JsonNode)' has a NCSS line count of 91. 43964497
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 31. 43964497
CognitiveComplexity The method 'setFromJson(String, JsonNode)' has a cognitive complexity of 28, current threshold is 15 43964497
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4403
LawOfDemeter Potential violation of Law of Demeter (static property access) 4415
LawOfDemeter Potential violation of Law of Demeter (static property access) 4418
LawOfDemeter Potential violation of Law of Demeter (static property access) 4438
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 4462
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 4475
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4479
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 4484
LawOfDemeter Potential violation of Law of Demeter (static property access) 4491
LawOfDemeter Potential violation of Law of Demeter (static property access) 4504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4504
LawOfDemeter Potential violation of Law of Demeter (static property access) 4506
LawOfDemeter Potential violation of Law of Demeter (static property access) 4526
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4526
LawOfDemeter Potential violation of Law of Demeter (static property access) 4527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4531
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 4531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4533
LawOfDemeter Potential violation of Law of Demeter (static property access) 4539
LawOfDemeter Potential violation of Law of Demeter (static property access) 4541
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 4543
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 4567
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4570
LawOfDemeter Potential violation of Law of Demeter (static property access) 4571
LawOfDemeter Potential violation of Law of Demeter (static property access) 4571
CyclomaticComplexity The method 'loadXml(File)' has a cyclomatic complexity of 10. 46074641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4621
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 4625
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4728

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelFactoryR66.java

Rule Violation Line
CyclomaticComplexity The class 'DbModelFactoryR66' has a total cyclomatic complexity of 101 (highest 21). 53786
GodClass Possible God Class (WMC=101, ATFD=154, TCC=0.000%) 53786
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 7173
ExcessiveMethodLength Avoid really long methods. 101203
CyclomaticComplexity The method 'needUpgradeDbAllDb(DbTypeResolver, DbSession, String)' has a cyclomatic complexity of 17. 101203
CognitiveComplexity The method 'needUpgradeDbAllDb(DbTypeResolver, DbSession, String)' has a cognitive complexity of 28, current threshold is 15 101203
NPathComplexity The method 'needUpgradeDbAllDb(DbTypeResolver, DbSession, String)' has an NPath complexity of 6750, current threshold is 200 101203
LawOfDemeter Potential violation of Law of Demeter (static property access) 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
AvoidDuplicateLiterals The String literal " = " appears 4 times in this file; the first occurrence is on line 139 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 145
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 152
LawOfDemeter Potential violation of Law of Demeter (static property access) 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 162
LawOfDemeter Potential violation of Law of Demeter (static property access) 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 194
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 197
NPathComplexity The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has an NPath complexity of 147456, current threshold is 200 205337
ExcessiveMethodLength Avoid really long methods. 205337
CognitiveComplexity The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has a cognitive complexity of 19, current threshold is 15 205337
NcssCount The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has a NCSS line count of 68. 205337
CyclomaticComplexity The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has a cyclomatic complexity of 19. 205337
LawOfDemeter Potential violation of Law of Demeter (static property access) 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 222
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 256
LawOfDemeter Potential violation of Law of Demeter (static property access) 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 297
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 58 characters appended. 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 344345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 361
LawOfDemeter Potential violation of Law of Demeter (static property access) 372
LawOfDemeter Potential violation of Law of Demeter (static property access) 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 392
LawOfDemeter Potential violation of Law of Demeter (static property access) 401
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 409
ExcessiveMethodLength Avoid really long methods. 415551
NPathComplexity The method 'createIndex30(DbTypeResolver, DbRequest)' has an NPath complexity of 72576, current threshold is 200 415551
CyclomaticComplexity The method 'createIndex30(DbTypeResolver, DbRequest)' has a cyclomatic complexity of 21. 415551
NcssCount The method 'createIndex30(DbTypeResolver, DbRequest)' has a NCSS line count of 85. 415551
CognitiveComplexity The method 'createIndex30(DbTypeResolver, DbRequest)' has a cognitive complexity of 24, current threshold is 15 415551
LawOfDemeter Potential violation of Law of Demeter (static property access) 433
LawOfDemeter Potential violation of Law of Demeter (static property access) 437
LawOfDemeter Potential violation of Law of Demeter (static property access) 440
LawOfDemeter Potential violation of Law of Demeter (static property access) 455
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 462
LawOfDemeter Potential violation of Law of Demeter (static property access) 476
LawOfDemeter Potential violation of Law of Demeter (static property access) 480
LawOfDemeter Potential violation of Law of Demeter (static property access) 483
LawOfDemeter Potential violation of Law of Demeter (static property access) 497
LawOfDemeter Potential violation of Law of Demeter (static property access) 501
LawOfDemeter Potential violation of Law of Demeter (static property access) 504
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 511512
LawOfDemeter Potential violation of Law of Demeter (static property access) 518
LawOfDemeter Potential violation of Law of Demeter (static property access) 522
LawOfDemeter Potential violation of Law of Demeter (static property access) 525
LawOfDemeter Potential violation of Law of Demeter (static property access) 532
LawOfDemeter Potential violation of Law of Demeter (static property access) 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 540
LawOfDemeter Potential violation of Law of Demeter (static property access) 540
LawOfDemeter Potential violation of Law of Demeter (static property access) 541
LawOfDemeter Potential violation of Law of Demeter (static property access) 544
LawOfDemeter Potential violation of Law of Demeter (static property access) 547
LawOfDemeter Potential violation of Law of Demeter (static property access) 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 570
AvoidDuplicateLiterals The String literal " NOT NULL " appears 5 times in this file; the first occurrence is on line 584 584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 603
LawOfDemeter Potential violation of Law of Demeter (static property access) 608
LawOfDemeter Potential violation of Law of Demeter (static property access) 611
LawOfDemeter Potential violation of Law of Demeter (static property access) 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 633
LawOfDemeter Potential violation of Law of Demeter (static property access) 639
LawOfDemeter Potential violation of Law of Demeter (static property access) 640
CognitiveComplexity The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has a cognitive complexity of 26, current threshold is 15 643785
CyclomaticComplexity The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has a cyclomatic complexity of 17. 643785
ExcessiveMethodLength Avoid really long methods. 643785
NcssCount The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has a NCSS line count of 72. 643785
NPathComplexity The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has an NPath complexity of 18000, current threshold is 200 643785
LawOfDemeter Potential violation of Law of Demeter (static property access) 648
LawOfDemeter Potential violation of Law of Demeter (static property access) 652
LawOfDemeter Potential violation of Law of Demeter (static property access) 653654
LawOfDemeter Potential violation of Law of Demeter (static property access) 654
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 654 654
LawOfDemeter Potential violation of Law of Demeter (static property access) 663
LawOfDemeter Potential violation of Law of Demeter (static property access) 673
LawOfDemeter Potential violation of Law of Demeter (static property access) 679
LawOfDemeter Potential violation of Law of Demeter (static property access) 680681
LawOfDemeter Potential violation of Law of Demeter (static property access) 681
LawOfDemeter Potential violation of Law of Demeter (static property access) 685
LawOfDemeter Potential violation of Law of Demeter (static property access) 687
LawOfDemeter Potential violation of Law of Demeter (static property access) 690
LawOfDemeter Potential violation of Law of Demeter (static property access) 697
LawOfDemeter Potential violation of Law of Demeter (static property access) 698699
LawOfDemeter Potential violation of Law of Demeter (static property access) 699
LawOfDemeter Potential violation of Law of Demeter (static property access) 703
LawOfDemeter Potential violation of Law of Demeter (static property access) 705
LawOfDemeter Potential violation of Law of Demeter (static property access) 708
LawOfDemeter Potential violation of Law of Demeter (static property access) 711
LawOfDemeter Potential violation of Law of Demeter (static property access) 718
LawOfDemeter Potential violation of Law of Demeter (static property access) 720
LawOfDemeter Potential violation of Law of Demeter (static property access) 723
LawOfDemeter Potential violation of Law of Demeter (static property access) 726
LawOfDemeter Potential violation of Law of Demeter (static property access) 733
LawOfDemeter Potential violation of Law of Demeter (static property access) 734735
LawOfDemeter Potential violation of Law of Demeter (static property access) 735
LawOfDemeter Potential violation of Law of Demeter (static property access) 737
LawOfDemeter Potential violation of Law of Demeter (static property access) 739
LawOfDemeter Potential violation of Law of Demeter (static property access) 745
LawOfDemeter Potential violation of Law of Demeter (static property access) 747
LawOfDemeter Potential violation of Law of Demeter (static property access) 754
LawOfDemeter Potential violation of Law of Demeter (static property access) 755756
LawOfDemeter Potential violation of Law of Demeter (static property access) 756
LawOfDemeter Potential violation of Law of Demeter (static property access) 768
LawOfDemeter Potential violation of Law of Demeter (static property access) 771
LawOfDemeter Potential violation of Law of Demeter (static property access) 774
LawOfDemeter Potential violation of Law of Demeter (static property access) 782
LawOfDemeter Potential violation of Law of Demeter (static property access) 783

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelH2R66.java

Rule Violation Line
AvoidDuplicateLiterals The String literal " NOT NULL " appears 5 times in this file; the first occurrence is on line 62 62
LawOfDemeter Potential violation of Law of Demeter (static property access) 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 90
LawOfDemeter Potential violation of Law of Demeter (static property access) 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 106
NPathComplexity The method 'upgradeDb(DbSession, String)' has an NPath complexity of 28000, current threshold is 200 110268
CyclomaticComplexity The method 'upgradeDb(DbSession, String)' has a cyclomatic complexity of 16. 110268
CognitiveComplexity The method 'upgradeDb(DbSession, String)' has a cognitive complexity of 24, current threshold is 15 110268
ExcessiveMethodLength Avoid really long methods. 110268
NcssCount The method 'upgradeDb(DbSession, String)' has a NCSS line count of 89. 110268
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 118119
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 119 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 150151
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
AvoidDuplicateLiterals The String literal "ALTER TABLE " appears 5 times in this file; the first occurrence is on line 153 153
LawOfDemeter Potential violation of Law of Demeter (static property access) 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
AvoidDuplicateLiterals The String literal "Command: " appears 6 times in this file; the first occurrence is on line 160 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 171172
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 197
LawOfDemeter Potential violation of Law of Demeter (static property access) 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 208209
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 217
LawOfDemeter Potential violation of Law of Demeter (static property access) 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 242243
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 266

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelOracleR66.java

Rule Violation Line
CognitiveComplexity The method 'createTables(DbSession)' has a cognitive complexity of 25, current threshold is 15 63275
CyclomaticComplexity The method 'createTables(DbSession)' has a cyclomatic complexity of 25. 63275
NPathComplexity The method 'createTables(DbSession)' has an NPath complexity of 18874368, current threshold is 200 63275
NcssCount The method 'createTables(DbSession)' has a NCSS line count of 125. 63275
ExcessiveMethodLength Avoid really long methods. 63275
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 22 characters appended. 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 76
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 8284
LawOfDemeter Potential violation of Law of Demeter (static property access) 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 119121
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 132
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 20 characters appended. 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 147149
LawOfDemeter Potential violation of Law of Demeter (static property access) 152
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 168
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 174176
LawOfDemeter Potential violation of Law of Demeter (static property access) 179
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 194
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 199201
LawOfDemeter Potential violation of Law of Demeter (static property access) 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 47 characters appended. 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 274
NPathComplexity The method 'upgradeDb(DbSession, String)' has an NPath complexity of 11200, current threshold is 200 278421
ExcessiveMethodLength Avoid really long methods. 278421
CyclomaticComplexity The method 'upgradeDb(DbSession, String)' has a cyclomatic complexity of 15. 278421
CognitiveComplexity The method 'upgradeDb(DbSession, String)' has a cognitive complexity of 22, current threshold is 15 278421
NcssCount The method 'upgradeDb(DbSession, String)' has a NCSS line count of 76. 278421
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 286287
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 287 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 297
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 303305
LawOfDemeter Potential violation of Law of Demeter (static property access) 308
LawOfDemeter Potential violation of Law of Demeter (static property access) 313
LawOfDemeter Potential violation of Law of Demeter (static property access) 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 321322
LawOfDemeter Potential violation of Law of Demeter (static property access) 322
AvoidDuplicateLiterals The String literal "ALTER TABLE " appears 4 times in this file; the first occurrence is on line 323 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 324
LawOfDemeter Potential violation of Law of Demeter (static property access) 326
LawOfDemeter Potential violation of Law of Demeter (static property access) 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 339
LawOfDemeter Potential violation of Law of Demeter (static property access) 340341
LawOfDemeter Potential violation of Law of Demeter (static property access) 341
LawOfDemeter Potential violation of Law of Demeter (static property access) 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 351
LawOfDemeter Potential violation of Law of Demeter (static property access) 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 358
LawOfDemeter Potential violation of Law of Demeter (static property access) 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 371
LawOfDemeter Potential violation of Law of Demeter (static property access) 372373
LawOfDemeter Potential violation of Law of Demeter (static property access) 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 376
LawOfDemeter Potential violation of Law of Demeter (static property access) 377
LawOfDemeter Potential violation of Law of Demeter (static property access) 378
LawOfDemeter Potential violation of Law of Demeter (static property access) 380
LawOfDemeter Potential violation of Law of Demeter (static property access) 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 387
LawOfDemeter Potential violation of Law of Demeter (static property access) 394
LawOfDemeter Potential violation of Law of Demeter (static property access) 395396
LawOfDemeter Potential violation of Law of Demeter (static property access) 396
LawOfDemeter Potential violation of Law of Demeter (static property access) 404
LawOfDemeter Potential violation of Law of Demeter (static property access) 407
LawOfDemeter Potential violation of Law of Demeter (static property access) 410
LawOfDemeter Potential violation of Law of Demeter (static property access) 418
LawOfDemeter Potential violation of Law of Demeter (static property access) 419

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelPostgresqlR66.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 67
LawOfDemeter Potential violation of Law of Demeter (static property access) 69
LawOfDemeter Potential violation of Law of Demeter (static property access) 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
NPathComplexity The method 'upgradeDb(DbSession, String)' has an NPath complexity of 22400, current threshold is 200 121275
NcssCount The method 'upgradeDb(DbSession, String)' has a NCSS line count of 80. 121275
CognitiveComplexity The method 'upgradeDb(DbSession, String)' has a cognitive complexity of 23, current threshold is 15 121275
ExcessiveMethodLength Avoid really long methods. 121275
CyclomaticComplexity The method 'upgradeDb(DbSession, String)' has a cyclomatic complexity of 16. 121275
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 136137
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 137 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 168169
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
AvoidDuplicateLiterals The String literal "ALTER TABLE " appears 4 times in this file; the first occurrence is on line 171 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 188
LawOfDemeter Potential violation of Law of Demeter (static property access) 189190
LawOfDemeter Potential violation of Law of Demeter (static property access) 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 193
LawOfDemeter Potential violation of Law of Demeter (static property access) 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 201
LawOfDemeter Potential violation of Law of Demeter (static property access) 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 224225
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
AvoidDuplicateLiterals The String literal " ALTER COLUMN " appears 5 times in this file; the first occurrence is on line 227 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 230
LawOfDemeter Potential violation of Law of Demeter (static property access) 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 249250
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 258
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 273

Waarp OpenR66 - org/waarp/openr66/pojo/Business.java

Rule Violation Line
DataClass The class 'Business' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=12, WMC=16) 34133
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 40

Waarp OpenR66 - org/waarp/openr66/pojo/Host.java

Rule Violation Line
DataClass The class 'Host' is suspected to be a Data Class (WOC=10.714%, NOPA=0, NOAM=20, WMC=28) 43224
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
ExcessiveParameterList Avoid long parameter lists. 9093
ArrayIsStoredDirectly The user-supplied array 'hostkey' is stored directly. 100
MethodReturnsInternalArray Returning 'hostkey' may expose an internal array. 160
ArrayIsStoredDirectly The user-supplied array 'hostkey' is stored directly. 173

Waarp OpenR66 - org/waarp/openr66/pojo/Limit.java

Rule Violation Line
DataClass The class 'Limit' is suspected to be a Data Class (WOC=5.263%, NOPA=0, NOAM=14, WMC=19) 34151

Waarp OpenR66 - org/waarp/openr66/pojo/MultipleMonitor.java

Rule Violation Line
DataClass The class 'MultipleMonitor' is suspected to be a Data Class (WOC=9.091%, NOPA=0, NOAM=8, WMC=11) 3396

Waarp OpenR66 - org/waarp/openr66/pojo/Rule.java

Rule Violation Line
GodClass Possible God Class (WMC=56, ATFD=6, TCC=5.960%) 57420
ExcessiveParameterList Avoid long parameter lists. 170176
ExcessiveParameterList Avoid long parameter lists. 183188
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 25, but has at least 36 characters appended. 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 314

Waarp OpenR66 - org/waarp/openr66/pojo/RuleTask.java

Rule Violation Line
DataClass The class 'RuleTask' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=6, WMC=10) 3693
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 60
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 61

Waarp OpenR66 - org/waarp/openr66/pojo/Transfer.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 21543
TooManyFields Too many fields 53543
UnusedPrivateField Avoid unused private fields such as 'logger'. 57
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
ExcessiveParameterList Avoid long parameter lists. 232242
ExcessiveParameterList Avoid long parameter lists. 275284

Waarp OpenR66 - org/waarp/openr66/pojo/UpdatedInfo.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 90

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Configuration.java

Rule Violation Line
CouplingBetweenObjects High amount of different objects as members denotes a high coupling 202932
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 202932
ExcessivePublicCount This class has a bunch of public methods and attributes 202932
TooManyMethods This class has too many methods, consider refactoring it. 1192932
CyclomaticComplexity The class 'Configuration' has a total cyclomatic complexity of 348 (highest 15). 1192932
ExcessiveClassLength Avoid really long classes. 1192932
TooManyFields Too many fields 1192932
GodClass Possible God Class (WMC=348, ATFD=97, TCC=0.909%) 1192932
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 132
MutableStaticState Do not use non-final non-private static fields 132
LooseCoupling Avoid using implementation types like 'HashSet'; use the interface instead 204
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 208
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 213
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 217
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 240
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 307
RedundantFieldInitializer Avoid using redundant field initializer for 'serverAddresses' 307
RedundantFieldInitializer Avoid using redundant field initializer for 'serverSslAddresses' 312
RedundantFieldInitializer Avoid using redundant field initializer for 'serverHttpAddresses' 317
RedundantFieldInitializer Avoid using redundant field initializer for 'serverHttpsAddresses' 322
AvoidFieldNameMatchingMethodName Field isShutdown has the same name as a method 392
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 392
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 457
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 463
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 467
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 471
AvoidFieldNameMatchingMethodName Field isServer has the same name as a method 476
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 476
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 481
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 481
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 484
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 484
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 485
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 485
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 486
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 486
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 487
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 487
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 488
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 488
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 489
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 489
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 494
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 494
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 499
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 504
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 508
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 512
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 517
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 521
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 526
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 531
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 534
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 538
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 543
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 547
AvoidFieldNameMatchingMethodName Field isExecuteErrorBeforeTransferAllowed has the same name as a method 618
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 618
AvoidFieldNameMatchingMethodName Field isHostProxyfied has the same name as a method 623
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 623
RedundantFieldInitializer Avoid using redundant field initializer for 'transferGuid' 627
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 637
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 637
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterTransfers' 637
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 639
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 640
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterUrl' 640
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterEndPoint' 641
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 641
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 642
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 643
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterKeepConnection' 643
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 644
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorTransformLongAsString' 645
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 645
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 646
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorBasicAuthent' 646
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorUsername' 647
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 647
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorPwd' 648
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 648
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorToken' 649
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 649
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorApiKey' 650
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 650
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 651
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorPrefix' 651
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorIndex' 652
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 652
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 653
RedundantFieldInitializer Avoid using redundant field initializer for 'compressionAvailable' 655
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 663
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 666
CyclomaticComplexity The constructor 'Configuration()' has a cyclomatic complexity of 10. 669743
NPathComplexity The constructor 'Configuration()' has an NPath complexity of 384, current threshold is 200 669743
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 673
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 676
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 727
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 733
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 750
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 752
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 764766
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 768
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 788
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 806
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 806
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 808
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 808
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 810
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 810
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 812
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 812
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 819
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 820
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 821
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 821
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 823
LawOfDemeter Potential violation of Law of Demeter (static property access) 827
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 828
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 831
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 833
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 833
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 839
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 842
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 843
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 859
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 875
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 875
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 893
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 939
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 940
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 973
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 990
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1006
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1021
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1097
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1121
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1134
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1138
CyclomaticComplexity The method 'shutdownGracefully()' has a cyclomatic complexity of 15. 11421172
CognitiveComplexity The method 'shutdownGracefully()' has a cognitive complexity of 21, current threshold is 15 11421172
NPathComplexity The method 'shutdownGracefully()' has an NPath complexity of 1215, current threshold is 200 11421172
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1144
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1147
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1150
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1156
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1160
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1164
LawOfDemeter Potential violation of Law of Demeter (static property access) 1167
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1169
NPathComplexity The method 'shutdownQuickly()' has an NPath complexity of 729, current threshold is 200 11741193
CyclomaticComplexity The method 'shutdownQuickly()' has a cyclomatic complexity of 13. 11741193
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1176
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1179
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1182
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1185
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1188
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1191
NPathComplexity The method 'serverStop()' has an NPath complexity of 216, current threshold is 200 12001235
CyclomaticComplexity The method 'serverStop()' has a cyclomatic complexity of 10. 12001235
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1206
LawOfDemeter Potential violation of Law of Demeter (static property access) 1214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1222
CollapsibleIfStatements These nested if statements could be combined 12271229
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1228
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1257
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1273
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1306
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1308
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1318
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1332
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1394
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1396
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1413
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1456
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1463
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1470
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1477
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1484
MethodReturnsInternalArray Returning 'serverAdminKey' may expose an internal array. 1506
ArrayIsStoredDirectly The user-supplied array 'serverkey' is stored directly. 1526
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1571
LawOfDemeter Potential violation of Law of Demeter (static property access) 1579
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1580
AvoidDuplicateLiterals The String literal " : {}" appears 5 times in this file; the first occurrence is on line 1 581 1581
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1584
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1585
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1589
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1590
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1594
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1595
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1599
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1600
MethodReturnsInternalArray Returning 'serverAddresses' may expose an internal array. 1931
ArrayIsStoredDirectly The user-supplied array 'serverAddresses' is stored directly. 1937
MethodReturnsInternalArray Returning 'serverSslAddresses' may expose an internal array. 1945
ArrayIsStoredDirectly The user-supplied array 'serverSSLAddresses' is stored directly. 1951
MethodReturnsInternalArray Returning 'serverHttpAddresses' may expose an internal array. 1959
ArrayIsStoredDirectly The user-supplied array 'serverHTTPAddresses' is stored directly. 1965
MethodReturnsInternalArray Returning 'serverHttpsAddresses' may expose an internal array. 1973
ArrayIsStoredDirectly The user-supplied array 'serverHTTPSAddresses' is stored directly. 1980
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 27922800
ExcessiveParameterList Avoid long parameter lists. 28522862
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 28522862
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 2877
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 2893
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 2903
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2928

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Messages.java

Rule Violation Line
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 4650

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/PartnerConfiguration.java

Rule Violation Line
GodClass Possible God Class (WMC=50, ATFD=11, TCC=8.571%) 35471
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
AvoidFieldNameMatchingMethodName Field useJson has the same name as a method 82
AvoidFieldNameMatchingMethodName Field changeFileInfoEnabled has the same name as a method 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
AvoidFieldNameMatchingMethodName Field supportReuseAuthentication has the same name as a method 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
CyclomaticComplexity The constructor 'PartnerConfiguration(String, String)' has a cyclomatic complexity of 12. 95163
CognitiveComplexity The constructor 'PartnerConfiguration(String, String)' has a cognitive complexity of 16, current threshold is 15 95163
NPathComplexity The constructor 'PartnerConfiguration(String, String)' has an NPath complexity of 1024, current threshold is 200 95163
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 309
LawOfDemeter Potential violation of Law of Demeter (static property access) 318
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 330
AvoidDuplicateLiterals The String literal "\\." appears 4 times in this file; the first occurrence is on line 354 354
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 382
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 434
LawOfDemeter Potential violation of Law of Demeter (static property access) 449
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 449
LawOfDemeter Potential violation of Law of Demeter (static property access) 450451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 450451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 450451
LawOfDemeter Potential violation of Law of Demeter (static property access) 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 454
LawOfDemeter Potential violation of Law of Demeter (static property access) 454
LawOfDemeter Potential violation of Law of Demeter (static property access) 455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 455

Waarp OpenR66 - org/waarp/openr66/protocol/exception/OpenR66ExceptionTrappedFactory.java

Rule Violation Line
NcssCount The method 'getExceptionFromTrappedException(Channel, Throwable)' has a NCSS line count of 122. 59202
CyclomaticComplexity The method 'getExceptionFromTrappedException(Channel, Throwable)' has a cyclomatic complexity of 27. 59202
ExcessiveMethodLength Avoid really long methods. 59202
CognitiveComplexity The method 'getExceptionFromTrappedException(Channel, Throwable)' has a cognitive complexity of 89, current threshold is 15 59202
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 185186
LawOfDemeter Potential violation of Law of Demeter (static property access) 185186
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 196198
LawOfDemeter Potential violation of Law of Demeter (static property access) 196198

Waarp OpenR66 - org/waarp/openr66/protocol/http/HttpFormattedHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20953
CyclomaticComplexity The class 'HttpFormattedHandler' has a total cyclomatic complexity of 96 (highest 42). 86953
TooManyMethods This class has too many methods, consider refactoring it. 87953
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 136
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 162
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 164
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 164 characters appended. 164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 164
AvoidFieldNameMatchingMethodName Field status has the same name as a method 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 168
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 174
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 175
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193194
LawOfDemeter Potential violation of Law of Demeter (static property access) 193194
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 197
LawOfDemeter Potential violation of Law of Demeter (static property access) 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200201
LawOfDemeter Potential violation of Law of Demeter (static property access) 200201
LawOfDemeter Potential violation of Law of Demeter (static property access) 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 215
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 216
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 219
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 220
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 1379700, current threshold is 200 226390
NcssCount The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a NCSS line count of 132. 226390
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 42. 226390
ExcessiveMethodLength Avoid really long methods. 226390
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cognitive complexity of 64, current threshold is 15 226390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 261
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 261
CompareObjectsWithEquals Use equals() to compare object references. 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 271
CompareObjectsWithEquals Use equals() to compare object references. 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 273
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 285286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 321
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 341
ImplicitSwitchFallThrough A switch statement does not contain a break 344387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 377
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 377
LawOfDemeter Potential violation of Law of Demeter (static property access) 386
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 403404
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 414415
LawOfDemeter Potential violation of Law of Demeter (static property access) 414415
LawOfDemeter Potential violation of Law of Demeter (static property access) 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 442
LawOfDemeter Potential violation of Law of Demeter (static property access) 446
LawOfDemeter Potential violation of Law of Demeter (static property access) 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 457
LawOfDemeter Potential violation of Law of Demeter (static property access) 464
LawOfDemeter Potential violation of Law of Demeter (static property access) 470
LawOfDemeter Potential violation of Law of Demeter (static property access) 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 483
LawOfDemeter Potential violation of Law of Demeter (static property access) 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 494
LawOfDemeter Potential violation of Law of Demeter (static property access) 499
LawOfDemeter Potential violation of Law of Demeter (static property access) 505
LawOfDemeter Potential violation of Law of Demeter (static property access) 510
LawOfDemeter Potential violation of Law of Demeter (static property access) 516
LawOfDemeter Potential violation of Law of Demeter (static property access) 521
LawOfDemeter Potential violation of Law of Demeter (static property access) 528
LawOfDemeter Potential violation of Law of Demeter (static property access) 538
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 543
LawOfDemeter Potential violation of Law of Demeter (static property access) 547
LawOfDemeter Potential violation of Law of Demeter (static property access) 554
LawOfDemeter Potential violation of Law of Demeter (static property access) 560
LawOfDemeter Potential violation of Law of Demeter (static property access) 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 573
LawOfDemeter Potential violation of Law of Demeter (static property access) 580
LawOfDemeter Potential violation of Law of Demeter (static property access) 588
LawOfDemeter Potential violation of Law of Demeter (static property access) 598
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 603
LawOfDemeter Potential violation of Law of Demeter (static property access) 607
LawOfDemeter Potential violation of Law of Demeter (static property access) 621
LawOfDemeter Potential violation of Law of Demeter (static property access) 631
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 636
LawOfDemeter Potential violation of Law of Demeter (static property access) 652
LawOfDemeter Potential violation of Law of Demeter (static property access) 661
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 667
LawOfDemeter Potential violation of Law of Demeter (static property access) 671
LawOfDemeter Potential violation of Law of Demeter (static property access) 686
LawOfDemeter Potential violation of Law of Demeter (static property access) 701
CompareObjectsWithEquals Use equals() to compare object references. 718
LawOfDemeter Potential violation of Law of Demeter (static property access) 721
LawOfDemeter Potential violation of Law of Demeter (static property access) 732
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 732
LawOfDemeter Potential violation of Law of Demeter (static property access) 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 745
LawOfDemeter Potential violation of Law of Demeter (static property access) 745
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 747
LawOfDemeter Potential violation of Law of Demeter (static property access) 747
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 16 consecutive times with literals. Use a single append with a single combined String. 752753
LawOfDemeter Potential violation of Law of Demeter (static property access) 752
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 799
LawOfDemeter Potential violation of Law of Demeter (static property access) 804
NPathComplexity The method 'writeResponse(ChannelHandlerContext)' has an NPath complexity of 360, current threshold is 200 812881
CognitiveComplexity The method 'writeResponse(ChannelHandlerContext)' has a cognitive complexity of 23, current threshold is 15 812881
CyclomaticComplexity The method 'writeResponse(ChannelHandlerContext)' has a cyclomatic complexity of 12. 812881
LawOfDemeter Potential violation of Law of Demeter (static property access) 819820
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 820
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 825826
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 826
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 828
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 830
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 832
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 835836
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 841842
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 845
LawOfDemeter Potential violation of Law of Demeter (static property access) 847
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 849
LiteralsFirstInComparisons Position literals first in String comparisons 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 855856
LawOfDemeter Potential violation of Law of Demeter (static property access) 856
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 858859
LawOfDemeter Potential violation of Law of Demeter (static property access) 859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 864865
LawOfDemeter Potential violation of Law of Demeter (static property access) 865
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 870871
LawOfDemeter Potential violation of Law of Demeter (static property access) 871
LawOfDemeter Potential violation of Law of Demeter (static property access) 892
LawOfDemeter Potential violation of Law of Demeter (static property access) 894
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 899900
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 900
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 901
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 904
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 921
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 937938
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 937938
LawOfDemeter Potential violation of Law of Demeter (static property access) 938
LawOfDemeter Potential violation of Law of Demeter (static property access) 941

Waarp OpenR66 - org/waarp/openr66/protocol/http/HttpInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 46

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpReponsiveSslInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 49
LawOfDemeter Potential violation of Law of Demeter (static property access) 53

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpResponsiveSslHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 202304
TooManyMethods This class has too many methods, consider refactoring it. 982304
ExcessiveClassLength Avoid really long classes. 982304
CyclomaticComplexity The class 'HttpResponsiveSslHandler' has a total cyclomatic complexity of 379 (highest 52). 982304
LawOfDemeter Potential violation of Law of Demeter (static property access) 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 168
LawOfDemeter Potential violation of Law of Demeter (static property access) 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 196
ExcessiveParameterList Avoid long parameter lists. 199209
AvoidDuplicateLiterals The String literal "ErrorCode.17" appears 7 times in this file; the first occurrence is on line 228 228
AvoidDuplicateLiterals The String literal "<BR/>" appears 7 times in this file; the first occurrence is on line 228 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 252
CyclomaticComplexity The method 'getFilter(String, String, boolean)' has a cyclomatic complexity of 21. 255300
NPathComplexity The method 'getFilter(String, String, boolean)' has an NPath complexity of 9216, current threshold is 200 255300
AddEmptyString Do not add empty strings 260
AddEmptyString Do not add empty strings 263
AvoidDuplicateLiterals The String literal "rule" appears 7 times in this file; the first occurrence is on line 267 267
AvoidDuplicateLiterals The String literal "error" appears 4 times in this file; the first occurrence is on line 276 276
ExcessiveMethodLength Avoid really long methods. 307461
CyclomaticComplexity The method 'cancelRestart()' has a cyclomatic complexity of 29. 307461
NcssCount The method 'cancelRestart()' has a NCSS line count of 91. 307461
CognitiveComplexity The method 'cancelRestart()' has a cognitive complexity of 85, current threshold is 15 307461
NPathComplexity The method 'cancelRestart()' has an NPath complexity of 1012, current threshold is 200 307461
LawOfDemeter Potential violation of Law of Demeter (static property access) 312
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 323
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 324
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 325
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 330
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 331
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 339340
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 339340
AvoidDuplicateLiterals The String literal "<br><b>" appears 6 times in this file; the first occurrence is on line 347 347
AvoidDuplicateLiterals The String literal "HttpSslHandler.3" appears 4 times in this file; the first occurrence is on line 348 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 349350
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 361362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 400
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 402
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 416417
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 424425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 432433
LawOfDemeter Potential violation of Law of Demeter (static property access) 432433
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 438
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 448
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 460
CognitiveComplexity The method 'getHeadSearchCancelRestart(String, String)' has a cognitive complexity of 17, current threshold is 15 463519
LawOfDemeter Potential violation of Law of Demeter (static property access) 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478479
LawOfDemeter Potential violation of Law of Demeter (static property access) 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 492495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 492495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 528
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 528
CyclomaticComplexity The method 'export()' has a cyclomatic complexity of 29. 531657
NPathComplexity The method 'export()' has an NPath complexity of 248832, current threshold is 200 531657
ExcessiveMethodLength Avoid really long methods. 531657
NcssCount The method 'export()' has a NCSS line count of 75. 531657
CognitiveComplexity The method 'export()' has a cognitive complexity of 31, current threshold is 15 531657
LawOfDemeter Potential violation of Law of Demeter (static property access) 533
EmptyCatchBlock Avoid empty catch blocks 579581
LawOfDemeter Potential violation of Law of Demeter (static property access) 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 587
LawOfDemeter Potential violation of Law of Demeter (static property access) 590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 646655
AvoidDuplicateLiterals The String literal "' target='_blank'>" appears 6 times in this file; the first occurrence is on line 648 648
AvoidDuplicateLiterals The String literal "<A href='" appears 6 times in this file; the first occurrence is on line 648 648
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 666
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 673
LawOfDemeter Potential violation of Law of Demeter (static property access) 678
AddEmptyString Do not add empty strings 678
CognitiveComplexity The method 'createTransfer()' has a cognitive complexity of 127, current threshold is 15 690913
ExcessiveMethodLength Avoid really long methods. 690913
CyclomaticComplexity The method 'createTransfer()' has a cyclomatic complexity of 40. 690913
NPathComplexity The method 'createTransfer()' has an NPath complexity of 1714622, current threshold is 200 690913
NcssCount The method 'createTransfer()' has a NCSS line count of 150. 690913
LawOfDemeter Potential violation of Law of Demeter (static property access) 692
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 696697
AvoidDuplicateLiterals The String literal "host" appears 7 times in this file; the first occurrence is on line 703 703
AvoidDuplicateLiterals The String literal "Create" appears 4 times in this file; the first occurrence is on line 714 714
LawOfDemeter Potential violation of Law of Demeter (static property access) 724
LawOfDemeter Potential violation of Law of Demeter (static property access) 728
LawOfDemeter Potential violation of Law of Demeter (static property access) 729
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 735736
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 747748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 756
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 757
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 761762
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 765
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 771
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 780781
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 785
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 786
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 794
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 801
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 810811
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 812
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 818819
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 821
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 827
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 842843
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 857858
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 865
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 871
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 877
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 882
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 897898
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 905906
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 912
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 912
NcssCount The method 'hosts()' has a NCSS line count of 188. 9371203
ExcessiveMethodLength Avoid really long methods. 9371203
NPathComplexity The method 'hosts()' has an NPath complexity of 504, current threshold is 200 9371203
CyclomaticComplexity The method 'hosts()' has a cyclomatic complexity of 36. 9371203
CognitiveComplexity The method 'hosts()' has a cognitive complexity of 109, current threshold is 15 9371203
LawOfDemeter Potential violation of Law of Demeter (static property access) 939
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 944945
AvoidUsingHardCodedIP Do not hard code the IP address 972
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 978979
UnusedAssignment The initializer for variable 'iport' is never used (overwritten on line 983) 981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 990991
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 996
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 998
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 999
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1000
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 10071008
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1011
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 10421043
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 10551056
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1061
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1063
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1064
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1065
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1066
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1068
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 10761077
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1080
AvoidDuplicateLiterals The String literal "HttpSslHandler.17" appears 4 times in this file; the first occurrence is on line 1 085 1085
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 10891090
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11011102
LawOfDemeter Potential violation of Law of Demeter (static property access) 11071108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11071108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11301131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11421143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11641165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11761177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11881189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11961197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1202
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 1205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1246
CyclomaticComplexity The method 'rules()' has a cyclomatic complexity of 52. 12491519
NcssCount The method 'rules()' has a NCSS line count of 194. 12491519
CognitiveComplexity The method 'rules()' has a cognitive complexity of 139, current threshold is 15 12491519
NPathComplexity The method 'rules()' has an NPath complexity of 1575796, current threshold is 200 12491519
ExcessiveMethodLength Avoid really long methods. 12491519
LawOfDemeter Potential violation of Law of Demeter (static property access) 1251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12591260
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1265
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12851286
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1336
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13451346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1348
LawOfDemeter Potential violation of Law of Demeter (static property access) 1372
LawOfDemeter Potential violation of Law of Demeter (static property access) 1380
LawOfDemeter Potential violation of Law of Demeter (static property access) 1388
LawOfDemeter Potential violation of Law of Demeter (static property access) 1396
LawOfDemeter Potential violation of Law of Demeter (static property access) 1404
LawOfDemeter Potential violation of Law of Demeter (static property access) 1412
LawOfDemeter Potential violation of Law of Demeter (static property access) 1420
LawOfDemeter Potential violation of Law of Demeter (static property access) 1428
LawOfDemeter Potential violation of Law of Demeter (static property access) 1435
LawOfDemeter Potential violation of Law of Demeter (static property access) 1438
LawOfDemeter Potential violation of Law of Demeter (static property access) 1441
LawOfDemeter Potential violation of Law of Demeter (static property access) 1444
LawOfDemeter Potential violation of Law of Demeter (static property access) 1449
LawOfDemeter Potential violation of Law of Demeter (static property access) 1452
LawOfDemeter Potential violation of Law of Demeter (static property access) 1455
LawOfDemeter Potential violation of Law of Demeter (static property access) 1458
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14811482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14931494
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 15041505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 15121513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1518
CognitiveComplexity The method 'spooled(boolean)' has a cognitive complexity of 24, current threshold is 15 15211588
CyclomaticComplexity The method 'spooled(boolean)' has a cyclomatic complexity of 14. 15211588
NPathComplexity The method 'spooled(boolean)' has an NPath complexity of 960, current threshold is 200 15211588
CompareObjectsWithEquals Use equals() to compare object references. 1523
LawOfDemeter Potential violation of Law of Demeter (static property access) 1526
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 1 540 1540
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1552
AvoidDuplicateLiterals The String literal "&status=" appears 4 times in this file; the first occurrence is on line 1 557 1557
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1564
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1575
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1582
LawOfDemeter Potential violation of Law of Demeter (static property access) 1598
AvoidDuplicateLiterals The String literal "checked" appears 4 times in this file; the first occurrence is on line 1 599 1599
LawOfDemeter Potential violation of Law of Demeter (static property access) 1600
LawOfDemeter Potential violation of Law of Demeter (static property access) 1602
LawOfDemeter Potential violation of Law of Demeter (static property access) 1605
ExcessiveMethodLength Avoid really long methods. 16311869
CognitiveComplexity The method 'system()' has a cognitive complexity of 202, current threshold is 15 16311869
NcssCount The method 'system()' has a NCSS line count of 165. 16311869
CyclomaticComplexity The method 'system()' has a cyclomatic complexity of 40. 16311869
NPathComplexity The method 'system()' has an NPath complexity of 5796, current threshold is 200 16311869
LawOfDemeter Potential violation of Law of Demeter (static property access) 1635
LawOfDemeter Potential violation of Law of Demeter (static property access) 1639
LawOfDemeter Potential violation of Law of Demeter (static property access) 1647
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1661
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1680
LawOfDemeter Potential violation of Law of Demeter (static property access) 1682
LawOfDemeter Potential violation of Law of Demeter (static property access) 1685
LawOfDemeter Potential violation of Law of Demeter (static property access) 1688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1696
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1697
AvoidDuplicateLiterals The String literal "</A> " appears 5 times in this file; the first occurrence is on line 1 699 1699
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1703
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1703
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1710
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1710
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1711
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1717
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1717
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1718
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1724
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1724
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1725
LawOfDemeter Potential violation of Law of Demeter (static property access) 1741
LawOfDemeter Potential violation of Law of Demeter (static property access) 1744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1760
LawOfDemeter Potential violation of Law of Demeter (static property access) 1760
LawOfDemeter Potential violation of Law of Demeter (static property access) 1767
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 17711774
LawOfDemeter Potential violation of Law of Demeter (static property access) 1773
LawOfDemeter Potential violation of Law of Demeter (static property access) 1784
LawOfDemeter Potential violation of Law of Demeter (static property access) 1794
LawOfDemeter Potential violation of Law of Demeter (static property access) 1800
LawOfDemeter Potential violation of Law of Demeter (static property access) 1805
LawOfDemeter Potential violation of Law of Demeter (static property access) 1810
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1813
LawOfDemeter Potential violation of Law of Demeter (static property access) 18171819
LawOfDemeter Potential violation of Law of Demeter (static property access) 18221823
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1824
LawOfDemeter Potential violation of Law of Demeter (static property access) 1824
LawOfDemeter Potential violation of Law of Demeter (static property access) 1825
LawOfDemeter Potential violation of Law of Demeter (static property access) 1827
LawOfDemeter Potential violation of Law of Demeter (static property access) 1831
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1832
LawOfDemeter Potential violation of Law of Demeter (static property access) 1832
LawOfDemeter Potential violation of Law of Demeter (static property access) 1833
LawOfDemeter Potential violation of Law of Demeter (static property access) 1860
NPathComplexity The method 'getParamsResponsive()' has an NPath complexity of 318, current threshold is 200 18711945
CognitiveComplexity The method 'getParamsResponsive()' has a cognitive complexity of 69, current threshold is 15 18711945
CyclomaticComplexity The method 'getParamsResponsive()' has a cyclomatic complexity of 18. 18711945
CompareObjectsWithEquals Use equals() to compare object references. 1872
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1873
CompareObjectsWithEquals Use equals() to compare object references. 1874
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1877
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1878
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 18851886
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1896
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1899
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1906
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1918
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1933
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 1936
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1942
CognitiveComplexity The method 'checkAuthentResponsive(ChannelHandlerContext)' has a cognitive complexity of 55, current threshold is 15 19472058
NcssCount The method 'checkAuthentResponsive(ChannelHandlerContext)' has a NCSS line count of 79. 19472058
CyclomaticComplexity The method 'checkAuthentResponsive(ChannelHandlerContext)' has a cyclomatic complexity of 21. 19472058
ExcessiveMethodLength Avoid really long methods. 19472058
NPathComplexity The method 'checkAuthentResponsive(ChannelHandlerContext)' has an NPath complexity of 1648, current threshold is 200 19472058
CompareObjectsWithEquals Use equals() to compare object references. 1949
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1951
LawOfDemeter Potential violation of Law of Demeter (static property access) 1951
CompareObjectsWithEquals Use equals() to compare object references. 1956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 19601962
LawOfDemeter Potential violation of Law of Demeter (static property access) 1960
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1982
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1994
LawOfDemeter Potential violation of Law of Demeter (static property access) 2007
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2007
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2008
LawOfDemeter Potential violation of Law of Demeter (static property access) 2009
LawOfDemeter Potential violation of Law of Demeter (static property access) 2010
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2010
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2011
LawOfDemeter Potential violation of Law of Demeter (static property access) 2012
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 20132014
LawOfDemeter Potential violation of Law of Demeter (static property access) 2014
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 20182021
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 20202021
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2033
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 20412042
LawOfDemeter Potential violation of Law of Demeter (static property access) 2041
LawOfDemeter Potential violation of Law of Demeter (static property access) 2050
LawOfDemeter Potential violation of Law of Demeter (static property access) 2051
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 31. 20612177
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cognitive complexity of 27, current threshold is 15 20612177
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 3906, current threshold is 200 20612177
ExcessiveMethodLength Avoid really long methods. 20612177
NcssCount The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a NCSS line count of 84. 20612177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2065
LawOfDemeter Potential violation of Law of Demeter (static property access) 2073
LawOfDemeter Potential violation of Law of Demeter (static property access) 2075
LawOfDemeter Potential violation of Law of Demeter (static property access) 2078
LawOfDemeter Potential violation of Law of Demeter (static property access) 2080
LawOfDemeter Potential violation of Law of Demeter (static property access) 2082
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2093
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2097
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2098
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2098
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2180
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2181
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2182
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2183
CognitiveComplexity The method 'invoke()' has a cognitive complexity of 27, current threshold is 15 22012302
ExcessiveMethodLength Avoid really long methods. 22012302
NcssCount The method 'invoke()' has a NCSS line count of 65. 22012302
CyclomaticComplexity The method 'invoke()' has a cyclomatic complexity of 18. 22012302
NPathComplexity The method 'invoke()' has an NPath complexity of 5376, current threshold is 200 22012302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 22642266
LawOfDemeter Potential violation of Law of Demeter (static property access) 22642266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2273
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2283
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2285

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpSslHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 202618
TooManyFields Too many fields 1102618
ExcessiveClassLength Avoid really long classes. 1102618
CyclomaticComplexity The class 'HttpSslHandler' has a total cyclomatic complexity of 440 (highest 72). 1102618
GodClass Possible God Class (WMC=440, ATFD=363, TCC=22.561%) 1102618
NcssCount The class 'HttpSslHandler' has a NCSS line count of 1620 (Highest = 225). 1102618
TooManyMethods This class has too many methods, consider refactoring it. 1112618
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 153
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 156
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 157
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294295
LawOfDemeter Potential violation of Law of Demeter (static property access) 294295
LawOfDemeter Potential violation of Law of Demeter (static property access) 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 306
LawOfDemeter Potential violation of Law of Demeter (static property access) 310
LawOfDemeter Potential violation of Law of Demeter (static property access) 315316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 315316
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 318
LawOfDemeter Potential violation of Law of Demeter (static property access) 319
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 334
LawOfDemeter Potential violation of Law of Demeter (static property access) 336
LawOfDemeter Potential violation of Law of Demeter (static property access) 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 346
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 360
LawOfDemeter Potential violation of Law of Demeter (static property access) 362
LawOfDemeter Potential violation of Law of Demeter (static property access) 363
LawOfDemeter Potential violation of Law of Demeter (static property access) 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 367
LawOfDemeter Potential violation of Law of Demeter (static property access) 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 378
LawOfDemeter Potential violation of Law of Demeter (static property access) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 386
LawOfDemeter Potential violation of Law of Demeter (static property access) 390
ExcessiveParameterList Avoid long parameter lists. 393398
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 416
LawOfDemeter Potential violation of Law of Demeter (static property access) 419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 423
ExcessiveMethodLength Avoid really long methods. 431560
NcssCount The method 'listing0()' has a NCSS line count of 86. 431560
CognitiveComplexity The method 'listing0()' has a cognitive complexity of 75, current threshold is 15 431560
NPathComplexity The method 'listing0()' has an NPath complexity of 552966, current threshold is 200 431560
CyclomaticComplexity The method 'listing0()' has a cyclomatic complexity of 35. 431560
LawOfDemeter Potential violation of Law of Demeter (static property access) 434
LawOfDemeter Potential violation of Law of Demeter (static property access) 438
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 438
LawOfDemeter Potential violation of Law of Demeter (static property access) 441
LawOfDemeter Potential violation of Law of Demeter (static property access) 449
AddEmptyString Do not add empty strings 456
AddEmptyString Do not add empty strings 459
AvoidDuplicateLiterals The String literal "stop" appears 4 times in this file; the first occurrence is on line 462 462
AvoidDuplicateLiterals The String literal "rule" appears 7 times in this file; the first occurrence is on line 463 463
AvoidDuplicateLiterals The String literal "req" appears 4 times in this file; the first occurrence is on line 464 464
AvoidDuplicateLiterals The String literal "all" appears 4 times in this file; the first occurrence is on line 474 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 486
LawOfDemeter Potential violation of Law of Demeter (static property access) 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 499
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 502
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 508
LawOfDemeter Potential violation of Law of Demeter (static property access) 514516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 514516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 517522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 533
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 537
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 542
LawOfDemeter Potential violation of Law of Demeter (static property access) 551
LawOfDemeter Potential violation of Law of Demeter (static property access) 558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 558
ExcessiveMethodLength Avoid really long methods. 562925
CyclomaticComplexity The method 'cancelRestart0()' has a cyclomatic complexity of 72. 562925
NPathComplexity The method 'cancelRestart0()' has an NPath complexity of 562202, current threshold is 200 562925
NcssCount The method 'cancelRestart0()' has a NCSS line count of 225. 562925
CognitiveComplexity The method 'cancelRestart0()' has a cognitive complexity of 196, current threshold is 15 562925
LawOfDemeter Potential violation of Law of Demeter (static property access) 565
LawOfDemeter Potential violation of Law of Demeter (static property access) 570
LawOfDemeter Potential violation of Law of Demeter (static property access) 573
LawOfDemeter Potential violation of Law of Demeter (static property access) 581
AddEmptyString Do not add empty strings 588
AddEmptyString Do not add empty strings 591
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 618
LawOfDemeter Potential violation of Law of Demeter (static property access) 620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 639
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 645647
LawOfDemeter Potential violation of Law of Demeter (static property access) 645647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 648653
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 663
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 667
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 672
LawOfDemeter Potential violation of Law of Demeter (static property access) 677
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 678
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 679
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 680
UnusedLocalVariable Avoid unused local variables such as 'done'. 692
UnusedAssignment The value assigned to variable 'done' is never used 697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 707
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 711
LawOfDemeter Potential violation of Law of Demeter (static property access) 718
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 743
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 744
LawOfDemeter Potential violation of Law of Demeter (static property access) 749751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 749751
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 751
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 754
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 757762
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 770
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 773
LawOfDemeter Potential violation of Law of Demeter (static property access) 781
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 782
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 783
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 784
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 791792
LawOfDemeter Potential violation of Law of Demeter (static property access) 791792
LawOfDemeter Potential violation of Law of Demeter (static property access) 800
LawOfDemeter Potential violation of Law of Demeter (static property access) 804
LawOfDemeter Potential violation of Law of Demeter (static property access) 815
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 816
LawOfDemeter Potential violation of Law of Demeter (static property access) 819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 826
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 828
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 833
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 841
LawOfDemeter Potential violation of Law of Demeter (static property access) 848
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 849852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 853
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 853
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 854
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 854
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 856
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 857
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 858
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 859
LawOfDemeter Potential violation of Law of Demeter (static property access) 861
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 862
LawOfDemeter Potential violation of Law of Demeter (static property access) 877
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 878
LawOfDemeter Potential violation of Law of Demeter (static property access) 881
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 889890
LawOfDemeter Potential violation of Law of Demeter (static property access) 889890
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 893
LawOfDemeter Potential violation of Law of Demeter (static property access) 894
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 911
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 912
LawOfDemeter Potential violation of Law of Demeter (static property access) 923
NcssCount The method 'export0()' has a NCSS line count of 75. 9271052
CyclomaticComplexity The method 'export0()' has a cyclomatic complexity of 28. 9271052
CognitiveComplexity The method 'export0()' has a cognitive complexity of 30, current threshold is 15 9271052
NPathComplexity The method 'export0()' has an NPath complexity of 207360, current threshold is 200 9271052
ExcessiveMethodLength Avoid really long methods. 9271052
LawOfDemeter Potential violation of Law of Demeter (static property access) 930
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 934
LawOfDemeter Potential violation of Law of Demeter (static property access) 936
EmptyCatchBlock Avoid empty catch blocks 976978
LawOfDemeter Potential violation of Law of Demeter (static property access) 982
LawOfDemeter Potential violation of Law of Demeter (static property access) 983
LawOfDemeter Potential violation of Law of Demeter (static property access) 985
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 10421050
ExcessiveMethodLength Avoid really long methods. 10651333
NcssCount The method 'hosts0()' has a NCSS line count of 209. 10651333
CyclomaticComplexity The method 'hosts0()' has a cyclomatic complexity of 37. 10651333
CognitiveComplexity The method 'hosts0()' has a cognitive complexity of 115, current threshold is 15 10651333
LawOfDemeter Potential violation of Law of Demeter (static property access) 1067
LawOfDemeter Potential violation of Law of Demeter (static property access) 1069
LawOfDemeter Potential violation of Law of Demeter (static property access) 1080
AvoidDuplicateLiterals The String literal "host" appears 6 times in this file; the first occurrence is on line 1 083 1083
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1099) 1098
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1108) 1107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1120
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1123) 1122
LawOfDemeter Potential violation of Law of Demeter (static property access) 1130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1131
LawOfDemeter Potential violation of Law of Demeter (static property access) 1139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1161
UnusedAssignment The value assigned to variable 'body1' is never used (overwritten on line 1328) 1165
LawOfDemeter Potential violation of Law of Demeter (static property access) 1165
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1183) 1182
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1192) 1191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1207
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1211) 1210
LawOfDemeter Potential violation of Law of Demeter (static property access) 1218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1219
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1224) 1223
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1233) 1232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12421243
LawOfDemeter Potential violation of Law of Demeter (static property access) 12421243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1248
LawOfDemeter Potential violation of Law of Demeter (static property access) 1249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1254
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1256
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1262) 1261
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1271) 1270
LawOfDemeter Potential violation of Law of Demeter (static property access) 1277
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1284
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1287
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1288
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1294) 1293
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1303) 1302
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1313) 1312
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1321) 1320
LawOfDemeter Potential violation of Law of Demeter (static property access) 1328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1346
CyclomaticComplexity The method 'resetOptionRules(String, String, RequestPacket.TRANSFERMODE, int)' has a cyclomatic complexity of 13. 13621405
NcssCount The method 'rules0()' has a NCSS line count of 210. 14071683
NPathComplexity The method 'rules0()' has an NPath complexity of 421060, current threshold is 200 14071683
CyclomaticComplexity The method 'rules0()' has a cyclomatic complexity of 49. 14071683
CognitiveComplexity The method 'rules0()' has a cognitive complexity of 130, current threshold is 15 14071683
ExcessiveMethodLength Avoid really long methods. 14071683
LawOfDemeter Potential violation of Law of Demeter (static property access) 1409
LawOfDemeter Potential violation of Law of Demeter (static property access) 1411
LawOfDemeter Potential violation of Law of Demeter (static property access) 1422
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1424
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1440) 1439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1491
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1494
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1499) 1498
LawOfDemeter Potential violation of Law of Demeter (static property access) 1505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1506
LawOfDemeter Potential violation of Law of Demeter (static property access) 1520
LawOfDemeter Potential violation of Law of Demeter (static property access) 1529
LawOfDemeter Potential violation of Law of Demeter (static property access) 1538
LawOfDemeter Potential violation of Law of Demeter (static property access) 1547
LawOfDemeter Potential violation of Law of Demeter (static property access) 1556
LawOfDemeter Potential violation of Law of Demeter (static property access) 1565
LawOfDemeter Potential violation of Law of Demeter (static property access) 1574
LawOfDemeter Potential violation of Law of Demeter (static property access) 1583
LawOfDemeter Potential violation of Law of Demeter (static property access) 1592
LawOfDemeter Potential violation of Law of Demeter (static property access) 1600
LawOfDemeter Potential violation of Law of Demeter (static property access) 1604
LawOfDemeter Potential violation of Law of Demeter (static property access) 1608
LawOfDemeter Potential violation of Law of Demeter (static property access) 1612
UnusedAssignment The value assigned to variable 'start' is never used 1614
LawOfDemeter Potential violation of Law of Demeter (static property access) 1618
LawOfDemeter Potential violation of Law of Demeter (static property access) 1622
LawOfDemeter Potential violation of Law of Demeter (static property access) 1626
LawOfDemeter Potential violation of Law of Demeter (static property access) 1630
UnusedAssignment The value assigned to variable 'start' is never used 1632
UnusedAssignment The value assigned to variable 'start' is never used 1636
UnusedAssignment The value assigned to variable 'body1' is never used (overwritten on line 1678) 1640
LawOfDemeter Potential violation of Law of Demeter (static property access) 1640
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1645) 1644
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1654) 1653
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1664) 1663
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1671) 1670
LawOfDemeter Potential violation of Law of Demeter (static property access) 1678
CyclomaticComplexity The method 'spooled0(boolean)' has a cyclomatic complexity of 10. 16851727
LawOfDemeter Potential violation of Law of Demeter (static property access) 1687
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 1 698 1698
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1721
LawOfDemeter Potential violation of Law of Demeter (static property access) 1736
LawOfDemeter Potential violation of Law of Demeter (static property access) 1738
LawOfDemeter Potential violation of Law of Demeter (static property access) 1740
LawOfDemeter Potential violation of Law of Demeter (static property access) 1743
LawOfDemeter Potential violation of Law of Demeter (static property access) 1749
LawOfDemeter Potential violation of Law of Demeter (static property access) 1751
LawOfDemeter Potential violation of Law of Demeter (static property access) 1760
LawOfDemeter Potential violation of Law of Demeter (static property access) 1764
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 17901792
LawOfDemeter Potential violation of Law of Demeter (static property access) 1790
LawOfDemeter Potential violation of Law of Demeter (static property access) 1817
LawOfDemeter Potential violation of Law of Demeter (static property access) 1819
LawOfDemeter Potential violation of Law of Demeter (static property access) 1821
LawOfDemeter Potential violation of Law of Demeter (static property access) 1823
LawOfDemeter Potential violation of Law of Demeter (static property access) 1827
LawOfDemeter Potential violation of Law of Demeter (static property access) 1829
LawOfDemeter Potential violation of Law of Demeter (static property access) 1831
LawOfDemeter Potential violation of Law of Demeter (static property access) 1833
LawOfDemeter Potential violation of Law of Demeter (static property access) 1834
LawOfDemeter Potential violation of Law of Demeter (static property access) 1836
LawOfDemeter Potential violation of Law of Demeter (static property access) 1837
LawOfDemeter Potential violation of Law of Demeter (static property access) 1839
LawOfDemeter Potential violation of Law of Demeter (static property access) 1840
LawOfDemeter Potential violation of Law of Demeter (static property access) 1842
LawOfDemeter Potential violation of Law of Demeter (static property access) 1844
LawOfDemeter Potential violation of Law of Demeter (static property access) 1846
LawOfDemeter Potential violation of Law of Demeter (static property access) 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 1850
LawOfDemeter Potential violation of Law of Demeter (static property access) 1852
LawOfDemeter Potential violation of Law of Demeter (static property access) 1891
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 18911892
CyclomaticComplexity The method 'system0()' has a cyclomatic complexity of 40. 18992116
NPathComplexity The method 'system0()' has an NPath complexity of 5796, current threshold is 200 18992116
ExcessiveMethodLength Avoid really long methods. 18992116
CognitiveComplexity The method 'system0()' has a cognitive complexity of 202, current threshold is 15 18992116
NcssCount The method 'system0()' has a NCSS line count of 154. 18992116
LawOfDemeter Potential violation of Law of Demeter (static property access) 1903
LawOfDemeter Potential violation of Law of Demeter (static property access) 1907
LawOfDemeter Potential violation of Law of Demeter (static property access) 1915
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1928
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1947
LawOfDemeter Potential violation of Law of Demeter (static property access) 1950
LawOfDemeter Potential violation of Law of Demeter (static property access) 1952
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1961
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1965
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1969
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1973
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 1977
LawOfDemeter Potential violation of Law of Demeter (static property access) 1991
LawOfDemeter Potential violation of Law of Demeter (static property access) 1994
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1994
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2010
LawOfDemeter Potential violation of Law of Demeter (static property access) 2010
LawOfDemeter Potential violation of Law of Demeter (static property access) 2017
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 20212024
LawOfDemeter Potential violation of Law of Demeter (static property access) 2023
LawOfDemeter Potential violation of Law of Demeter (static property access) 2034
LawOfDemeter Potential violation of Law of Demeter (static property access) 2044
LawOfDemeter Potential violation of Law of Demeter (static property access) 2050
LawOfDemeter Potential violation of Law of Demeter (static property access) 2055
LawOfDemeter Potential violation of Law of Demeter (static property access) 2060
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2063
LawOfDemeter Potential violation of Law of Demeter (static property access) 20672069
LawOfDemeter Potential violation of Law of Demeter (static property access) 20722073
LawOfDemeter Potential violation of Law of Demeter (static property access) 2074
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2074
LawOfDemeter Potential violation of Law of Demeter (static property access) 2075
LawOfDemeter Potential violation of Law of Demeter (static property access) 2077
LawOfDemeter Potential violation of Law of Demeter (static property access) 2081
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2082
LawOfDemeter Potential violation of Law of Demeter (static property access) 2082
LawOfDemeter Potential violation of Law of Demeter (static property access) 2083
LawOfDemeter Potential violation of Law of Demeter (static property access) 2108
CyclomaticComplexity The method 'getParams()' has a cyclomatic complexity of 12. 21182167
CognitiveComplexity The method 'getParams()' has a cognitive complexity of 36, current threshold is 15 21182167
CompareObjectsWithEquals Use equals() to compare object references. 2119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2120
CompareObjectsWithEquals Use equals() to compare object references. 2121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 21312132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2145
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2155
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 2158
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2164
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2175
NPathComplexity The method 'checkAuthent(ChannelHandlerContext)' has an NPath complexity of 1648, current threshold is 200 21802288
ExcessiveMethodLength Avoid really long methods. 21802288
CyclomaticComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cyclomatic complexity of 21. 21802288
NcssCount The method 'checkAuthent(ChannelHandlerContext)' has a NCSS line count of 76. 21802288
CognitiveComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cognitive complexity of 54, current threshold is 15 21802288
CompareObjectsWithEquals Use equals() to compare object references. 2182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2184
LawOfDemeter Potential violation of Law of Demeter (static property access) 2184
CompareObjectsWithEquals Use equals() to compare object references. 2189
LawOfDemeter Potential violation of Law of Demeter (static property access) 2193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 21932195
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2237
LawOfDemeter Potential violation of Law of Demeter (static property access) 2237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2238
LawOfDemeter Potential violation of Law of Demeter (static property access) 2239
LawOfDemeter Potential violation of Law of Demeter (static property access) 2240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2241
LawOfDemeter Potential violation of Law of Demeter (static property access) 2242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 22432244
LawOfDemeter Potential violation of Law of Demeter (static property access) 2244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 22482251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 22502251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 22712272
LawOfDemeter Potential violation of Law of Demeter (static property access) 2271
LawOfDemeter Potential violation of Law of Demeter (static property access) 2280
LawOfDemeter Potential violation of Law of Demeter (static property access) 2281
NcssCount The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a NCSS line count of 75. 22912390
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 24. 22912390
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cognitive complexity of 23, current threshold is 15 22912390
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 965, current threshold is 200 22912390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2295
LawOfDemeter Potential violation of Law of Demeter (static property access) 2301
LawOfDemeter Potential violation of Law of Demeter (static property access) 2303
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2314
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2318
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2337
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2367
CognitiveComplexity The method 'checkSession(Channel)' has a cognitive complexity of 19, current threshold is 15 23922427
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2393
LawOfDemeter Potential violation of Law of Demeter (static property access) 2395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2396
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 23982399
LawOfDemeter Potential violation of Law of Demeter (static property access) 2399
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2409
LiteralsFirstInComparisons Position literals first in String comparisons 2409
LawOfDemeter Potential violation of Law of Demeter (static property access) 2422
LawOfDemeter Potential violation of Law of Demeter (static property access) 2430
CompareObjectsWithEquals Use equals() to compare object references. 2430
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2434
CognitiveComplexity The method 'handleCookies(HttpResponse)' has a cognitive complexity of 28, current threshold is 15 24372487
CyclomaticComplexity The method 'handleCookies(HttpResponse)' has a cyclomatic complexity of 11. 24372487
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2438
LawOfDemeter Potential violation of Law of Demeter (static property access) 2441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24462447
LawOfDemeter Potential violation of Law of Demeter (static property access) 2447
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24522453
LawOfDemeter Potential violation of Law of Demeter (static property access) 2453
LiteralsFirstInComparisons Position literals first in String comparisons 2455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24582459
LawOfDemeter Potential violation of Law of Demeter (static property access) 2459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24612462
LawOfDemeter Potential violation of Law of Demeter (static property access) 2462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24672468
LawOfDemeter Potential violation of Law of Demeter (static property access) 2468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24722473
LawOfDemeter Potential violation of Law of Demeter (static property access) 2473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24792480
LawOfDemeter Potential violation of Law of Demeter (static property access) 2480
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24832484
LawOfDemeter Potential violation of Law of Demeter (static property access) 2484
LawOfDemeter Potential violation of Law of Demeter (static property access) 25022503
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2503
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 25102511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2512
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 25142515
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 25202521
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 25522553
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2553
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2554
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2575
EmptyIfStmt Avoid empty if statements 25782580
LawOfDemeter Potential violation of Law of Demeter (static property access) 2586
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2586

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpSslInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 52

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/HttpRestR66Handler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20467
GodClass Possible God Class (WMC=53, ATFD=94, TCC=3.571%) 68467
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 198
CyclomaticComplexity The method 'instantiateHandlers(RestConfiguration)' has a cyclomatic complexity of 14. 204306
ExcessiveMethodLength Avoid really long methods. 204306
NPathComplexity The method 'instantiateHandlers(RestConfiguration)' has an NPath complexity of 8192, current threshold is 200 204306
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 305
CognitiveComplexity The method 'checkConnection(ChannelHandlerContext)' has a cognitive complexity of 32, current threshold is 15 314397
NPathComplexity The method 'checkConnection(ChannelHandlerContext)' has an NPath complexity of 962, current threshold is 200 314397
CyclomaticComplexity The method 'checkConnection(ChannelHandlerContext)' has a cyclomatic complexity of 20. 314397
LawOfDemeter Potential violation of Law of Demeter (static property access) 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 360361
LawOfDemeter Potential violation of Law of Demeter (static property access) 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 382385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 415
LawOfDemeter Potential violation of Law of Demeter (static property access) 420
LawOfDemeter Potential violation of Law of Demeter (static property access) 421
LawOfDemeter Potential violation of Law of Demeter (static property access) 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 436
LawOfDemeter Potential violation of Law of Demeter (static property access) 447
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 457

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/HttpRestR66Initializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 67

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/client/HttpRestR66Client.java

Rule Violation Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 7176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 144145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 172173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172173
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 174
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 196
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 199

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/client/HttpRestR66ClientResponseHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 36458
TooManyMethods This class has too many methods, consider refactoring it. 78458
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 91
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 273
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 291
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 309
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 327
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 345
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 50, current threshold is 15 352430
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 18. 352430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 358
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 366367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 366367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 377378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 377378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 379
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 395
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 410413
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 420
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 436437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 436437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbConfigurationR66RestMethodHandler.java

Rule Violation Line
AvoidDuplicateLiterals The String literal "Issue on values" appears 5 times in this file; the first occurrence is on line 86 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 89
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 172244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 184 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 185
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 186189
LawOfDemeter Potential violation of Law of Demeter (static property access) 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199200
LawOfDemeter Potential violation of Law of Demeter (static property access) 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 208209
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 230
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 282

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbHostAuthR66RestMethodHandler.java

Rule Violation Line
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 85 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 148
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 177247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 182
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 189 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 191194
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203204
LawOfDemeter Potential violation of Law of Demeter (static property access) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 212
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 267
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 267

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbHostConfigurationR66RestMethodHandler.java

Rule Violation Line
GodClass Possible God Class (WMC=47, ATFD=42, TCC=0.000%) 52304
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 88 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
CyclomaticComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 12. 130172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 145
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 153
LawOfDemeter Potential violation of Law of Demeter (static property access) 153
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 157
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 159
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 190263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 194195
LawOfDemeter Potential violation of Law of Demeter (static property access) 196
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 203 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 205208
LawOfDemeter Potential violation of Law of Demeter (static property access) 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 218219
LawOfDemeter Potential violation of Law of Demeter (static property access) 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 227228
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 240
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 298

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbRuleR66RestMethodHandler.java

Rule Violation Line
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 83 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 140
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 168239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 173
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 180 180
LawOfDemeter Potential violation of Law of Demeter (static property access) 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 182185
LawOfDemeter Potential violation of Law of Demeter (static property access) 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 195196
LawOfDemeter Potential violation of Law of Demeter (static property access) 201
LawOfDemeter Potential violation of Law of Demeter (static property access) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbTaskRunnerR66RestMethodHandler.java

Rule Violation Line
GodClass Possible God Class (WMC=51, ATFD=46, TCC=0.000%) 53363
AvoidDuplicateLiterals The String literal "boolean" appears 6 times in this file; the first occurrence is on line 66 66
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 98 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114115
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 116117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
CognitiveComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 16, current threshold is 15 146229
CyclomaticComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 18. 146229
NPathComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has an NPath complexity of 6912, current threshold is 200 146229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 159
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 162
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 168
LawOfDemeter Potential violation of Law of Demeter (static property access) 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 180
LawOfDemeter Potential violation of Law of Demeter (static property access) 180
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 184
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 192
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193
LawOfDemeter Potential violation of Law of Demeter (static property access) 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 194
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 211
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 247338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 259
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 260 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 276
LawOfDemeter Potential violation of Law of Demeter (static property access) 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 281282
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 293
LawOfDemeter Potential violation of Law of Demeter (static property access) 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 296297
LawOfDemeter Potential violation of Law of Demeter (static property access) 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 309
LawOfDemeter Potential violation of Law of Demeter (static property access) 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 313
LawOfDemeter Potential violation of Law of Demeter (static property access) 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 318
LawOfDemeter Potential violation of Law of Demeter (static property access) 324
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 335
LawOfDemeter Potential violation of Law of Demeter (static property access) 342
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 358

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestAbstractR66Handler.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 161162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 161162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 162
CompareObjectsWithEquals Use equals() to compare object references. 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
CyclomaticComplexity The method 'getBody(HttpRestHandler, ByteBuf, RestArgument, RestArgument)' has a cyclomatic complexity of 11. 178206
AvoidDuplicateLiterals The String literal " : {}" appears 4 times in this file; the first occurrence is on line 192 192

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestBandwidthR66Handler.java

Rule Violation Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 19, current threshold is 15 65142
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 19. 65142
NPathComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has an NPath complexity of 240, current threshold is 200 65142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9091
LawOfDemeter Potential violation of Law of Demeter (static property access) 91
SimplifyConditional No need to check for null before an instanceof 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 122
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 179

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestBusinessR66Handler.java

Rule Violation Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 20, current threshold is 15 72138
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 16. 72138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9798
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 179

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestConfigR66Handler.java

Rule Violation Line
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 25. 71152
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 19, current threshold is 15 71152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9596
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 134
AvoidDuplicateLiterals The String literal "filepath" appears 10 times in this file; the first occurrence is on line 167 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 218

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestControlR66Handler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20288
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 27. 79197
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 39, current threshold is 15 79197
NcssCount The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a NCSS line count of 84. 79197
ExcessiveMethodLength Avoid really long methods. 79197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103104
LawOfDemeter Potential violation of Law of Demeter (static property access) 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 165
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 252
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestInformationR66Handler.java

Rule Violation Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 24, current threshold is 15 68144
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 15. 68144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9293
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 119
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 189

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestLogR66Handler.java

Rule Violation Line
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 12. 69134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 169

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestServerR66Handler.java

Rule Violation Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 18, current threshold is 15 73146
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 15. 73146
LawOfDemeter Potential violation of Law of Demeter (static property access) 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 108109
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 122123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (static property access) 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 180

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestV1Utils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 52

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/RestConstants.java

Rule Violation Line
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 4852
UnusedAssignment The value assigned to field 'DAO_FACTORY' is never used (overwritten on line 95) 53
LawOfDemeter Potential violation of Law of Demeter (static property access) 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 85
EmptyCatchBlock Avoid empty catch blocks 8688
AvoidDuplicateLiterals The String literal "status" appears 4 times in this file; the first occurrence is on line 199 199

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/RestServiceInitializer.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21261
LawOfDemeter Potential violation of Law of Demeter (static property access) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 202
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 215
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 230
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 240244
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 242243
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 254256

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/HostConfigConverter.java

Rule Violation Line
GodClass Possible God Class (WMC=72, ATFD=54, TCC=0.000%) 60480
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 110
CyclomaticComplexity The method 'nodeToUpdatedBusiness(ObjectNode, Business)' has a cyclomatic complexity of 17. 131198
CognitiveComplexity The method 'nodeToUpdatedBusiness(ObjectNode, Business)' has a cognitive complexity of 48, current threshold is 15 131198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 169
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 182
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 300
LawOfDemeter Potential violation of Law of Demeter (static property access) 326
CognitiveComplexity The method 'nodeToAliasList(ArrayNode)' has a cognitive complexity of 38, current threshold is 15 342402
CyclomaticComplexity The method 'nodeToAliasList(ArrayNode)' has a cyclomatic complexity of 14. 342402
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 351
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 356
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 369
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 388
LawOfDemeter Potential violation of Law of Demeter (static property access) 391
CognitiveComplexity The method 'nodeToRoles(ArrayNode)' has a cognitive complexity of 45, current threshold is 15 414479
CyclomaticComplexity The method 'nodeToRoles(ArrayNode)' has a cyclomatic complexity of 15. 414479
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 423
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 428
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 434
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 435
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 445
LawOfDemeter Potential violation of Law of Demeter (static property access) 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 465
LawOfDemeter Potential violation of Law of Demeter (static property access) 468

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/HostConverter.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 91
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 156
NcssCount The method 'nodeToUpdatedHost(ObjectNode, Host)' has a NCSS line count of 71. 178260
CyclomaticComplexity The method 'nodeToUpdatedHost(ObjectNode, Host)' has a cyclomatic complexity of 26. 178260
CognitiveComplexity The method 'nodeToUpdatedHost(ObjectNode, Host)' has a cognitive complexity of 84, current threshold is 15 178260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 219
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 225
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 246
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 276277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 276277
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 306

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/LimitsConverter.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 66
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 70
LawOfDemeter Potential violation of Law of Demeter (static property access) 90
CyclomaticComplexity The method 'nodeToUpdatedLimit(ObjectNode, Limit)' has a cyclomatic complexity of 19. 109158
CognitiveComplexity The method 'nodeToUpdatedLimit(ObjectNode, Limit)' has a cognitive complexity of 41, current threshold is 15 109158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/RuleConverter.java

Rule Violation Line
GodClass Possible God Class (WMC=66, ATFD=168, TCC=0.000%) 51524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
ExcessiveMethodLength Avoid really long methods. 231387
CyclomaticComplexity The method 'nodeToUpdatedRule(ObjectNode, Rule)' has a cyclomatic complexity of 39. 231387
NcssCount The method 'nodeToUpdatedRule(ObjectNode, Rule)' has a NCSS line count of 114. 231387
CognitiveComplexity The method 'nodeToUpdatedRule(ObjectNode, Rule)' has a cognitive complexity of 186, current threshold is 15 231387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 245246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 254
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 286
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 298
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 315
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 321
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 369
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 419
CyclomaticComplexity The method 'parseTasks(ArrayNode, String)' has a cyclomatic complexity of 15. 458522
CognitiveComplexity The method 'parseTasks(ArrayNode, String)' has a cognitive complexity of 47, current threshold is 15 458522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 467
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 469
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 475
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 476
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 487
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 488
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 493
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 495
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 496
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 496
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 500
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 506
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 513

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/ServerStatusMaker.java

Rule Violation Line
NcssCount The method 'exportAsJson(Period)' has a NCSS line count of 73. 62144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 75
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 76
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 79
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 83
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 95
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/TransferConverter.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21415
GodClass Possible God Class (WMC=55, ATFD=95, TCC=0.000%) 62415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 157
UnusedAssignment The initializer for variable 'defaultTransfer' is never used (overwritten on line 179) 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 205206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 268
NcssCount The method 'parseNode(ObjectNode, Transfer)' has a NCSS line count of 75. 317414
NPathComplexity The method 'parseNode(ObjectNode, Transfer)' has an NPath complexity of 704, current threshold is 200 317414
CognitiveComplexity The method 'parseNode(ObjectNode, Transfer)' has a cognitive complexity of 95, current threshold is 15 317414
CyclomaticComplexity The method 'parseNode(ObjectNode, Transfer)' has a cyclomatic complexity of 30. 317414
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 329
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 344
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 350
EmptyCatchBlock Avoid empty catch blocks 351353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 385
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 400
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 403

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/AbstractRestDbHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 112
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 124
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 135

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/HostConfigHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 113

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/HostIdHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21254
CyclomaticComplexity The method 'deleteHost(HttpRequest, HttpResponder, String)' has a cyclomatic complexity of 10. 188233
LawOfDemeter Potential violation of Law of Demeter (static property access) 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 213

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/HostsHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21304
NPathComplexity The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has an NPath complexity of 124416, current threshold is 200 124244
ExcessiveMethodLength Avoid really long methods. 124244
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 124137
NcssCount The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has a NCSS line count of 71. 124244
CognitiveComplexity The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has a cognitive complexity of 27, current threshold is 15 124244
CyclomaticComplexity The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has a cyclomatic complexity of 25. 124244
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 148
EmptyCatchBlock Avoid empty catch blocks 148150
LawOfDemeter Potential violation of Law of Demeter (static property access) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/LimitsHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 203

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/RuleIdHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21241
LawOfDemeter Potential violation of Law of Demeter (static property access) 192

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/RulesHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21268
NcssCount The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has a NCSS line count of 62. 109206
CognitiveComplexity The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has a cognitive complexity of 21, current threshold is 15 109206
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 109120
NPathComplexity The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has an NPath complexity of 5184, current threshold is 200 109206
CyclomaticComplexity The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has a cyclomatic complexity of 21. 109206
EmptyCatchBlock Avoid empty catch blocks 130132
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 247

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/ServerHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21877
GodClass Possible God Class (WMC=100, ATFD=82, TCC=0.000%) 100877
CyclomaticComplexity The class 'ServerHandler' has a total cyclomatic complexity of 100 (highest 30). 100877
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 174
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 202
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
ExcessiveParameterList Avoid long parameter lists. 344363
ExcessiveMethodLength Avoid really long methods. 344491
CognitiveComplexity The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has a cognitive complexity of 40, current threshold is 15 344491
CyclomaticComplexity The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has a cyclomatic complexity of 30. 344491
NPathComplexity The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has an NPath complexity of 84672, current threshold is 200 344491
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 344363
NcssCount The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has a NCSS line count of 88. 344491
AvoidDuplicateLiterals The String literal "false" appears 12 times in this file; the first occurrence is on line 346 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 438
LawOfDemeter Potential violation of Law of Demeter (static property access) 455
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 479
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 480
NPathComplexity The method 'getConfig(HttpRequest, HttpResponder, String, String, String, String, String)' has an NPath complexity of 2240, current threshold is 200 516631
ExcessiveMethodLength Avoid really long methods. 516631
NcssCount The method 'getConfig(HttpRequest, HttpResponder, String, String, String, String, String)' has a NCSS line count of 69. 516631
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 516526
CyclomaticComplexity The method 'getConfig(HttpRequest, HttpResponder, String, String, String, String, String)' has a cyclomatic complexity of 16. 516631
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 601
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 613
ExcessiveParameterList Avoid long parameter lists. 667688
NcssCount The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has a NCSS line count of 89. 667816
NPathComplexity The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has an NPath complexity of 25792, current threshold is 200 667816
CyclomaticComplexity The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has a cyclomatic complexity of 24. 667816
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 667688
ExcessiveMethodLength Avoid really long methods. 667816
CognitiveComplexity The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has a cognitive complexity of 33, current threshold is 15 667816
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 784
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 790
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 796

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/SpooledHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21182
CyclomaticComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String)' has a cyclomatic complexity of 10. 104164
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 119
EmptyCatchBlock Avoid empty catch blocks 119121
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/TransferIdHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21456
AvoidDuplicateLiterals The String literal "(-?\\d+)_(.+)" appears 5 times in this file; the first occurrence is on line 119 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
LawOfDemeter Potential violation of Law of Demeter (static property access) 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 389

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/TransfersHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21329
ExcessiveParameterList Avoid long parameter lists. 130153
NPathComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has an NPath complexity of 193536, current threshold is 200 130270
NcssCount The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has a NCSS line count of 78. 130270
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 130153
CyclomaticComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has a cyclomatic complexity of 27. 130270
CognitiveComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has a cognitive complexity of 32, current threshold is 15 130270
ExcessiveMethodLength Avoid really long methods. 130270
EmptyCatchBlock Avoid empty catch blocks 164166
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 308

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/errors/RestError.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 59
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 91

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/errors/RestErrorException.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/errors/RestErrors.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 28218

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestExceptionHandler.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 68

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestHandlerHook.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21495
GodClass Possible God Class (WMC=73, ATFD=52, TCC=8.333%) 78495
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 130
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 155158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 266
CyclomaticComplexity The method 'checkCredentials(HttpRequest)' has a cyclomatic complexity of 30. 292388
NPathComplexity The method 'checkCredentials(HttpRequest)' has an NPath complexity of 1886, current threshold is 200 292388
CognitiveComplexity The method 'checkCredentials(HttpRequest)' has a cognitive complexity of 26, current threshold is 15 292388
NcssCount The method 'checkCredentials(HttpRequest)' has a NCSS line count of 60. 292388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 303
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 333
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 339
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 352
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 397
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 398
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 406
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 411
EmptyCatchBlock Avoid empty catch blocks 433435
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 439
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 445

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestSignatureHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 91
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 113

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestVersionHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/JsonUtils.java

Rule Violation Line
CognitiveComplexity The method 'deserializeRequest(HttpRequest)' has a cognitive complexity of 15, current threshold is 15 93142
CyclomaticComplexity The method 'deserializeRequest(HttpRequest)' has a cyclomatic complexity of 19. 93142
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 104105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 118
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 120
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 122125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 123124
CloseResource Ensure that resources like this JsonParser object are closed after use 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 130
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 132
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 134
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 137

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/RestUtils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 56
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 67

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/XmlSerializable.java

Rule Violation Line
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 70
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 82
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 82
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 100
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 107108
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 121
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 121
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 140
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 147
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 160
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 160
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 179
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 179
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 199
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 199
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 216
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 216

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/XmlUtils.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 83
CloseResource Ensure that resources like this StringReader object are closed after use 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 115
CloseResource Ensure that resources like this FileWriter object are closed after use 136
CloseResource Ensure that resources like this FileReader object are closed after use 160
CloseResource Ensure that resources like this BufferedReader object are closed after use 161
AssignmentInOperand Avoid assignments in operands 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 168
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 243

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/ConnectionActions.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20748
CyclomaticComplexity The class 'ConnectionActions' has a total cyclomatic complexity of 113 (highest 34). 75748
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 75748
TooManyMethods This class has too many methods, consider refactoring it. 75748
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101
NPathComplexity The method 'channelClosed()' has an NPath complexity of 90732, current threshold is 200 122233
CyclomaticComplexity The method 'channelClosed()' has a cyclomatic complexity of 34. 122233
ExcessiveMethodLength Avoid really long methods. 122233
CognitiveComplexity The method 'channelClosed()' has a cognitive complexity of 63, current threshold is 15 122233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 146
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 148152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 204
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242243
LawOfDemeter Potential violation of Law of Demeter (static property access) 242243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 310
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 311314
LawOfDemeter Potential violation of Law of Demeter (static property access) 311314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 337
NPathComplexity The method 'authent(AuthentPacket, boolean)' has an NPath complexity of 214272, current threshold is 200 360515
CyclomaticComplexity The method 'authent(AuthentPacket, boolean)' has a cyclomatic complexity of 26. 360515
ExcessiveMethodLength Avoid really long methods. 360515
NcssCount The method 'authent(AuthentPacket, boolean)' has a NCSS line count of 89. 360515
CognitiveComplexity The method 'authent(AuthentPacket, boolean)' has a cognitive complexity of 50, current threshold is 15 360515
CollapsibleIfStatements These nested if statements could be combined 364366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 375376
AvoidDuplicateLiterals The String literal "Service unavailable" appears 4 times in this file; the first occurrence is on line 381 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 396
LawOfDemeter Potential violation of Law of Demeter (static property access) 410
LawOfDemeter Potential violation of Law of Demeter (static property access) 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 423
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 428
LawOfDemeter Potential violation of Law of Demeter (static property access) 429
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 481
LawOfDemeter Potential violation of Law of Demeter (static property access) 482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 497
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 504505
LawOfDemeter Potential violation of Law of Demeter (static property access) 504505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 506508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 506508
LawOfDemeter Potential violation of Law of Demeter (static property access) 506508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 509511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 509511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 511
LawOfDemeter Potential violation of Law of Demeter (static property access) 514
LawOfDemeter Potential violation of Law of Demeter (static property access) 518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 523524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 525527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 525527
CyclomaticComplexity The method 'validateAuthenticationReuse()' has a cyclomatic complexity of 10. 530575
CognitiveComplexity The method 'validateAuthenticationReuse()' has a cognitive complexity of 21, current threshold is 15 530575
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 534535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 534535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 538
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 541542
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 542
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 544
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 548
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 556
LawOfDemeter Potential violation of Law of Demeter (static property access) 557
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 563
CognitiveComplexity The method 'errorMesg(ErrorPacket)' has a cognitive complexity of 29, current threshold is 15 608709
NcssCount The method 'errorMesg(ErrorPacket)' has a NCSS line count of 70. 608709
ExcessiveMethodLength Avoid really long methods. 608709
CyclomaticComplexity The method 'errorMesg(ErrorPacket)' has a cyclomatic complexity of 19. 608709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 612
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 612
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 619620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 631
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 640
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 649
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 654
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 655
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 657
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 666
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 680
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 729
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 730

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalChannelReference.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 20765
CyclomaticComplexity The class 'LocalChannelReference' has a total cyclomatic complexity of 107 (highest 17). 53765
TooManyFields Too many fields 53765
GodClass Possible God Class (WMC=107, ATFD=117, TCC=9.397%) 53765
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 138
AvoidFieldNameMatchingMethodName Field isSendThroughMode has the same name as a method 138
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 452
CyclomaticComplexity The method 'invalidateRequest(R66Result)' has a cyclomatic complexity of 17. 480554
CognitiveComplexity The method 'invalidateRequest(R66Result)' has a cognitive complexity of 31, current threshold is 15 480554
NPathComplexity The method 'invalidateRequest(R66Result)' has an NPath complexity of 7776, current threshold is 200 480554
CollapsibleIfStatements These nested if statements could be combined 550552
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 575
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 583
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 601603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 601603
LawOfDemeter Potential violation of Law of Demeter (static property access) 617
LawOfDemeter Potential violation of Law of Demeter (static property access) 618
LawOfDemeter Potential violation of Law of Demeter (static property access) 620
LawOfDemeter Potential violation of Law of Demeter (static property access) 621
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 675
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 682
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 743
LawOfDemeter Potential violation of Law of Demeter (static property access) 743
LawOfDemeter Potential violation of Law of Demeter (static property access) 746

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalServerHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20597
GodClass Possible God Class (WMC=111, ATFD=225, TCC=28.571%) 80597
CyclomaticComplexity The class 'LocalServerHandler' has a total cyclomatic complexity of 111 (highest 53). 80597
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 114
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 126
ExcessiveMethodLength Avoid really long methods. 131378
CognitiveComplexity The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has a cognitive complexity of 66, current threshold is 15 131378
CyclomaticComplexity The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has a cyclomatic complexity of 43. 131378
NPathComplexity The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has an NPath complexity of 313, current threshold is 200 131378
NcssCount The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has a NCSS line count of 144. 131378
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 145
LawOfDemeter Potential violation of Law of Demeter (static property access) 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 151154
LawOfDemeter Potential violation of Law of Demeter (static property access) 151154
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 153154
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 192
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 208
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 221222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 302
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 320321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 346347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 369
LawOfDemeter Potential violation of Law of Demeter (static property access) 370
CognitiveComplexity The method 'exceptionCaught(TransferActions, Throwable)' has a cognitive complexity of 182, current threshold is 15 380558
NcssCount The method 'exceptionCaught(TransferActions, Throwable)' has a NCSS line count of 129. 380558
NPathComplexity The method 'exceptionCaught(TransferActions, Throwable)' has an NPath complexity of 870960, current threshold is 200 380558
CyclomaticComplexity The method 'exceptionCaught(TransferActions, Throwable)' has a cyclomatic complexity of 53. 380558
ExcessiveMethodLength Avoid really long methods. 380558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 399
CollapsibleIfStatements These nested if statements could be combined 406411
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 409
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 427
UnusedAssignment The value assigned to variable 'code' is never used 442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 476
ImplicitSwitchFallThrough A switch statement does not contain a break 482492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 491
EmptyCatchBlock Avoid empty catch blocks 511513
LawOfDemeter Potential violation of Law of Demeter (static property access) 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 516518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 516518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 526527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 531532
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 536537
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 549
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 552
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 565
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 565
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 570
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 578579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 578579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 583584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 586587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 595

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalTransaction.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179180
CyclomaticComplexity The method 'shutdownLocalChannels()' has a cyclomatic complexity of 14. 246318
CognitiveComplexity The method 'shutdownLocalChannels()' has a cognitive complexity of 37, current threshold is 15 246318
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 265268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 276
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 278
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 278279
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 283285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 288289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 288289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 288289
LawOfDemeter Potential violation of Law of Demeter (static property access) 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 304
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 309311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 310
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 316

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/Monitoring.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 201546
ExcessiveClassLength Avoid really long classes. 541546
TooManyFields Too many fields 541546
GodClass Possible God Class (WMC=174, ATFD=231, TCC=26.901%) 541546
CyclomaticComplexity The class 'Monitoring' has a total cyclomatic complexity of 174 (highest 61). 541546
TooManyMethods This class has too many methods, consider refactoring it. 541546
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 122
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 125
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 126
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 127
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 136
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 142
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 150
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 152
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 153
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 154
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 156
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 163
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 167
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 168
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 169
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 170
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 314
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 321
CyclomaticComplexity The method 'run(long, boolean)' has a cyclomatic complexity of 13. 372657
CognitiveComplexity The method 'run(long, boolean)' has a cognitive complexity of 24, current threshold is 15 372657
NcssCount The method 'run(long, boolean)' has a NCSS line count of 113. 372657
ExcessiveMethodLength Avoid really long methods. 372657
LawOfDemeter Potential violation of Law of Demeter (static property access) 400
LawOfDemeter Potential violation of Law of Demeter (static property access) 401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 402403
LawOfDemeter Potential violation of Law of Demeter (static property access) 402403
LawOfDemeter Potential violation of Law of Demeter (static property access) 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 408409
LawOfDemeter Potential violation of Law of Demeter (static property access) 408409
LawOfDemeter Potential violation of Law of Demeter (static property access) 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 412
ExcessiveMethodLength Avoid really long methods. 664772
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 665
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 24, but has at least 816 characters appended. 665
LawOfDemeter Potential violation of Law of Demeter (static property access) 667
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 715
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 716
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 717
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 719
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 720
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 728
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 730
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 732
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 733
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 735
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 736
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 738
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 739
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 741
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 742
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 744
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 745
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 748
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 750
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 751
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 754
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 755
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 757
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 758
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 760
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 761
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 763
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 764
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 766
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 767
NcssCount The method 'exportAsJson(boolean)' has a NCSS line count of 72. 788871
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 790
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 792
LawOfDemeter Potential violation of Law of Demeter (static property access) 792
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 796
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 797
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 798
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 799
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 800
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 803
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 804
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 805
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 806
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 807
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 808
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 809
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 810
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 811
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 812
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 813
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 816
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 817
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 818
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 823
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 824
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 826
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 827
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 828
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 831
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 832
LawOfDemeter Potential violation of Law of Demeter (static property access) 888
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 888
CognitiveComplexity The method 'run(long, WaarpGlobalValuesIndex)' has a cognitive complexity of 17, current threshold is 15 9491187
CyclomaticComplexity The method 'run(long, WaarpGlobalValuesIndex)' has a cyclomatic complexity of 61. 9491187
NcssCount The method 'run(long, WaarpGlobalValuesIndex)' has a NCSS line count of 186. 9491187
ExcessiveMethodLength Avoid really long methods. 9491187
NPathComplexity The method 'run(long, WaarpGlobalValuesIndex)' has an NPath complexity of 900, current threshold is 200 9491187
LawOfDemeter Potential violation of Law of Demeter (static property access) 1013
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 10201021
LawOfDemeter Potential violation of Law of Demeter (static property access) 10201021
ImplicitSwitchFallThrough A switch statement does not contain a break 10441180
ExcessiveMethodLength Avoid really long methods. 11951360
CyclomaticComplexity The method 'run(long, WaarpDetailedValuesIndex)' has a cyclomatic complexity of 33. 11951360
NPathComplexity The method 'run(long, WaarpDetailedValuesIndex)' has an NPath complexity of 255, current threshold is 200 11951360
NcssCount The method 'run(long, WaarpDetailedValuesIndex)' has a NCSS line count of 119. 11951360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 12211222
LawOfDemeter Potential violation of Law of Demeter (static property access) 12211222
ImplicitSwitchFallThrough A switch statement does not contain a break 12481341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1354
ExcessiveMethodLength Avoid really long methods. 13681545
CyclomaticComplexity The method 'run(long, WaarpErrorValuesIndex)' has a cyclomatic complexity of 27. 13681545
NcssCount The method 'run(long, WaarpErrorValuesIndex)' has a NCSS line count of 101. 13681545
ImplicitSwitchFallThrough A switch statement does not contain a break 13751543

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/RetrieveRunner.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 48
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
NPathComplexity The method 'run()' has an NPath complexity of 535, current threshold is 200 94193
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 20. 94193
CognitiveComplexity The method 'run()' has a cognitive complexity of 30, current threshold is 15 94193
NcssCount The method 'run()' has a NCSS line count of 63. 94193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 120
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 158159
LawOfDemeter Potential violation of Law of Demeter (static property access) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198
EmptyCatchBlock Avoid empty catch blocks 199201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 209210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 209210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 214216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 214216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 214216
CognitiveComplexity The method 'finalizeRequestDone(boolean)' has a cognitive complexity of 20, current threshold is 15 230265
CyclomaticComplexity The method 'finalizeRequestDone(boolean)' has a cyclomatic complexity of 12. 230265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 274

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/ServerActions.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 202835
GodClass Possible God Class (WMC=517, ATFD=700, TCC=29.864%) 1252835
TooManyMethods This class has too many methods, consider refactoring it. 1252835
CyclomaticComplexity The class 'ServerActions' has a total cyclomatic complexity of 517 (highest 84). 1252835
ExcessiveClassLength Avoid really long classes. 1252835
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
CyclomaticComplexity The method 'valid(ValidPacket)' has a cyclomatic complexity of 16. 244317
ImplicitSwitchFallThrough A switch statement does not contain a break 258316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 335
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 342
NPathComplexity The method 'configImportPacket(ValidPacket)' has an NPath complexity of 161616, current threshold is 200 355478
ExcessiveMethodLength Avoid really long methods. 355478
CognitiveComplexity The method 'configImportPacket(ValidPacket)' has a cognitive complexity of 59, current threshold is 15 355478
CyclomaticComplexity The method 'configImportPacket(ValidPacket)' has a cyclomatic complexity of 31. 355478
NcssCount The method 'configImportPacket(ValidPacket)' has a NCSS line count of 76. 355478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362363
LawOfDemeter Potential violation of Law of Demeter (static property access) 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 373374
LawOfDemeter Potential violation of Law of Demeter (static property access) 373374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
EmptyCatchBlock Avoid empty catch blocks 391393
EmptyCatchBlock Avoid empty catch blocks 410412
EmptyCatchBlock Avoid empty catch blocks 422424
AvoidDuplicateLiterals The String literal "Rule:KO" appears 4 times in this file; the first occurrence is on line 433 433
AvoidDuplicateLiterals The String literal "Error" appears 17 times in this file; the first occurrence is on line 436 436
EmptyCatchBlock Avoid empty catch blocks 454456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 498
CyclomaticComplexity The method 'logPacket(ValidPacket)' has a cyclomatic complexity of 20. 510587
CognitiveComplexity The method 'logPacket(ValidPacket)' has a cognitive complexity of 16, current threshold is 15 510587
NPathComplexity The method 'logPacket(ValidPacket)' has an NPath complexity of 1120, current threshold is 200 510587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 515516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 515516
LawOfDemeter Potential violation of Law of Demeter (static property access) 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 517
LawOfDemeter Potential violation of Law of Demeter (static property access) 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 536
LawOfDemeter Potential violation of Law of Demeter (static property access) 538
LawOfDemeter Potential violation of Law of Demeter (static property access) 559
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 560562
LawOfDemeter Potential violation of Law of Demeter (static property access) 560562
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 562
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 577
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 622
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 624
LawOfDemeter Potential violation of Law of Demeter (static property access) 627
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 638
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 642
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 651
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 651
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 653
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 654
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 673
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 680
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 680
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 682
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 697
EmptyCatchBlock Avoid empty catch blocks 703705
CyclomaticComplexity The method 'jsonCommand(JsonCommandPacket, JsonPacket)' has a cyclomatic complexity of 20. 739816
ImplicitSwitchFallThrough A switch statement does not contain a break 758815
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 826
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 856
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 874
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 874
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 875
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 875
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 876
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 882
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 925
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 943
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 945
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 970
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1018
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1020
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1022
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1043
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1043
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1044
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1056
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1056
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1058
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1075
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1077
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1094
LawOfDemeter Potential violation of Law of Demeter (static property access) 1122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1199
AvoidDuplicateLiterals The String literal "Unblock" appears 4 times in this file; the first occurrence is on line 1 207 1207
AvoidDuplicateLiterals The String literal "Block" appears 4 times in this file; the first occurrence is on line 1 207 1207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1257
LawOfDemeter Potential violation of Law of Demeter (static property access) 1283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1329
CognitiveComplexity The method 'bandwidth(boolean, long, long, long, long)' has a cognitive complexity of 15, current threshold is 15 13571410
CyclomaticComplexity The method 'bandwidth(boolean, long, long, long, long)' has a cyclomatic complexity of 12. 13571410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13641365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13641365
LawOfDemeter Potential violation of Law of Demeter (static property access) 1365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1366
EmptyIfStmt Avoid empty if statements 13741377
LawOfDemeter Potential violation of Law of Demeter (static property access) 1383
LawOfDemeter Potential violation of Law of Demeter (static property access) 1386
LawOfDemeter Potential violation of Law of Demeter (static property access) 1389
LawOfDemeter Potential violation of Law of Demeter (static property access) 1392
LawOfDemeter Potential violation of Law of Demeter (static property access) 1394
LawOfDemeter Potential violation of Law of Demeter (static property access) 13951398
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13951398
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1398
LawOfDemeter Potential violation of Law of Demeter (static property access) 14001401
LawOfDemeter Potential violation of Law of Demeter (static property access) 1401
LawOfDemeter Potential violation of Law of Demeter (static property access) 1405
LawOfDemeter Potential violation of Law of Demeter (static property access) 1406
LawOfDemeter Potential violation of Law of Demeter (static property access) 1407
LawOfDemeter Potential violation of Law of Demeter (static property access) 1408
CognitiveComplexity The method 'configImport(ConfigImportJsonPacket)' has a cognitive complexity of 157, current threshold is 15 14221698
NcssCount The method 'configImport(ConfigImportJsonPacket)' has a NCSS line count of 175. 14221698
CyclomaticComplexity The method 'configImport(ConfigImportJsonPacket)' has a cyclomatic complexity of 84. 14221698
ExcessiveMethodLength Avoid really long methods. 14221698
NPathComplexity The method 'configImport(ConfigImportJsonPacket)' has an NPath complexity of 2147483647, current threshold is 200 14221698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14301431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14301431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1431
LawOfDemeter Potential violation of Law of Demeter (static property access) 1431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1432
LawOfDemeter Potential violation of Law of Demeter (static property access) 1440
LawOfDemeter Potential violation of Law of Demeter (static property access) 14411442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 14411442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1468
LawOfDemeter Potential violation of Law of Demeter (static property access) 1471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1471
AvoidDuplicateLiterals The String literal " : {}" appears 5 times in this file; the first occurrence is on line 1 473 1473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1482
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1485
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1488
EmptyCatchBlock Avoid empty catch blocks 14961498
EmptyCatchBlock Avoid empty catch blocks 15141516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1528
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1531
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1534
EmptyCatchBlock Avoid empty catch blocks 15421544
EmptyCatchBlock Avoid empty catch blocks 15701572
LawOfDemeter Potential violation of Law of Demeter (static property access) 1585
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1594
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1597
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1621
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1624
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1647
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 17201721
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 17201721
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1721
LawOfDemeter Potential violation of Law of Demeter (static property access) 1721
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1722
LawOfDemeter Potential violation of Law of Demeter (static property access) 1730
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 17311732
LawOfDemeter Potential violation of Law of Demeter (static property access) 17311732
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1732
LawOfDemeter Potential violation of Law of Demeter (static property access) 1734
LawOfDemeter Potential violation of Law of Demeter (static property access) 1735
ExcessiveMethodLength Avoid really long methods. 17511854
CognitiveComplexity The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has a cognitive complexity of 35, current threshold is 15 17511854
NPathComplexity The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has an NPath complexity of 1136, current threshold is 200 17511854
NcssCount The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has a NCSS line count of 73. 17511854
CyclomaticComplexity The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has a cyclomatic complexity of 20. 17511854
LawOfDemeter Potential violation of Law of Demeter (static property access) 1759
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1769
UnusedAssignment The value assigned to variable 'bhost' is never used 1770
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1773
UnusedAssignment The value assigned to variable 'bhost' is never used 1774
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1782
UnusedAssignment The value assigned to variable 'brule' is never used 1783
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1786
UnusedAssignment The value assigned to variable 'brule' is never used 1787
LawOfDemeter Potential violation of Law of Demeter (static property access) 1793
CloseResource Ensure that resources like this FileOutputStream object are closed after use 1799
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1802
UnusedAssignment The value assigned to variable 'bbusiness' is never used 1808
CloseResource Ensure that resources like this FileOutputStream object are closed after use 1815
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1818
UnusedAssignment The value assigned to variable 'balias' is never used 1824
CloseResource Ensure that resources like this FileOutputStream object are closed after use 1831
UnusedAssignment The value assigned to variable 'broles' is never used 1840
CyclomaticComplexity The method 'requestRestart(String, String, long, Date)' has a cyclomatic complexity of 13. 18681937
CognitiveComplexity The method 'requestRestart(String, String, long, Date)' has a cognitive complexity of 18, current threshold is 15 18681937
UnusedAssignment The initializer for variable 'returnCode' is never used (overwritten on lines 1895, 1903, 1927 and 1929) 1872
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 18761877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 18761877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1877
LawOfDemeter Potential violation of Law of Demeter (static property access) 1877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1878
LawOfDemeter Potential violation of Law of Demeter (static property access) 18881889
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 18881889
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1893
LawOfDemeter Potential violation of Law of Demeter (static property access) 1893
LawOfDemeter Potential violation of Law of Demeter (static property access) 19201921
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 19201921
UnusedAssignment The value assigned to variable 'returnCode' is never used 1927
CyclomaticComplexity The method 'isCodeValid(ErrorCode)' has a cyclomatic complexity of 35. 19441984
NPathComplexity The method 'logPurge(boolean, boolean, Timestamp, Timestamp, String, String, String, String, boolean, boolean, boolean, boolean, boolean)' has an NPath complexity of 3360, current threshold is 200 20082103
CyclomaticComplexity The method 'logPurge(boolean, boolean, Timestamp, Timestamp, String, String, String, String, boolean, boolean, boolean, boolean, boolean)' has a cyclomatic complexity of 26. 20082103
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 20082014
CognitiveComplexity The method 'logPurge(boolean, boolean, Timestamp, Timestamp, String, String, String, String, boolean, boolean, boolean, boolean, boolean)' has a cognitive complexity of 26, current threshold is 15 20082103
ExcessiveParameterList Avoid long parameter lists. 20082014
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 20192020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 20192020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2020
LawOfDemeter Potential violation of Law of Demeter (static property access) 2020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2021
LawOfDemeter Potential violation of Law of Demeter (static property access) 2043
LawOfDemeter Potential violation of Law of Demeter (static property access) 2044
LawOfDemeter Potential violation of Law of Demeter (static property access) 2046
LawOfDemeter Potential violation of Law of Demeter (static property access) 2074
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 20752077
LawOfDemeter Potential violation of Law of Demeter (static property access) 20752077
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2077
CyclomaticComplexity The method 'stopOrCancel(byte, String, String, long)' has a cyclomatic complexity of 13. 21192176
CognitiveComplexity The method 'stopOrCancel(byte, String, String, long)' has a cognitive complexity of 17, current threshold is 15 21192176
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 21252126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 21252126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2126
LawOfDemeter Potential violation of Law of Demeter (static property access) 2126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2139
LawOfDemeter Potential violation of Law of Demeter (static property access) 2139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2149
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 2159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 21832184
LawOfDemeter Potential violation of Law of Demeter (static property access) 21832184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2203
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 2207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2235
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 2239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2246
CyclomaticComplexity The method 'shutdown(byte, boolean)' has a cyclomatic complexity of 10. 23022335
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2311
LawOfDemeter Potential violation of Law of Demeter (static property access) 2312
LawOfDemeter Potential violation of Law of Demeter (static property access) 2314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 23152318
LawOfDemeter Potential violation of Law of Demeter (static property access) 23152318
LawOfDemeter Potential violation of Law of Demeter (static property access) 2317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2320
LawOfDemeter Potential violation of Law of Demeter (static property access) 2320
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2399
LawOfDemeter Potential violation of Law of Demeter (static property access) 24392441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24392441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 24402441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2477
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2477
CyclomaticComplexity The method 'blockRequest(byte, boolean)' has a cyclomatic complexity of 10. 24992529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2507
LawOfDemeter Potential violation of Law of Demeter (static property access) 2508
LawOfDemeter Potential violation of Law of Demeter (static property access) 2510
LawOfDemeter Potential violation of Law of Demeter (static property access) 25112513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 25112513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2513
LawOfDemeter Potential violation of Law of Demeter (static property access) 2516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2526
NcssCount The method 'informationFile(byte, String, String, boolean)' has a NCSS line count of 74. 25452653
CyclomaticComplexity The method 'informationFile(byte, String, String, boolean)' has a cyclomatic complexity of 21. 25452653
NPathComplexity The method 'informationFile(byte, String, String, boolean)' has an NPath complexity of 280, current threshold is 200 25452653
CognitiveComplexity The method 'informationFile(byte, String, String, boolean)' has a cognitive complexity of 40, current threshold is 15 25452653
ExcessiveMethodLength Avoid really long methods. 25452653
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2564
LawOfDemeter Potential violation of Law of Demeter (static property access) 2566
LawOfDemeter Potential violation of Law of Demeter (static property access) 2567
LawOfDemeter Potential violation of Law of Demeter (static property access) 2570
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2571
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2573
LawOfDemeter Potential violation of Law of Demeter (static property access) 2580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2582
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2596
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2609
LawOfDemeter Potential violation of Law of Demeter (static property access) 2611
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2617
LawOfDemeter Potential violation of Law of Demeter (static property access) 2620
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2621
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2622
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2626
CyclomaticComplexity The method 'informationRequest(long, boolean, String, boolean)' has a cyclomatic complexity of 15. 26742732
NPathComplexity The method 'informationRequest(long, boolean, String, boolean)' has an NPath complexity of 384, current threshold is 200 26742732
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2683
LawOfDemeter Potential violation of Law of Demeter (static property access) 2689
CyclomaticComplexity The method 'initTransferRequest(TransferRequestJsonPacket)' has a cyclomatic complexity of 11. 27752834
CognitiveComplexity The method 'initTransferRequest(TransferRequestJsonPacket)' has a cognitive complexity of 15, current threshold is 15 27752834

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/TransferActions.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201495
TooManyMethods This class has too many methods, consider refactoring it. 781495
ExcessiveClassLength Avoid really long classes. 781495
CyclomaticComplexity The class 'TransferActions' has a total cyclomatic complexity of 257 (highest 27). 781495
NcssCount The method 'request(RequestPacket)' has a NCSS line count of 79. 158300
NPathComplexity The method 'request(RequestPacket)' has an NPath complexity of 57344, current threshold is 200 158300
CognitiveComplexity The method 'request(RequestPacket)' has a cognitive complexity of 31, current threshold is 15 158300
CyclomaticComplexity The method 'request(RequestPacket)' has a cyclomatic complexity of 27. 158300
ExcessiveMethodLength Avoid really long methods. 158300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 226
SimplifyBooleanExpressions Avoid unnecessary comparisons in boolean expressions 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
CollapsibleIfStatements These nested if statements could be combined 253258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 278279
LawOfDemeter Potential violation of Law of Demeter (static property access) 278279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 313
LawOfDemeter Potential violation of Law of Demeter (static property access) 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 317
LawOfDemeter Potential violation of Law of Demeter (static property access) 339
LawOfDemeter Potential violation of Law of Demeter (static property access) 349350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 349350
LawOfDemeter Potential violation of Law of Demeter (static property access) 357
CyclomaticComplexity The method 'setFileSizeFromRequest(RequestPacket, DbTaskRunner, boolean)' has a cyclomatic complexity of 19. 385429
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 435
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 436
LawOfDemeter Potential violation of Law of Demeter (static property access) 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 502
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 502
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 523524
LawOfDemeter Potential violation of Law of Demeter (static property access) 523524
CognitiveComplexity The method 'checkRunnerConsistency(RequestPacket, DbTaskRunner, LocalChannelReference)' has a cognitive complexity of 16, current threshold is 15 564602
CyclomaticComplexity The method 'checkRunnerConsistency(RequestPacket, DbTaskRunner, LocalChannelReference)' has a cyclomatic complexity of 13. 564602
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 575
LawOfDemeter Potential violation of Law of Demeter (static property access) 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 588
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 593594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 593594
LawOfDemeter Potential violation of Law of Demeter (static property access) 635636
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 635636
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 665 and 682) 663
LawOfDemeter Potential violation of Law of Demeter (static property access) 702
LawOfDemeter Potential violation of Law of Demeter (static property access) 703705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 703705
LawOfDemeter Potential violation of Law of Demeter (static property access) 705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 709
LawOfDemeter Potential violation of Law of Demeter (static property access) 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 715
LawOfDemeter Potential violation of Law of Demeter (static property access) 715
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 735
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 742
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 753
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 754
CyclomaticComplexity The method 'data(DataPacket)' has a cyclomatic complexity of 27. 811981
NPathComplexity The method 'data(DataPacket)' has an NPath complexity of 45360, current threshold is 200 811981
CognitiveComplexity The method 'data(DataPacket)' has a cognitive complexity of 38, current threshold is 15 811981
NcssCount The method 'data(DataPacket)' has a NCSS line count of 88. 811981
ExcessiveMethodLength Avoid really long methods. 811981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 825
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 831
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 834
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 845
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 847
AvoidDuplicateLiterals The String literal " : " appears 5 times in this file; the first occurrence is on line 851 851
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 866
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 867
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 869
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 872
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 881
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 884
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 890
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 892
CollapsibleIfStatements These nested if statements could be combined 892903
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 893
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 897
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 906
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 909
LawOfDemeter Potential violation of Law of Demeter (static property access) 911
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 918919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 918919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 922923
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 922923
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 934935
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 934935
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 937938
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 937938
LawOfDemeter Potential violation of Law of Demeter (static property access) 943
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 948
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 952954
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 955
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 956
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 958
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 968
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 969
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 970
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 972
CognitiveComplexity The method 'prepareGlobalDigests()' has a cognitive complexity of 34, current threshold is 15 9831032
CyclomaticComplexity The method 'prepareGlobalDigests()' has a cyclomatic complexity of 16. 9831032
LawOfDemeter Potential violation of Law of Demeter (static property access) 984
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 988
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 992
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 994
LawOfDemeter Potential violation of Law of Demeter (static property access) 995
LawOfDemeter Potential violation of Law of Demeter (static property access) 997
LawOfDemeter Potential violation of Law of Demeter (static property access) 1000
LawOfDemeter Potential violation of Law of Demeter (static property access) 1005
LawOfDemeter Potential violation of Law of Demeter (static property access) 1008
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1009
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1015
LawOfDemeter Potential violation of Law of Demeter (static property access) 1018
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1020
LawOfDemeter Potential violation of Law of Demeter (static property access) 1025
LawOfDemeter Potential violation of Law of Demeter (static property access) 1030
CyclomaticComplexity The method 'endTransfer(EndTransferPacket)' has a cyclomatic complexity of 10. 10411075
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1048
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1050
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1052
LawOfDemeter Potential violation of Law of Demeter (static property access) 1054
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1070
EmptyIfStmt Avoid empty if statements 10711073
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1078
EmptyCatchBlock Avoid empty catch blocks 10881090
CyclomaticComplexity The method 'checkGlobalDigest(EndTransferPacket)' has a cyclomatic complexity of 13. 10991160
CognitiveComplexity The method 'checkGlobalDigest(EndTransferPacket)' has a cognitive complexity of 23, current threshold is 15 10991160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1102
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1126
LawOfDemeter Potential violation of Law of Demeter (static property access) 1127
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1137
LawOfDemeter Potential violation of Law of Demeter (static property access) 1139
LawOfDemeter Potential violation of Law of Demeter (static property access) 1146
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1154
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1157
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1164
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1170
LawOfDemeter Potential violation of Law of Demeter (static property access) 1186
EmptyCatchBlock Avoid empty catch blocks 11981200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1209
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1212
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1212
LawOfDemeter Potential violation of Law of Demeter (static property access) 1215
CyclomaticComplexity The method 'endRequest(EndRequestPacket)' has a cyclomatic complexity of 19. 12531316
NPathComplexity The method 'endRequest(EndRequestPacket)' has an NPath complexity of 1296, current threshold is 200 12531316
CognitiveComplexity The method 'endRequest(EndRequestPacket)' has a cognitive complexity of 29, current threshold is 15 12531316
EmptyCatchBlock Avoid empty catch blocks 12621264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1275
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1290
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1371
CyclomaticComplexity The method 'requestChangeNameSize(String, long)' has a cyclomatic complexity of 11. 13821440
CognitiveComplexity The method 'requestChangeNameSize(String, long)' has a cognitive complexity of 18, current threshold is 15 13821440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1399
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1416
CognitiveComplexity The method 'checkIfAnyTaskCheckFile(String, long, DbTaskRunner)' has a cognitive complexity of 25, current threshold is 15 14421494
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1453
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1454
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 14641466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1466
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 14741476
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1475
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 14781480
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1479
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 14821484
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1483

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/AbstractLocalPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
RedundantFieldInitializer Avoid using redundant field initializer for 'global' 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 55
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 56
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 57
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 131176
CognitiveComplexity The method 'getLocalPacketForNetworkPacket(LocalChannelReference, NetworkPacket)' has a cognitive complexity of 21, current threshold is 15 131176
CyclomaticComplexity The method 'getLocalPacketForNetworkPacket(LocalChannelReference, NetworkPacket)' has a cyclomatic complexity of 13. 131176
LawOfDemeter Potential violation of Law of Demeter (static property access) 153154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 193195
LawOfDemeter Potential violation of Law of Demeter (static property access) 193195
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 198214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 200
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 206
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 209
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 212
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 216224

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/AuthentPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 97
ArrayIsStoredDirectly The user-supplied array 'key' is stored directly. 133
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 154182
LawOfDemeter Potential violation of Law of Demeter (static property access) 169
MethodReturnsInternalArray Returning 'key' may expose an internal array. 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/BlockRequestPacket.java

Rule Violation Line
ArrayIsStoredDirectly The user-supplied array 'spassword' is stored directly. 67
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7888
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
MethodReturnsInternalArray Returning 'key' may expose an internal array. 111

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/BusinessRequestPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 58
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 62
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 89108
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 163

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ConnectionErrorPacket.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 80102
LawOfDemeter Potential violation of Law of Demeter (static property access) 92

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/DataPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 52
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 95
ArrayIsStoredDirectly The user-supplied array 'data' is stored directly. 106
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 110
ArrayIsStoredDirectly The user-supplied array 'data' is stored directly. 121
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 139141
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 144147
LawOfDemeter Potential violation of Law of Demeter (static property access) 145
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 150157
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 188198
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 196
MethodReturnsInternalArray Returning 'data' may expose an internal array. 206
MethodReturnsInternalArray Returning 'key' may expose an internal array. 213
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 251258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 256

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/EndRequestPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 62
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 65
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 115137
LawOfDemeter Potential violation of Law of Demeter (static property access) 126

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/EndTransferPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 45
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 62
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 65
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 125147
LawOfDemeter Potential violation of Law of Demeter (static property access) 136

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ErrorPacket.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 72
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 97122
LawOfDemeter Potential violation of Law of Demeter (static property access) 109

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/InformationPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 66
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 99126
LawOfDemeter Potential violation of Law of Demeter (static property access) 115

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/JsonCommandPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 90
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 112137
LawOfDemeter Potential violation of Law of Demeter (static property access) 124
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 169

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/KeepAlivePacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 56
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 8392
LawOfDemeter Potential violation of Law of Demeter (static property access) 87

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/LocalPacketCodec.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 2855

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/LocalPacketFactory.java

Rule Violation Line
CyclomaticComplexity The method 'createPacketFromByteBuf(int, int, int, ByteBuf)' has a cyclomatic complexity of 28. 98170
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 179

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/NoOpPacket.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5865
LawOfDemeter Potential violation of Law of Demeter (static property access) 61

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/RequestPacket.java

Rule Violation Line
GodClass Possible God Class (WMC=69, ATFD=66, TCC=20.120%) 48585
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 188
LawOfDemeter Potential violation of Law of Demeter (static property access) 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 190
NPathComplexity The method 'createFromBuffer(int, int, int, ByteBuf)' has an NPath complexity of 384, current threshold is 200 214287
CyclomaticComplexity The method 'createFromBuffer(int, int, int, ByteBuf)' has a cyclomatic complexity of 14. 214287
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 246
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 248
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 252
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 260
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 266
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 269
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 275
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 281
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 309
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 367372
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 375395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 380
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 386
LawOfDemeter Potential violation of Law of Demeter (static property access) 390391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 392393
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 398443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 416418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 422424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 427428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 431432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 435436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 439441
AvoidDuplicateLiterals The String literal " : " appears 9 times in this file; the first occurrence is on line 452 452
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 552555
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 554

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ShutdownPacket.java

Rule Violation Line
ArrayIsStoredDirectly The user-supplied array 'spassword' is stored directly. 68
ArrayIsStoredDirectly The user-supplied array 'spassword' is stored directly. 77
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 88110
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
MethodReturnsInternalArray Returning 'key' may expose an internal array. 126

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/StartupPacket.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6883
LawOfDemeter Potential violation of Law of Demeter (static property access) 76

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/TestPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7192
LawOfDemeter Potential violation of Law of Demeter (static property access) 83
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 107110
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 109

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ValidPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 83104
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 126128
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 133136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 135

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/compression/ZstdCompressionCodecDataPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 5557
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8992
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 99

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/BandwidthJsonPacket.java

Rule Violation Line
DataClass The class 'BandwidthJsonPacket' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=10, WMC=13) 27123

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/BusinessRequestJsonPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
AvoidFieldNameMatchingMethodName Field isToApplied has the same name as a method 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
AvoidFieldNameMatchingMethodName Field isValidated has the same name as a method 34

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigExportJsonPacket.java

Rule Violation Line
DataClass The class 'ConfigExportJsonPacket' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=10, WMC=13) 27122

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigExportResponseJsonPacket.java

Rule Violation Line
DataClass The class 'ConfigExportResponseJsonPacket' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) 27124

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigImportJsonPacket.java

Rule Violation Line
DataClass The class 'ConfigImportJsonPacket' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=30, WMC=33) 29284

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigImportResponseJsonPacket.java

Rule Violation Line
DataClass The class 'ConfigImportResponseJsonPacket' is suspected to be a Data Class (WOC=4.348%, NOPA=0, NOAM=22, WMC=23) 27199

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/InformationJsonPacket.java

Rule Violation Line
DataClass The class 'InformationJsonPacket' is suspected to be a Data Class (WOC=31.250%, NOPA=0, NOAM=8, WMC=16) 27168
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 29
AvoidFieldNameMatchingMethodName Field isIdRequest has the same name as a method 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
AvoidFieldNameMatchingMethodName Field isTo has the same name as a method 31

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/JsonPacket.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 49
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 52
LawOfDemeter Potential violation of Law of Demeter (static property access) 112

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/LogJsonPacket.java

Rule Violation Line
DataClass The class 'LogJsonPacket' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=24, WMC=27) 29235

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/LogResponseJsonPacket.java

Rule Violation Line
DataClass The class 'LogResponseJsonPacket' is suspected to be a Data Class (WOC=11.111%, NOPA=0, NOAM=8, WMC=9) 2794

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/RequestJsonPacket.java

Rule Violation Line
DataClass The class 'RequestJsonPacket' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=7) 2779

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/RestartTransferJsonPacket.java

Rule Violation Line
DataClass The class 'RestartTransferJsonPacket' is suspected to be a Data Class (WOC=11.111%, NOPA=1, NOAM=8, WMC=9) 3198

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ShutdownOrBlockJsonPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
AvoidFieldNameMatchingMethodName Field isRestartOrBlock has the same name as a method 31
AvoidFieldNameMatchingMethodName Field isShutdownOrBlock has the same name as a method 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35
MethodReturnsInternalArray Returning 'key' may expose an internal array. 41
ArrayIsStoredDirectly The user-supplied array 'key' is stored directly. 47

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/TransferRequestJsonPacket.java

Rule Violation Line
DataClass The class 'TransferRequestJsonPacket' is suspected to be a Data Class (WOC=18.750%, NOPA=0, NOAM=26, WMC=33) 35299
AvoidFieldNameMatchingMethodName Field validate has the same name as a method 55
AvoidFieldNameMatchingMethodName Field isAdditionalDelay has the same name as a method 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/ElasticsearchMonitoringExporterClientBuilder.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3191
RedundantFieldInitializer Avoid using redundant field initializer for 'factory' 32
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 62

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/ElasticsearchMonitoringExporterClientFactory.java

Rule Violation Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 5255

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClient.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21278
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
RedundantFieldInitializer Avoid using redundant field initializer for 'remoteRestChannel' 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
RedundantFieldInitializer Avoid using redundant field initializer for 'futurePost' 83
NPathComplexity The constructor 'HttpMonitoringExporterClient(String, String, String, String, String, boolean, EventLoopGroup)' has an NPath complexity of 576, current threshold is 200 101164
CyclomaticComplexity The constructor 'HttpMonitoringExporterClient(String, String, String, String, String, boolean, EventLoopGroup)' has a cyclomatic complexity of 15. 101164
CognitiveComplexity The constructor 'HttpMonitoringExporterClient(String, String, String, String, String, boolean, EventLoopGroup)' has a cognitive complexity of 15, current threshold is 15 101164
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 106
AvoidUsingHardCodedIP Do not hard code the IP address 126
NPathComplexity The method 'post(ObjectNode, DateTime, DateTime, String)' has an NPath complexity of 1152, current threshold is 200 174257
CognitiveComplexity The method 'post(ObjectNode, DateTime, DateTime, String)' has a cognitive complexity of 15, current threshold is 15 174257
CyclomaticComplexity The method 'post(ObjectNode, DateTime, DateTime, String)' has a cyclomatic complexity of 14. 174257
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 187
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 238239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 245
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 246
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 275

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClientHandler.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 37
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 50
UnusedLocalVariable Avoid unused local variables such as 'status'. 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 66

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClientInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 32

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/MonitorExporterTransfers.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21431
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 141
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 170
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 182
ExcessiveParameterList Avoid long parameter lists. 245251
CyclomaticComplexity The constructor 'MonitorExporterTransfers(String, String, String, String, String, String, String, boolean, boolean, boolean)' has a cyclomatic complexity of 14. 245312
NPathComplexity The constructor 'MonitorExporterTransfers(String, String, String, String, String, String, String, boolean, boolean, boolean)' has an NPath complexity of 288, current threshold is 200 245312
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 264
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 270
AvoidUsingHardCodedIP Do not hard code the IP address 272
NPathComplexity The method 'run()' has an NPath complexity of 1488, current threshold is 200 315420
ExcessiveMethodLength Avoid really long methods. 315420
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 315420
NcssCount The method 'run()' has a NCSS line count of 83. 315420
CognitiveComplexity The method 'run()' has a cognitive complexity of 27, current threshold is 15 315420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 380
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 380
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 386
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 387388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 390
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 396
LawOfDemeter Potential violation of Law of Demeter (static property access) 400
LawOfDemeter Potential violation of Law of Demeter (static property access) 411

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkChannelReference.java

Rule Violation Line
GodClass Possible God Class (WMC=57, ATFD=36, TCC=21.377%) 51421
TooManyMethods This class has too many methods, consider refactoring it. 51421
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
AvoidFieldNameMatchingMethodName Field isShuttingDown has the same name as a method 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
AvoidFieldNameMatchingMethodName Field channel has the same name as a method 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 97
AvoidFieldNameMatchingMethodName Field isSSL has the same name as a method 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 166
CognitiveComplexity The method 'shutdownAllLocalChannels()' has a cognitive complexity of 24, current threshold is 15 185236
CyclomaticComplexity The method 'shutdownAllLocalChannels()' has a cyclomatic complexity of 10. 185236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 195196
LawOfDemeter Potential violation of Law of Demeter (static property access) 196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198199
LawOfDemeter Potential violation of Law of Demeter (static property access) 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 201
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 206207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210211
LawOfDemeter Potential violation of Law of Demeter (static property access) 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 228229
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
CognitiveComplexity The method 'shutdownAllowed()' has a cognitive complexity of 16, current threshold is 15 255294
LawOfDemeter Potential violation of Law of Demeter (static property access) 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 318
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 319
LawOfDemeter Potential violation of Law of Demeter (static property access) 343
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 343
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkServerHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20565
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
AvoidFieldNameMatchingMethodName Field isSSL has the same name as a method 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 104
CyclomaticComplexity The method 'channelInactive(ChannelHandlerContext)' has a cyclomatic complexity of 13. 114159
CognitiveComplexity The method 'channelInactive(ChannelHandlerContext)' has a cognitive complexity of 17, current threshold is 15 114159
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 118119
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 118119
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 167168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 179180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 216
CyclomaticComplexity The method 'userEventTriggered(ChannelHandlerContext, Object)' has a cyclomatic complexity of 14. 221276
CognitiveComplexity The method 'userEventTriggered(ChannelHandlerContext, Object)' has a cognitive complexity of 28, current threshold is 15 221276
NPathComplexity The method 'userEventTriggered(ChannelHandlerContext, Object)' has an NPath complexity of 446, current threshold is 200 221276
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 229
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 258260
LawOfDemeter Potential violation of Law of Demeter (static property access) 258260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 270
ExcessiveMethodLength Avoid really long methods. 286444
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has a cyclomatic complexity of 24. 286444
NPathComplexity The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has an NPath complexity of 1261, current threshold is 200 286444
NcssCount The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has a NCSS line count of 80. 286444
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has a cognitive complexity of 58, current threshold is 15 286444
AvoidDuplicateLiterals The String literal " : " appears 9 times in this file; the first occurrence is on line 324 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 335
LawOfDemeter Potential violation of Law of Demeter (static property access) 363365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363365
LawOfDemeter Potential violation of Law of Demeter (static property access) 385387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 385387
LawOfDemeter Potential violation of Law of Demeter (static property access) 406408
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 406408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 411
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 10. 447509
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 480
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 488
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 494
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 498
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 503
EmptyIfStmt Avoid empty if statements 506508
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 531
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 537
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 538
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 547

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkServerInitializer.java

Rule Violation Line
DataClass The class 'NetworkServerInitializer' is suspected to be a Data Class (WOC=0.000%, NOPA=5, NOAM=0, WMC=4) 3986
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 53
LawOfDemeter Potential violation of Law of Demeter (static property access) 63
LawOfDemeter Potential violation of Law of Demeter (static property access) 65
LawOfDemeter Potential violation of Law of Demeter (static property access) 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 75
LawOfDemeter Potential violation of Law of Demeter (static property access) 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 83

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkTransaction.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 201427
TooManyMethods This class has too many methods, consider refactoring it. 851427
GodClass Possible God Class (WMC=201, ATFD=113, TCC=18.588%) 851427
ExcessiveClassLength Avoid really long classes. 851427
CyclomaticComplexity The class 'NetworkTransaction' has a total cyclomatic complexity of 201 (highest 24). 851427
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 138
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 142
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 144
CognitiveComplexity The method 'clearPreviousStates()' has a cognitive complexity of 17, current threshold is 15 182204
LawOfDemeter Potential violation of Law of Demeter (static property access) 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 188189
LawOfDemeter Potential violation of Law of Demeter (static property access) 188189
LawOfDemeter Potential violation of Law of Demeter (static property access) 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 197198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 197198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199
LawOfDemeter Potential violation of Law of Demeter (static property access) 199
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 49, but has at least 238 characters appended. 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 328
CognitiveComplexity The method 'createConnectionWithRetryWithAuthenticationException(SocketAddress, boolean, R66Future)' has a cognitive complexity of 17, current threshold is 15 393438
CyclomaticComplexity The method 'createConnectionWithRetryWithAuthenticationException(SocketAddress, boolean, R66Future)' has a cyclomatic complexity of 11. 393438
LawOfDemeter Potential violation of Law of Demeter (static property access) 428
LawOfDemeter Potential violation of Law of Demeter (static property access) 430
CyclomaticComplexity The method 'createConnection(SocketAddress, boolean, R66Future)' has a cyclomatic complexity of 13. 455518
CognitiveComplexity The method 'createConnection(SocketAddress, boolean, R66Future)' has a cognitive complexity of 15, current threshold is 15 455518
LawOfDemeter Potential violation of Law of Demeter (static property access) 467
LawOfDemeter Potential violation of Law of Demeter (static property access) 468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 469
LawOfDemeter Potential violation of Law of Demeter (static property access) 472473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 472473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 492495
LawOfDemeter Potential violation of Law of Demeter (static property access) 492495
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 496
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 505
CyclomaticComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cyclomatic complexity of 24. 531621
NPathComplexity The method 'createNewConnection(SocketAddress, boolean)' has an NPath complexity of 905, current threshold is 200 531621
CognitiveComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cognitive complexity of 36, current threshold is 15 531621
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 539
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 544
LawOfDemeter Potential violation of Law of Demeter (static property access) 560
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 569570
LawOfDemeter Potential violation of Law of Demeter (static property access) 573
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 575
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 579
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 587
LawOfDemeter Potential violation of Law of Demeter (static property access) 595
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 597
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 602
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 613
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 638639
LawOfDemeter Potential violation of Law of Demeter (static property access) 638639
CyclomaticComplexity The method 'sendValidationConnection(LocalChannelReference)' has a cyclomatic complexity of 15. 666762
CognitiveComplexity The method 'sendValidationConnection(LocalChannelReference)' has a cognitive complexity of 20, current threshold is 15 666762
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 670671
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 679
LawOfDemeter Potential violation of Law of Demeter (static property access) 680
LawOfDemeter Potential violation of Law of Demeter (static property access) 681
LawOfDemeter Potential violation of Law of Demeter (static property access) 682683
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 683
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 685
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 693694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 736
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 745
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 779
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 807
LawOfDemeter Potential violation of Law of Demeter (static property access) 831
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 835836
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 837839
LawOfDemeter Potential violation of Law of Demeter (static property access) 837839
LawOfDemeter Potential violation of Law of Demeter (static property access) 838
EmptyCatchBlock Avoid empty catch blocks 840842
LawOfDemeter Potential violation of Law of Demeter (static property access) 869
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 873874
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 875877
LawOfDemeter Potential violation of Law of Demeter (static property access) 875877
LawOfDemeter Potential violation of Law of Demeter (static property access) 876
EmptyCatchBlock Avoid empty catch blocks 878880
LawOfDemeter Potential violation of Law of Demeter (static property access) 905
LawOfDemeter Potential violation of Law of Demeter (static property access) 912
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 916917
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 918921
LawOfDemeter Potential violation of Law of Demeter (static property access) 918921
LawOfDemeter Potential violation of Law of Demeter (static property access) 919
EmptyCatchBlock Avoid empty catch blocks 922924
LawOfDemeter Potential violation of Law of Demeter (static property access) 935
LawOfDemeter Potential violation of Law of Demeter (static property access) 1052
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1091
LawOfDemeter Potential violation of Law of Demeter (static property access) 11111112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11111112
LawOfDemeter Potential violation of Law of Demeter (static property access) 11341135
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 1146
LawOfDemeter Potential violation of Law of Demeter (static property access) 11471150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 11471150
LawOfDemeter Potential violation of Law of Demeter (static property access) 1148
LawOfDemeter Potential violation of Law of Demeter (static property access) 1163
CyclomaticComplexity The method 'getRemoteChannel(SocketAddress)' has a cyclomatic complexity of 15. 12301267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1258
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1293
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 1294
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1320
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1321
LawOfDemeter Potential violation of Law of Demeter (static property access) 1322
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1325
LawOfDemeter Potential violation of Law of Demeter (static property access) 1326
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1329
LawOfDemeter Potential violation of Law of Demeter (static property access) 1331
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13401341
LawOfDemeter Potential violation of Law of Demeter (static property access) 13401341
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1350
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 13531354
LawOfDemeter Potential violation of Law of Demeter (static property access) 13531354
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1364
LawOfDemeter Potential violation of Law of Demeter (static property access) 1394
CollapsibleIfStatements These nested if statements could be combined 13951397
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1401
LawOfDemeter Potential violation of Law of Demeter (static property access) 1406
LawOfDemeter Potential violation of Law of Demeter (static property access) 1410
LawOfDemeter Potential violation of Law of Demeter (static property access) 1411
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1421
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 1422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1423

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/R66ConstraintLimitHandler.java

Rule Violation Line
ExcessiveParameterList Avoid long parameter lists. 121130
LawOfDemeter Potential violation of Law of Demeter (static property access) 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 140141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 140141
LawOfDemeter Potential violation of Law of Demeter (static property access) 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 153

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/packet/NetworkPacket.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 132133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 132133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 149

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/packet/NetworkPacketCodec.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 46
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 56
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 79
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 8587
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 92

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/ssl/NetworkSslServerHandler.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'isServer'. 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 7475
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7475
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9698
LawOfDemeter Potential violation of Law of Demeter (static property access) 9698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/ssl/NetworkSslServerInitializer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 7273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 75
LawOfDemeter Potential violation of Law of Demeter (static property access) 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 103

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66Counter32.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 30
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
LawOfDemeter Potential violation of Law of Demeter (static property access) 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66Gauge32.java

Rule Violation Line
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 30
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51
LawOfDemeter Potential violation of Law of Demeter (static property access) 51

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66PrivateMib.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 45399
LawOfDemeter Potential violation of Law of Demeter (static property access) 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 167
ExcessiveMethodLength Avoid really long methods. 179311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 187307
LawOfDemeter Potential violation of Law of Demeter (static property access) 188189
LawOfDemeter Potential violation of Law of Demeter (static property access) 192194
LawOfDemeter Potential violation of Law of Demeter (static property access) 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 197199
LawOfDemeter Potential violation of Law of Demeter (static property access) 203205
LawOfDemeter Potential violation of Law of Demeter (static property access) 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 209211
LawOfDemeter Potential violation of Law of Demeter (static property access) 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 216218
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 222224
LawOfDemeter Potential violation of Law of Demeter (static property access) 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 226227
LawOfDemeter Potential violation of Law of Demeter (static property access) 229231
LawOfDemeter Potential violation of Law of Demeter (static property access) 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 235237
LawOfDemeter Potential violation of Law of Demeter (static property access) 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 241243
LawOfDemeter Potential violation of Law of Demeter (static property access) 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 247249
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 253255
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 261263
LawOfDemeter Potential violation of Law of Demeter (static property access) 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 266268
LawOfDemeter Potential violation of Law of Demeter (static property access) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 270271
LawOfDemeter Potential violation of Law of Demeter (static property access) 273275
LawOfDemeter Potential violation of Law of Demeter (static property access) 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 279281
LawOfDemeter Potential violation of Law of Demeter (static property access) 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 285287
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 308
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 308
LawOfDemeter Potential violation of Law of Demeter (static property access) 322
LawOfDemeter Potential violation of Law of Demeter (static property access) 341
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 364383
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 384
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 384

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66TimeTicks.java

Rule Violation Line
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 30
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 51
LawOfDemeter Potential violation of Law of Demeter (static property access) 51

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66VariableFactory.java

Rule Violation Line
CyclomaticComplexity The method 'getVariable(OID, int, int, int)' has a cyclomatic complexity of 12. 3980

Waarp OpenR66 - org/waarp/openr66/protocol/utils/ChannelCloseTimer.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 44
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 101

Waarp OpenR66 - org/waarp/openr66/protocol/utils/ChannelUtils.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20368
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 61
TooManyMethods This class has too many methods, consider refactoring it. 61368
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 131
CyclomaticComplexity The method 'writeBackDataBlock(LocalChannelReference, FilesystemBasedDigest, DataBlock, FilesystemBasedDigest)' has a cyclomatic complexity of 10. 145188
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 253
CyclomaticComplexity The method 'exit()' has a cyclomatic complexity of 10. 282345
NPathComplexity The method 'exit()' has an NPath complexity of 384, current threshold is 200 282345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 296
LawOfDemeter Potential violation of Law of Demeter (static property access) 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 299300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 299300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 301
LawOfDemeter Potential violation of Law of Demeter (static property access) 301
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 319320
LawOfDemeter Potential violation of Law of Demeter (static property access) 319320
LawOfDemeter Potential violation of Law of Demeter (static property access) 322
LawOfDemeter Potential violation of Law of Demeter (static property access) 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 329
LawOfDemeter Potential violation of Law of Demeter (static property access) 329
LawOfDemeter Potential violation of Law of Demeter (static property access) 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 338
LawOfDemeter Potential violation of Law of Demeter (static property access) 342343
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 364
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 364
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 364

Waarp OpenR66 - org/waarp/openr66/protocol/utils/FileUtils.java

Rule Violation Line
CognitiveComplexity The method 'getFile(WaarpLogger, R66Session, String, boolean, boolean, boolean, R66File)' has a cognitive complexity of 17, current threshold is 15 59114
CyclomaticComplexity The method 'getFile(WaarpLogger, R66Session, String, boolean, boolean, boolean, R66File)' has a cyclomatic complexity of 11. 59114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 102

Waarp OpenR66 - org/waarp/openr66/protocol/utils/R66Future.java

Rule Violation Line
DataClass The class 'R66Future' is suspected to be a Data Class (WOC=11.111%, NOPA=0, NOAM=6, WMC=11) 2999
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 68

Waarp OpenR66 - org/waarp/openr66/protocol/utils/R66ShutdownHook.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 27

Waarp OpenR66 - org/waarp/openr66/protocol/utils/TransferUtils.java

Rule Violation Line
CyclomaticComplexity The method 'restartTransfer(DbTaskRunner, LocalChannelReference)' has a cyclomatic complexity of 16. 72180
NcssCount The method 'restartTransfer(DbTaskRunner, LocalChannelReference)' has a NCSS line count of 70. 72180
ExcessiveMethodLength Avoid really long methods. 72180
CognitiveComplexity The method 'restartTransfer(DbTaskRunner, LocalChannelReference)' has a cognitive complexity of 37, current threshold is 15 72180
EmptyIfStmt Avoid empty if statements 8082
LawOfDemeter Potential violation of Law of Demeter (static property access) 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 114115
LawOfDemeter Potential violation of Law of Demeter (static property access) 114115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 124
CyclomaticComplexity The method 'finalizeTaskWithNoSession(DbTaskRunner, LocalChannelReference)' has a cyclomatic complexity of 15. 190256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 210
ExceptionAsFlowControl Avoid using exceptions as flow control. 221
CognitiveComplexity The method 'stopOneTransfer(DbTaskRunner, Object, R66Session, String)' has a cognitive complexity of 17, current threshold is 15 259311
LawOfDemeter Potential violation of Law of Demeter (static property access) 264265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 264265
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 278
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 333344
ExcessiveParameterList Avoid long parameter lists. 333344
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 350362
ExcessiveParameterList Avoid long parameter lists. 350362
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 366
LawOfDemeter Potential violation of Law of Demeter (static property access) 372
CyclomaticComplexity The method 'cleanOneTransfer(DbTaskRunner, Object, R66Session, String)' has a cyclomatic complexity of 14. 408462
CognitiveComplexity The method 'cleanOneTransfer(DbTaskRunner, Object, R66Session, String)' has a cognitive complexity of 29, current threshold is 15 408462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 416
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 452453
LawOfDemeter Potential violation of Law of Demeter (static property access) 452453
ExcessiveParameterList Avoid long parameter lists. 486498
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 486498
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 502
LawOfDemeter Potential violation of Law of Demeter (static property access) 509

Waarp OpenR66 - org/waarp/openr66/server/ChangeBandwidthLimits.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 82
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 13. 96138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 105
MutableStaticState Do not use non-final non-private static fields 140
MutableStaticState Do not use non-final non-private static fields 141
MutableStaticState Do not use non-final non-private static fields 142
MutableStaticState Do not use non-final non-private static fields 143
MutableStaticState Do not use non-final non-private static fields 144
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 15. 146187
NPathComplexity The method 'getParams(String)' has an NPath complexity of 320, current threshold is 200 146187
NonThreadSafeSingleton Singleton is not thread safe 147149
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 150
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 162
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 165
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 168
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 171
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 174
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 29, current threshold is 15 189267
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 13. 189267
NonThreadSafeSingleton Singleton is not thread safe 192194
LawOfDemeter Potential violation of Law of Demeter (static property access) 205
NonThreadSafeSingleton Singleton is not thread safe 212224
LawOfDemeter Potential violation of Law of Demeter (static property access) 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 261

Waarp OpenR66 - org/waarp/openr66/server/ConfigExport.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 84
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 101
NPathComplexity The method 'run()' has an NPath complexity of 960, current threshold is 200 115171
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 115171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 132
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 153
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
MutableStaticState Do not use non-final non-private static fields 173
MutableStaticState Do not use non-final non-private static fields 174
MutableStaticState Do not use non-final non-private static fields 175
MutableStaticState Do not use non-final non-private static fields 176
MutableStaticState Do not use non-final non-private static fields 177
MutableStaticState Do not use non-final non-private static fields 178
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 13. 180214
NonThreadSafeSingleton Singleton is not thread safe 181183
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 184
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 205
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 14. 216292
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 31, current threshold is 15 216292
NPathComplexity The method 'main(String)' has an NPath complexity of 222, current threshold is 200 216292
NonThreadSafeSingleton Singleton is not thread safe 219221
LawOfDemeter Potential violation of Law of Demeter (static property access) 232
NonThreadSafeSingleton Singleton is not thread safe 238250
LawOfDemeter Potential violation of Law of Demeter (static property access) 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 286

Waarp OpenR66 - org/waarp/openr66/server/ConfigImport.java

Rule Violation Line
TooManyFields Too many fields 48415
MutableStaticState Do not use non-final non-private static fields 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 107
ExcessiveParameterList Avoid long parameter lists. 111117
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 174
MutableStaticState Do not use non-final non-private static fields 207
MutableStaticState Do not use non-final non-private static fields 208
MutableStaticState Do not use non-final non-private static fields 209
MutableStaticState Do not use non-final non-private static fields 210
MutableStaticState Do not use non-final non-private static fields 211
MutableStaticState Do not use non-final non-private static fields 212
MutableStaticState Do not use non-final non-private static fields 213
MutableStaticState Do not use non-final non-private static fields 214
MutableStaticState Do not use non-final non-private static fields 215
MutableStaticState Do not use non-final non-private static fields 216
MutableStaticState Do not use non-final non-private static fields 217
MutableStaticState Do not use non-final non-private static fields 218
MutableStaticState Do not use non-final non-private static fields 219
MutableStaticState Do not use non-final non-private static fields 220
MutableStaticState Do not use non-final non-private static fields 221
MutableStaticState Do not use non-final non-private static fields 222
ExcessiveMethodLength Avoid really long methods. 224334
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 192, current threshold is 15 224334
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 36. 224334
NcssCount The method 'getParams(String)' has a NCSS line count of 99. 224334
NPathComplexity The method 'getParams(String)' has an NPath complexity of 304, current threshold is 200 224334
NonThreadSafeSingleton Singleton is not thread safe 225227
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 228
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 239
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 245
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 251
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 257
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 263
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 279
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 282
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 292
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 302
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 312
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 322
NPathComplexity The method 'main(String)' has an NPath complexity of 222, current threshold is 200 336413
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 14. 336413
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 31, current threshold is 15 336413
NonThreadSafeSingleton Singleton is not thread safe 339341
LawOfDemeter Potential violation of Law of Demeter (static property access) 352
NonThreadSafeSingleton Singleton is not thread safe 360372
LawOfDemeter Potential violation of Law of Demeter (static property access) 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 386
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 400
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 407
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 407

Waarp OpenR66 - org/waarp/openr66/server/LogExport.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 84
NPathComplexity The method 'run()' has an NPath complexity of 320, current threshold is 200 98130
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 98130
LawOfDemeter Potential violation of Law of Demeter (static property access) 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 125
MutableStaticState Do not use non-final non-private static fields 132
MutableStaticState Do not use non-final non-private static fields 133
MutableStaticState Do not use non-final non-private static fields 134
MutableStaticState Do not use non-final non-private static fields 135
MutableStaticState Do not use non-final non-private static fields 136
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 18, current threshold is 15 138185
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 16. 138185
NPathComplexity The method 'getParams(String)' has an NPath complexity of 1512, current threshold is 200 138185
NonThreadSafeSingleton Singleton is not thread safe 139141
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 142
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 159
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 162
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 165
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 13. 187255
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 28, current threshold is 15 187255
NonThreadSafeSingleton Singleton is not thread safe 190192
LawOfDemeter Potential violation of Law of Demeter (static property access) 203
NonThreadSafeSingleton Singleton is not thread safe 209221
LawOfDemeter Potential violation of Law of Demeter (static property access) 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 229
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 249

Waarp OpenR66 - org/waarp/openr66/server/LogExtendedExport.java

Rule Violation Line
TooManyFields Too many fields 57465
MutableStaticState Do not use non-final non-private static fields 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 91
ExcessiveParameterList Avoid long parameter lists. 110118
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 135
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 149151
LawOfDemeter Potential violation of Law of Demeter (static property access) 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 152153
LawOfDemeter Potential violation of Law of Demeter (static property access) 153
NPathComplexity The method 'run()' has an NPath complexity of 1920, current threshold is 200 162237
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 162237
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 162237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 171
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 201
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 207
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 236
CognitiveComplexity The method 'importLog(R66Future)' has a cognitive complexity of 30, current threshold is 15 239295
CyclomaticComplexity The method 'importLog(R66Future)' has a cyclomatic complexity of 16. 239295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 278
MutableStaticState Do not use non-final non-private static fields 297
MutableStaticState Do not use non-final non-private static fields 298
MutableStaticState Do not use non-final non-private static fields 299
MutableStaticState Do not use non-final non-private static fields 300
MutableStaticState Do not use non-final non-private static fields 301
MutableStaticState Do not use non-final non-private static fields 302
MutableStaticState Do not use non-final non-private static fields 303
MutableStaticState Do not use non-final non-private static fields 304
MutableStaticState Do not use non-final non-private static fields 305
MutableStaticState Do not use non-final non-private static fields 306
MutableStaticState Do not use non-final non-private static fields 307
MutableStaticState Do not use non-final non-private static fields 308
MutableStaticState Do not use non-final non-private static fields 309
MutableStaticState Do not use non-final non-private static fields 310
MutableStaticState Do not use non-final non-private static fields 311
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 29, current threshold is 15 313388
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 27. 313388
NcssCount The method 'getParams(String)' has a NCSS line count of 77. 313388
NPathComplexity The method 'getParams(String)' has an NPath complexity of 7344, current threshold is 200 313388
NonThreadSafeSingleton Singleton is not thread safe 314316
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 317
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 334
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 337
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 340
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 343
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 346
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 349
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 362
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 365
NonThreadSafeSingleton Singleton is not thread safe 384386
NPathComplexity The method 'main(String)' has an NPath complexity of 216, current threshold is 200 390463
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 31, current threshold is 15 390463
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 14. 390463
NonThreadSafeSingleton Singleton is not thread safe 393395
NonThreadSafeSingleton Singleton is not thread safe 405418
LawOfDemeter Potential violation of Law of Demeter (static property access) 416
LawOfDemeter Potential violation of Law of Demeter (static property access) 417
LawOfDemeter Potential violation of Law of Demeter (static property access) 421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 437
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 447
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 450
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 457

Waarp OpenR66 - org/waarp/openr66/server/LogImport.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 4195
NonThreadSafeSingleton Singleton is not thread safe 5355
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 56
LawOfDemeter Potential violation of Law of Demeter (static property access) 5758

Waarp OpenR66 - org/waarp/openr66/server/R66Server.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 49
LawOfDemeter Potential violation of Law of Demeter (static property access) 58
LawOfDemeter Potential violation of Law of Demeter (static property access) 6264
LawOfDemeter Potential violation of Law of Demeter (static property access) 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 67
LawOfDemeter Potential violation of Law of Demeter (static property access) 6870
LawOfDemeter Potential violation of Law of Demeter (static property access) 70
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 7375
NonThreadSafeSingleton Singleton is not thread safe 7981
LawOfDemeter Potential violation of Law of Demeter (static property access) 89
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 9094

Waarp OpenR66 - org/waarp/openr66/server/ServerExportConfiguration.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 41114
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 51112
NPathComplexity The method 'main(String)' has an NPath complexity of 224, current threshold is 200 51112
NonThreadSafeSingleton Singleton is not thread safe 5456
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 57
LawOfDemeter Potential violation of Law of Demeter (static property access) 5860
LawOfDemeter Potential violation of Law of Demeter (static property access) 75

Waarp OpenR66 - org/waarp/openr66/server/ServerInitDatabase.java

Rule Violation Line
GodClass Possible God Class (WMC=62, ATFD=68, TCC=21.429%) 48390
MutableStaticState Do not use non-final non-private static fields 52
MutableStaticState Do not use non-final non-private static fields 57
MutableStaticState Do not use non-final non-private static fields 58
AvoidFieldNameMatchingMethodName Field upgradeDb has the same name as a method 59
MutableStaticState Do not use non-final non-private static fields 59
MutableStaticState Do not use non-final non-private static fields 60
MutableStaticState Do not use non-final non-private static fields 61
MutableStaticState Do not use non-final non-private static fields 62
MutableStaticState Do not use non-final non-private static fields 63
MutableStaticState Do not use non-final non-private static fields 64
MutableStaticState Do not use non-final non-private static fields 65
MutableStaticState Do not use non-final non-private static fields 66
RedundantFieldInitializer Avoid using redundant field initializer for 'sextendedFactoryClassList' 66
MutableStaticState Do not use non-final non-private static fields 67
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 15. 72121
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 25, current threshold is 15 72121
NonThreadSafeSingleton Singleton is not thread safe 7375
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 76
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 89
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 92
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 95
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 98
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 101
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 104
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 107
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 110
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 30. 127303
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 46, current threshold is 15 127303
NcssCount The method 'main(String)' has a NCSS line count of 107. 127303
NPathComplexity The method 'main(String)' has an NPath complexity of 777618, current threshold is 200 127303
ExcessiveMethodLength Avoid really long methods. 127303
NonThreadSafeSingleton Singleton is not thread safe 130132
LawOfDemeter Potential violation of Law of Demeter (static property access) 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 153154
LawOfDemeter Potential violation of Law of Demeter (static property access) 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 157158
LawOfDemeter Potential violation of Law of Demeter (static property access) 159
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 168170
LawOfDemeter Potential violation of Law of Demeter (static property access) 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 177178
LawOfDemeter Potential violation of Law of Demeter (static property access) 179
LawOfDemeter Potential violation of Law of Demeter (static property access) 182183
LawOfDemeter Potential violation of Law of Demeter (static property access) 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 189190
LawOfDemeter Potential violation of Law of Demeter (static property access) 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 200202
LawOfDemeter Potential violation of Law of Demeter (static property access) 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 207208
LawOfDemeter Potential violation of Law of Demeter (static property access) 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 220221
LawOfDemeter Potential violation of Law of Demeter (static property access) 222
LawOfDemeter Potential violation of Law of Demeter (static property access) 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 256
NonThreadSafeSingleton Singleton is not thread safe 258288
NonThreadSafeSingleton Singleton is not thread safe 259261
NonThreadSafeSingleton Singleton is not thread safe 262264
NonThreadSafeSingleton Singleton is not thread safe 265267
LawOfDemeter Potential violation of Law of Demeter (static property access) 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 289290
LawOfDemeter Potential violation of Law of Demeter (static property access) 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 294295
LawOfDemeter Potential violation of Law of Demeter (static property access) 296
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 308309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 308309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 308309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 325
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 336
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 336
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 336
NonThreadSafeSingleton Singleton is not thread safe 343345
UnusedAssignment The initializer for variable 'uptodate' is never used (overwritten on lines 353 and 356) 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 353354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356357
LawOfDemeter Potential violation of Law of Demeter (static property access) 380

Waarp OpenR66 - org/waarp/openr66/server/ServerShutdown.java

Rule Violation Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 50199
ExcessiveMethodLength Avoid really long methods. 62197
NPathComplexity The method 'main(String)' has an NPath complexity of 483840, current threshold is 200 62197
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 54, current threshold is 15 62197
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 32. 62197
NcssCount The method 'main(String)' has a NCSS line count of 104. 62197
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 68
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 123
LawOfDemeter Potential violation of Law of Demeter (static property access) 142
UnusedAssignment The initializer for variable 'localChannelReference' is never used (overwritten on line 146) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 159
UnusedAssignment The initializer for variable 'value' is never used (overwritten on lines 164, 171, 176, 184, 187 and 191) 160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 185
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 191

Waarp OpenR66 - org/waarp/openr66/service/R66Engine.java

Rule Violation Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 35
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 55
LawOfDemeter Potential violation of Law of Demeter (static property access) 55
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 6166

Waarp OpenR66 - org/waarp/openr66/service/R66ServiceLauncher.java

Rule Violation Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 34
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 55

Waarp OpenR66 - org/waarp/openr66/thrift/R66EmbeddedServiceImpl.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20473
CognitiveComplexity The method 'initRequest(R66Request)' has a cognitive complexity of 16, current threshold is 15 68133
CyclomaticComplexity The method 'initRequest(R66Request)' has a cyclomatic complexity of 11. 68133
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 81
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 83
AvoidDuplicateLiterals The String literal " : {}" appears 5 times in this file; the first occurrence is on line 92 92
CognitiveComplexity The method 'transferRequestQuery(R66Request)' has a cognitive complexity of 24, current threshold is 15 136190
LawOfDemeter Potential violation of Law of Demeter (static property access) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 208
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 219
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 221
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 255
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 294295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 294295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 313
CyclomaticComplexity The method 'infoTransferQuery(R66Request)' has a cyclomatic complexity of 12. 323383
AvoidDuplicateLiterals The String literal "Not enough arguments" appears 5 times in this file; the first occurrence is on line 337 337
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 343345
LawOfDemeter Potential violation of Law of Demeter (static property access) 343345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 379
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 396397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 396397
NPathComplexity The method 'infoListQuery(R66Request)' has an NPath complexity of 228, current threshold is 200 402471
CognitiveComplexity The method 'infoListQuery(R66Request)' has a cognitive complexity of 18, current threshold is 15 402471
CyclomaticComplexity The method 'infoListQuery(R66Request)' has a cyclomatic complexity of 13. 402471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 420421
LawOfDemeter Potential violation of Law of Demeter (static property access) 421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 434
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 459
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 460

Waarp OpenR66 - org/waarp/openr66/thrift/R66ThriftServerService.java

Rule Violation Line
UnusedAssignment The field initializer for 'port' is never used (overwritten on line 54) 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 49

Waarp Snmp - org/waarp/snmp/SnmpConfiguration.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 192
MutableStaticState Do not use non-final non-private static fields 196
MutableStaticState Do not use non-final non-private static fields 200
MutableStaticState Do not use non-final non-private static fields 204
MutableStaticState Do not use non-final non-private static fields 208
CognitiveComplexity The method 'loadConfig()' has a cognitive complexity of 20, current threshold is 15 220266
CyclomaticComplexity The method 'loadConfig()' has a cyclomatic complexity of 15. 220266
NPathComplexity The method 'loadConfig()' has an NPath complexity of 1080, current threshold is 200 220266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
CognitiveComplexity The method 'loadSecurity()' has a cognitive complexity of 34, current threshold is 15 310375
NPathComplexity The method 'loadSecurity()' has an NPath complexity of 3073, current threshold is 200 310375
CyclomaticComplexity The method 'loadSecurity()' has a cyclomatic complexity of 18. 310375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 318
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 320
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 322
UnusedAssignment The value assigned to variable 'securityProtocol' is never used (overwritten on line 332) 342
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 342
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 360
UnusedAssignment The value assigned to variable 'securityPrivProtocol' is never used (overwritten on line 350) 360
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 365
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 365371
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 368
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 370371
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 398
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 400
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 402
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 404
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 406
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 408
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 410
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 412
MutableStaticState Do not use non-final non-private static fields 454
MutableStaticState Do not use non-final non-private static fields 458
NPathComplexity The method 'loadTarget()' has an NPath complexity of 209953, current threshold is 200 485590
NcssCount The method 'loadTarget()' has a NCSS line count of 84. 485590
ExcessiveMethodLength Avoid really long methods. 485590
CyclomaticComplexity The method 'loadTarget()' has a cyclomatic complexity of 28. 485590
CognitiveComplexity The method 'loadTarget()' has a cognitive complexity of 38, current threshold is 15 485590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 495
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 497
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 531
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 537
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 555
UnusedAssignment The initializer for variable 'isV2' is never used (overwritten on lines 570 and 572) 568
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 582586
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 582
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 582586
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 583
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 584
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 585
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 603
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 634
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 635
UnusedAssignment The value assigned to variable 'configuration' is never used 635

Waarp Snmp - org/waarp/snmp/WaarpMOFactory.java

Rule Violation Line
CyclomaticComplexity The method 'getVariable(OID, Object, int, int, int)' has a cyclomatic complexity of 15. 103158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 113
CyclomaticComplexity The method 'setVariable(Variable, Object, int)' has a cyclomatic complexity of 14. 167212

Waarp Snmp - org/waarp/snmp/WaarpSnmpAgent.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 20547
GodClass Possible God Class (WMC=49, ATFD=110, TCC=25.263%) 69547
TooManyMethods This class has too many methods, consider refactoring it. 69547
UnusedAssignment The field initializer for 'address' is never used (overwritten on line 136) 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 76
ImmutableField Private field 'address' could be made final; it is only initialized in the declaration or constructor. 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
ImmutableField Private field 'useTrap' could be made final; it is only initialized in the declaration or constructor. 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
UnusedAssignment The field initializer for 'useTrap' is never used (overwritten on line 139) 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 94
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 202
AvoidDuplicateLiterals The String literal "cpublic" appears 4 times in this file; the first occurrence is on line 258 258
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 299
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 300
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 303
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 304
AvoidDuplicateLiterals The String literal "public" appears 6 times in this file; the first occurrence is on line 308 308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 391
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 392
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 405
LawOfDemeter Potential violation of Law of Demeter (static property access) 429
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 438
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 455
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 458
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 469
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 484
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 486
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 489
LawOfDemeter Potential violation of Law of Demeter (static property access) 494
LawOfDemeter Potential violation of Law of Demeter (static property access) 501
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 508
LawOfDemeter Potential violation of Law of Demeter (static property access) 512

Waarp Snmp - org/waarp/snmp/interf/WaarpCounter32.java

Rule Violation Line
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 6063

Waarp Snmp - org/waarp/snmp/interf/WaarpGauge32.java

Rule Violation Line
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 6063

Waarp Snmp - org/waarp/snmp/interf/WaarpTimeTicks.java

Rule Violation Line
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 6063

Waarp Snmp - org/waarp/snmp/r66/WaarpPrivateMib.java

Rule Violation Line
TooManyFields Too many fields 46720
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 62
UnusedAssignment The field initializer for 'contactName' is never used (overwritten on line 206) 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 72
UnusedAssignment The field initializer for 'textualName' is never used (overwritten on line 207) 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 77
UnusedAssignment The field initializer for 'address' is never used (overwritten on line 208) 77
UnusedAssignment The field initializer for 'service' is never used (overwritten on line 209) 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 106
UnusedAssignment The field initializer for 'smiPrivateCode' is never used (overwritten on line 204) 106
UnusedAssignment The field initializer for 'smiTypeWaarp' is never used (overwritten on line 205) 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 147
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 152
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 175
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 180
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 185
LawOfDemeter Potential violation of Law of Demeter (static property access) 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 300
LawOfDemeter Potential violation of Law of Demeter (static property access) 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 356
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 362

Waarp Snmp - org/waarp/snmp/utils/MemoryGauge32.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 47
ImplicitSwitchFallThrough A switch statement does not contain a break 5567

Waarp Snmp - org/waarp/snmp/utils/WaarpDefaultVariableFactory.java

Rule Violation Line
CyclomaticComplexity The method 'getVariable(OID, int, int, int)' has a cyclomatic complexity of 12. 4384

Waarp Snmp - org/waarp/snmp/utils/WaarpEntry.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 35

Waarp Snmp - org/waarp/snmp/utils/WaarpMORow.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 54
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 115
MethodReturnsInternalArray Returning 'row' may expose an internal array. 125
ArrayIsStoredDirectly The user-supplied array 'row' is stored directly. 131

Waarp Snmp - org/waarp/snmp/utils/WaarpMOScalar.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
LawOfDemeter Potential violation of Law of Demeter (static property access) 57
LawOfDemeter Potential violation of Law of Demeter (static property access) 70

Waarp Snmp - org/waarp/snmp/utils/WaarpUptime.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 40
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 5255

Waarp Thrift - org/waarp/thrift/r66/ErrorCode.java

Rule Violation Line
NcssCount The method 'findByValue(int)' has a NCSS line count of 66. 179246
CyclomaticComplexity The method 'findByValue(int)' has a cyclomatic complexity of 32. 179246

Waarp Thrift - org/waarp/thrift/r66/R66Request.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 261758
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 261758
TooManyFields Too many fields 611758
GodClass Possible God Class (WMC=292, ATFD=67, TCC=12.045%) 611758
ExcessiveClassLength Avoid really long classes. 611758
CyclomaticComplexity The class 'R66Request' has a total cyclomatic complexity of 292 (highest 66). 611758
TooManyMethods This class has too many methods, consider refactoring it. 621758
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 158
CyclomaticComplexity The method 'findByThriftId(int)' has a cyclomatic complexity of 14. 171202
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 250
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 254
CyclomaticComplexity The constructor 'R66Request(R66Request)' has a cyclomatic complexity of 10. 315348
NPathComplexity The constructor 'R66Request(R66Request)' has an NPath complexity of 512, current threshold is 200 315348
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 357
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 358
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 359
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 360
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 361
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 362
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 367
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 368
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 373
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 392
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 405
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 419
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 433
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 447
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 461
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 475
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 488
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 502
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 515
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 529
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 542
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 609
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 622
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 636
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 649
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 723
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 736
CognitiveComplexity The method 'setFieldValue(_Fields, Object)' has a cognitive complexity of 40, current threshold is 15 741848
CyclomaticComplexity The method 'setFieldValue(_Fields, Object)' has a cyclomatic complexity of 27. 741848
NcssCount The method 'setFieldValue(_Fields, Object)' has a NCSS line count of 80. 741848
ExcessiveMethodLength Avoid really long methods. 741848
CyclomaticComplexity The method 'getFieldValue(_Fields)' has a cyclomatic complexity of 15. 851894
CyclomaticComplexity The method 'isSet(_Fields)' has a cyclomatic complexity of 17. 902936
NPathComplexity The method 'equals(R66Request)' has an NPath complexity of 2147483647, current threshold is 200 9491096
ExcessiveMethodLength Avoid really long methods. 9491096
CyclomaticComplexity The method 'equals(R66Request)' has a cyclomatic complexity of 66. 9491096
CognitiveComplexity The method 'equals(R66Request)' has a cognitive complexity of 97, current threshold is 15 9491096
NcssCount The method 'equals(R66Request)' has a NCSS line count of 94. 9491096
ExcessiveMethodLength Avoid really long methods. 11041247
NcssCount The method 'compareTo(R66Request)' has a NCSS line count of 95. 11041247
CyclomaticComplexity The method 'compareTo(R66Request)' has a cyclomatic complexity of 40. 11041247
NPathComplexity The method 'compareTo(R66Request)' has an NPath complexity of 2147483647, current threshold is 200 11041247
CognitiveComplexity The method 'compareTo(R66Request)' has a cognitive complexity of 51, current threshold is 15 11041247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1261
NPathComplexity The method 'toString()' has an NPath complexity of 209952, current threshold is 200 12651364
NcssCount The method 'toString()' has a NCSS line count of 77. 12651364
CognitiveComplexity The method 'toString()' has a cognitive complexity of 39, current threshold is 15 12651364
CyclomaticComplexity The method 'toString()' has a cyclomatic complexity of 22. 12651364
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1266
AvoidDuplicateLiterals The String literal "null" appears 9 times in this file; the first occurrence is on line 1 270 1270
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1275
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1284
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1293
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1302
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1311
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1320
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1324
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1328
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1337
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1346
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1350
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1354
GodClass Possible God Class (WMC=51, ATFD=101, TCC=0.000%) 14031608
NcssCount The method 'read(TProtocol, R66Request)' has a NCSS line count of 104. 14071531
CyclomaticComplexity The method 'read(TProtocol, R66Request)' has a cyclomatic complexity of 29. 14071531
CognitiveComplexity The method 'read(TProtocol, R66Request)' has a cognitive complexity of 57, current threshold is 15 14071531
ExcessiveMethodLength Avoid really long methods. 14071531
ImplicitSwitchFallThrough A switch statement does not contain a break 14161523
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1419
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1427
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1435
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1443
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1451
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1459
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1467
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1475
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1483
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1491
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1499
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1507
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1515
NPathComplexity The method 'write(TProtocol, R66Request)' has an NPath complexity of 209952, current threshold is 200 15341606
CyclomaticComplexity The method 'write(TProtocol, R66Request)' has a cyclomatic complexity of 22. 15341606
CognitiveComplexity The method 'write(TProtocol, R66Request)' has a cognitive complexity of 21, current threshold is 15 15341606
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1539
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1540
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1541
LawOfDemeter Potential violation of Law of Demeter (static property access) 1541
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1544
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1545
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1546
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1549
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1550
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1551
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1554
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1555
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1556
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1559
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1560
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1561
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1564
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1565
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1566
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1570
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1571
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1575
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1576
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1581
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1584
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1585
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1586
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1590
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1591
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1595
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1596
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1599
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1600
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1601
LawOfDemeter Potential violation of Law of Demeter (static property access) 1601
NPathComplexity The method 'write(TProtocol, R66Request)' has an NPath complexity of 16777216, current threshold is 200 16201698
CognitiveComplexity The method 'write(TProtocol, R66Request)' has a cognitive complexity of 24, current threshold is 15 16201698
CyclomaticComplexity The method 'write(TProtocol, R66Request)' has a cyclomatic complexity of 25. 16201698
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1623
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1623
LawOfDemeter Potential violation of Law of Demeter (static property access) 1623
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1661
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1663
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1666
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1669
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1672
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1675
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1678
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1681
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1684
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1687
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1690
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1693
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1696
LawOfDemeter Potential violation of Law of Demeter (static property access) 1696
CyclomaticComplexity The method 'read(TProtocol, R66Request)' has a cyclomatic complexity of 13. 17011755
NPathComplexity The method 'read(TProtocol, R66Request)' has an NPath complexity of 4096, current threshold is 200 17011755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1704
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1704
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1706
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1707
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1711
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1712
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1715
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1716
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1719
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1723
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1727
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1728
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1731
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1732
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1735
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1736
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1739
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1740
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1743
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1744
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1747
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1751
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1752

Waarp Thrift - org/waarp/thrift/r66/R66Result.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 262494
ExcessivePublicCount This class has a bunch of public methods and attributes 262494
TooManyFields Too many fields 612494
CyclomaticComplexity The class 'R66Result' has a total cyclomatic complexity of 426 (highest 101). 612494
ExcessiveClassLength Avoid really long classes. 612494
GodClass Possible God Class (WMC=426, ATFD=100, TCC=12.010%) 612494
TooManyMethods This class has too many methods, consider refactoring it. 622494
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 135
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 197
CyclomaticComplexity The method 'findByThriftId(int)' has a cyclomatic complexity of 21. 210255
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 308
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 312
CyclomaticComplexity The constructor 'R66Result(R66Result)' has a cyclomatic complexity of 12. 396440
NPathComplexity The constructor 'R66Result(R66Result)' has an NPath complexity of 2048, current threshold is 200 396440
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 449
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 450
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 451
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 452
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 453
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 456
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 457
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 458
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 471
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 476
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 477
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 496
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 509
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 523
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 537
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 551
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 565
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 579
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 592
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 606
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 619
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 665
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 678
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 698
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 711
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 725
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 738
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 916
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 929
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 998
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1011
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1025
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1038
NcssCount The method 'setFieldValue(_Fields, Object)' has a NCSS line count of 122. 10431206
CognitiveComplexity The method 'setFieldValue(_Fields, Object)' has a cognitive complexity of 61, current threshold is 15 10431206
CyclomaticComplexity The method 'setFieldValue(_Fields, Object)' has a cyclomatic complexity of 41. 10431206
ExcessiveMethodLength Avoid really long methods. 10431206
CyclomaticComplexity The method 'getFieldValue(_Fields)' has a cyclomatic complexity of 22. 12091273
CyclomaticComplexity The method 'isSet(_Fields)' has a cyclomatic complexity of 24. 12811329
CyclomaticComplexity The method 'equals(R66Result)' has a cyclomatic complexity of 101. 13421566
CognitiveComplexity The method 'equals(R66Result)' has a cognitive complexity of 147, current threshold is 15 13421566
NcssCount The method 'equals(R66Result)' has a NCSS line count of 143. 13421566
NPathComplexity The method 'equals(R66Result)' has an NPath complexity of 2147483647, current threshold is 200 13421566
ExcessiveMethodLength Avoid really long methods. 13421566
NcssCount The method 'compareTo(R66Result)' has a NCSS line count of 144. 15741794
ExcessiveMethodLength Avoid really long methods. 15741794
NPathComplexity The method 'compareTo(R66Result)' has an NPath complexity of 2147483647, current threshold is 200 15741794
CognitiveComplexity The method 'compareTo(R66Result)' has a cognitive complexity of 79, current threshold is 15 15741794
CyclomaticComplexity The method 'compareTo(R66Result)' has a cyclomatic complexity of 61. 15741794
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1575
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1613
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1623
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1633
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1644
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1654
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1665
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1676
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 16861687
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 17181719
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1730
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 17401741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1753
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 17631764
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1775
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1785
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1808
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1808
NPathComplexity The method 'toString()' has an NPath complexity of 26873856, current threshold is 200 18121945
ExcessiveMethodLength Avoid really long methods. 18121945
NcssCount The method 'toString()' has a NCSS line count of 104. 18121945
CognitiveComplexity The method 'toString()' has a cognitive complexity of 48, current threshold is 15 18121945
CyclomaticComplexity The method 'toString()' has a cyclomatic complexity of 29. 18121945
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1813
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 26, but has at least 36 characters appended. 1813
AvoidDuplicateLiterals The String literal "null" appears 11 times in this file; the first occurrence is on line 1 817 1817
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1822
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1831
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1840
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1849
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1858
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1862
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1870
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1870
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1877
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1877
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1885
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1889
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1893
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1897
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1901
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1905
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1909
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1918
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1922
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1926
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1935
GodClass Possible God Class (WMC=72, ATFD=149, TCC=0.000%) 19922288
CyclomaticComplexity The method 'read(TProtocol, R66Result)' has a cyclomatic complexity of 43. 19962176
NcssCount The method 'read(TProtocol, R66Result)' has a NCSS line count of 153. 19962176
CognitiveComplexity The method 'read(TProtocol, R66Result)' has a cognitive complexity of 85, current threshold is 15 19962176
ExcessiveMethodLength Avoid really long methods. 19962176
ImplicitSwitchFallThrough A switch statement does not contain a break 20052168
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2008
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2016
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2024
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2032
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2040
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2048
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2056
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2064
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2072
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2080
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2088
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2096
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2104
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2112
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2120
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2128
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2136
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2144
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2152
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2160
CognitiveComplexity The method 'write(TProtocol, R66Result)' has a cognitive complexity of 28, current threshold is 15 21792286
ExcessiveMethodLength Avoid really long methods. 21792286
CyclomaticComplexity The method 'write(TProtocol, R66Result)' has a cyclomatic complexity of 29. 21792286
NPathComplexity The method 'write(TProtocol, R66Result)' has an NPath complexity of 26873856, current threshold is 200 21792286
NcssCount The method 'write(TProtocol, R66Result)' has a NCSS line count of 85. 21792286
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2184
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2185
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2186
LawOfDemeter Potential violation of Law of Demeter (static property access) 2186
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2189
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2190
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2194
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2196
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2199
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2200
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2204
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2205
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2210
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2214
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2215
LawOfDemeter Potential violation of Law of Demeter (static property access) 2216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2220
LawOfDemeter Potential violation of Law of Demeter (static property access) 2221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2224
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2225
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2230
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2231
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2235
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2236
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2240
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2241
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2245
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2246
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2250
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2251
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2255
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2256
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2259
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2260
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2261
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2265
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2266
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2270
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2271
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2274
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2275
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2276
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2279
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2280
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2281
GodClass Possible God Class (WMC=53, ATFD=125, TCC=0.000%) 22972492
NcssCount The method 'write(TProtocol, R66Result)' has a NCSS line count of 75. 23002410
NPathComplexity The method 'write(TProtocol, R66Result)' has an NPath complexity of 2147483647, current threshold is 200 23002410
CyclomaticComplexity The method 'write(TProtocol, R66Result)' has a cyclomatic complexity of 35. 23002410
CognitiveComplexity The method 'write(TProtocol, R66Result)' has a cognitive complexity of 34, current threshold is 15 23002410
ExcessiveMethodLength Avoid really long methods. 23002410
LawOfDemeter Potential violation of Law of Demeter (static property access) 2303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2303
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2303
LawOfDemeter Potential violation of Law of Demeter (static property access) 2304
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2305
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2305
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2358
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2360
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2363
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2366
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2369
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2372
LawOfDemeter Potential violation of Law of Demeter (static property access) 2375
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2375
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2378
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2381
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2384
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2387
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2390
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2393
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2396
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2399
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2402
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2405
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2408
CognitiveComplexity The method 'read(TProtocol, R66Result)' has a cognitive complexity of 17, current threshold is 15 24132491
CyclomaticComplexity The method 'read(TProtocol, R66Result)' has a cyclomatic complexity of 18. 24132491
NPathComplexity The method 'read(TProtocol, R66Result)' has an NPath complexity of 131072, current threshold is 200 24132491
NcssCount The method 'read(TProtocol, R66Result)' has a NCSS line count of 60. 24132491
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2416
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2416
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2418
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2423
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2427
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2428
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2431
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2435
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2439
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2443
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2447
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2451
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2455
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2456
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2459
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2463
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2464
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2467
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2471
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2475
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2476
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2479
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2480
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2483
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2484
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2487
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2488

Waarp Thrift - org/waarp/thrift/r66/R66Service.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 264172
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 264172
CouplingBetweenObjects High amount of different objects as members denotes a high coupling 264172
NcssCount The class 'R66Service' has a NCSS line count of 1902 (Highest = 0). 804172
ExcessiveClassLength Avoid really long classes. 804172
AvoidDuplicateLiterals The String literal "request" appears 5 times in this file; the first occurrence is on line 81 81
AvoidDuplicateLiterals The String literal "success" appears 7 times in this file; the first occurrence is on line 82 82
TooManyMethods This class has too many methods, consider refactoring it. 117249
AvoidDuplicateLiterals The String literal "transferRequestQuery" appears 4 times in this file; the first occurrence is on line 118 118
AvoidDuplicateLiterals The String literal "isStillRunning" appears 4 times in this file; the first occurrence is on line 119 119
AvoidDuplicateLiterals The String literal "infoTransferQuery" appears 4 times in this file; the first occurrence is on line 120 120
AvoidDuplicateLiterals The String literal "infoListQuery" appears 4 times in this file; the first occurrence is on line 121 121
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 243
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 253
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 254
AvoidDuplicateLiterals The String literal "Method call not finished!" appears 4 times in this file; the first occurrence is on line 290 290
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 291
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 320
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 340
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 369
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 389
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 390
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 391
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 425
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 444
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 470
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 473
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 607
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 6141032
TooManyMethods This class has too many methods, consider refactoring it. 6161032
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 631
AvoidDuplicateLiterals The String literal "Field " appears 8 times in this file; the first occurrence is on line 657 657
AvoidDuplicateLiterals The String literal " doesn't exist!" appears 8 times in this file; the first occurrence is on line 658 658
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 659
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 674
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 724
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 759
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 773
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 786
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 868
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 886
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 886
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 891
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 891
AvoidDuplicateLiterals The String literal "null" appears 8 times in this file; the first occurrence is on line 899 899
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 954
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 956
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 956
LawOfDemeter Potential violation of Law of Demeter (static property access) 957
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 957
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 981
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 982
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 983
LawOfDemeter Potential violation of Law of Demeter (static property access) 983
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1012
LawOfDemeter Potential violation of Law of Demeter (static property access) 1014
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1014
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1023
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1024
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1025
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1026
LawOfDemeter Potential violation of Law of Demeter (static property access) 1026
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 10341453
TooManyMethods This class has too many methods, consider refactoring it. 10361453
AvoidDuplicateLiterals The String literal "success:" appears 4 times in this file; the first occurrence is on line 1 038 1038
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1051
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1077
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1143
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1179
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1193
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1306
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1306
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1311
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1377
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1377
LawOfDemeter Potential violation of Law of Demeter (static property access) 1378
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1378
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1402
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1403
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1404
LawOfDemeter Potential violation of Law of Demeter (static property access) 1404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1433
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1435
LawOfDemeter Potential violation of Law of Demeter (static property access) 1435
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1445
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1446
LawOfDemeter Potential violation of Law of Demeter (static property access) 1447
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1447
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 14551868
TooManyMethods This class has too many methods, consider refactoring it. 14571868
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1469
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1495
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1510
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1561
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1596
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1609
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1622
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1697
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 1727
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 1732
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1790
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1792
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1792
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1793
LawOfDemeter Potential violation of Law of Demeter (static property access) 1793
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1817
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1818
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1819
LawOfDemeter Potential violation of Law of Demeter (static property access) 1819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 1850
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1850
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1859
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 1860
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1861
LawOfDemeter Potential violation of Law of Demeter (static property access) 1862
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 1862
GodClass Possible God Class (WMC=50, ATFD=18, TCC=21.905%) 18702277
TooManyMethods This class has too many methods, consider refactoring it. 18722277
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1884
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1904
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1970
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2005
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2018
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2031
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2136
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 2141
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2201
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 2201
LawOfDemeter Potential violation of Law of Demeter (static property access) 2202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2227
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2228
LawOfDemeter Potential violation of Law of Demeter (static property access) 2228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2257
LawOfDemeter Potential violation of Law of Demeter (static property access) 2259
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2269
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2270
LawOfDemeter Potential violation of Law of Demeter (static property access) 2271
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2271
CyclomaticComplexity The class 'isStillRunning_args' has a total cyclomatic complexity of 83 (highest 12). 22792902
GodClass Possible God Class (WMC=83, ATFD=23, TCC=16.532%) 22792902
TooManyMethods This class has too many methods, consider refactoring it. 22812902
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2301
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2329
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 2399
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2403
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2452
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2453
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2468
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2481
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2495
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2509
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 25422567
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 25722582
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 25972604
CyclomaticComplexity The method 'equals(isStillRunning_args)' has a cyclomatic complexity of 12. 26192647
CognitiveComplexity The method 'equals(isStillRunning_args)' has a cognitive complexity of 17, current threshold is 15 26192647
CyclomaticComplexity The method 'compareTo(isStillRunning_args)' has a cyclomatic complexity of 10. 26552693
NPathComplexity The method 'compareTo(isStillRunning_args)' has an NPath complexity of 288, current threshold is 200 26552693
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2656
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2674
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2684
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2702
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2702
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2707
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 2707
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 36, but has at least 43 characters appended. 2712
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 2712
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 2720
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 2720
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 2727
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 2727
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 2728
CognitiveComplexity The method 'read(TProtocol, isStillRunning_args)' has a cognitive complexity of 17, current threshold is 15 27702815
ImplicitSwitchFallThrough A switch statement does not contain a break 27802807
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2783
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2791
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2799
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2824
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2825
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2826
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2829
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2830
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2831
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2834
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2835
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2869
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2871
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2874
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2877
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2886
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2887
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2888
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2891
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2892
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 2895
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 2896
TooManyMethods This class has too many methods, consider refactoring it. 29063302
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2918
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 2944
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3008
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3012
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3168
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3173
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3174
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3228
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3253
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3283
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3295
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3296
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 33043715
TooManyMethods This class has too many methods, consider refactoring it. 33063715
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3318
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3343
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3358
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3409
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3443
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3456
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3469
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3569
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3569
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3574
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3579
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3637
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3639
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3639
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3640
LawOfDemeter Potential violation of Law of Demeter (static property access) 3640
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3664
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3665
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3666
LawOfDemeter Potential violation of Law of Demeter (static property access) 3666
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3695
LawOfDemeter Potential violation of Law of Demeter (static property access) 3697
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3706
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3707
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3708
LawOfDemeter Potential violation of Law of Demeter (static property access) 3709
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3709
GodClass Possible God Class (WMC=56, ATFD=18, TCC=22.333%) 37174170
TooManyMethods This class has too many methods, consider refactoring it. 37194170
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3731
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3757
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3823
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3859
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3887
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3900
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3975
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3976
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3976
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3976
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3982
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4000
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4000
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4005
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4005
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 4010
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4069
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 4069
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4073
LawOfDemeter Potential violation of Law of Demeter (static property access) 4073
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4100
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4101
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4104
LawOfDemeter Potential violation of Law of Demeter (static property access) 4104
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4138
LawOfDemeter Potential violation of Law of Demeter (static property access) 4141
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4141
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 4155
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4158
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 4162
LawOfDemeter Potential violation of Law of Demeter (static property access) 4162

Priority 4

Waarp Common - org/waarp/common/crypto/ssl/WaarpSecureKeyStore.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 272

Waarp Common - org/waarp/common/database/data/AbstractDbData.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 532
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 617

Waarp Common - org/waarp/common/file/DataBlock.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 337

Waarp Common - org/waarp/common/guid/JvmProcessId.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 281

Waarp Common - org/waarp/common/logging/FormattingTuple.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 82

Waarp Common - org/waarp/common/logging/MessageFormatter.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 201
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 228
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 386
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 412
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 425
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 438
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 451
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 464
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 477

Waarp Common - org/waarp/common/service/ServiceLauncher.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 106
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 142
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 170
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 188

Waarp Common - org/waarp/common/utility/FileConvert.java

Rule Violation Line
DontCallThreadRun Dont call Thread.run() explicitly, use Thread.start() 118

Waarp Common - org/waarp/common/utility/Hexa.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 51

Waarp Common - org/waarp/common/utility/WaarpShutdownHook.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 238
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 379

Waarp Common - org/waarp/common/xml/XmlHash.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 37

Waarp Common - org/waarp/common/xml/XmlRootHash.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 28

Waarp Common - org/waarp/common/xml/XmlUtil.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 600
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 659
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 725
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 756
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 791

Waarp Compression - org/waarp/compress/zstdsafe/Histogram.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 61

Waarp Compression - org/waarp/compress/zstdsafe/SequenceEncoder.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 246

Waarp Compression - org/waarp/compress/zstdunsafe/FiniteStateEntropy.java

Rule Violation Line
DontImportSun Avoid importing anything from the sun.* packages 37

Waarp Compression - org/waarp/compress/zstdunsafe/Histogram.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 44
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 75

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceEncoder.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 247

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceStore.java

Rule Violation Line
DontImportSun Avoid importing anything from the sun.* packages 38

Waarp Compression - org/waarp/compress/zstdunsafe/UnsafeUtil.java

Rule Violation Line
DontImportSun Avoid importing anything from the sun.* packages 37

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameCompressor.java

Rule Violation Line
DontImportSun Avoid importing anything from the sun.* packages 40

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameDecompressor.java

Rule Violation Line
DontImportSun Avoid importing anything from the sun.* packages 44

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdUnsafeCodec.java

Rule Violation Line
DontImportSun Avoid importing anything from the sun.* packages 49

Waarp Digest - org/waarp/common/digest/WaarpBC.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 155

Waarp Exec - org/waarp/commandexec/server/LocalExecServerHandler.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 105

Waarp Ftp Core - org/waarp/ftp/core/control/BusinessHandler.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 175
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 197

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/file/SimpleAuth.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 63

Waarp Gateway Ftp - org/waarp/gateway/ftp/LogExport.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 90
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 154

Waarp Gateway Ftp - org/waarp/gateway/ftp/ServerInitDatabase.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 49

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/AbstractExecutor.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 449

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/GatewayRunnable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 40

Waarp Gateway Ftp - org/waarp/gateway/ftp/file/SimpleAuth.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 199

Waarp Gateway Ftp - org/waarp/gateway/ftp/service/FtpServiceLauncher.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 42

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpXmlDefinition.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 232
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 304

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/saplink/HttpSapBusinessFactory.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 414

Waarp ICAP Client - org/waarp/icap/IcapModel.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 54

Waarp ICAP Client - org/waarp/icap/IcapScanFile.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 340
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 794
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 832

Waarp Password Management GUI and Console - org/waarp/uip/WaarpPassword.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 113

Waarp OpenR66 - org/waarp/openr66/client/AbstractBusinessRequest.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 211

Waarp OpenR66 - org/waarp/openr66/client/AbstractTransfer.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 381
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 463

Waarp OpenR66 - org/waarp/openr66/client/Message.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 81

Waarp OpenR66 - org/waarp/openr66/client/RequestInformation.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 91

Waarp OpenR66 - org/waarp/openr66/client/RequestTransfer.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 105

Waarp OpenR66 - org/waarp/openr66/client/SpooledDirectoryTransfer.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 1183

Waarp OpenR66 - org/waarp/openr66/client/TransferArgs.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 355

Waarp OpenR66 - org/waarp/openr66/client/spooledService/SpooledServiceLauncher.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 42

Waarp OpenR66 - org/waarp/openr66/client/utils/OutputFormat.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 59
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 94

Waarp OpenR66 - org/waarp/openr66/configuration/RuleFileBasedConfiguration.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 385

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractTask.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 323

Waarp OpenR66 - org/waarp/openr66/context/task/FtpArgs.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 137

Waarp OpenR66 - org/waarp/openr66/context/task/IcapTask.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 179

Waarp OpenR66 - org/waarp/openr66/context/task/RescheduleTransferTask.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 271
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 449

Waarp OpenR66 - org/waarp/openr66/dao/database/StatementExecutor.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 239
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 320
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 447

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostConfiguration.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 361

Waarp OpenR66 - org/waarp/openr66/database/data/DbRule.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 270
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 1079

Waarp OpenR66 - org/waarp/openr66/database/data/DbTaskRunner.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 3083
DoNotThrowExceptionInFinally A throw statement in a finally block makes the control flow hard to understand. 42794318

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Configuration.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 745
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 1937
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 1951
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 1965
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 1980

Waarp OpenR66 - org/waarp/openr66/server/ChangeBandwidthLimits.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 146

Waarp OpenR66 - org/waarp/openr66/server/ConfigExport.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 180

Waarp OpenR66 - org/waarp/openr66/server/ConfigImport.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 224

Waarp OpenR66 - org/waarp/openr66/server/LogExport.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 138

Waarp OpenR66 - org/waarp/openr66/server/LogExtendedExport.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 313

Waarp OpenR66 - org/waarp/openr66/server/ServerInitDatabase.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 72

Waarp OpenR66 - org/waarp/openr66/service/R66ServiceLauncher.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 42

Waarp Snmp - org/waarp/snmp/utils/WaarpMORow.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 131

Files

Waarp Common - org/waarp/common/command/NextCommandReply.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42

Waarp Common - org/waarp/common/command/ReplyCode.java

Rule Violation Priority Line
CognitiveComplexity The method 'getFinalMsg(int, String)' has a cognitive complexity of 15, current threshold is 15 3 345377
EmptyCatchBlock Avoid empty catch blocks 3 363365
NcssCount The method 'getReplyCode(int)' has a NCSS line count of 104. 3 410516
ExcessiveMethodLength Avoid really long methods. 3 410516
CyclomaticComplexity The method 'getReplyCode(int)' has a cyclomatic complexity of 52. 3 410516
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 527
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 529
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 531
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 533

Waarp Common - org/waarp/common/command/exception/CommandAbstractException.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36

Waarp Common - org/waarp/common/cpu/CpuManagement.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 36
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 39

Waarp Common - org/waarp/common/cpu/CpuManagementSysmon.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 42
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 56

Waarp Common - org/waarp/common/cpu/WaarpConstraintLimitHandler.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=71, ATFD=26, TCC=30.303%) 3 35535
TooManyFields Too many fields 3 35535
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
ExcessiveParameterList Avoid long parameter lists. 3 189200
NPathComplexity The constructor 'WaarpConstraintLimitHandler(long, long, boolean, boolean, double, int, double, double, double, AbstractTrafficShapingHandler, long, long)' has an NPath complexity of 480, current threshold is 200 3 189251
CyclomaticComplexity The constructor 'WaarpConstraintLimitHandler(long, long, boolean, boolean, double, int, double, double, double, AbstractTrafficShapingHandler, long, long)' has a cyclomatic complexity of 13. 3 189251
CognitiveComplexity The constructor 'WaarpConstraintLimitHandler(long, long, boolean, boolean, double, int, double, double, double, AbstractTrafficShapingHandler, long, long)' has a cognitive complexity of 16, current threshold is 15 3 189251
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 217
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 247
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 247
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 248
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 258
CognitiveComplexity The method 'checkConstraintsSleep(int)' has a cognitive complexity of 22, current threshold is 15 3 329369
CyclomaticComplexity The method 'checkConstraintsSleep(int)' has a cyclomatic complexity of 11. 3 329369
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 362
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 435
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 438
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 438
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 439
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 443
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 444
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 444
NPathComplexity The method 'run()' has an NPath complexity of 676, current threshold is 200 3 454534
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 18. 3 454534
CognitiveComplexity The method 'run()' has a cognitive complexity of 35, current threshold is 15 3 454534
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 469
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 476
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 492

Waarp Common - org/waarp/common/crypto/DesManager.java

Rule Violation Priority Line
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 26

Waarp Common - org/waarp/common/crypto/DynamicKeyManager.java

Rule Violation Priority Line
NPathComplexity The method 'initFromList(List)' has an NPath complexity of 482, current threshold is 200 3 65148
NcssCount The method 'initFromList(List)' has a NCSS line count of 65. 3 65148
CognitiveComplexity The method 'initFromList(List)' has a cognitive complexity of 37, current threshold is 15 3 65148
CyclomaticComplexity The method 'initFromList(List)' has a cyclomatic complexity of 13. 3 65148
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 76
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 77
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 79
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 80
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 82
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 111
UnusedAssignment The value assigned to variable 'inputStream' is never used (overwritten on lines 82 and 114) 3 112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 112
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 114
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 182
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 182183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 191

Waarp Common - org/waarp/common/crypto/DynamicKeyObject.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105

Waarp Common - org/waarp/common/crypto/HmacSha1.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 81

Waarp Common - org/waarp/common/crypto/HmacSha256.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 122
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125126

Waarp Common - org/waarp/common/crypto/KeyManager.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
CognitiveComplexity The method 'initFromList(List)' has a cognitive complexity of 25, current threshold is 15 3 56109
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 59
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 62
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 67
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 69
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 70
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 116
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 116
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 155
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175

Waarp Common - org/waarp/common/crypto/KeyObject.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 61461
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 124
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 157
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 159
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 183
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 204
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 205
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 222
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 245
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 246
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 261
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 275
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 288
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 303
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 326
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 327
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 343
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 359
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 376
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 393
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 408
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 421
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 427
CloseResource Ensure that resources like this DataInputStream object are closed after use 3 428

Waarp Common - org/waarp/common/crypto/ssl/WaarpSecureKeyStore.java

Rule Violation Priority Line
CyclomaticComplexity The class 'WaarpSecureKeyStore' has a total cyclomatic complexity of 94 (highest 17). 3 52617
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
CyclomaticComplexity The constructor 'WaarpSecureKeyStore(String, String)' has a cyclomatic complexity of 11. 3 95122
AvoidDuplicateLiterals The String literal "JKS" appears 4 times in this file; the first occurrence is on line 100 3 100
CyclomaticComplexity The method 'initKeyStore(String, String, String)' has a cyclomatic complexity of 11. 3 180216
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 194
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 272
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 290
CyclomaticComplexity The method 'initTrustStore(String, String, boolean)' has a cyclomatic complexity of 17. 3 328390
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 340
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 469
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 509
GuardLogStatement Logger calls should be surrounded by log level guards. 2 592
GuardLogStatement Logger calls should be surrounded by log level guards. 2 612

Waarp Common - org/waarp/common/crypto/ssl/WaarpSecureTrustManagerFactory.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
AvoidFieldNameMatchingMethodName Field needAuthentication has the same name as a method 3 39
AvoidFieldNameMatchingMethodName Field hasTrustStore has the same name as a method 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40

Waarp Common - org/waarp/common/crypto/ssl/WaarpSslContextFactory.java

Rule Violation Priority Line
DataClass The class 'WaarpSslContextFactory' is suspected to be a Data Class (WOC=30.000%, NOPA=1, NOAM=3, WMC=21) 3 38258
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
AvoidFieldNameMatchingMethodName Field needClientAuthentication has the same name as a method 3 63
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 156159
GuardLogStatement Logger calls should be surrounded by log level guards. 2 157
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 163166
GuardLogStatement Logger calls should be surrounded by log level guards. 2 164
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 238
GuardLogStatement Logger calls should be surrounded by log level guards. 2 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 243244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 248

Waarp Common - org/waarp/common/crypto/ssl/WaarpSslUtility.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 70
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 72
GuardLogStatement Logger calls should be surrounded by log level guards. 2 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 113
GuardLogStatement Logger calls should be surrounded by log level guards. 2 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
GuardLogStatement Logger calls should be surrounded by log level guards. 2 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 143144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
GuardLogStatement Logger calls should be surrounded by log level guards. 2 150151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 151
GuardLogStatement Logger calls should be surrounded by log level guards. 2 168
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 187
GuardLogStatement Logger calls should be surrounded by log level guards. 2 199200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 225
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 232
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 279
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 299

Waarp Common - org/waarp/common/crypto/ssl/WaarpX509TrustManager.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41

Waarp Common - org/waarp/common/database/ConnectionFactory.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 41290
UnusedAssignment The field initializer for 'maxConnections' is never used (overwritten on line 193) 3 84
SingularField Perhaps 'maxIdle' could be replaced by a local variable. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 101
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 128
NonThreadSafeSingleton Singleton is not thread safe 3 129132
GuardLogStatement Logger calls should be surrounded by log level guards. 2 203205
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 69 characters appended. 3 277
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 278
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 279
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 280
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 281
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 282
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 283
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 284
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 285
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 286

Waarp Common - org/waarp/common/database/DbAdmin.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=47, ATFD=7, TCC=13.810%) 3 47445
AvoidFieldNameMatchingMethodName Field isReadOnly has the same name as a method 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 228
GuardLogStatement Logger calls should be surrounded by log level guards. 2 230231
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 239
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 246247
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 299
GuardLogStatement Logger calls should be surrounded by log level guards. 2 403
CloseResource Ensure that resources like this Connection object are closed after use 3 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 407

Waarp Common - org/waarp/common/database/DbConnectionPool.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 126
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 126
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135136
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 138
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 142
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 154164
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 201
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 240
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 243246
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 274294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
CyclomaticComplexity The method 'getConnection()' has a cyclomatic complexity of 10. 3 312340
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 342367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 360
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 369392
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 375
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 390
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 394404
EmptyCatchBlock Avoid empty catch blocks 3 409411
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 439
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 446
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 447
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 460462

Waarp Common - org/waarp/common/database/DbConstant.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 3181
MutableStaticState Do not use non-final non-private static fields 3 44
MutableStaticState Do not use non-final non-private static fields 3 48
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6971

Waarp Common - org/waarp/common/database/DbPreparedStatement.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
AvoidFieldNameMatchingMethodName Field isReady has the same name as a method 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
GuardLogStatement Logger calls should be surrounded by log level guards. 2 87
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 91
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 116
UnusedAssignment The value assigned to field 'preparedStatement' is never used (overwritten on lines 125, 131 and 138) 3 118
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 118
GuardLogStatement Logger calls should be surrounded by log level guards. 2 135136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 138
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 140141
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 168
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 170
UnusedAssignment The value assigned to field 'preparedStatement' is never used (overwritten on lines 177, 184 and 192) 3 170
GuardLogStatement Logger calls should be surrounded by log level guards. 2 189190
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 192
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 194195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232
GuardLogStatement Logger calls should be surrounded by log level guards. 2 236238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 238
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 241
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 243244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 286287
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 290
GuardLogStatement Logger calls should be surrounded by log level guards. 2 324325
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 345
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 363
GuardLogStatement Logger calls should be surrounded by log level guards. 2 391393

Waarp Common - org/waarp/common/database/DbRequest.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 98
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 100
GuardLogStatement Logger calls should be surrounded by log level guards. 2 127
EmptyCatchBlock Avoid empty catch blocks 3 154156
GuardLogStatement Logger calls should be surrounded by log level guards. 2 165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 194
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 215
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 223
EmptyCatchBlock Avoid empty catch blocks 3 252254
GuardLogStatement Logger calls should be surrounded by log level guards. 2 283

Waarp Common - org/waarp/common/database/DbSession.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=104, ATFD=11, TCC=21.839%) 3 47681
TooManyMethods This class has too many methods, consider refactoring it. 3 47681
CyclomaticComplexity The class 'DbSession' has a total cyclomatic complexity of 104 (highest 9). 3 47681
AvoidFieldNameMatchingMethodName Field isReadOnly has the same name as a method 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
AvoidFieldNameMatchingMethodName Field isDisActive has the same name as a method 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 116
GuardLogStatement Logger calls should be surrounded by log level guards. 2 118
GuardLogStatement Logger calls should be surrounded by log level guards. 2 125126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 159
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 159
GuardLogStatement Logger calls should be surrounded by log level guards. 2 162
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 195
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 224
GuardLogStatement Logger calls should be surrounded by log level guards. 2 227228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 269
GuardLogStatement Logger calls should be surrounded by log level guards. 2 272
AvoidDuplicateLiterals The String literal "{}{}" appears 4 times in this file; the first occurrence is on line 277 3 277
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 300
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 310
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 318
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 344
GuardLogStatement Logger calls should be surrounded by log level guards. 2 357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 359
EmptyCatchBlock Avoid empty catch blocks 3 365367
GuardLogStatement Logger calls should be surrounded by log level guards. 2 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 376
GuardLogStatement Logger calls should be surrounded by log level guards. 2 377
GuardLogStatement Logger calls should be surrounded by log level guards. 2 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 396
EmptyCatchBlock Avoid empty catch blocks 3 402404
GuardLogStatement Logger calls should be surrounded by log level guards. 2 406407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 418
GuardLogStatement Logger calls should be surrounded by log level guards. 2 459460
GuardLogStatement Logger calls should be surrounded by log level guards. 2 465467
GuardLogStatement Logger calls should be surrounded by log level guards. 2 470472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 526
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 554
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 611

Waarp Common - org/waarp/common/database/WaarpBasicDataSourceJava6.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 13

Waarp Common - org/waarp/common/database/WaarpBasicDataSourceJava8.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 13

Waarp Common - org/waarp/common/database/data/AbstractDbData.java

Rule Violation Priority Line
CyclomaticComplexity The class 'AbstractDbData' has a total cyclomatic complexity of 143 (highest 36). 3 53759
GodClass Possible God Class (WMC=143, ATFD=315, TCC=21.905%) 3 53759
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
AvoidDuplicateLiterals The String literal " WHERE " appears 4 times in this file; the first occurrence is on line 170 3 170
MethodReturnsInternalArray Returning 'allFields' may expose an internal array. 3 272
CyclomaticComplexity The method 'validateLength(int, String...)' has a cyclomatic complexity of 12. 3 346378
CyclomaticComplexity The method 'setTrueValue(PreparedStatement, DbValue, int)' has a cyclomatic complexity of 36. 3 389520
CognitiveComplexity The method 'setTrueValue(PreparedStatement, DbValue, int)' has a cognitive complexity of 33, current threshold is 15 3 389520
ExcessiveMethodLength Avoid really long methods. 3 389520
NcssCount The method 'setTrueValue(PreparedStatement, DbValue, int)' has a NCSS line count of 108. 3 389520
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 532
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 534
CyclomaticComplexity The method 'getTrueValue(ResultSet, DbValue)' has a cyclomatic complexity of 19. 3 549605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 589
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 592
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 617
CloseResource Ensure that resources like this ResultSet object are closed after use 3 619
CyclomaticComplexity The method 'getJson()' has a cyclomatic complexity of 17. 3 639686
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 641
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 641
ImplicitSwitchFallThrough A switch statement does not contain a break 3 643683
CyclomaticComplexity The method 'setFromJson(ObjectNode, boolean)' has a cyclomatic complexity of 25. 3 697758
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 714
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 719
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 727
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 731
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 735
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 744
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 744
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 747

Waarp Common - org/waarp/common/database/data/DbDataModel.java

Rule Violation Priority Line
AvoidFieldNameMatchingMethodName Field SELECT has the same name as a method 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
AvoidDuplicateLiterals The String literal "=?," appears 5 times in this file; the first occurrence is on line 91 3 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 122
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 123
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 358
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 368

Waarp Common - org/waarp/common/database/data/DbValue.java

Rule Violation Priority Line
CyclomaticComplexity The class 'DbValue' has a total cyclomatic complexity of 133 (highest 29). 3 42513
UnusedFormalParameter Avoid unused constructor parameters such as 'LONG'. 3 62
ArrayIsStoredDirectly The user-supplied array 'value' is stored directly. 3 249
CyclomaticComplexity The method 'getType()' has a cyclomatic complexity of 16. 3 280315
CyclomaticComplexity The method 'getValue()' has a cyclomatic complexity of 17. 3 317338
CyclomaticComplexity The method 'getValueAsString()' has a cyclomatic complexity of 17. 3 340370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 360
CloseResource Ensure that resources like this InputStream object are closed after use 3 374
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 380
CloseResource Ensure that resources like this Reader object are closed after use 3 392
CyclomaticComplexity The method 'setValueFromString(String)' has a cyclomatic complexity of 29. 3 408498
CognitiveComplexity The method 'setValueFromString(String)' has a cognitive complexity of 23, current threshold is 15 3 408498
NcssCount The method 'setValueFromString(String)' has a NCSS line count of 66. 3 408498
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 446
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 450
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 452453
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 452453
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 467
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 472
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 474475
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 474475

Waarp Common - org/waarp/common/database/model/DbModelAbstract.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=55, ATFD=37, TCC=10.909%) 3 41334
MutableStaticState Do not use non-final non-private static fields 3 58
MissingOverride The method 'getDbTypeResolver()' is missing an @Override annotation. 3 8284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
CyclomaticComplexity The method 'validConnection(DbSession)' has a cyclomatic complexity of 10. 3 148178
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 158
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 3 166
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 186
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 191
EmptyCatchBlock Avoid empty catch blocks 3 205207
CloseResource Ensure that resources like this Statement object are closed after use 3 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 229
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 234
EmptyCatchBlock Avoid empty catch blocks 3 254256
CyclomaticComplexity The method 'subValidConnectionSelect(DbSession, Statement)' has a cyclomatic complexity of 12. 3 259309
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 265
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 265
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 271
AvoidReassigningParameters Avoid reassigning parameters such as 'stmt' 2 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
EmptyCatchBlock Avoid empty catch blocks 3 305307

Waarp Common - org/waarp/common/database/model/DbModelCommonMariadbMySql.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 15. 3 73106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179

Waarp Common - org/waarp/common/database/model/DbModelFactory.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 33106
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 5557

Waarp Common - org/waarp/common/database/model/DbModelH2.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
GuardLogStatement Logger calls should be surrounded by log level guards. 2 104105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 122123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 135
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 139144
GuardLogStatement Logger calls should be surrounded by log level guards. 2 161162
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 17. 3 192229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264

Waarp Common - org/waarp/common/database/model/DbModelMariadb.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
GuardLogStatement Logger calls should be surrounded by log level guards. 2 127129
GuardLogStatement Logger calls should be surrounded by log level guards. 2 161162
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 249258
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 257

Waarp Common - org/waarp/common/database/model/DbModelMysql.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
CyclomaticComplexity The method 'createMysqlConnectionPoolDataSource(String, String, String)' has a cyclomatic complexity of 10. 3 102154
UnusedAssignment The initializer for variable 'mysqlConnectionPoolDataSourceClass' is never used (overwritten on lines 110, 114, 118 and 129) 3 105
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 106
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 111
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 121122
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 121122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 150
GuardLogStatement Logger calls should be surrounded by log level guards. 2 176178
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198200
GuardLogStatement Logger calls should be surrounded by log level guards. 2 217218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 234
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 238243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 262
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 270

Waarp Common - org/waarp/common/database/model/DbModelOracle.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 102
GuardLogStatement Logger calls should be surrounded by log level guards. 2 109111
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 132
GuardLogStatement Logger calls should be surrounded by log level guards. 2 139141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 158159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 208
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 15. 3 235268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 308

Waarp Common - org/waarp/common/database/model/DbModelPostgresql.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 61
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9091
CyclomaticComplexity The method 'getType(int)' has a cyclomatic complexity of 15. 3 130163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199

Waarp Common - org/waarp/common/database/properties/MySQLProperties.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 43
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 48

Waarp Common - org/waarp/common/file/AbstractDir.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=54, ATFD=20, TCC=17.647%) 3 43408
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
GuardLogStatement Logger calls should be surrounded by log level guards. 2 100
AvoidReassigningParameters Avoid reassigning parameters such as 'path' 2 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136
GuardLogStatement Logger calls should be surrounded by log level guards. 2 138
EmptyCatchBlock Avoid empty catch blocks 3 139141
EmptyCatchBlock Avoid empty catch blocks 3 164166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 216
CyclomaticComplexity The method 'getCanonicalPath(File)' has a cyclomatic complexity of 11. 3 229274
CognitiveComplexity The method 'getCanonicalPath(File)' has a cognitive complexity of 19, current threshold is 15 3 229274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 335
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 400
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 400

Waarp Common - org/waarp/common/file/AbstractFile.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87

Waarp Common - org/waarp/common/file/DataBlock.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
AvoidFieldNameMatchingMethodName Field isEOF has the same name as a method 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
AvoidFieldNameMatchingMethodName Field isEOR has the same name as a method 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
AvoidFieldNameMatchingMethodName Field isERROR has the same name as a method 3 73
AvoidFieldNameMatchingMethodName Field isRESTART has the same name as a method 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
MethodReturnsInternalArray Returning 'block' may expose an internal array. 3 105
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 131
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 144
ArrayIsStoredDirectly The user-supplied array 'block' is stored directly. 3 165
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 167
AvoidArrayLoops System.arraycopy is more efficient 3 174176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 189
MethodReturnsInternalArray Returning 'markers' may expose an internal array. 3 312
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 337
ArrayIsStoredDirectly The user-supplied array 'markers' is stored directly. 3 337
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 348
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 350
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 398

Waarp Common - org/waarp/common/file/DirInterface.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 30343

Waarp Common - org/waarp/common/file/FileInterface.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 32257

Waarp Common - org/waarp/common/file/FileUtils.java

Rule Violation Priority Line
CyclomaticComplexity The class 'FileUtils' has a total cyclomatic complexity of 131 (highest 17). 3 47651
TooManyMethods This class has too many methods, consider refactoring it. 3 47651
GodClass Possible God Class (WMC=131, ATFD=30, TCC=1.449%) 3 47651
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 62
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 73
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 78
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 89
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 105
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 170
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 180
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 206
NPathComplexity The method 'copy(File, File, boolean, boolean)' has an NPath complexity of 330, current threshold is 200 3 274316
CognitiveComplexity The method 'copy(File, File, boolean, boolean)' has a cognitive complexity of 15, current threshold is 15 3 274316
CyclomaticComplexity The method 'copy(File, File, boolean, boolean)' has a cyclomatic complexity of 17. 3 274316
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 293
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 298
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 303
NPathComplexity The method 'forceDeleteRecursiveSubDir(File)' has an NPath complexity of 240, current threshold is 200 3 360390
CyclomaticComplexity The method 'forceDeleteRecursiveSubDir(File)' has a cyclomatic complexity of 11. 3 360390
CognitiveComplexity The method 'forceDeleteRecursiveSubDir(File)' has a cognitive complexity of 17, current threshold is 15 3 360390
CognitiveComplexity The method 'forceDeleteRecursiveDir(File)' has a cognitive complexity of 15, current threshold is 15 3 399426
CyclomaticComplexity The method 'forceDeleteRecursiveDir(File)' has a cyclomatic complexity of 10. 3 399426
CyclomaticComplexity The method 'deleteRecursiveDir(File)' has a cyclomatic complexity of 10. 3 436465
EmptyCatchBlock Avoid empty catch blocks 3 528530
EmptyCatchBlock Avoid empty catch blocks 3 530532
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 563
CloseResource Ensure that resources like this CompressorInputStream object are closed after use 3 564
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 565
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 572

Waarp Common - org/waarp/common/file/Restart.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
AvoidFieldNameMatchingMethodName Field isSet has the same name as a method 3 41

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedAuthImpl.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
AvoidFieldNameMatchingMethodName Field isIdentified has the same name as a method 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 244
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 275277

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedDirImpl.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20782
GodClass Possible God Class (WMC=137, ATFD=68, TCC=2.956%) 3 62782
TooManyMethods This class has too many methods, consider refactoring it. 3 62782
CyclomaticComplexity The class 'FilesystemBasedDirImpl' has a total cyclomatic complexity of 137 (highest 17). 3 62782
MutableStaticState Do not use non-final non-private static fields 3 77
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 90
NPathComplexity The method 'wildcardFiles(String)' has an NPath complexity of 1600, current threshold is 200 3 142216
CyclomaticComplexity The method 'wildcardFiles(String)' has a cyclomatic complexity of 17. 3 142216
CognitiveComplexity The method 'wildcardFiles(String)' has a cognitive complexity of 23, current threshold is 15 3 142216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 253
AvoidDuplicateLiterals The String literal " founds" appears 6 times in this file; the first occurrence is on line 255 3 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 257
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274275
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 304
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 323
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 330
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 398
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 401
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 405
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 409
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 417
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 421
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 424
CognitiveComplexity The method 'list(String)' has a cognitive complexity of 18, current threshold is 15 3 432472
CyclomaticComplexity The method 'list(String)' has a cyclomatic complexity of 11. 3 432472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 451
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 459
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
CyclomaticComplexity The method 'listFull(String, boolean)' has a cyclomatic complexity of 15. 3 475530
CognitiveComplexity The method 'listFull(String, boolean)' has a cognitive complexity of 33, current threshold is 15 3 475530
NPathComplexity The method 'listFull(String, boolean)' has an NPath complexity of 336, current threshold is 200 3 475530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 483
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 495
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 538
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 541
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 542
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 6 consecutive times with literals. Use a single append with a single combined String. 3 581
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 607
NPathComplexity The method 'mlsxInfo(File)' has an NPath complexity of 312, current threshold is 200 3 618678
CognitiveComplexity The method 'mlsxInfo(File)' has a cognitive complexity of 40, current threshold is 15 3 618678
CyclomaticComplexity The method 'mlsxInfo(File)' has a cyclomatic complexity of 16. 3 618678
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 621
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 621
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 627
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 627
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 630
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 648
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 3 652
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 663
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 670
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 696
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 700
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 709
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 722
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 728
CloseResource Ensure that resources like this CheckedInputStream object are closed after use 3 729
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 736
EmptyWhileStmt Avoid empty while statements 3 739741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 742
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 744
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 754
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 760
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 770
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 778

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedFileImpl.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=147, ATFD=34, TCC=22.521%) 3 45831
CyclomaticComplexity The class 'FilesystemBasedFileImpl' has a total cyclomatic complexity of 147 (highest 16). 3 45831
TooManyMethods This class has too many methods, consider refactoring it. 3 45831
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
UnusedAssignment The field initializer for 'currentRealFile' is never used (overwritten on lines 123 and 155) 3 83
RedundantFieldInitializer Avoid using redundant field initializer for 'currentRealFile' 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 155
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 164
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190
GuardLogStatement Logger calls should be surrounded by log level guards. 2 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 279295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 282
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 289
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 298306
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 301
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 324329
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 332337
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 449
GuardLogStatement Logger calls should be surrounded by log level guards. 2 449
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 457
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 457
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 477483
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 480
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 486492
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 495509
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 518520
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 530546
CyclomaticComplexity The method 'writeBlock(byte, int, int)' has a cyclomatic complexity of 12. 3 561591
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 561591
GuardLogStatement Logger calls should be surrounded by log level guards. 2 580
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 588
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 603612
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 636645
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 663717
CyclomaticComplexity The method 'getByteBlock(byte)' has a cyclomatic complexity of 16. 3 663717
NPathComplexity The method 'getByteBlock(byte)' has an NPath complexity of 270, current threshold is 200 3 663717
CognitiveComplexity The method 'getByteBlock(byte)' has a cognitive complexity of 18, current threshold is 15 3 663717
GuardLogStatement Logger calls should be surrounded by log level guards. 2 686
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 692
GuardLogStatement Logger calls should be surrounded by log level guards. 2 742
GuardLogStatement Logger calls should be surrounded by log level guards. 2 746
GuardLogStatement Logger calls should be surrounded by log level guards. 2 774
GuardLogStatement Logger calls should be surrounded by log level guards. 2 777
CloseResource Ensure that resources like this RandomAccessFile object are closed after use 3 809
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 811
GuardLogStatement Logger calls should be surrounded by log level guards. 2 814815
GuardLogStatement Logger calls should be surrounded by log level guards. 2 826

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedFileParameterImpl.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 35

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedOptsMLSxImpl.java

Rule Violation Priority Line
DataClass The class 'FilesystemBasedOptsMLSxImpl' is suspected to be a Data Class (WOC=4.762%, NOPA=0, NOAM=18, WMC=39) 3 29338
CyclomaticComplexity The method 'getFeat()' has a cyclomatic complexity of 19. 3 260337
NPathComplexity The method 'getFeat()' has an NPath complexity of 19683, current threshold is 200 3 260337
CognitiveComplexity The method 'getFeat()' has a cognitive complexity of 36, current threshold is 15 3 260337
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 20 characters appended. 3 261

Waarp Common - org/waarp/common/file/filesystembased/FilesystemBasedRestartImpl.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
AvoidReassigningParameters Avoid reassigning parameters such as 'nextBlock' 2 56

Waarp Common - org/waarp/common/file/filesystembased/specific/FilesystemBasedDirJdk6.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 47

Waarp Common - org/waarp/common/file/filesystembased/specific/FilesystemBasedDirJdkAbstract.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 35

Waarp Common - org/waarp/common/filemonitor/FileMonitor.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 201141
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201141
TooManyMethods This class has too many methods, consider refactoring it. 3 711141
TooManyFields Too many fields 3 711141
ExcessiveClassLength Avoid really long classes. 3 711141
GodClass Possible God Class (WMC=155, ATFD=97, TCC=19.061%) 3 711141
CyclomaticComplexity The class 'FileMonitor' has a total cyclomatic complexity of 155 (highest 31). 3 711141
MutableStaticState Do not use non-final non-private static fields 3 75
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreAlreadyUsed' 3 100
AvoidFieldNameMatchingMethodName Field initialized has the same name as a method 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 117
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 125
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 132
ExcessiveParameterList Avoid long parameter lists. 3 161167
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 299
GuardLogStatement Logger calls should be surrounded by log level guards. 2 306308
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 312
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 325
GuardLogStatement Logger calls should be surrounded by log level guards. 2 345347
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 353
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 359
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 361
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 379
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 386
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 440
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 482
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 483
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 488
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 519
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 520
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 522
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 523
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 523
GuardLogStatement Logger calls should be surrounded by log level guards. 2 563565
CognitiveComplexity The method 'checkFiles()' has a cognitive complexity of 22, current threshold is 15 3 577652
NPathComplexity The method 'checkFiles()' has an NPath complexity of 5760, current threshold is 200 3 577652
CyclomaticComplexity The method 'checkFiles()' has a cyclomatic complexity of 17. 3 577652
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 597
GuardLogStatement Logger calls should be surrounded by log level guards. 2 601
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 603606
GuardLogStatement Logger calls should be surrounded by log level guards. 2 604
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 619
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 627
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 633
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 634
CyclomaticComplexity The method 'setIfAlreadyUsed(FileItem, boolean)' has a cyclomatic complexity of 18. 3 654695
CognitiveComplexity The method 'setIfAlreadyUsed(FileItem, boolean)' has a cognitive complexity of 19, current threshold is 15 3 654695
CyclomaticComplexity The method 'checkOneDir(boolean, File)' has a cyclomatic complexity of 31. 3 703827
ExcessiveMethodLength Avoid really long methods. 3 703827
CognitiveComplexity The method 'checkOneDir(boolean, File)' has a cognitive complexity of 65, current threshold is 15 3 703827
NcssCount The method 'checkOneDir(boolean, File)' has a NCSS line count of 85. 3 703827
NPathComplexity The method 'checkOneDir(boolean, File)' has an NPath complexity of 484423, current threshold is 200 3 703827
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 721
AvoidReassigningParameters Avoid reassigning parameters such as 'fileItemsChanged' 2 722
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 731
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 736
CollapsibleIfStatements These nested if statements could be combined 3 764767
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 804807
GuardLogStatement Logger calls should be surrounded by log level guards. 2 806
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 820825
GuardLogStatement Logger calls should be surrounded by log level guards. 2 822823
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 842
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 862
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 869
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 881882
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 883888
GuardLogStatement Logger calls should be surrounded by log level guards. 2 884885
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 887
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 891
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 896
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 897
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 899904
GuardLogStatement Logger calls should be surrounded by log level guards. 2 901902
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 903
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 914
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 922
CognitiveComplexity The method 'run(Timeout)' has a cognitive complexity of 15, current threshold is 15 3 928962
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 930
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 931
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 933
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 937942
GuardLogStatement Logger calls should be surrounded by log level guards. 2 939940
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 955961
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 957
GuardLogStatement Logger calls should be surrounded by log level guards. 2 958959
DataClass The class 'FileMonitorInformation' is suspected to be a Data Class (WOC=0.000%, NOPA=12, NOAM=0, WMC=2) 3 9691012
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 970
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 971
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 972
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 973
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 974
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 975
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 976
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 977
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 978
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 979
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 980
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 981
ExcessiveParameterList Avoid long parameter lists. 3 987997
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1022
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1023
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1024
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1025
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1026
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1027
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1028
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1029
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1061
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1061
AvoidDuplicateLiterals The String literal " : " appears 6 times in this file; the first occurrence is on line 1 070 3 1070
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 10751085
NonThreadSafeSingleton Singleton is not thread safe 3 10891091
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1092
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 10931094
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1099
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 11161117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 11281129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1134

Waarp Common - org/waarp/common/filemonitor/FileMonitorCommandRunnableFuture.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 34
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147

Waarp Common - org/waarp/common/filemonitor/RegexFileFilter.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53

Waarp Common - org/waarp/common/future/WaarpChannelFuture.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
AvoidFieldNameMatchingMethodName Field channel has the same name as a method 3 31

Waarp Common - org/waarp/common/future/WaarpFailedFuture.java

Rule Violation Priority Line
AvoidThrowingNullPointerException Avoid throwing null pointer exceptions. 1 36
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 4244
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 4749

Waarp Common - org/waarp/common/future/WaarpFuture.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197
NPathComplexity The method 'await0(long, boolean)' has an NPath complexity of 420, current threshold is 200 3 202252
CognitiveComplexity The method 'await0(long, boolean)' has a cognitive complexity of 18, current threshold is 15 3 202252
CyclomaticComplexity The method 'await0(long, boolean)' has a cyclomatic complexity of 14. 3 202252
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 249
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 341

Waarp Common - org/waarp/common/future/WaarpFutureInterface.java

Rule Violation Priority Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 36

Waarp Common - org/waarp/common/future/WaarpLock.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 73

Waarp Common - org/waarp/common/future/WaarpSucceededFuture.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 2830
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 3335

Waarp Common - org/waarp/common/guid/GUID.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 9197
CyclomaticComplexity The method 'setString(String)' has a cyclomatic complexity of 16. 3 312374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 327
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 329330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 353

Waarp Common - org/waarp/common/guid/IntegerUuid.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5763

Waarp Common - org/waarp/common/guid/JvmProcessId.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=62, ATFD=30, TCC=8.791%) 3 41404
TooManyMethods This class has too many methods, consider refactoring it. 3 41404
MutableStaticState Do not use non-final non-private static fields 3 62
MutableStaticState Do not use non-final non-private static fields 3 63
MutableStaticState Do not use non-final non-private static fields 3 64
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 104
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 107110
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 122
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 130132
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 151161
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
CyclomaticComplexity The method 'compareAddresses(byte, byte)' has a cyclomatic complexity of 11. 3 167209
NPathComplexity The method 'compareAddresses(byte, byte)' has an NPath complexity of 256, current threshold is 200 3 167209
CognitiveComplexity The method 'compareAddresses(byte, byte)' has a cognitive complexity of 16, current threshold is 15 3 167209
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 173
EmptyCatchBlock Avoid empty catch blocks 3 263265
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 292
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 296
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 308309
AvoidReassigningParameters Avoid reassigning parameters such as 'value' 2 318
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 318
CognitiveComplexity The method 'defaultMachineId()' has a cognitive complexity of 27, current threshold is 15 3 328403
CyclomaticComplexity The method 'defaultMachineId()' has a cyclomatic complexity of 17. 3 328403
NPathComplexity The method 'defaultMachineId()' has an NPath complexity of 980, current threshold is 200 3 328403
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 351
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 369
CollapsibleIfStatements These nested if statements could be combined 3 387389
CompareObjectsWithEquals Use equals() to compare object references. 3 399

Waarp Common - org/waarp/common/guid/LongUuid.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6874

Waarp Common - org/waarp/common/json/JsonHandler.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 44598
GodClass Possible God Class (WMC=74, ATFD=7, TCC=8.049%) 3 44598
AvoidRethrowingException A catch statement that catches an exception only to rethrow it should be avoided. 3 9597
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 453
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 584
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 588

Waarp Common - org/waarp/common/logging/AbstractWaarpLogger.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 44376
GodClass Possible God Class (WMC=67, ATFD=15, TCC=5.534%) 3 44376
AvoidFieldNameMatchingMethodName Field name has the same name as a method 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 351

Waarp Common - org/waarp/common/logging/FormattingTuple.java

Rule Violation Priority Line
ArrayIsStoredDirectly The user-supplied array 'argArray' is stored directly. 3 71
ArrayIsStoredDirectly The user-supplied array 'argArray' is stored directly. 3 71
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 82
MethodReturnsInternalArray Returning 'argArray' may expose an internal array. 3 98

Waarp Common - org/waarp/common/logging/MessageFormatter.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 139491
GodClass Possible God Class (WMC=60, ATFD=18, TCC=0.735%) 3 139491
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 201
CognitiveComplexity The method 'arrayFormat(String, Object)' has a cognitive complexity of 21, current threshold is 15 3 227295
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 228
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 275
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 282
CyclomaticComplexity The method 'deeplyAppendParameter(StringBuilder, Object, Map)' has a cyclomatic complexity of 11. 3 317348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 355
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 357359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 359
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 386
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 412
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 425
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 438
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 451
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 464
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 477

Waarp Common - org/waarp/common/logging/PrintOnlyWarningLogbackStatusListener.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50

Waarp Common - org/waarp/common/logging/SysErrLogger.java

Rule Violation Priority Line
SystemPrintln System.out.println is used 2 53
SystemPrintln System.out.println is used 2 64
SystemPrintln System.err.print is used 2 85
SystemPrintln System.err.println is used 2 96
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 3 105
SystemPrintln System.err.print is used 2 117
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 3 118
SystemPrintln System.err.print is used 2 129
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 3 130

Waarp Common - org/waarp/common/logging/WaarpJdkLogger.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 66654
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 166
GuardLogStatement Logger calls should be surrounded by log level guards. 2 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
GuardLogStatement Logger calls should be surrounded by log level guards. 2 264
GuardLogStatement Logger calls should be surrounded by log level guards. 2 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
GuardLogStatement Logger calls should be surrounded by log level guards. 2 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
GuardLogStatement Logger calls should be surrounded by log level guards. 2 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
GuardLogStatement Logger calls should be surrounded by log level guards. 2 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
GuardLogStatement Logger calls should be surrounded by log level guards. 2 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 461
GuardLogStatement Logger calls should be surrounded by log level guards. 2 461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
GuardLogStatement Logger calls should be surrounded by log level guards. 2 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 537
GuardLogStatement Logger calls should be surrounded by log level guards. 2 537
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 537
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 559
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 559
GuardLogStatement Logger calls should be surrounded by log level guards. 2 559
GuardLogStatement Logger calls should be surrounded by log level guards. 2 580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 631
LiteralsFirstInComparisons Position literals first in String comparisons 3 631
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 631
LiteralsFirstInComparisons Position literals first in String comparisons 3 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 650
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 651

Waarp Common - org/waarp/common/logging/WaarpJdkLoggerFactory.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 94

Waarp Common - org/waarp/common/logging/WaarpLogger.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 56588
TooManyMethods This class has too many methods, consider refactoring it. 3 62588

Waarp Common - org/waarp/common/logging/WaarpLoggerFactory.java

Rule Violation Priority Line
SingleMethodSingleton Class contains multiple getInstance methods. Please review. 2 63228
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 64
MutableStaticState Do not use non-final non-private static fields 3 65
RedundantFieldInitializer Avoid using redundant field initializer for 'localName' 3 66
MutableStaticState Do not use non-final non-private static fields 3 66
UnusedAssignment The value assigned to field 'defaultFactory' is never used (overwritten on line 83) 3 76
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 7781
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 180
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 188193

Waarp Common - org/waarp/common/logging/WaarpSlf4JLogger.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 29267
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
GuardLogStatement Logger calls should be surrounded by log level guards. 2 75
GuardLogStatement Logger calls should be surrounded by log level guards. 2 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 249
GuardLogStatement Logger calls should be surrounded by log level guards. 2 255
GuardLogStatement Logger calls should be surrounded by log level guards. 2 260
GuardLogStatement Logger calls should be surrounded by log level guards. 2 265

Waarp Common - org/waarp/common/logging/WaarpSlf4JLoggerFactory.java

Rule Violation Priority Line
ImplicitSwitchFallThrough A switch statement does not contain a break 3 5068
CloseResource Ensure that resources like this PrintStream object are closed after use 3 84

Waarp Common - org/waarp/common/lru/AbstractLruCache.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31

Waarp Common - org/waarp/common/lru/InterfaceLruCache.java

Rule Violation Priority Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 75
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 90

Waarp Common - org/waarp/common/lru/SimpleLRUCache.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 32

Waarp Common - org/waarp/common/lru/SoftReferenceCacheEntry.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33

Waarp Common - org/waarp/common/lru/StrongReferenceCacheEntry.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 28

Waarp Common - org/waarp/common/lru/SynchronizedLruCache.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 8587
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 9092
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 105107
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 110112
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 121127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 140153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147

Waarp Common - org/waarp/common/role/RoleDefault.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 25309
CyclomaticComplexity The method 'getComposingRoles()' has a cyclomatic complexity of 13. 3 122150
MethodReturnsInternalArray Returning 'READONLY_A' may expose an internal array. 3 125
MethodReturnsInternalArray Returning 'TRANSFER_A' may expose an internal array. 3 127
MethodReturnsInternalArray Returning 'PARTNER_A' may expose an internal array. 3 129
MethodReturnsInternalArray Returning 'RULE_A' may expose an internal array. 3 131
MethodReturnsInternalArray Returning 'HOST_A' may expose an internal array. 3 133
MethodReturnsInternalArray Returning 'CONFIGADMIN_A' may expose an internal array. 3 135
MethodReturnsInternalArray Returning 'LIMIT_A' may expose an internal array. 3 137
MethodReturnsInternalArray Returning 'SYSTEM_A' may expose an internal array. 3 139
MethodReturnsInternalArray Returning 'LOGCONTROL_A' may expose an internal array. 3 141
MethodReturnsInternalArray Returning 'FULLADMIN_A' may expose an internal array. 3 143
MethodReturnsInternalArray Returning 'UNUSED_A' may expose an internal array. 3 145
MethodReturnsInternalArray Returning 'NOACCESS_A' may expose an internal array. 3 148
CyclomaticComplexity The method 'fromByte(byte)' has a cyclomatic complexity of 13. 3 164192
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 198
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 215
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 220
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 230
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 258
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 306

Waarp Common - org/waarp/common/service/EngineAbstract.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 25

Waarp Common - org/waarp/common/service/ServiceLauncher.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 43282
MutableStaticState Do not use non-final non-private static fields 3 47
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 49
MutableStaticState Do not use non-final non-private static fields 3 49
MutableStaticState Do not use non-final non-private static fields 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 53
MutableStaticState Do not use non-final non-private static fields 3 55
MutableStaticState Do not use non-final non-private static fields 3 57
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 62
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 69
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 72
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 74
NonThreadSafeSingleton Singleton is not thread safe 3 8183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 9194
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 93
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 97
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 106
CloseResource Ensure that resources like this InputStream object are closed after use 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
EmptyWhileStmt Avoid empty while statements 3 114116
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 142
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 142
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 170
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 170
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 188
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 199
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 274
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 277
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 278
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 278

Waarp Common - org/waarp/common/state/MachineState.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 188
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 189

Waarp Common - org/waarp/common/state/Transition.java

Rule Violation Priority Line
DataClass The class 'Transition' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3 3067

Waarp Common - org/waarp/common/tar/TarUtility.java

Rule Violation Priority Line
CloseResource Ensure that resources like this TarArchiveOutputStream object are closed after use 3 64
EmptyCatchBlock Avoid empty catch blocks 3 7981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 110
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 110
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 117
CloseResource Ensure that resources like this TarArchiveOutputStream object are closed after use 3 148
EmptyCatchBlock Avoid empty catch blocks 3 165167
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 188
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 206
CloseResource Ensure that resources like this InputStream object are closed after use 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 211
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 218
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 220
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 226
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 12. 3 235283
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 24, current threshold is 15 3 235283
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 237241
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 263
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278

Waarp Common - org/waarp/common/tar/ZipUtility.java

Rule Violation Priority Line
CloseResource Ensure that resources like this ZipArchiveOutputStream object are closed after use 3 65
EmptyCatchBlock Avoid empty catch blocks 3 7981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 110
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 110
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 117
CloseResource Ensure that resources like this ZipArchiveOutputStream object are closed after use 3 147
EmptyCatchBlock Avoid empty catch blocks 3 163165
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 186
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 204
CloseResource Ensure that resources like this InputStream object are closed after use 3 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 209
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 213
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 216
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 218
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 224
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 24, current threshold is 15 3 233281
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 12. 3 233281
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 235239
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 276

Waarp Common - org/waarp/common/transcode/CharsetsUtil.java

Rule Violation Priority Line
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 80
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 82
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 85
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
NPathComplexity The method 'printOutCharsetsAvailable(int)' has an NPath complexity of 5136, current threshold is 200 3 107190
NcssCount The method 'printOutCharsetsAvailable(int)' has a NCSS line count of 67. 3 107190
CyclomaticComplexity The method 'printOutCharsetsAvailable(int)' has a cyclomatic complexity of 21. 3 107190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121122
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 130
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169171
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 175177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 203207
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 211
CloseResource Ensure that resources like this InputStreamReader object are closed after use 3 212
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 213
CloseResource Ensure that resources like this OutputStreamWriter object are closed after use 3 214
GuardLogStatement Logger calls should be surrounded by log level guards. 2 228
GuardLogStatement Logger calls should be surrounded by log level guards. 2 230
GuardLogStatement Logger calls should be surrounded by log level guards. 2 232

Waarp Common - org/waarp/common/utility/Base64.java

Rule Violation Priority Line
CyclomaticComplexity The class 'Base64' has a total cyclomatic complexity of 109 (highest 17). 3 2602217
TooManyMethods This class has too many methods, consider refactoring it. 3 2602217
ExcessiveClassLength Avoid really long classes. 3 2602217
GodClass Possible God Class (WMC=109, ATFD=29, TCC=16.138%) 3 2602217
AvoidFieldNameMatchingMethodName Field ENCODE has the same name as a method 3 272
AvoidFieldNameMatchingMethodName Field DECODE has the same name as a method 3 277
CloseResource Ensure that resources like this OutputStream object are closed after use 3 834
CloseResource Ensure that resources like this GZIPOutputStream object are closed after use 3 835
CloseResource Ensure that resources like this ObjectOutputStream object are closed after use 3 836
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 841
NPathComplexity The method 'encodeBytesToBytes(byte, int, int, int)' has an NPath complexity of 1056, current threshold is 200 3 10741169
CognitiveComplexity The method 'encodeBytesToBytes(byte, int, int, int)' has a cognitive complexity of 21, current threshold is 15 3 10741169
CyclomaticComplexity The method 'encodeBytesToBytes(byte, int, int, int)' has a cyclomatic complexity of 17. 3 10741169
CloseResource Ensure that resources like this GZIPOutputStream object are closed after use 3 1099
CloseResource Ensure that resources like this InnerOutputStream object are closed after use 3 1100
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 1105
CyclomaticComplexity The method 'decode4to3(byte, int, byte, int, int)' has a cyclomatic complexity of 13. 3 12061263
CyclomaticComplexity The method 'decode(byte, int, int, int)' has a cyclomatic complexity of 15. 3 13081373
CognitiveComplexity The method 'decode(byte, int, int, int)' has a cognitive complexity of 21, current threshold is 15 3 13081373
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1323
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1351
CyclomaticComplexity The method 'decode(String, int)' has a cyclomatic complexity of 10. 3 14031462
CloseResource Ensure that resources like this GZIPInputStream object are closed after use 3 1430
AssignmentInOperand Avoid assignments in operands 3 1440
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1449
CloseResource Ensure that resources like this ObjectInputStream object are closed after use 3 1512
CloseResource Ensure that resources like this InnerOutputStream object are closed after use 3 1578
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 1580
CloseResource Ensure that resources like this InnerOutputStream object are closed after use 3 1609
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 1611
CloseResource Ensure that resources like this InnerInputStream object are closed after use 3 1642
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 16591660
AssignmentInOperand Avoid assignments in operands 3 1663
CloseResource Ensure that resources like this InnerInputStream object are closed after use 3 1701
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 17191720
AssignmentInOperand Avoid assignments in operands 3 1723
CloseResource Ensure that resources like this OutputStream object are closed after use 3 1752
CloseResource Ensure that resources like this OutputStream object are closed after use 3 1776
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1799
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1800
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1801
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1802
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1803
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1804
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1805
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1807
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1808
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1858
CognitiveComplexity The method 'read()' has a cognitive complexity of 44, current threshold is 15 3 18701964
CyclomaticComplexity The method 'read()' has a cyclomatic complexity of 20. 3 18701964
NPathComplexity The method 'read()' has an NPath complexity of 308, current threshold is 200 3 18701964
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1891
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1918
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1919
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2013
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2014
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2015
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2016
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2017
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2018
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2019
AvoidFieldNameMatchingMethodName Field suspendEncoding has the same name as a method 3 2020
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2020
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2021
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2022
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2072
CognitiveComplexity The method 'write(int)' has a cognitive complexity of 15, current threshold is 15 3 20872127
CyclomaticComplexity The method 'write(int)' has a cyclomatic complexity of 10. 3 20872127
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2099
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2118
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2163
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2187
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2188

Waarp Common - org/waarp/common/utility/DetectionUtils.java

Rule Violation Priority Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 35
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 40
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 117

Waarp Common - org/waarp/common/utility/FileConvert.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 41
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
AvoidFieldNameMatchingMethodName Field recursive has the same name as a method 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 62
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 62
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 3 77119
NonThreadSafeSingleton Singleton is not thread safe 3 8082
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9092
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9092
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101102
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 103
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 103
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 117
DontCallThreadRun Dont call Thread.run() explicitly, use Thread.start() 4 118
GuardLogStatement Logger calls should be surrounded by log level guards. 2 158
CognitiveComplexity The method 'convert(File, boolean)' has a cognitive complexity of 33, current threshold is 15 3 171239
CyclomaticComplexity The method 'convert(File, boolean)' has a cyclomatic complexity of 15. 3 171239
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 177
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 178
AssignmentInOperand Avoid assignments in operands 3 188
AssignmentInOperand Avoid assignments in operands 3 198
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 199
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 204
GuardLogStatement Logger calls should be surrounded by log level guards. 2 218219
GuardLogStatement Logger calls should be surrounded by log level guards. 2 223224
GuardLogStatement Logger calls should be surrounded by log level guards. 2 227228
CollapsibleIfStatements These nested if statements could be combined 3 232234

Waarp Common - org/waarp/common/utility/Hexa.java

Rule Violation Priority Line
AvoidReassigningParameters Avoid reassigning parameters such as 'a' 2 39
AvoidReassigningParameters Avoid reassigning parameters such as 'b' 2 44
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 51
ForLoopVariableCount Too many control variables in the for statement 3 54
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 55
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 3 55
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 3 55
ForLoopVariableCount Too many control variables in the for statement 3 64
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 3 65
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 65
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 3 65
ForLoopVariableCount Too many control variables in the for statement 3 84
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 3 85
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'j' 3 86

Waarp Common - org/waarp/common/utility/ParametersChecker.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 94
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 133
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 263

Waarp Common - org/waarp/common/utility/StringUtils.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 70
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 89

Waarp Common - org/waarp/common/utility/SystemPropertyUtil.java

Rule Violation Priority Line
CyclomaticComplexity The class 'SystemPropertyUtil' has a total cyclomatic complexity of 97 (highest 18). 3 36810
NPathComplexity The method 'refresh()' has an NPath complexity of 2560, current threshold is 200 3 90194
CyclomaticComplexity The method 'refresh()' has a cyclomatic complexity of 18. 3 90194
ExcessiveMethodLength Avoid really long methods. 3 90194
CognitiveComplexity The method 'refresh()' has a cognitive complexity of 23, current threshold is 15 3 90194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9698
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116117
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 118120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 131133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132133
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 134136
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 147149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 148149
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 150152
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 164166
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175
AvoidAccessibilityAlteration You should not modify visibility of constructors, methods or fields using setAccessible() 3 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 177179
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 184192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 187189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 190191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 201
AvoidDuplicateLiterals The String literal "Key" appears 17 times in this file; the first occurrence is on line 210 3 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
CyclomaticComplexity The method 'get(String, boolean)' has a cyclomatic complexity of 10. 3 270300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 277
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 277
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 278
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 282
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 282
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 282
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 286
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 286
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 295297
AvoidDuplicateLiterals The String literal " - " appears 6 times in this file; the first occurrence is on line 297 3 297
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 327
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 330
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 336
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 339341
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 371
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 380
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 384386
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 408
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 409
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 413
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 417
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 417
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 417
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 421423
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 445
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 445
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 446
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 449
EmptyCatchBlock Avoid empty catch blocks 3 449451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 454456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 478
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 479
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 482
EmptyCatchBlock Avoid empty catch blocks 3 482484
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 487489
NonThreadSafeSingleton Singleton is not thread safe 3 742771
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 746
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 746
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 747
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 749
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 751
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 767

Waarp Common - org/waarp/common/utility/ThreadLocalRandom.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74

Waarp Common - org/waarp/common/utility/Version.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 2857
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 29
AvoidFieldNameMatchingMethodName Field VERSION has the same name as a method 3 29
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 36

Waarp Common - org/waarp/common/utility/WaarpNettyUtil.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 79
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 124
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 125
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 337

Waarp Common - org/waarp/common/utility/WaarpShutdownHook.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=59, ATFD=29, TCC=19.118%) 3 39471
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 39
TooManyMethods This class has too many methods, consider refactoring it. 3 39471
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
MutableStaticState Do not use non-final non-private static fields 3 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 62
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 66
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 84
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 91
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 92
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
NonThreadSafeSingleton Singleton is not thread safe 3 144151
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 159
CognitiveComplexity The method 'terminate()' has a cognitive complexity of 17, current threshold is 15 3 166224
CyclomaticComplexity The method 'terminate()' has a cyclomatic complexity of 10. 3 166224
NonThreadSafeSingleton Singleton is not thread safe 3 169175
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 182
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 198
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 237
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 246
CyclomaticComplexity The method 'restartApplication()' has a cyclomatic complexity of 10. 3 266310
CognitiveComplexity The method 'restartApplication()' has a cognitive complexity of 15, current threshold is 15 3 266310
NonThreadSafeSingleton Singleton is not thread safe 3 267309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 273
NonThreadSafeSingleton Singleton is not thread safe 3 290292
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 303
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 304308
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 315
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 379
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 407408
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 414422
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 419
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 423
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 431
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 432
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 453
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 455
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 463
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 464
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 464
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 465

Waarp Common - org/waarp/common/utility/WaarpStringUtils.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 86
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8889
GuardLogStatement Logger calls should be surrounded by log level guards. 2 105106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 125
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
GuardLogStatement Logger calls should be surrounded by log level guards. 2 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 160
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 164
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 169171
GuardLogStatement Logger calls should be surrounded by log level guards. 2 175
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 228
EmptyWhileStmt Avoid empty while statements 3 271273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 299300
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 304
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 310
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 317

Waarp Common - org/waarp/common/utility/WaarpSystemUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 9114
MutableStaticState Do not use non-final non-private static fields 3 12
AvoidFieldNameMatchingMethodName Field isJunit has the same name as a method 3 12
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 28
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 61
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 62
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 78
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 3 79
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 93

Waarp Common - org/waarp/common/utility/WaarpThreadFactory.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 55

Waarp Common - org/waarp/common/xml/XmlDecl.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
AvoidFieldNameMatchingMethodName Field isMultiple has the same name as a method 3 34
ArrayIsStoredDirectly The user-supplied array 'decls' is stored directly. 3 70
MethodReturnsInternalArray Returning 'subXml' may expose an internal array. 3 119
CognitiveComplexity The method 'isCompatible(XmlDecl)' has a cognitive complexity of 16, current threshold is 15 3 146166
CyclomaticComplexity The method 'isCompatible(XmlDecl)' has a cyclomatic complexity of 15. 3 146166

Waarp Common - org/waarp/common/xml/XmlHash.java

Rule Violation Priority Line
ReplaceHashtableWithMap Consider replacing this Hashtable with the newer java.util.Map 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
LooseCoupling Avoid using implementation types like 'Hashtable'; use the interface instead 3 31
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37

Waarp Common - org/waarp/common/xml/XmlRootHash.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 28

Waarp Common - org/waarp/common/xml/XmlType.java

Rule Violation Priority Line
CyclomaticComplexity The method 'isNativelyCompatible(Object)' has a cyclomatic complexity of 14. 3 5691
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 86

Waarp Common - org/waarp/common/xml/XmlUtil.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 53845
CyclomaticComplexity The class 'XmlUtil' has a total cyclomatic complexity of 130 (highest 10). 3 53845
GodClass Possible God Class (WMC=130, ATFD=77, TCC=1.008%) 3 53845
EmptyCatchBlock Avoid empty catch blocks 3 8284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 448
CyclomaticComplexity The method 'addAndGetElementMultiple(Document, String)' has a cyclomatic complexity of 10. 3 488525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 511
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 521
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 542
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 588
CognitiveComplexity The method 'read(Document, XmlDecl)' has a cognitive complexity of 28, current threshold is 15 3 600649
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 600
CyclomaticComplexity The method 'read(Document, XmlDecl)' has a cyclomatic complexity of 10. 3 600649
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 640
EmptyCatchBlock Avoid empty catch blocks 3 643645
CyclomaticComplexity The method 'read(Element, XmlDecl)' has a cyclomatic complexity of 10. 3 659708
CognitiveComplexity The method 'read(Element, XmlDecl)' has a cognitive complexity of 29, current threshold is 15 3 659708
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 659
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 664
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 699
EmptyCatchBlock Avoid empty catch blocks 3 702704
EmptyCatchBlock Avoid empty catch blocks 3 716718
EmptyCatchBlock Avoid empty catch blocks 3 718720
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 725
EmptyCatchBlock Avoid empty catch blocks 3 731733
EmptyCatchBlock Avoid empty catch blocks 3 743745
CognitiveComplexity The method 'write(Document, XmlValue)' has a cognitive complexity of 22, current threshold is 15 3 756782
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 756
CognitiveComplexity The method 'write(Element, XmlValue)' has a cognitive complexity of 24, current threshold is 15 3 791817
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 791
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 834

Waarp Common - org/waarp/common/xml/XmlValue.java

Rule Violation Priority Line
CyclomaticComplexity The class 'XmlValue' has a total cyclomatic complexity of 211 (highest 40). 3 38799
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
CyclomaticComplexity The constructor 'XmlValue(XmlDecl)' has a cyclomatic complexity of 18. 3 5596
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 59
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 61
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 70
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 71
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 75
AvoidDuplicateLiterals The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 98 3 98
CognitiveComplexity The constructor 'XmlValue(XmlValue)' has a cognitive complexity of 24, current threshold is 15 3 99132
CyclomaticComplexity The constructor 'XmlValue(XmlValue)' has a cyclomatic complexity of 10. 3 99132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 105
EmptyCatchBlock Avoid empty catch blocks 3 121123
EmptyCatchBlock Avoid empty catch blocks 3 128130
MethodReturnsInternalArray Returning 'subXml' may expose an internal array. 3 184
CyclomaticComplexity The method 'addFromString(String)' has a cyclomatic complexity of 16. 3 213268
CyclomaticComplexity The method 'addValue(Object)' has a cyclomatic complexity of 18. 3 278333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 279
CyclomaticComplexity The method 'getCloneValue(XmlType, Object)' has a cyclomatic complexity of 17. 3 352389
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 429
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 440
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 474
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 518
CognitiveComplexity The method 'setValue(Object)' has a cognitive complexity of 21, current threshold is 15 3 585640
CyclomaticComplexity The method 'setValue(Object)' has a cyclomatic complexity of 23. 3 585640
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 586
CognitiveComplexity The method 'convert(Class, String)' has a cognitive complexity of 78, current threshold is 15 3 649761
CyclomaticComplexity The method 'convert(Class, String)' has a cyclomatic complexity of 40. 3 649761
ExcessiveMethodLength Avoid really long methods. 3 649761
NcssCount The method 'convert(Class, String)' has a NCSS line count of 89. 3 649761
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 733737
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 733737
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 746
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 746
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 752753
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 758759
CognitiveComplexity The method 'toFullString()' has a cognitive complexity of 28, current threshold is 15 3 770798
CyclomaticComplexity The method 'toFullString()' has a cyclomatic complexity of 10. 3 770798

Waarp Compression - org/waarp/compress/CompressorCodec.java

Rule Violation Priority Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 50
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 63
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 82
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 95
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 108

Waarp Compression - org/waarp/compress/WaarpZstdCodec.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 64
GuardLogStatement Logger calls should be surrounded by log level guards. 2 66
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 106
CloseResource Ensure that resources like this InputStream object are closed after use 3 107
CloseResource Ensure that resources like this OutputStream object are closed after use 3 108
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 136
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 138
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 157
CloseResource Ensure that resources like this InputStream object are closed after use 3 158
CloseResource Ensure that resources like this OutputStream object are closed after use 3 159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 187
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 189

Waarp Compression - org/waarp/compress/zlib/ZlibCodec.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 41287
CloseResource Ensure that resources like this DeflaterOutputStream object are closed after use 3 51
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 59
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 70
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 75
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 82
CloseResource Ensure that resources like this InputStream object are closed after use 3 83
CloseResource Ensure that resources like this OutputStream object are closed after use 3 84
CloseResource Ensure that resources like this DeflaterOutputStream object are closed after use 3 85
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 91
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 93
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 104
CloseResource Ensure that resources like this InflaterOutputStream object are closed after use 3 106
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 114
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 125
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 130
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 137
CloseResource Ensure that resources like this InputStream object are closed after use 3 138
CloseResource Ensure that resources like this OutputStream object are closed after use 3 139
CloseResource Ensure that resources like this InflaterOutputStream object are closed after use 3 140
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 163
RedundantFieldInitializer Avoid using redundant field initializer for 'byteArrayOutputStream' 3 163
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 164
RedundantFieldInitializer Avoid using redundant field initializer for 'deflaterOutputStream' 3 164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 165
RedundantFieldInitializer Avoid using redundant field initializer for 'inflaterOutputStream' 3 165
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 184194
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 217227
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 236241
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 246256
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 267286
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 272
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 277
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 282

Waarp Compression - org/waarp/compress/zstdjni/ZstdJniCodec.java

Rule Violation Priority Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 49
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 55
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 66
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 73
CloseResource Ensure that resources like this InputStream object are closed after use 3 74
CloseResource Ensure that resources like this OutputStream object are closed after use 3 75
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 90
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 92
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 102
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 113
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 124
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 131
CloseResource Ensure that resources like this InputStream object are closed after use 3 132
CloseResource Ensure that resources like this OutputStream object are closed after use 3 133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 139
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 141

Waarp Compression - org/waarp/compress/zstdsafe/BitInputStream.java

Rule Violation Priority Line
ImplicitSwitchFallThrough A switch statement does not contain a break 3 6174
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 6174
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
ArrayIsStoredDirectly The user-supplied array 'inputBase' is stored directly. 3 106
DataClass The class 'Loader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=4, WMC=11) 3 147210
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 150
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 152
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 153
ArrayIsStoredDirectly The user-supplied array 'inputBase' is stored directly. 3 155
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 182

Waarp Compression - org/waarp/compress/zstdsafe/BitOutputStream.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
ArrayIsStoredDirectly The user-supplied array 'outputBase' is stored directly. 3 56

Waarp Compression - org/waarp/compress/zstdsafe/BlockCompressionState.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45

Waarp Compression - org/waarp/compress/zstdsafe/CompressionContext.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46

Waarp Compression - org/waarp/compress/zstdsafe/CompressionParameters.java

Rule Violation Priority Line
DataClass The class 'CompressionParameters' is suspected to be a Data Class (WOC=11.111%, NOPA=1, NOAM=7, WMC=22) 3 39412

Waarp Compression - org/waarp/compress/zstdsafe/Constants.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3699

Waarp Compression - org/waarp/compress/zstdsafe/DoubleFastBlockCompressor.java

Rule Violation Priority Line
MissingOverride The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' is missing an @Override annotation. 3 44229
NPathComplexity The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has an NPath complexity of 2912, current threshold is 200 3 44229
CognitiveComplexity The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cognitive complexity of 53, current threshold is 15 3 44229
CyclomaticComplexity The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cyclomatic complexity of 28. 3 44229
NcssCount The method 'compressBlock(byte, int, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a NCSS line count of 92. 3 44229
ExcessiveMethodLength Avoid really long methods. 3 44229

Waarp Compression - org/waarp/compress/zstdsafe/FiniteStateEntropy.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=59, ATFD=33, TCC=19.048%) 3 41592
NcssCount The method 'decompress(FiniteStateEntropy.Table, byte, int, int, byte)' has a NCSS line count of 80. 3 55187
ExcessiveMethodLength Avoid really long methods. 3 55187
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 131132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 152153
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 173174
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 205
AvoidReassigningParameters Avoid reassigning parameters such as 'inputSize' 2 235
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 272
CyclomaticComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cyclomatic complexity of 10. 3 290346
CognitiveComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cognitive complexity of 20, current threshold is 15 3 290346
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 321
CognitiveComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cognitive complexity of 31, current threshold is 15 3 348438
NPathComplexity The method 'normalizeCounts2(short, int, int, int, int)' has an NPath complexity of 1600, current threshold is 200 3 348438
CyclomaticComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cyclomatic complexity of 19. 3 348438
AvoidReassigningParameters Avoid reassigning parameters such as 'total' 2 364
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 430
CognitiveComplexity The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has a cognitive complexity of 27, current threshold is 15 3 440562
ExcessiveMethodLength Avoid really long methods. 3 440562
NPathComplexity The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has an NPath complexity of 1089, current threshold is 200 3 440562
CyclomaticComplexity The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has a cyclomatic complexity of 14. 3 440562
NcssCount The method 'writeNormalizedCounts(byte, int, int, short, int, int)' has a NCSS line count of 64. 3 440562
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 507
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 531
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 541
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 565
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 566
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 567
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 568
ArrayIsStoredDirectly The user-supplied array 'symbol' is stored directly. 3 577
ArrayIsStoredDirectly The user-supplied array 'newState' is stored directly. 3 577
ArrayIsStoredDirectly The user-supplied array 'numberOfBits' is stored directly. 3 578

Waarp Compression - org/waarp/compress/zstdsafe/FrameHeader.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 78
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 101

Waarp Compression - org/waarp/compress/zstdsafe/FseCompressionTable.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
CyclomaticComplexity The method 'initialize(short, int, int)' has a cyclomatic complexity of 10. 3 71137

Waarp Compression - org/waarp/compress/zstdsafe/FseTableReader.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
CyclomaticComplexity The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has a cyclomatic complexity of 18. 3 44182
ExcessiveMethodLength Avoid really long methods. 3 44182
CognitiveComplexity The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has a cognitive complexity of 41, current threshold is 15 3 44182
NcssCount The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has a NCSS line count of 86. 3 44182
NPathComplexity The method 'readFseTable(FiniteStateEntropy.Table, byte, int, int, int, int)' has an NPath complexity of 4008, current threshold is 200 3 44182
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 2 143

Waarp Compression - org/waarp/compress/zstdsafe/Histogram.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3872
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 2 55
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 61

Waarp Compression - org/waarp/compress/zstdsafe/Huffman.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 80
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 173174
ExcessiveMethodLength Avoid really long methods. 3 202374
NcssCount The method 'decode4Streams(byte, int, int, byte, int, int)' has a NCSS line count of 92. 3 202374
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 316317
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 328329
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 340341
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 351352
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 387388
AvoidReassigningParameters Avoid reassigning parameters such as 'bitsConsumed' 2 390
AvoidReassigningParameters Avoid reassigning parameters such as 'bits' 2 391
AvoidReassigningParameters Avoid reassigning parameters such as 'currentAddress' 2 392
AvoidReassigningParameters Avoid reassigning parameters such as 'outputAddress' 2 398

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionContext.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionTable.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 56
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
AvoidReassigningParameters Avoid reassigning parameters such as 'maxNumberOfBits' 2 87
AvoidArrayLoops System.arraycopy is more efficient 3 9497
AvoidArrayLoops System.arraycopy is more efficient 3 108113
CyclomaticComplexity The method 'buildTree(int, int, NodeTable)' has a cyclomatic complexity of 13. 3 124211
CognitiveComplexity The method 'buildTree(int, int, NodeTable)' has a cognitive complexity of 17, current threshold is 15 3 124211
NPathComplexity The method 'buildTree(int, int, NodeTable)' has an NPath complexity of 640, current threshold is 200 3 124211
CyclomaticComplexity The method 'write(byte, int, int, HuffmanTableWriterWorkspace)' has a cyclomatic complexity of 10. 3 222284
NPathComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has an NPath complexity of 15648, current threshold is 200 3 314418
CyclomaticComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cyclomatic complexity of 19. 3 314418
ExcessiveMethodLength Avoid really long methods. 3 314418
CognitiveComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cognitive complexity of 35, current threshold is 15 3 314418
NcssCount The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a NCSS line count of 60. 3 314418
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 428
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 465

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressionTableWorkspace.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44

Waarp Compression - org/waarp/compress/zstdsafe/HuffmanCompressor.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 39159
ImplicitSwitchFallThrough A switch statement does not contain a break 3 133147

Waarp Compression - org/waarp/compress/zstdsafe/NodeTable.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42

Waarp Compression - org/waarp/compress/zstdsafe/RepeatedOffsets.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41

Waarp Compression - org/waarp/compress/zstdsafe/SequenceEncoder.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 41395
ExcessiveMethodLength Avoid really long methods. 3 78235
NPathComplexity The method 'compressSequences(byte, int, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has an NPath complexity of 384, current threshold is 200 3 78235
CyclomaticComplexity The method 'compressSequences(byte, int, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a cyclomatic complexity of 16. 3 78235
NcssCount The method 'compressSequences(byte, int, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a NCSS line count of 91. 3 78235
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
ExcessiveParameterList Avoid long parameter lists. 3 237246
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 246
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 251
AvoidReassigningParameters Avoid reassigning parameters such as 'sequenceCount' 2 253
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 365

Waarp Compression - org/waarp/compress/zstdsafe/SequenceStore.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 112
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 120
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 133
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 153
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 165

Waarp Compression - org/waarp/compress/zstdsafe/Util.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 102

Waarp Compression - org/waarp/compress/zstdsafe/XxHash64.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 54
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 2 73
AvoidReassigningParameters Avoid reassigning parameters such as 'index' 2 74
AvoidReassigningParameters Avoid reassigning parameters such as 'address' 2 106
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 2 148

Waarp Compression - org/waarp/compress/zstdsafe/ZstdFrameCompressor.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 41530
CyclomaticComplexity The method 'writeFrameHeader(byte, int, int, int, int)' has a cyclomatic complexity of 14. 3 68132
NPathComplexity The method 'writeFrameHeader(byte, int, int, int, int)' has an NPath complexity of 200, current threshold is 200 3 68132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 246248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 251258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 251258
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 263264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 267
CognitiveComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has a cognitive complexity of 23, current threshold is 15 3 305454
CyclomaticComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has a cyclomatic complexity of 20. 3 305454
NPathComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has an NPath complexity of 10800, current threshold is 200 3 305454
NcssCount The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, byte, int, int, byte, int)' has a NCSS line count of 67. 3 305454
ExcessiveMethodLength Avoid really long methods. 3 305454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 349
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 365367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 372
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 496
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 499

Waarp Compression - org/waarp/compress/zstdsafe/ZstdFrameDecompressor.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 451061
CyclomaticComplexity The class 'ZstdFrameDecompressor' has a total cyclomatic complexity of 115 (highest 17). 3 451061
ExcessiveClassLength Avoid really long classes. 3 451061
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 126
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 136
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 147
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 148
CyclomaticComplexity The method 'decompress(byte, int, int, byte, int, int)' has a cyclomatic complexity of 11. 3 150234
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 241
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 243
ImplicitSwitchFallThrough A switch statement does not contain a break 3 307325
NPathComplexity The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has an NPath complexity of 3652, current threshold is 200 3 336574
CyclomaticComplexity The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has a cyclomatic complexity of 17. 3 336574
NcssCount The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has a NCSS line count of 132. 3 336574
ExcessiveMethodLength Avoid really long methods. 3 336574
ExcessiveParameterList Avoid long parameter lists. 3 336344
CognitiveComplexity The method 'decompressSequences(byte, int, int, byte, int, int, byte, int, int, int)' has a cognitive complexity of 54, current threshold is 15 3 336574
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 359
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 365
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 435436
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 461
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 468
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 478
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 495
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 501
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 511512
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 583
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 591
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 592
AvoidReassigningParameters Avoid reassigning parameters such as 'matchLength' 2 593
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 611
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 612
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 631
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 640
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 657
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 2 671
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 2 704
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 2 737
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 774
AvoidReassigningParameters Avoid reassigning parameters such as 'literalInput' 2 775
AvoidArrayLoops System.arraycopy is more efficient 3 782786
AvoidArrayLoops System.arraycopy is more efficient 3 789793
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 792
ImplicitSwitchFallThrough A switch statement does not contain a break 3 809840
CyclomaticComplexity The method 'readFrameHeader(byte, int, int)' has a cyclomatic complexity of 14. 3 9561033
NPathComplexity The method 'readFrameHeader(byte, int, int)' has an NPath complexity of 360, current threshold is 200 3 9561033
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 9891002
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 10071027
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1040

Waarp Compression - org/waarp/compress/zstdsafe/ZstdSafeCodec.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 84
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 96
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 103
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 110
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 117
CloseResource Ensure that resources like this InputStream object are closed after use 3 118
CloseResource Ensure that resources like this OutputStream object are closed after use 3 119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 132
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 134
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 145
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 149
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 156
CloseResource Ensure that resources like this InputStream object are closed after use 3 157
CloseResource Ensure that resources like this OutputStream object are closed after use 3 158
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 170
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 172

Waarp Compression - org/waarp/compress/zstdunsafe/BitInputStream.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 55
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 5782
ImplicitSwitchFallThrough A switch statement does not contain a break 3 5782
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 60
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 68
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 146
DataClass The class 'Loader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=4, WMC=11) 3 156219
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 162
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 202
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 214

Waarp Compression - org/waarp/compress/zstdunsafe/BitOutputStream.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80

Waarp Compression - org/waarp/compress/zstdunsafe/BlockCompressionState.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45

Waarp Compression - org/waarp/compress/zstdunsafe/CompressionContext.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44

Waarp Compression - org/waarp/compress/zstdunsafe/CompressionParameters.java

Rule Violation Priority Line
DataClass The class 'CompressionParameters' is suspected to be a Data Class (WOC=11.111%, NOPA=1, NOAM=7, WMC=22) 3 38411

Waarp Compression - org/waarp/compress/zstdunsafe/Constants.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3699

Waarp Compression - org/waarp/compress/zstdunsafe/DoubleFastBlockCompressor.java

Rule Violation Priority Line
ExcessiveMethodLength Avoid really long methods. 3 41244
NPathComplexity The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has an NPath complexity of 2912, current threshold is 200 3 41244
MissingOverride The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' is missing an @Override annotation. 3 41244
NcssCount The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a NCSS line count of 92. 3 41244
CognitiveComplexity The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cognitive complexity of 53, current threshold is 15 3 41244
CyclomaticComplexity The method 'compressBlock(Object, long, int, SequenceStore, BlockCompressionState, RepeatedOffsets, CompressionParameters)' has a cyclomatic complexity of 28. 3 41244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 174175
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294

Waarp Compression - org/waarp/compress/zstdunsafe/FiniteStateEntropy.java

Rule Violation Priority Line
DontImportSun Avoid importing anything from the sun.* packages 4 37
GodClass Possible God Class (WMC=59, ATFD=42, TCC=19.048%) 3 39598
NcssCount The method 'decompress(FiniteStateEntropy.Table, Object, long, long, byte)' has a NCSS line count of 80. 3 53185
ExcessiveMethodLength Avoid really long methods. 3 53185
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 143
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 150151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 164
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 171172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
AvoidReassigningParameters Avoid reassigning parameters such as 'inputSize' 2 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 240
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 278
CyclomaticComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cyclomatic complexity of 10. 3 296352
CognitiveComplexity The method 'normalizeCounts(short, int, int, int, int)' has a cognitive complexity of 20, current threshold is 15 3 296352
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 327
NPathComplexity The method 'normalizeCounts2(short, int, int, int, int)' has an NPath complexity of 1600, current threshold is 200 3 354444
CognitiveComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cognitive complexity of 31, current threshold is 15 3 354444
CyclomaticComplexity The method 'normalizeCounts2(short, int, int, int, int)' has a cyclomatic complexity of 19. 3 354444
AvoidReassigningParameters Avoid reassigning parameters such as 'total' 2 370
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 436
NcssCount The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has a NCSS line count of 64. 3 446568
ExcessiveMethodLength Avoid really long methods. 3 446568
NPathComplexity The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has an NPath complexity of 1089, current threshold is 200 3 446568
CognitiveComplexity The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has a cognitive complexity of 27, current threshold is 15 3 446568
CyclomaticComplexity The method 'writeNormalizedCounts(Object, long, int, short, int, int)' has a cyclomatic complexity of 14. 3 446568
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 494
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 513
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 517
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 537
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 547
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 551
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 562
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 571
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 572
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 573
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 574
ArrayIsStoredDirectly The user-supplied array 'newState' is stored directly. 3 583
ArrayIsStoredDirectly The user-supplied array 'symbol' is stored directly. 3 583
ArrayIsStoredDirectly The user-supplied array 'numberOfBits' is stored directly. 3 584

Waarp Compression - org/waarp/compress/zstdunsafe/FrameHeader.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44

Waarp Compression - org/waarp/compress/zstdunsafe/FseCompressionTable.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
CyclomaticComplexity The method 'initialize(short, int, int)' has a cyclomatic complexity of 10. 3 69135

Waarp Compression - org/waarp/compress/zstdunsafe/FseTableReader.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
ExcessiveMethodLength Avoid really long methods. 3 42183
CyclomaticComplexity The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has a cyclomatic complexity of 18. 3 42183
NPathComplexity The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has an NPath complexity of 4008, current threshold is 200 3 42183
CognitiveComplexity The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has a cognitive complexity of 41, current threshold is 15 3 42183
NcssCount The method 'readFseTable(FiniteStateEntropy.Table, Object, long, long, int, int)' has a NCSS line count of 86. 3 42183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 55
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 2 144

Waarp Compression - org/waarp/compress/zstdunsafe/Histogram.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3878
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 44
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 50
AvoidReassigningParameters Avoid reassigning parameters such as 'maxSymbol' 2 69
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 75

Waarp Compression - org/waarp/compress/zstdunsafe/Huffman.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 75
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 87
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 174175
ExcessiveMethodLength Avoid really long methods. 3 203378
NcssCount The method 'decode4Streams(Object, long, long, Object, long, long)' has a NCSS line count of 92. 3 203378
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 213214
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216217
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 320321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 332333
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 344345
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 355356
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 391392
AvoidReassigningParameters Avoid reassigning parameters such as 'bitsConsumed' 2 394
AvoidReassigningParameters Avoid reassigning parameters such as 'bits' 2 395
AvoidReassigningParameters Avoid reassigning parameters such as 'currentAddress' 2 396
AvoidReassigningParameters Avoid reassigning parameters such as 'outputAddress' 2 402
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 424

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionContext.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionTable.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
AvoidReassigningParameters Avoid reassigning parameters such as 'maxNumberOfBits' 2 87
AvoidArrayLoops System.arraycopy is more efficient 3 9497
AvoidArrayLoops System.arraycopy is more efficient 3 108113
CognitiveComplexity The method 'buildTree(int, int, NodeTable)' has a cognitive complexity of 17, current threshold is 15 3 124211
NPathComplexity The method 'buildTree(int, int, NodeTable)' has an NPath complexity of 640, current threshold is 200 3 124211
CyclomaticComplexity The method 'buildTree(int, int, NodeTable)' has a cyclomatic complexity of 13. 3 124211
CyclomaticComplexity The method 'write(Object, long, int, HuffmanTableWriterWorkspace)' has a cyclomatic complexity of 10. 3 222286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278280
ExcessiveMethodLength Avoid really long methods. 3 316420
NPathComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has an NPath complexity of 15648, current threshold is 200 3 316420
CyclomaticComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cyclomatic complexity of 19. 3 316420
NcssCount The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a NCSS line count of 60. 3 316420
CognitiveComplexity The method 'setMaxHeight(NodeTable, int, int, HuffmanCompressionTableWorkspace)' has a cognitive complexity of 35, current threshold is 15 3 316420
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 430
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 468

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressionTableWorkspace.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44

Waarp Compression - org/waarp/compress/zstdunsafe/HuffmanCompressor.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 38176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 7879
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9091
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102104
ImplicitSwitchFallThrough A switch statement does not contain a break 3 136156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138140
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 143145
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 148150
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159161
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 162164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 165167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168170

Waarp Compression - org/waarp/compress/zstdunsafe/NodeTable.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42

Waarp Compression - org/waarp/compress/zstdunsafe/RepeatedOffsets.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceEncoder.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 41397
CyclomaticComplexity The method 'compressSequences(Object, long, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a cyclomatic complexity of 16. 3 78236
ExcessiveMethodLength Avoid really long methods. 3 78236
NPathComplexity The method 'compressSequences(Object, long, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has an NPath complexity of 384, current threshold is 200 3 78236
NcssCount The method 'compressSequences(Object, long, int, SequenceStore, CompressionParameters.Strategy, SequenceEncodingContext)' has a NCSS line count of 91. 3 78236
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
ExcessiveParameterList Avoid long parameter lists. 3 238247
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 247
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 252
AvoidReassigningParameters Avoid reassigning parameters such as 'sequenceCount' 2 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 299
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 368

Waarp Compression - org/waarp/compress/zstdunsafe/SequenceStore.java

Rule Violation Priority Line
DontImportSun Avoid importing anything from the sun.* packages 4 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 114
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 122
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 135
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 155
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 167

Waarp Compression - org/waarp/compress/zstdunsafe/UnsafeUtil.java

Rule Violation Priority Line
DontImportSun Avoid importing anything from the sun.* packages 4 37
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 96
AvoidAccessibilityAlteration You should not modify visibility of constructors, methods or fields using setAccessible() 3 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 98
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 99100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 120
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 121122

Waarp Compression - org/waarp/compress/zstdunsafe/Util.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9697
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 102

Waarp Compression - org/waarp/compress/zstdunsafe/XxHash64.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 52
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 71
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 2 71
AvoidReassigningParameters Avoid reassigning parameters such as 'index' 2 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
AvoidReassigningParameters Avoid reassigning parameters such as 'address' 2 104
AvoidReassigningParameters Avoid reassigning parameters such as 'hash' 2 146

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameCompressor.java

Rule Violation Priority Line
DontImportSun Avoid importing anything from the sun.* packages 4 40
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 42539
NPathComplexity The method 'writeFrameHeader(Object, long, long, int, int)' has an NPath complexity of 200, current threshold is 200 3 69133
CyclomaticComplexity The method 'writeFrameHeader(Object, long, long, int, int)' has a cyclomatic complexity of 14. 3 69133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 253260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 253260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
CyclomaticComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has a cyclomatic complexity of 20. 3 308458
ExcessiveMethodLength Avoid really long methods. 3 308458
NPathComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has an NPath complexity of 10800, current threshold is 200 3 308458
NcssCount The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has a NCSS line count of 67. 3 308458
CognitiveComplexity The method 'encodeLiterals(HuffmanCompressionContext, CompressionParameters, Object, long, int, byte, int)' has a cognitive complexity of 23, current threshold is 15 3 308458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 352
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 375
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 503
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 506

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdFrameDecompressor.java

Rule Violation Priority Line
DontImportSun Avoid importing anything from the sun.* packages 4 44
TooManyMethods This class has too many methods, consider refactoring it. 3 461081
CyclomaticComplexity The class 'ZstdFrameDecompressor' has a total cyclomatic complexity of 115 (highest 17). 3 461081
ExcessiveClassLength Avoid really long classes. 3 461081
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 127
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
CyclomaticComplexity The method 'decompress(Object, long, long, Object, long, long)' has a cyclomatic complexity of 11. 3 151235
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 244
ImplicitSwitchFallThrough A switch statement does not contain a break 3 312330
CognitiveComplexity The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has a cognitive complexity of 54, current threshold is 15 3 341577
CyclomaticComplexity The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has a cyclomatic complexity of 17. 3 341577
NPathComplexity The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has an NPath complexity of 3652, current threshold is 200 3 341577
ExcessiveMethodLength Avoid really long methods. 3 341577
ExcessiveParameterList Avoid long parameter lists. 3 341350
NcssCount The method 'decompressSequences(Object, long, long, Object, long, long, Object, long, long, long)' has a NCSS line count of 132. 3 341577
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 365
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 371
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 438439
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 464
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 471
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 481
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 498
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 504
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 514515
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 586
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 594
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 595
AvoidReassigningParameters Avoid reassigning parameters such as 'matchLength' 2 596
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 616
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 617
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 638
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 651
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 671
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 2 685
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 2 718
AvoidReassigningParameters Avoid reassigning parameters such as 'input' 2 751
AvoidReassigningParameters Avoid reassigning parameters such as 'output' 2 789
AvoidReassigningParameters Avoid reassigning parameters such as 'literalInput' 2 790
AvoidReassigningParameters Avoid reassigning parameters such as 'matchAddress' 2 809
ImplicitSwitchFallThrough A switch statement does not contain a break 3 826858
NPathComplexity The method 'readFrameHeader(Object, long, long)' has an NPath complexity of 360, current threshold is 200 3 9761053
CyclomaticComplexity The method 'readFrameHeader(Object, long, long)' has a cyclomatic complexity of 14. 3 9761053
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 10091022
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 10271047
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1060

Waarp Compression - org/waarp/compress/zstdunsafe/ZstdUnsafeCodec.java

Rule Violation Priority Line
DontImportSun Avoid importing anything from the sun.* packages 4 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 82
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 98
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 105
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 111
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 118
CloseResource Ensure that resources like this InputStream object are closed after use 3 119
CloseResource Ensure that resources like this OutputStream object are closed after use 3 120
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 133
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 135
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 155
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 162
CloseResource Ensure that resources like this InputStream object are closed after use 3 163
CloseResource Ensure that resources like this OutputStream object are closed after use 3 164
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 176
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 178

Waarp Digest - org/waarp/common/digest/FilesystemBasedDigest.java

Rule Violation Priority Line
CyclomaticComplexity The class 'FilesystemBasedDigest' has a total cyclomatic complexity of 136 (highest 20). 3 61795
TooManyMethods This class has too many methods, consider refactoring it. 3 61795
GodClass Possible God Class (WMC=136, ATFD=51, TCC=25.057%) 3 61795
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
AvoidMessageDigestField You shouldnt declare field of MessageDigest type, because unsynchronized access could cause problems 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
CyclomaticComplexity The method 'initialize()' has a cyclomatic complexity of 12. 3 98124
ImplicitSwitchFallThrough A switch statement does not contain a break 3 152164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 227
CyclomaticComplexity The method 'getFromName(String)' has a cyclomatic complexity of 11. 3 269294
EmptyCatchBlock Avoid empty catch blocks 3 272274
UnusedPrivateField Avoid unused private fields such as 'useFastMd5'. 3 300
CyclomaticComplexity The method 'getHashNoNio(InputStream, DigestAlgo, byte)' has a cyclomatic complexity of 13. 3 362400
AssignmentInOperand Avoid assignments in operands 3 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 392
AvoidReassigningParameters Avoid reassigning parameters such as 'checksum' 2 406
AssignmentInOperand Avoid assignments in operands 3 408
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 411
CyclomaticComplexity The method 'getHash(File, boolean, DigestAlgo)' has a cyclomatic complexity of 20. 3 426496
CognitiveComplexity The method 'getHash(File, boolean, DigestAlgo)' has a cognitive complexity of 16, current threshold is 15 3 426496
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 470
AssignmentInOperand Avoid assignments in operands 3 470
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 471
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 491
AvoidReassigningParameters Avoid reassigning parameters such as 'checksum' 2 505
AssignmentInOperand Avoid assignments in operands 3 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 511
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 537
CyclomaticComplexity The method 'getHash(ByteBuf, DigestAlgo)' has a cyclomatic complexity of 11. 3 554584
CyclomaticComplexity The method 'getHash(byte, int, DigestAlgo)' has a cyclomatic complexity of 10. 3 612630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 642
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 643
AvoidReassigningParameters Avoid reassigning parameters such as 'checksum' 2 650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 653
ForLoopVariableCount Too many control variables in the for statement 3 690
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 3 691
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 3 692
ForLoopVariableCount Too many control variables in the for statement 3 707
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 3 708
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'x' 3 709
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 768

Waarp Digest - org/waarp/common/digest/WaarpBC.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 39174
RedundantFieldInitializer Avoid using redundant field initializer for 'initialized' 3 43
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 43
RedundantFieldInitializer Avoid using redundant field initializer for 'specialSecureRandom' 3 44
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 5762
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 3 58
SystemPrintln System.err.println is used 2 5960
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149150
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 158159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 158159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 163

Waarp Exec - org/waarp/commandexec/client/LocalExecClientHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
GuardLogStatement Logger calls should be surrounded by log level guards. 2 173174
AvoidReassigningParameters Avoid reassigning parameters such as 'mesg' 2 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 191
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 214

Waarp Exec - org/waarp/commandexec/client/LocalExecClientInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 46
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 63

Waarp Exec - org/waarp/commandexec/server/LocalExecServer.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 4198
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 43
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 43
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 45
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 59
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 65
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 92
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95

Waarp Exec - org/waarp/commandexec/server/LocalExecServerHandler.java

Rule Violation Priority Line
UnusedAssignment The field initializer for 'delay' is never used (overwritten on line 173) 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
AvoidFieldNameMatchingMethodName Field isShutdown has the same name as a method 3 63
MutableStaticState Do not use non-final non-private static fields 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 104
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 122
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 154
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 156
EmptyCatchBlock Avoid empty catch blocks 3 157159
NPathComplexity The method 'channelRead0(ChannelHandlerContext, String)' has an NPath complexity of 7203, current threshold is 200 3 197359
ExcessiveMethodLength Avoid really long methods. 3 197359
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, String)' has a cognitive complexity of 62, current threshold is 15 3 197359
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, String)' has a cyclomatic complexity of 24. 3 197359
NcssCount The method 'channelRead0(ChannelHandlerContext, String)' has a NCSS line count of 96. 3 197359
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 227
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 227
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 227
CollapsibleIfStatements These nested if statements could be combined 3 235240
GuardLogStatement Logger calls should be surrounded by log level guards. 2 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
GuardLogStatement Logger calls should be surrounded by log level guards. 2 280281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 283
GuardLogStatement Logger calls should be surrounded by log level guards. 2 292293
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 295
GuardLogStatement Logger calls should be surrounded by log level guards. 2 305306
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 308
GuardLogStatement Logger calls should be surrounded by log level guards. 2 318319
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 334
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 335
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 340
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 357
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 33, current threshold is 15 3 362397
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 13. 3 362397
EmptyIfStmt Avoid empty if statements 3 371373
EmptyIfStmt Avoid empty if statements 3 373375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 376
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 383
CollapsibleIfStatements These nested if statements could be combined 3 390395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 390

Waarp Exec - org/waarp/commandexec/server/LocalExecServerInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 52
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 65

Waarp Exec - org/waarp/commandexec/ssl/client/LocalExecSslClientHandler.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5960
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75

Waarp Exec - org/waarp/commandexec/ssl/client/LocalExecSslClientInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 63

Waarp Exec - org/waarp/commandexec/ssl/server/LocalExecSslServer.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 44139
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 46
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 46
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 47
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 48
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 66
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 18, current threshold is 15 3 66138
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 79
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 83
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 85
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 88
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 8893
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 90
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9798
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 133
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136

Waarp Exec - org/waarp/commandexec/ssl/server/LocalExecSslServerInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 51
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 79

Waarp Exec - org/waarp/commandexec/utils/LocalExecResult.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 27
AvoidFieldNameMatchingMethodName Field isSuccess has the same name as a method 3 27
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71

Waarp Ftp Core - org/waarp/ftp/core/command/AbstractCommand.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 83
NPathComplexity The method 'isNextCommandValid(CommandInterface)' has an NPath complexity of 396, current threshold is 200 3 88122
CognitiveComplexity The method 'isNextCommandValid(CommandInterface)' has a cognitive complexity of 20, current threshold is 15 3 88122
CyclomaticComplexity The method 'isNextCommandValid(CommandInterface)' has a cyclomatic complexity of 13. 3 88122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184

Waarp Ftp Core - org/waarp/ftp/core/command/FtpArgumentCode.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 29282
CyclomaticComplexity The method 'getTransferType(char)' has a cyclomatic complexity of 10. 3 176195
CyclomaticComplexity The method 'getTransferMode(char)' has a cyclomatic complexity of 10. 3 262281

Waarp Ftp Core - org/waarp/ftp/core/command/FtpCommandCode.java

Rule Violation Priority Line
ExcessiveClassLength Avoid really long classes. 3 391658
ArrayIsStoredDirectly The user-supplied array 'nextValids' is stored directly. 3 1373
UnusedAssignment The value assigned to variable 'ftpCommandCode' is never used (overwritten on lines 1411 and 1413) 3 1394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1399
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1401
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1406
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1409
NcssCount The method 'getAbstractCommand(FtpCommandCode, FtpSession)' has a NCSS line count of 122. 3 14251549
ExcessiveMethodLength Avoid really long methods. 3 14251549
CyclomaticComplexity The method 'getAbstractCommand(FtpCommandCode, FtpSession)' has a cyclomatic complexity of 61. 3 14251549

Waarp Ftp Core - org/waarp/ftp/core/command/access/ACCT.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50

Waarp Ftp Core - org/waarp/ftp/core/command/access/PASS.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 52

Waarp Ftp Core - org/waarp/ftp/core/command/access/QUIT.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 31
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 32
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3334

Waarp Ftp Core - org/waarp/ftp/core/command/access/REIN.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 34
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 36

Waarp Ftp Core - org/waarp/ftp/core/command/access/USER.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 48

Waarp Ftp Core - org/waarp/ftp/core/command/directory/CDUP.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 34
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3941
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344

Waarp Ftp Core - org/waarp/ftp/core/command/directory/CWD.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 42
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5657

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XCRC.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4041

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XDIGEST.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4849

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XMD5.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4243

Waarp Ftp Core - org/waarp/ftp/core/command/extension/XSHA1.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4243

Waarp Ftp Core - org/waarp/ftp/core/command/info/HELP.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3233

Waarp Ftp Core - org/waarp/ftp/core/command/info/NOOP.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45

Waarp Ftp Core - org/waarp/ftp/core/command/info/SITE.java

Rule Violation Priority Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 10. 3 4387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4951
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4951
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 61
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 84

Waarp Ftp Core - org/waarp/ftp/core/command/info/STAT.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6465
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6768
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 72
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 33 characters appended. 3 73
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81

Waarp Ftp Core - org/waarp/ftp/core/command/info/SYST.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3132

Waarp Ftp Core - org/waarp/ftp/core/command/internal/ConnectionCommand.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44

Waarp Ftp Core - org/waarp/ftp/core/command/internal/INTERNALSHUTDOWN.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 67
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 67
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8384

Waarp Ftp Core - org/waarp/ftp/core/command/internal/IncorrectCommand.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
GuardLogStatement Logger calls should be surrounded by log level guards. 2 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55

Waarp Ftp Core - org/waarp/ftp/core/command/internal/LIMITBANDWIDTH.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4041
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 48
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 5657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6061

Waarp Ftp Core - org/waarp/ftp/core/command/internal/UnimplementedCommand.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4042
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
GuardLogStatement Logger calls should be surrounded by log level guards. 2 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45

Waarp Ftp Core - org/waarp/ftp/core/command/internal/UnknownCommand.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4042
GuardLogStatement Logger calls should be surrounded by log level guards. 2 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/MODE.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4042
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 62

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/PASV.java

Rule Violation Priority Line
NPathComplexity The method 'exec()' has an NPath complexity of 224, current threshold is 200 3 47113
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 14. 3 47113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 79
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8486
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 110111

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/PORT.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5658
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8183

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/STRU.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3738
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3738
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3941
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 49
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 62

Waarp Ftp Core - org/waarp/ftp/core/command/parameter/TYPE.java

Rule Violation Priority Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 14. 3 3584
CognitiveComplexity The method 'exec()' has a cognitive complexity of 19, current threshold is 15 3 3584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4043
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 42
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 62
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 7071
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2389/FEAT.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3233

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2389/OPTS.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 34

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2428/EPRT.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4649
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6467

Waarp Ftp Core - org/waarp/ftp/core/command/rfc2428/EPSV.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9193

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/MDTM.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/MLSD.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4142

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/MLST.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4041

Waarp Ftp Core - org/waarp/ftp/core/command/rfc3659/SIZE.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/AUTH.java

Rule Violation Priority Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 10. 3 5084
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7071
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7778
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 79

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/CCC.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/PBSZ.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 36
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51

Waarp Ftp Core - org/waarp/ftp/core/command/rfc4217/PROT.java

Rule Violation Priority Line
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 17. 3 3676
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 57
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 60
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73

Waarp Ftp Core - org/waarp/ftp/core/command/service/ABOR.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3637
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3637
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3637
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4041
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4849

Waarp Ftp Core - org/waarp/ftp/core/command/service/ALLO.java

Rule Violation Priority Line
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 46
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5455

Waarp Ftp Core - org/waarp/ftp/core/command/service/APPE.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546

Waarp Ftp Core - org/waarp/ftp/core/command/service/DELE.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4446

Waarp Ftp Core - org/waarp/ftp/core/command/service/LIST.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4142

Waarp Ftp Core - org/waarp/ftp/core/command/service/MKD.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3940

Waarp Ftp Core - org/waarp/ftp/core/command/service/NLST.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 37
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 43
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5455

Waarp Ftp Core - org/waarp/ftp/core/command/service/PWD.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 33

Waarp Ftp Core - org/waarp/ftp/core/command/service/REST.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3941

Waarp Ftp Core - org/waarp/ftp/core/command/service/RETR.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4950

Waarp Ftp Core - org/waarp/ftp/core/command/service/RMD.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3940

Waarp Ftp Core - org/waarp/ftp/core/command/service/RNFR.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4244

Waarp Ftp Core - org/waarp/ftp/core/command/service/RNTO.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5456

Waarp Ftp Core - org/waarp/ftp/core/command/service/STOR.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 44
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4546

Waarp Ftp Core - org/waarp/ftp/core/command/service/STOU.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 42
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4344

Waarp Ftp Core - org/waarp/ftp/core/config/FtpConfiguration.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 20764
GodClass Possible God Class (WMC=85, ATFD=12, TCC=4.862%) 3 45764
CyclomaticComplexity The class 'FtpConfiguration' has a total cyclomatic complexity of 85 (highest 13). 3 45764
TooManyFields Too many fields 3 45764
MutableStaticState Do not use non-final non-private static fields 3 59
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 110
AvoidFieldNameMatchingMethodName Field isShutdown has the same name as a method 3 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 176
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 181
RedundantFieldInitializer Avoid using redundant field initializer for 'activePassiveMode' 3 197
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 202
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 202
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 492
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 493
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 494
CognitiveComplexity The method 'getFtpSession(Channel, boolean)' has a cognitive complexity of 31, current threshold is 15 3 546594
CyclomaticComplexity The method 'getFtpSession(Channel, boolean)' has a cyclomatic complexity of 13. 3 546594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 551
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 558
GuardLogStatement Logger calls should be surrounded by log level guards. 2 563
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 567
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 576
GuardLogStatement Logger calls should be surrounded by log level guards. 2 584

Waarp Ftp Core - org/waarp/ftp/core/config/FtpGlobalTrafficShapingHandler.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 33
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 63
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 69

Waarp Ftp Core - org/waarp/ftp/core/config/FtpInternalConfiguration.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20613
GodClass Possible God Class (WMC=47, ATFD=71, TCC=14.719%) 3 63613
TooManyFields Too many fields 3 63613
MutableStaticState Do not use non-final non-private static fields 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 97
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 97
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 123
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 176
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 185
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 190
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 207
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 213
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 222
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 225
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 227
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 227
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 229
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 229
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 231
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 231
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 233
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 233
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 235
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 235
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 238
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 238
ExcessiveMethodLength Avoid really long methods. 3 248359
CyclomaticComplexity The method 'serverStartup()' has a cyclomatic complexity of 10. 3 248359
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 256
GuardLogStatement Logger calls should be surrounded by log level guards. 2 316
GuardLogStatement Logger calls should be surrounded by log level guards. 2 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 348
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443
GuardLogStatement Logger calls should be surrounded by log level guards. 2 450
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 451
GuardLogStatement Logger calls should be surrounded by log level guards. 2 453
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 454
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 483
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 486
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 490
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 512
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 521
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 578
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 579
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 580
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 581
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 585

Waarp Ftp Core - org/waarp/ftp/core/control/BusinessHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 192 characters appended. 3 126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 144
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 153
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 5 consecutive times with literals. Use a single append with a single combined String. 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 164
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 175
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 197
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 220

Waarp Ftp Core - org/waarp/ftp/core/control/FtpInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 95

Waarp Ftp Core - org/waarp/ftp/core/control/NetworkHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20482
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 182
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 35, current threshold is 15 3 196268
NcssCount The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a NCSS line count of 60. 3 196268
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 17. 3 196268
GuardLogStatement Logger calls should be surrounded by log level guards. 2 207208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
GuardLogStatement Logger calls should be surrounded by log level guards. 2 211213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 224
GuardLogStatement Logger calls should be surrounded by log level guards. 2 224
GuardLogStatement Logger calls should be surrounded by log level guards. 2 233
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 242
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 242
GuardLogStatement Logger calls should be surrounded by log level guards. 2 248249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
GuardLogStatement Logger calls should be surrounded by log level guards. 2 253254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 254
GuardLogStatement Logger calls should be surrounded by log level guards. 2 260261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 265
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, String)' has a cognitive complexity of 16, current threshold is 15 3 274334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 288
GuardLogStatement Logger calls should be surrounded by log level guards. 2 288289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 315
GuardLogStatement Logger calls should be surrounded by log level guards. 2 316317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 349
GuardLogStatement Logger calls should be surrounded by log level guards. 2 365
CyclomaticComplexity The method 'messageRunAnswer(ChannelHandlerContext)' has a cyclomatic complexity of 12. 3 392481
CognitiveComplexity The method 'messageRunAnswer(ChannelHandlerContext)' has a cognitive complexity of 31, current threshold is 15 3 392481
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 394
GuardLogStatement Logger calls should be surrounded by log level guards. 2 394
GuardLogStatement Logger calls should be surrounded by log level guards. 2 398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 399
GuardLogStatement Logger calls should be surrounded by log level guards. 2 407408
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 415
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 418
EmptyCatchBlock Avoid empty catch blocks 3 419421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 427
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 430
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 432
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 439441
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 440
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451452
GuardLogStatement Logger calls should be surrounded by log level guards. 2 454456
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 454
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 460
GuardLogStatement Logger calls should be surrounded by log level guards. 2 463465
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 463
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 477

Waarp Ftp Core - org/waarp/ftp/core/control/ftps/FtpsInitializer.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 39
MutableStaticState Do not use non-final non-private static fields 3 40
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 62
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 70
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 76

Waarp Ftp Core - org/waarp/ftp/core/control/ftps/SslNetworkHandler.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75

Waarp Ftp Core - org/waarp/ftp/core/data/FtpDataAsyncConn.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=62, ATFD=44, TCC=13.613%) 3 49547
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
UnusedAssignment The field initializer for 'remotePort' is never used (overwritten on line 142) 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
AvoidFieldNameMatchingMethodName Field isBind has the same name as a method 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 129
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 139
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 166172
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 186188
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 214216
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 218222
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 229238
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 273275
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 280282
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 287291
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 296298
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 303307
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 312314
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 319323
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 328330
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 335339
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370
CognitiveComplexity The method 'unbindData()' has a cognitive complexity of 18, current threshold is 15 3 379413
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 379413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388389
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388389
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 407
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 411
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426427
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426427
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 454460
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 465468
UnusedAssignment The initializer for variable 'port' is never used (overwritten on line 479) 3 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 486
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 3 497
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 33, but has at least 69 characters appended. 3 497
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 514
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 531546

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransfer.java

Rule Violation Priority Line
DataClass The class 'FtpTransfer' is suspected to be a Data Class (WOC=22.222%, NOPA=0, NOAM=5, WMC=14) 3 34148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransferControl.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20868
CyclomaticComplexity The class 'FtpTransferControl' has a total cyclomatic complexity of 156 (highest 23). 3 57868
TooManyMethods This class has too many methods, consider refactoring it. 3 57868
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
AvoidFieldNameMatchingMethodName Field waitForOpenedDataChannel has the same name as a method 3 8384
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 122
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 177
UnusedAssignment The initializer for variable 'channel' is never used (overwritten on line 198) 3 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 209
GuardLogStatement Logger calls should be surrounded by log level guards. 2 210213
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 222228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 234
CognitiveComplexity The method 'openDataConnection()' has a cognitive complexity of 31, current threshold is 15 3 248350
ExcessiveMethodLength Avoid really long methods. 3 248350
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 248350
NPathComplexity The method 'openDataConnection()' has an NPath complexity of 1056, current threshold is 200 3 248350
CyclomaticComplexity The method 'openDataConnection()' has a cyclomatic complexity of 23. 3 248350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 282
GuardLogStatement Logger calls should be surrounded by log level guards. 2 294
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307308
GuardLogStatement Logger calls should be surrounded by log level guards. 2 310311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 316
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 338339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 338
GuardLogStatement Logger calls should be surrounded by log level guards. 2 340
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 342
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362363
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 370
NPathComplexity The method 'runExecutor()' has an NPath complexity of 1008, current threshold is 200 3 380431
CyclomaticComplexity The method 'runExecutor()' has a cyclomatic complexity of 15. 3 380431
CognitiveComplexity The method 'runExecutor()' has a cognitive complexity of 19, current threshold is 15 3 380431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 386387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 386387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
GuardLogStatement Logger calls should be surrounded by log level guards. 2 400401
AvoidDuplicateLiterals The String literal "Command cancelled" appears 4 times in this file; the first occurrence is on line 405 3 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 421
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 424
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 426
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 428
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 453
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 456
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 484
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 488
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 488
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 559
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 560
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 560
NcssCount The method 'checkFtpTransferStatus()' has a NCSS line count of 64. 3 570658
NPathComplexity The method 'checkFtpTransferStatus()' has an NPath complexity of 4000, current threshold is 200 3 570658
CyclomaticComplexity The method 'checkFtpTransferStatus()' has a cyclomatic complexity of 23. 3 570658
CognitiveComplexity The method 'checkFtpTransferStatus()' has a cognitive complexity of 29, current threshold is 15 3 570658
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 589
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 607
GuardLogStatement Logger calls should be surrounded by log level guards. 2 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 637
GuardLogStatement Logger calls should be surrounded by log level guards. 2 645
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 650
CyclomaticComplexity The method 'abortTransfer()' has a cyclomatic complexity of 10. 3 663698
GuardLogStatement Logger calls should be surrounded by log level guards. 2 675
GuardLogStatement Logger calls should be surrounded by log level guards. 2 679
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 690
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 692
CognitiveComplexity The method 'closeTransfer()' has a cognitive complexity of 16, current threshold is 15 3 703745
CyclomaticComplexity The method 'closeTransfer()' has a cyclomatic complexity of 11. 3 703745
GuardLogStatement Logger calls should be surrounded by log level guards. 2 712
GuardLogStatement Logger calls should be surrounded by log level guards. 2 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 721
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 731
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 740
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 769
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 820
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 827840
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 833
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 837
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 857
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 860
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 864
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 865
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 865

Waarp Ftp Core - org/waarp/ftp/core/data/FtpTransferExecutor.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
GuardLogStatement Logger calls should be surrounded by log level guards. 2 81
CognitiveComplexity The method 'runNextCommand()' has a cognitive complexity of 18, current threshold is 15 3 90144
CyclomaticComplexity The method 'runNextCommand()' has a cyclomatic complexity of 10. 3 90144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
EmptyCatchBlock Avoid empty catch blocks 3 9799
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 137
EmptyCatchBlock Avoid empty catch blocks 3 137139
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 152

Waarp Ftp Core - org/waarp/ftp/core/data/handler/DataBusinessHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38

Waarp Ftp Core - org/waarp/ftp/core/data/handler/DataNetworkHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20450
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 140
CognitiveComplexity The method 'channelInactive(ChannelHandlerContext)' has a cognitive complexity of 15, current threshold is 15 3 149180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 156
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 156158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 164165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 164165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 177
CyclomaticComplexity The method 'channelActive(ChannelHandlerContext)' has a cyclomatic complexity of 12. 3 201255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
GuardLogStatement Logger calls should be surrounded by log level guards. 2 218
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222
GuardLogStatement Logger calls should be surrounded by log level guards. 2 228230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232233
GuardLogStatement Logger calls should be surrounded by log level guards. 2 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 246247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 246247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 252253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 252253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 278
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 278279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 290
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 17. 3 298359
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 30, current threshold is 15 3 298359
GuardLogStatement Logger calls should be surrounded by log level guards. 2 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 306
GuardLogStatement Logger calls should be surrounded by log level guards. 2 309310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
GuardLogStatement Logger calls should be surrounded by log level guards. 2 315
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 324325
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 324325
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 328
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 334
GuardLogStatement Logger calls should be surrounded by log level guards. 2 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 340
GuardLogStatement Logger calls should be surrounded by log level guards. 2 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 343
GuardLogStatement Logger calls should be surrounded by log level guards. 2 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 347
GuardLogStatement Logger calls should be surrounded by log level guards. 2 347
GuardLogStatement Logger calls should be surrounded by log level guards. 2 349350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356357
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 361363
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, DataBlock)' has a cyclomatic complexity of 10. 3 369413
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, DataBlock)' has a cognitive complexity of 21, current threshold is 15 3 369413
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 369413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 374375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 374375
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 383
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 390391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 390391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 400401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 400401
GuardLogStatement Logger calls should be surrounded by log level guards. 2 403
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 404405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 404405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 409410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 409410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 432
GuardLogStatement Logger calls should be surrounded by log level guards. 2 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 433
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 444

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 109110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 122

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataModeCodec.java

Rule Violation Priority Line
CyclomaticComplexity The class 'FtpDataModeCodec' has a total cyclomatic complexity of 81 (highest 20). 3 47547
GodClass Possible God Class (WMC=81, ATFD=75, TCC=28.571%) 3 47547
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
ImmutableField Private field 'zlibCodec' could be made final; it is only initialized in the declaration or constructor. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 141
CollapsibleIfStatements These nested if statements could be combined 3 142144
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 149
EmptyCatchBlock Avoid empty catch blocks 3 156158
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 166
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 170
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 172
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 190
CollapsibleIfStatements These nested if statements could be combined 3 191193
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 198
EmptyCatchBlock Avoid empty catch blocks 3 205207
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 216
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 220
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 222
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 224
CognitiveComplexity The method 'decode(ChannelHandlerContext, ByteBuf, List)' has a cognitive complexity of 17, current threshold is 15 3 253341
CyclomaticComplexity The method 'decode(ChannelHandlerContext, ByteBuf, List)' has a cyclomatic complexity of 13. 3 253341
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 279
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 323
AvoidDuplicateLiterals The String literal "Mode unimplemented: " appears 4 times in this file; the first occurrence is on line 337 3 337
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 360
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 367
EmptyCatchBlock Avoid empty catch blocks 3 372374
CognitiveComplexity The method 'encode(DataBlock)' has a cognitive complexity of 32, current threshold is 15 3 399498
NcssCount The method 'encode(DataBlock)' has a NCSS line count of 66. 3 399498
CyclomaticComplexity The method 'encode(DataBlock)' has a cyclomatic complexity of 20. 3 399498
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 441
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 449
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 455
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 468
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 484
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 490
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 515

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataStructureCodec.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpDataTypeCodec.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 188
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 216

Waarp Ftp Core - org/waarp/ftp/core/data/handler/FtpSeekAheadData.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 70
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 71

Waarp Ftp Core - org/waarp/ftp/core/data/handler/ftps/FtpsDataInitializer.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 6264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 66
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 7173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 8890
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89

Waarp Ftp Core - org/waarp/ftp/core/session/FtpSession.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=66, ATFD=43, TCC=10.121%) 3 55531
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
AvoidFieldNameMatchingMethodName Field isCurrentCommandFinished has the same name as a method 3 9899
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 119
AvoidFieldNameMatchingMethodName Field isReady has the same name as a method 3 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 124
AvoidFieldNameMatchingMethodName Field isSsl has the same name as a method 3 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 132
AvoidFieldNameMatchingMethodName Field isDataSsl has the same name as a method 3 132
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 188194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 357
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 358
NPathComplexity The method 'toString()' has an NPath complexity of 864, current threshold is 200 3 382421
CyclomaticComplexity The method 'toString()' has a cyclomatic complexity of 12. 3 382421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 415
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 449
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 450
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 466
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 467
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 478
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 505507
GuardLogStatement Logger calls should be surrounded by log level guards. 2 517518

Waarp Ftp Core - org/waarp/ftp/core/session/FtpSessionReference.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 89
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 90
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 95
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 96
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 110
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 111
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 115
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 143
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 144
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 144
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 188
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 212
GuardLogStatement Logger calls should be surrounded by log level guards. 2 213214
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 231
GuardLogStatement Logger calls should be surrounded by log level guards. 2 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 261
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 279
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 295
GuardLogStatement Logger calls should be surrounded by log level guards. 2 296297

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpChannelUtils.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 71
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
CognitiveComplexity The method 'get2428InetSocketAddress(String)' has a cognitive complexity of 15, current threshold is 15 3 169225
CyclomaticComplexity The method 'get2428InetSocketAddress(String)' has a cyclomatic complexity of 12. 3 169225
NPathComplexity The method 'get2428InetSocketAddress(String)' has an NPath complexity of 432, current threshold is 200 3 169225
GuardLogStatement Logger calls should be surrounded by log level guards. 2 180
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 184
UnusedAssignment The initializer for variable 'isIPV4' is never used (overwritten on lines 189 and 191) 3 187
GuardLogStatement Logger calls should be surrounded by log level guards. 2 194
GuardLogStatement Logger calls should be surrounded by log level guards. 2 204
GuardLogStatement Logger calls should be surrounded by log level guards. 2 212
GuardLogStatement Logger calls should be surrounded by log level guards. 2 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 261262
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 261262
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 276277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 276277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 290291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 290291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 302303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 302303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 316317
GuardLogStatement Logger calls should be surrounded by log level guards. 2 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 381382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 381382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 393394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 393394
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 400

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpShutdownHook.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 28
MutableStaticState Do not use non-final non-private static fields 3 30
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 38

Waarp Ftp Core - org/waarp/ftp/core/utils/FtpTimerTask.java

Rule Violation Priority Line
DataClass The class 'FtpTimerTask' is suspected to be a Data Class (WOC=25.000%, NOPA=2, NOAM=2, WMC=6) 3 3296
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
ImplicitSwitchFallThrough A switch statement does not contain a break 3 6880

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpAuth.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 134

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpFile.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 75
CyclomaticComplexity The method 'trueRetrieve()' has a cyclomatic complexity of 21. 3 86202
CognitiveComplexity The method 'trueRetrieve()' has a cognitive complexity of 26, current threshold is 15 3 86202
NcssCount The method 'trueRetrieve()' has a NCSS line count of 67. 3 86202
ExcessiveMethodLength Avoid really long methods. 3 86202
NPathComplexity The method 'trueRetrieve()' has an NPath complexity of 3459, current threshold is 200 3 86202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
GuardLogStatement Logger calls should be surrounded by log level guards. 2 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 190
GuardLogStatement Logger calls should be surrounded by log level guards. 2 192

Waarp Ftp Filesystem - org/waarp/ftp/filesystembased/FilesystemBasedFtpRestart.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 47
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 48
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 49
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 54
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 5859

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/SimpleGatewayFtpServer.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 3777
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 45
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4648
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 65

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/SimpleGatewaySslFtpServer.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 38101
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 46
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4749
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 8485
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/CircularIntValue.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedConfiguration.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'XML_USEFASTMD5'. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 166
ExcessiveMethodLength Avoid really long methods. 3 192362
NPathComplexity The method 'setConfigurationFromXml(String)' has an NPath complexity of 353894400, current threshold is 200 3 192362
CyclomaticComplexity The method 'setConfigurationFromXml(String)' has a cyclomatic complexity of 32. 3 192362
CognitiveComplexity The method 'setConfigurationFromXml(String)' has a cognitive complexity of 39, current threshold is 15 3 192362
NcssCount The method 'setConfigurationFromXml(String)' has a NCSS line count of 129. 3 192362
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 196
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198199
GuardLogStatement Logger calls should be surrounded by log level guards. 2 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
GuardLogStatement Logger calls should be surrounded by log level guards. 2 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 227
GuardLogStatement Logger calls should be surrounded by log level guards. 2 229
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 232
GuardLogStatement Logger calls should be surrounded by log level guards. 2 237
GuardLogStatement Logger calls should be surrounded by log level guards. 2 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 278
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 305
GuardLogStatement Logger calls should be surrounded by log level guards. 2 307308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 311
UnusedAssignment The value assigned to variable 'document' is never used (overwritten on line 314) 3 312
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 314
GuardLogStatement Logger calls should be surrounded by log level guards. 2 316318
GuardLogStatement Logger calls should be surrounded by log level guards. 2 322323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 326
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 348
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 357

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/config/FileBasedSslConfiguration.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 40228
NPathComplexity The method 'loadSsl(FtpConfiguration)' has an NPath complexity of 80196, current threshold is 200 3 107192
NcssCount The method 'loadSsl(FtpConfiguration)' has a NCSS line count of 60. 3 107192
CyclomaticComplexity The method 'loadSsl(FtpConfiguration)' has a cyclomatic complexity of 26. 3 107192
CognitiveComplexity The method 'loadSsl(FtpConfiguration)' has a cognitive complexity of 39, current threshold is 15 3 107192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 161
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 206
GuardLogStatement Logger calls should be surrounded by log level guards. 2 208209
GuardLogStatement Logger calls should be surrounded by log level guards. 2 213
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 224
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 225
UnusedAssignment The value assigned to variable 'configuration' is never used 3 225

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/control/SimpleBusinessHandler.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 5355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
GuardLogStatement Logger calls should be surrounded by log level guards. 2 56
GuardLogStatement Logger calls should be surrounded by log level guards. 2 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 129130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 129130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
AvoidDuplicateLiterals The String literal "{} {}" appears 4 times in this file; the first occurrence is on line 160 3 160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 160161
GuardLogStatement Logger calls should be surrounded by log level guards. 2 163164
GuardLogStatement Logger calls should be surrounded by log level guards. 2 166167
GuardLogStatement Logger calls should be surrounded by log level guards. 2 169170
GuardLogStatement Logger calls should be surrounded by log level guards. 2 172173

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/file/FileBasedAuth.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 63
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 86

Waarp Ftp SimpleServer - org/waarp/ftp/simpleimpl/file/SimpleAuth.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
AvoidFieldNameMatchingMethodName Field isAdmin has the same name as a method 3 55
ArrayIsStoredDirectly The user-supplied array 'accounts' is stored directly. 3 63
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 63

Waarp Ftp R66 client - org/waarp/ftp/client/DataTimeOutListener.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 63
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 67
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 67
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 69
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6970
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 70
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 70
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 71
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 78

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtp4jClient.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20781
TooManyMethods This class has too many methods, consider refactoring it. 3 59781
CyclomaticComplexity The class 'WaarpFtp4jClient' has a total cyclomatic complexity of 113 (highest 11). 3 59781
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
UnusedAssignment The field initializer for 'port' is never used (overwritten on line 100) 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
RedundantFieldInitializer Avoid using redundant field initializer for 'directory' 3 82
CyclomaticComplexity The constructor 'WaarpFtp4jClient(String, int, String, String, String, boolean, int, int, int)' has a cyclomatic complexity of 11. 3 94177
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 115
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 141
AvoidUsingHardCodedIP Do not hard code the IP address 3 158
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 163
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 168
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 207
EmptyCatchBlock Avoid empty catch blocks 3 207209
CyclomaticComplexity The method 'connect()' has a cyclomatic complexity of 11. 3 220275
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 221
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 229
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 234
AvoidDuplicateLiterals The String literal ": {}" appears 18 times in this file; the first occurrence is on line 241 3 241
GuardLogStatement Logger calls should be surrounded by log level guards. 2 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 251
GuardLogStatement Logger calls should be surrounded by log level guards. 2 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 279
EmptyCatchBlock Avoid empty catch blocks 3 285287
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 295
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 299
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 310
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 316
GuardLogStatement Logger calls should be surrounded by log level guards. 2 319
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 327
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 337
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 338
GuardLogStatement Logger calls should be surrounded by log level guards. 2 341
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 343
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 348
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 349
GuardLogStatement Logger calls should be surrounded by log level guards. 2 352
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 359
GuardLogStatement Logger calls should be surrounded by log level guards. 2 369
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 376
GuardLogStatement Logger calls should be surrounded by log level guards. 2 390
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 435
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 446
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 447
GuardLogStatement Logger calls should be surrounded by log level guards. 2 450
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 461
CloseResource Ensure that resources like this OutputStream object are closed after use 3 469
UnusedAssignment The initializer for variable 'outputStream' is never used (overwritten on lines 473 and 476) 3 469
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 490
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 496
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 500
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 501
GuardLogStatement Logger calls should be surrounded by log level guards. 2 503
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 515
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 521
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 528
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 533
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 535
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 539
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 541
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 542
GuardLogStatement Logger calls should be surrounded by log level guards. 2 544
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 553
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 557
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 561
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 562
GuardLogStatement Logger calls should be surrounded by log level guards. 2 565
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 566
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 605
AvoidDuplicateLiterals The String literal "FEAT" appears 4 times in this file; the first occurrence is on line 607 3 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 608
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 613
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 614
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 615
GuardLogStatement Logger calls should be surrounded by log level guards. 2 618
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 619
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 624
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 626
GuardLogStatement Logger calls should be surrounded by log level guards. 2 629
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 630
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 636
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 639
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 643
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 644
GuardLogStatement Logger calls should be surrounded by log level guards. 2 647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 655
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 657
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 666
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 671
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 676
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 677
GuardLogStatement Logger calls should be surrounded by log level guards. 2 680
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 687
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 691
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 694
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 695
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 696
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 699
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 700
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 704
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 705
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 706
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 708
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 709
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 710
GuardLogStatement Logger calls should be surrounded by log level guards. 2 713
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 714
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 727
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 728
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 729
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 732
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 733
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 737
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 738
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 739
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 741
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 742
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 743
GuardLogStatement Logger calls should be surrounded by log level guards. 2 746
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 747
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 755
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 759
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 760
GuardLogStatement Logger calls should be surrounded by log level guards. 2 763
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 775

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtpClient.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 47781
CyclomaticComplexity The class 'WaarpFtpClient' has a total cyclomatic complexity of 120 (highest 17). 3 47781
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
RedundantFieldInitializer Avoid using redundant field initializer for 'directory' 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
RedundantFieldInitializer Avoid using redundant field initializer for 'ipAddress' 3 66
ExcessiveParameterList Avoid long parameter lists. 3 102106
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144
NPathComplexity The method 'connect()' has an NPath complexity of 1023, current threshold is 200 3 172265
CognitiveComplexity The method 'connect()' has a cognitive complexity of 27, current threshold is 15 3 172265
CyclomaticComplexity The method 'connect()' has a cyclomatic complexity of 17. 3 172265
NcssCount The method 'connect()' has a NCSS line count of 70. 3 172265
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 173
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 186
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 195
AvoidDuplicateLiterals The String literal ": {}" appears 18 times in this file; the first occurrence is on line 195 3 195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 230
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 234
GuardLogStatement Logger calls should be surrounded by log level guards. 2 240241
GuardLogStatement Logger calls should be surrounded by log level guards. 2 245
GuardLogStatement Logger calls should be surrounded by log level guards. 2 253
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 269
EmptyCatchBlock Avoid empty catch blocks 3 272274
EmptyCatchBlock Avoid empty catch blocks 3 277279
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 303
GuardLogStatement Logger calls should be surrounded by log level guards. 2 306
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 314
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 323
GuardLogStatement Logger calls should be surrounded by log level guards. 2 326
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 333
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 341
GuardLogStatement Logger calls should be surrounded by log level guards. 2 344
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 371
CloseResource Ensure that resources like this OutputStream object are closed after use 3 419
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 420
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 445
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 457
GuardLogStatement Logger calls should be surrounded by log level guards. 2 460
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 470
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 500
GuardLogStatement Logger calls should be surrounded by log level guards. 2 503
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 513
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 538
GuardLogStatement Logger calls should be surrounded by log level guards. 2 541
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 575
GuardLogStatement Logger calls should be surrounded by log level guards. 2 578
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 579
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 600
GuardLogStatement Logger calls should be surrounded by log level guards. 2 603
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 604
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 617
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 625
GuardLogStatement Logger calls should be surrounded by log level guards. 2 628
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 629
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 636
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 638
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 643
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 651
GuardLogStatement Logger calls should be surrounded by log level guards. 2 654
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 663
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 663
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 670
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 680
GuardLogStatement Logger calls should be surrounded by log level guards. 2 683
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 690
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 698
GuardLogStatement Logger calls should be surrounded by log level guards. 2 701
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 702
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 725
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 733
GuardLogStatement Logger calls should be surrounded by log level guards. 2 736
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 737
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 760
GuardLogStatement Logger calls should be surrounded by log level guards. 2 763
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 775

Waarp Ftp R66 client - org/waarp/ftp/client/WaarpFtpClientInterface.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 26273

Waarp Gateway Ftp - org/waarp/gateway/ftp/ExecGatewayFtpServer.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 41132
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 56
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5759
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 65
CognitiveComplexity The method 'initialize(String, String)' has a cognitive complexity of 16, current threshold is 15 3 68130
CyclomaticComplexity The method 'initialize(String, String)' has a cyclomatic complexity of 11. 3 68130
NPathComplexity The method 'initialize(String, String)' has an NPath complexity of 384, current threshold is 200 3 68130
NonThreadSafeSingleton Singleton is not thread safe 3 7074
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9293
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120121
GuardLogStatement Logger calls should be surrounded by log level guards. 2 123128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126127

Waarp Gateway Ftp - org/waarp/gateway/ftp/LogExport.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 47252
MutableStaticState Do not use non-final non-private static fields 3 54
MutableStaticState Do not use non-final non-private static fields 3 55
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 90
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
NonThreadSafeSingleton Singleton is not thread safe 3 126131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139140
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 154
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 29, current threshold is 15 3 154195
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 17. 3 154195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 156
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 166
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169170
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178179
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 187188
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248

Waarp Gateway Ftp - org/waarp/gateway/ftp/ServerInitDatabase.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 37124
MutableStaticState Do not use non-final non-private static fields 3 41
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 41
MutableStaticState Do not use non-final non-private static fields 3 43
MutableStaticState Do not use non-final non-private static fields 3 44
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 49
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 50
NonThreadSafeSingleton Singleton is not thread safe 3 7375
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 110
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 120121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121

Waarp Gateway Ftp - org/waarp/gateway/ftp/adminssl/HttpSslHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20863
CyclomaticComplexity The class 'HttpSslHandler' has a total cyclomatic complexity of 118 (highest 18). 3 79863
GodClass Possible God Class (WMC=118, ATFD=110, TCC=32.164%) 3 79863
TooManyMethods This class has too many methods, consider refactoring it. 3 80863
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 185
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 195196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 199201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
CognitiveComplexity The method 'system()' has a cognitive complexity of 26, current threshold is 15 3 226298
CyclomaticComplexity The method 'system()' has a cyclomatic complexity of 11. 3 226298
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 262
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 263265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266267
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 270272
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 276278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
CyclomaticComplexity The method 'rule()' has a cyclomatic complexity of 10. 3 300368
CognitiveComplexity The method 'rule()' has a cognitive complexity of 25, current threshold is 15 3 300368
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 351
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
CognitiveComplexity The method 'transfer()' has a cognitive complexity of 26, current threshold is 15 3 370455
CyclomaticComplexity The method 'transfer()' has a cyclomatic complexity of 14. 3 370455
NcssCount The method 'transfer()' has a NCSS line count of 60. 3 370455
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 372
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 377378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 452453
CognitiveComplexity The method 'user()' has a cognitive complexity of 34, current threshold is 15 3 457518
CyclomaticComplexity The method 'user()' has a cyclomatic complexity of 10. 3 457518
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 465
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 466
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 470
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 492
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 496
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 498
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 505
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 507
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 516
CompareObjectsWithEquals Use equals() to compare object references. 3 521
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 522
CompareObjectsWithEquals Use equals() to compare object references. 3 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 526
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 531
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 541
CompareObjectsWithEquals Use equals() to compare object references. 3 548
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 548
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 552
CognitiveComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cognitive complexity of 39, current threshold is 15 3 555640
NcssCount The method 'checkAuthent(ChannelHandlerContext)' has a NCSS line count of 62. 3 555640
CyclomaticComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cyclomatic complexity of 18. 3 555640
NPathComplexity The method 'checkAuthent(ChannelHandlerContext)' has an NPath complexity of 1288, current threshold is 200 3 555640
CompareObjectsWithEquals Use equals() to compare object references. 3 557
CompareObjectsWithEquals Use equals() to compare object references. 3 563
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 582
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 583
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 595
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 603604
GuardLogStatement Logger calls should be surrounded by log level guards. 2 603607
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 604
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 606607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 608609
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 609
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 610611
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 613
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 634
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 11. 3 643696
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 652
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 664
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 667
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 667
UnusedAssignment The initializer for variable 'req' is never used (overwritten on lines 670 and 672) 3 668
CognitiveComplexity The method 'checkSession()' has a cognitive complexity of 15, current threshold is 15 3 698728
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 699
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 701
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 702
LiteralsFirstInComparisons Position literals first in String comparisons 3 704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 704
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 718
CognitiveComplexity The method 'handleCookies(HttpResponse)' has a cognitive complexity of 22, current threshold is 15 3 730763
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 731
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 733
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 738
LiteralsFirstInComparisons Position literals first in String comparisons 3 738
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 743744
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 747748
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 748
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 753754
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 754
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 760761
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 761
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 778779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 786787
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 787
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 790791
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 796797
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 832833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 834
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 837
GuardLogStatement Logger calls should be surrounded by log level guards. 2 848
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 850
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 859860
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 859860

Waarp Gateway Ftp - org/waarp/gateway/ftp/adminssl/HttpSslInitializer.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 38
MutableStaticState Do not use non-final non-private static fields 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 52
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 56
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 62

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/AUTHUPDATE.java

Rule Violation Priority Line
NPathComplexity The method 'exec()' has an NPath complexity of 252, current threshold is 200 3 5095
CognitiveComplexity The method 'exec()' has a cognitive complexity of 17, current threshold is 15 3 5095
CyclomaticComplexity The method 'exec()' has a cyclomatic complexity of 16. 3 5095
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51
GuardLogStatement Logger calls should be surrounded by log level guards. 2 92
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9394

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/CircularIntValue.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43

Waarp Gateway Ftp - org/waarp/gateway/ftp/config/FileBasedConfiguration.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 212044
CyclomaticComplexity The class 'FileBasedConfiguration' has a total cyclomatic complexity of 297 (highest 52). 3 942044
ExcessiveClassLength Avoid really long classes. 3 942044
TooManyMethods This class has too many methods, consider refactoring it. 3 942044
GodClass Possible God Class (WMC=297, ATFD=296, TCC=13.424%) 3 942044
TooManyFields Too many fields 3 942044
MutableStaticState Do not use non-final non-private static fields 3 593
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 593
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 597
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 608
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 630
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 648
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 653
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 653
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 658
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 658
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 663
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 663
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 701
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 713
CyclomaticComplexity The method 'loadServerParam()' has a cyclomatic complexity of 43. 3 722875
NPathComplexity The method 'loadServerParam()' has an NPath complexity of 128333160, current threshold is 200 3 722875
ExcessiveMethodLength Avoid really long methods. 3 722875
NcssCount The method 'loadServerParam()' has a NCSS line count of 113. 3 722875
CognitiveComplexity The method 'loadServerParam()' has a cognitive complexity of 78, current threshold is 15 3 722875
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 728
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 762
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 774
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 782
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 783
GuardLogStatement Logger calls should be surrounded by log level guards. 2 784786
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 791
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 795
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 796
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 829
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 839
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 851
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 858
GuardLogStatement Logger calls should be surrounded by log level guards. 2 860
GuardLogStatement Logger calls should be surrounded by log level guards. 2 864
GuardLogStatement Logger calls should be surrounded by log level guards. 2 868
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 879
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 883
GuardLogStatement Logger calls should be surrounded by log level guards. 2 892
ExcessiveMethodLength Avoid really long methods. 3 8981038
CognitiveComplexity The method 'loadLimit()' has a cognitive complexity of 62, current threshold is 15 3 8981038
NPathComplexity The method 'loadLimit()' has an NPath complexity of 2147483647, current threshold is 200 3 8981038
CyclomaticComplexity The method 'loadLimit()' has a cyclomatic complexity of 52. 3 8981038
NcssCount The method 'loadLimit()' has a NCSS line count of 103. 3 8981038
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 900
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 909
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 930
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 943
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 952
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 960
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 964
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 968
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 972
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 999
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1003
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1010
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1020
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1024
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1028
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1032
CyclomaticComplexity The method 'loadNetworkServer()' has a cyclomatic complexity of 11. 3 10401075
NPathComplexity The method 'loadNetworkServer()' has an NPath complexity of 243, current threshold is 200 3 10401075
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1043
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1051
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1058
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1062
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1065
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1070
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1084
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1088
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1128
NPathComplexity The method 'loadDatabase()' has an NPath complexity of 488, current threshold is 200 3 11411184
CyclomaticComplexity The method 'loadDatabase()' has a cyclomatic complexity of 18. 3 11411184
CognitiveComplexity The method 'loadDatabase()' has a cognitive complexity of 17, current threshold is 15 3 11411184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1169
CognitiveComplexity The method 'loadSsl()' has a cognitive complexity of 45, current threshold is 15 3 11861291
CyclomaticComplexity The method 'loadSsl()' has a cyclomatic complexity of 33. 3 11861291
NcssCount The method 'loadSsl()' has a NCSS line count of 78. 3 11861291
ExcessiveMethodLength Avoid really long methods. 3 11861291
NPathComplexity The method 'loadSsl()' has an NPath complexity of 6482592, current threshold is 200 3 11861291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 12561258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1289
CyclomaticComplexity The method 'setConfigurationServerFromXml(String)' has a cyclomatic complexity of 12. 3 13001360
NPathComplexity The method 'setConfigurationServerFromXml(String)' has an NPath complexity of 2048, current threshold is 200 3 13001360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1304
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13061307
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1353
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1357
UnusedAssignment The value assigned to variable 'configuration' is never used 3 1357
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1373
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1373
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1376
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1376
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1378
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1378
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13891390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14031404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1433
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1436
ArrayIsStoredDirectly The user-supplied array 'serverkey' is stored directly. 3 1448
CognitiveComplexity The method 'initializeAuthent(String, boolean)' has a cognitive complexity of 50, current threshold is 15 3 14801606
NcssCount The method 'initializeAuthent(String, boolean)' has a NCSS line count of 96. 3 14801606
ExcessiveMethodLength Avoid really long methods. 3 14801606
NPathComplexity The method 'initializeAuthent(String, boolean)' has an NPath complexity of 472400, current threshold is 200 3 14801606
CyclomaticComplexity The method 'initializeAuthent(String, boolean)' has a cyclomatic complexity of 28. 3 14801606
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1485
GuardLogStatement Logger calls should be surrounded by log level guards. 2 14871489
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1493
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1500
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1504
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1519
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1519
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1524
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1529
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1561
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15631564
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1568
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1569
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1570
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1571
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1580
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1581
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1582
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1583
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 15931594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1622
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1624
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1629
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1631
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1638
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1639
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1641
GuardLogStatement Logger calls should be surrounded by log level guards. 2 16601661
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1690
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1693
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1695
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1700
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1702
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1704
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1706
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1712
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1713
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1715
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1742
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1754
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1757
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1757
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1758
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1758
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1759
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1760
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1761
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1761
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1761
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1762
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1762
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1762
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1763
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1763
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1803
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1819
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1819
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1820
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1823
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1831
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1833
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 1845
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1848
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1854
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1857
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1860
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 18711872

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/ExecBusinessHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21530
CyclomaticComplexity The class 'ExecBusinessHandler' has a total cyclomatic complexity of 94 (highest 26). 3 60530
GodClass Possible God Class (WMC=94, ATFD=102, TCC=14.286%) 3 60530
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
ExcessiveMethodLength Avoid really long methods. 3 86223
CyclomaticComplexity The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has a cyclomatic complexity of 25. 3 86223
NPathComplexity The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has an NPath complexity of 1260, current threshold is 200 3 86223
NcssCount The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has a NCSS line count of 67. 3 86223
CognitiveComplexity The method 'afterTransferDoneBeforeAnswer(FtpTransfer)' has a cognitive complexity of 30, current threshold is 15 3 86223
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 120
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 159160
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 162163
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 247
ExcessiveMethodLength Avoid really long methods. 3 253369
NcssCount The method 'beforeRunCommand()' has a NCSS line count of 62. 3 253369
NPathComplexity The method 'beforeRunCommand()' has an NPath complexity of 720, current threshold is 200 3 253369
CyclomaticComplexity The method 'beforeRunCommand()' has a cyclomatic complexity of 26. 3 253369
CognitiveComplexity The method 'beforeRunCommand()' has a cognitive complexity of 41, current threshold is 15 3 253369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 266
EmptyIfStmt Avoid empty if statements 3 268270
EmptyIfStmt Avoid empty if statements 3 270272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 273
CollapsibleIfStatements These nested if statements could be combined 3 275290
CollapsibleIfStatements These nested if statements could be combined 3 276289
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 276289
GuardLogStatement Logger calls should be surrounded by log level guards. 2 278280
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 283286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 320321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 320321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 341
GuardLogStatement Logger calls should be surrounded by log level guards. 2 342347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353
GuardLogStatement Logger calls should be surrounded by log level guards. 2 357361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 360
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 389390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 389390
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 392
CollapsibleIfStatements These nested if statements could be combined 3 393397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 394396
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 394396
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 396
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 405
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 409
CollapsibleIfStatements These nested if statements could be combined 3 416429
GuardLogStatement Logger calls should be surrounded by log level guards. 2 421
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 425
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 426
GuardLogStatement Logger calls should be surrounded by log level guards. 2 435
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 438
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 439
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 37, but has at least 39 characters appended. 3 473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 476477
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 476477
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 476477
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 480
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 480
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 489
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 490
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 501
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 504
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 514
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 519
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 522
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 523

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/FtpConstraintLimitHandler.java

Rule Violation Priority Line
ExcessiveParameterList Avoid long parameter lists. 3 114124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 143

Waarp Gateway Ftp - org/waarp/gateway/ftp/control/WaarpActionLogger.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 67
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 8288
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 8384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 8687
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8687
EmptyCatchBlock Avoid empty catch blocks 3 9193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
EmptyCatchBlock Avoid empty catch blocks 3 130132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 144146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144146
CognitiveComplexity The method 'logErrorAction(DbSession, long, FtpTransfer, String, ReplyCode, BusinessHandler)' has a cognitive complexity of 50, current threshold is 15 3 162249
CyclomaticComplexity The method 'logErrorAction(DbSession, long, FtpTransfer, String, ReplyCode, BusinessHandler)' has a cyclomatic complexity of 20. 3 162249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 168
GuardLogStatement Logger calls should be surrounded by log level guards. 2 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 191
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 206208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206208
EmptyCatchBlock Avoid empty catch blocks 3 211213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 217219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 217219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
CollapsibleIfStatements These nested if statements could be combined 3 223229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 225228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 235237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 235237
CollapsibleIfStatements These nested if statements could be combined 3 241246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242245

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/DbConstantFtp.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 32

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/data/DbTransferLog.java

Rule Violation Priority Line
CyclomaticComplexity The class 'DbTransferLog' has a total cyclomatic complexity of 124 (highest 14). 3 561210
ExcessiveClassLength Avoid really long classes. 3 561210
TooManyMethods This class has too many methods, consider refactoring it. 3 561210
GodClass Possible God Class (WMC=124, ATFD=69, TCC=15.686%) 3 561210
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
AvoidFieldNameMatchingMethodName Field isSender has the same name as a method 3 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 120
AvoidDuplicateLiterals The String literal "=?," appears 6 times in this file; the first occurrence is on line 137 3 137
ExcessiveParameterList Avoid long parameter lists. 3 162166
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 222
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 279
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 280
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 293
AvoidDuplicateLiterals The String literal " = ? AND " appears 7 times in this file; the first occurrence is on line 301 3 301
AvoidDuplicateLiterals The String literal " = '" appears 9 times in this file; the first occurrence is on line 321 3 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 322
GuardLogStatement Logger calls should be surrounded by log level guards. 2 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 375
CognitiveComplexity The method 'create()' has a cognitive complexity of 16, current threshold is 15 3 388460
CyclomaticComplexity The method 'create()' has a cyclomatic complexity of 14. 3 388460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 402
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 402
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 419
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 419
GuardLogStatement Logger calls should be surrounded by log level guards. 2 420
AvoidDuplicateLiterals The String literal ") FROM " appears 6 times in this file; the first occurrence is on line 424 3 424
AvoidDuplicateLiterals The String literal " WHERE " appears 12 times in this file; the first occurrence is on line 425 3 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 435
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 440441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 440441
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 447
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 450
AvoidDuplicateLiterals The String literal " = " appears 4 times in this file; the first occurrence is on line 510 3 510
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 510
AvoidDuplicateLiterals The String literal " AND " appears 11 times in this file; the first occurrence is on line 511 3 511
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 513
AvoidDuplicateLiterals The String literal " ORDER BY " appears 5 times in this file; the first occurrence is on line 515 3 515
AvoidDuplicateLiterals The String literal " DESC " appears 5 times in this file; the first occurrence is on line 515 3 515
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 515
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 517518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 517518
CyclomaticComplexity The method 'getLogPrepareStament(DbSession, Timestamp, Timestamp, ReplyCode)' has a cyclomatic complexity of 12. 3 553608
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 561
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 568
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 569
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 571
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 575
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 581
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 581
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 583
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 586
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 597
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 603
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 604
AvoidDuplicateLiterals The String literal "SELECT COUNT(" appears 5 times in this file; the first occurrence is on line 622 3 622
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 622
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 623
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 643
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 646
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 673
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 674
AvoidDuplicateLiterals The String literal " >= ? " appears 4 times in this file; the first occurrence is on line 674 3 674
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 675
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 675
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 696
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 697
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 719
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 785
GuardLogStatement Logger calls should be surrounded by log level guards. 2 787788
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 809
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 812
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 813
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 813
AvoidDuplicateLiterals The String literal "' OR " appears 4 times in this file; the first occurrence is on line 813 3 813
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 814
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 815
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 815
AvoidDuplicateLiterals The String literal "') " appears 4 times in this file; the first occurrence is on line 816 3 816
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 818
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 819
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 822
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 823
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 823
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 825
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 848
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 851
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 852
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 852
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 853
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 854
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 854
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 857
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 858
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 861
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 862
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 862
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 865
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 875
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 887
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 912
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1001
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1073
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1075
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 1079
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1104
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11171118
CloseResource Ensure that resources like this Writer object are closed after use 3 1137
CyclomaticComplexity The method 'saveDbTransferLogFile(DbPreparedStatement, Writer, boolean)' has a cyclomatic complexity of 10. 3 11601209
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1173
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11801181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1205

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/model/DbModelFactoryFtp.java

Rule Violation Priority Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 4547

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/model/DbModelMariaDbFtp.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 3 48

Waarp Gateway Ftp - org/waarp/gateway/ftp/database/model/DbModelMysqlFtp.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 3 48

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/AbstractExecutor.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 92
MutableStaticState Do not use non-final non-private static fields 3 97
MutableStaticState Do not use non-final non-private static fields 3 102
DataClass The class 'CommandExecutor' is suspected to be a Data Class (WOC=25.000%, NOPA=4, NOAM=8, WMC=44) 3 104319
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 119
CognitiveComplexity The constructor 'CommandExecutor(String, long, String, long)' has a cognitive complexity of 20, current threshold is 15 3 132186
CyclomaticComplexity The constructor 'CommandExecutor(String, long, String, long)' has a cyclomatic complexity of 13. 3 132186
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 134
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 149
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 160
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 223
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 226
CognitiveComplexity The method 'createAbstractExecutor(HttpAuthInterface, String, boolean, WaarpFuture)' has a cognitive complexity of 16, current threshold is 15 3 366438
CyclomaticComplexity The method 'createAbstractExecutor(HttpAuthInterface, String, boolean, WaarpFuture)' has a cyclomatic complexity of 16. 3 366438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 400
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 412
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 434
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 449
EmptyWhileStmt Avoid empty while statements 3 496498

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/ExecuteExecutor.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
NcssCount The method 'run()' has a NCSS line count of 67. 3 91198
ExcessiveMethodLength Avoid really long methods. 3 91198
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 29. 3 91198
NPathComplexity The method 'run()' has an NPath complexity of 12960, current threshold is 200 3 91198
CognitiveComplexity The method 'run()' has a cognitive complexity of 43, current threshold is 15 3 91198
GuardLogStatement Logger calls should be surrounded by log level guards. 2 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 131
GuardLogStatement Logger calls should be surrounded by log level guards. 2 141142
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 143
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 143
GuardLogStatement Logger calls should be surrounded by log level guards. 2 150151
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 152
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 152
GuardLogStatement Logger calls should be surrounded by log level guards. 2 154156
GuardLogStatement Logger calls should be surrounded by log level guards. 2 163164
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 173174
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 175
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 190

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/GatewayRunnable.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 40

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/JavaExecutor.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 3 63127
CognitiveComplexity The method 'run()' has a cognitive complexity of 20, current threshold is 15 3 63127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 68
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6970
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 77
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7879
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
GuardLogStatement Logger calls should be surrounded by log level guards. 2 83
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
UnusedAssignment The initializer for variable 'status' is never used (overwritten on lines 87, 99, 101 and 107) 3 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 91
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 97
EmptyWhileStmt Avoid empty while statements 3 104106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 110
GuardLogStatement Logger calls should be surrounded by log level guards. 2 111112
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 113114
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 120
GuardLogStatement Logger calls should be surrounded by log level guards. 2 121
GuardLogStatement Logger calls should be surrounded by log level guards. 2 124

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/JavaExecutorWaarpFtp4jClient.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
CognitiveComplexity The method 'run()' has a cognitive complexity of 32, current threshold is 15 3 111205
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 22. 3 111205
NPathComplexity The method 'run()' has an NPath complexity of 95928, current threshold is 200 3 111205
NcssCount The method 'run()' has a NCSS line count of 63. 3 111205
GuardLogStatement Logger calls should be surrounded by log level guards. 2 118
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 129
GuardLogStatement Logger calls should be surrounded by log level guards. 2 139
GuardLogStatement Logger calls should be surrounded by log level guards. 2 151
GuardLogStatement Logger calls should be surrounded by log level guards. 2 163
GuardLogStatement Logger calls should be surrounded by log level guards. 2 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
GuardLogStatement Logger calls should be surrounded by log level guards. 2 189
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 3 210

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/LocalExecClient.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 63
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 116
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 123
GuardLogStatement Logger calls should be surrounded by log level guards. 2 127129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147
GuardLogStatement Logger calls should be surrounded by log level guards. 2 148

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/LogJavaTask.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 3 72

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/NoTaskExecutor.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
UnusedFormalParameter Avoid unused constructor parameters such as 'delay'. 3 36
UnusedFormalParameter Avoid unused constructor parameters such as 'command'. 3 36

Waarp Gateway Ftp - org/waarp/gateway/ftp/exec/R66PreparedTransferExecutor.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
UnusedFormalParameter Avoid unused constructor parameters such as 'delay'. 3 116
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 20. 3 128206
NPathComplexity The method 'run()' has an NPath complexity of 1024, current threshold is 200 3 128206
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 3 128206
GuardLogStatement Logger calls should be surrounded by log level guards. 2 138141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 154155
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 156158
GuardLogStatement Logger calls should be surrounded by log level guards. 2 187188
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 189
GuardLogStatement Logger calls should be surrounded by log level guards. 2 195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 199200
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 201

Waarp Gateway Ftp - org/waarp/gateway/ftp/file/FileBasedAuth.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 73
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 221
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 221

Waarp Gateway Ftp - org/waarp/gateway/ftp/file/SimpleAuth.java

Rule Violation Priority Line
DataClass The class 'SimpleAuth' is suspected to be a Data Class (WOC=30.769%, NOPA=0, NOAM=8, WMC=28) 3 30279
AvoidFieldNameMatchingMethodName Field isAdmin has the same name as a method 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 125
MethodReturnsInternalArray Returning 'accounts' may expose an internal array. 3 193
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 199

Waarp Gateway Ftp - org/waarp/gateway/ftp/service/FtpEngine.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 35
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 40
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 6367
GuardLogStatement Logger calls should be surrounded by log level guards. 2 68

Waarp Gateway Ftp - org/waarp/gateway/ftp/service/FtpServiceLauncher.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 34
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 38
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 55

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpCounter32.java

Rule Violation Priority Line
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 3 34
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 3 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5152

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpGauge32.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 3 34
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 3 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5152

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpMonitoring.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 45478
TooManyFields Too many fields 3 45478
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
NonStaticInitializer Non-static initializers are confusing 3 9198
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 183
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 228229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228229
CyclomaticComplexity The method 'run(long, WaarpGlobalValuesIndex)' has a cyclomatic complexity of 31. 3 288439
NcssCount The method 'run(long, WaarpGlobalValuesIndex)' has a NCSS line count of 104. 3 288439
ExcessiveMethodLength Avoid really long methods. 3 288439
ImplicitSwitchFallThrough A switch statement does not contain a break 3 295432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 429430
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 429430

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpPrivateMib.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 54883
TooManyFields Too many fields 3 54883
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 126
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 136
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 156
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 258
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 344
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 362
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 375
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 389
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 402
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 417
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 3 430503
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 431432
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 435436
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 438
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 440441
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 445447
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 447
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 451453
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 453
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 457459
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 462464
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 466467
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 469471
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 471
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 475477
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 481483
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 483
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 3 518537

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpTimeTicks.java

Rule Violation Priority Line
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 37 and 43) 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5051
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5051

Waarp Gateway Ftp - org/waarp/gateway/ftp/snmp/FtpVariableFactory.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getVariable(OID, int, int, int)' has a cyclomatic complexity of 12. 3 3980

Waarp Gateway Kernel - org/waarp/gateway/kernel/AbstractHttpBusinessRequest.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedHashMap'; use the interface instead 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30
LooseCoupling Avoid using implementation types like 'LinkedHashMap'; use the interface instead 3 39

Waarp Gateway Kernel - org/waarp/gateway/kernel/AbstractHttpField.java

Rule Violation Priority Line
DataClass The class 'AbstractHttpField' is suspected to be a Data Class (WOC=7.692%, NOPA=2, NOAM=12, WMC=24) 3 28295
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
ExcessiveParameterList Avoid long parameter lists. 3 7481
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 145

Waarp Gateway Kernel - org/waarp/gateway/kernel/DefaultHttpField.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=62, ATFD=9, TCC=0.000%) 3 28248
ExcessiveParameterList Avoid long parameter lists. 3 4249
NcssCount The method 'getHtmlFormField(HttpPage)' has a NCSS line count of 89. 3 56170
CognitiveComplexity The method 'getHtmlFormField(HttpPage)' has a cognitive complexity of 46, current threshold is 15 3 56170
CyclomaticComplexity The method 'getHtmlFormField(HttpPage)' has a cyclomatic complexity of 38. 3 56170
ExcessiveMethodLength Avoid really long methods. 3 56170
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 55 characters appended. 3 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 183189
CyclomaticComplexity The method 'setStringValue(String)' has a cyclomatic complexity of 15. 3 192227

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpBusinessFactory.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 43
ExcessiveMethodLength Avoid really long methods. 3 85226
NcssCount The method 'addDefaultErrorPages(HttpPageHandler, String, Class)' has a NCSS line count of 78. 3 85226
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 161
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpJsonDefinition.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 99
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 139
UnusedAssignment The value assigned to variable 'list' is never used 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 167168
GuardLogStatement Logger calls should be surrounded by log level guards. 2 172173
GuardLogStatement Logger calls should be surrounded by log level guards. 2 177178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 240241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240241

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpPage.java

Rule Violation Priority Line
CyclomaticComplexity The class 'HttpPage' has a total cyclomatic complexity of 117 (highest 13). 3 42662
GodClass Possible God Class (WMC=117, ATFD=51, TCC=1.795%) 3 42662
ExcessiveParameterList Avoid long parameter lists. 3 8995
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 116
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
CognitiveComplexity The method 'finalizePage(AbstractHttpBusinessRequest, boolean, StringBuilder)' has a cognitive complexity of 16, current threshold is 15 3 198227
CyclomaticComplexity The method 'finalizePage(AbstractHttpBusinessRequest, boolean, StringBuilder)' has a cyclomatic complexity of 11. 3 198227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 221
CyclomaticComplexity The method 'setFields(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cyclomatic complexity of 11. 3 229262
CognitiveComplexity The method 'setFields(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cognitive complexity of 28, current threshold is 15 3 229262
CognitiveComplexity The method 'setFromPossibleForm(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cognitive complexity of 20, current threshold is 15 3 264294
CyclomaticComplexity The method 'setFromPossibleForm(AbstractHttpBusinessRequest, boolean, StringBuilder, Map)' has a cyclomatic complexity of 10. 3 264294
NPathComplexity The method 'getSimpleHtml(AbstractHttpBusinessRequest)' has an NPath complexity of 1296, current threshold is 200 3 296331
CyclomaticComplexity The method 'getSimpleHtml(AbstractHttpBusinessRequest)' has a cyclomatic complexity of 13. 3 296331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 387
GuardLogStatement Logger calls should be surrounded by log level guards. 2 410411
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 477

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpPageHandler.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 41
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59
CyclomaticComplexity The method 'getHttpPage(String, String, HttpSession)' has a cyclomatic complexity of 17. 3 71120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
ImplicitSwitchFallThrough A switch statement does not contain a break 3 81115
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 83
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 92
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 99
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
AvoidReassigningParameters Avoid reassigning parameters such as 'page' 2 132
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 134

Waarp Gateway Kernel - org/waarp/gateway/kernel/HttpXmlDefinition.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=98, ATFD=117, TCC=23.810%) 3 49523
CyclomaticComplexity The class 'HttpXmlDefinition' has a total cyclomatic complexity of 98 (highest 43). 3 49523
NPathComplexity The method 'loadHttpPage(XmlValue)' has an NPath complexity of 2097152, current threshold is 200 3 232302
CognitiveComplexity The method 'loadHttpPage(XmlValue)' has a cognitive complexity of 21, current threshold is 15 3 232302
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 232
CyclomaticComplexity The method 'loadHttpPage(XmlValue)' has a cyclomatic complexity of 36. 3 232302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 248
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 254255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 293
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 293
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 298
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 304
NPathComplexity The method 'loadHttpConfiguration(XmlValue)' has an NPath complexity of 33554432, current threshold is 200 3 304401
CyclomaticComplexity The method 'loadHttpConfiguration(XmlValue)' has a cyclomatic complexity of 43. 3 304401
NcssCount The method 'loadHttpConfiguration(XmlValue)' has a NCSS line count of 70. 3 304401
CognitiveComplexity The method 'loadHttpConfiguration(XmlValue)' has a cognitive complexity of 25, current threshold is 15 3 304401
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 327
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 327
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 332
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 337
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 363364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 422
GuardLogStatement Logger calls should be surrounded by log level guards. 2 424425
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 426427
GuardLogStatement Logger calls should be surrounded by log level guards. 2 430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 448
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 470
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 500
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 510
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 512

Waarp Gateway Kernel - org/waarp/gateway/kernel/commonfile/CommonFileChunkedInput.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114

Waarp Gateway Kernel - org/waarp/gateway/kernel/commonfile/FilesystemBasedFileParameterImpl.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 37

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/WaarpActionLogger.java

Rule Violation Priority Line
CyclomaticComplexity The method 'logCreate(DbSession, String, HttpSession)' has a cyclomatic complexity of 11. 3 5395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 84
EmptyCatchBlock Avoid empty catch blocks 3 9092
CyclomaticComplexity The method 'logAction(DbSession, HttpSession, String, HttpResponseStatus, UpdatedInfo)' has a cyclomatic complexity of 12. 3 106143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
EmptyCatchBlock Avoid empty catch blocks 3 139141
CyclomaticComplexity The method 'logErrorAction(DbSession, HttpSession, String, HttpResponseStatus)' has a cyclomatic complexity of 14. 3 153197
GuardLogStatement Logger calls should be surrounded by log level guards. 2 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 180
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 183
EmptyCatchBlock Avoid empty catch blocks 3 193195

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/data/DbTransferLog.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201194
TooManyMethods This class has too many methods, consider refactoring it. 3 571194
ExcessiveClassLength Avoid really long classes. 3 571194
GodClass Possible God Class (WMC=129, ATFD=60, TCC=14.745%) 3 571194
CyclomaticComplexity The class 'DbTransferLog' has a total cyclomatic complexity of 129 (highest 14). 3 571194
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
AvoidFieldNameMatchingMethodName Field isSender has the same name as a method 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
AvoidDuplicateLiterals The String literal "=?," appears 6 times in this file; the first occurrence is on line 135 3 135
ExcessiveParameterList Avoid long parameter lists. 3 160164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 217
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 276
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 277
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 279
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
AvoidDuplicateLiterals The String literal " = ? AND " appears 7 times in this file; the first occurrence is on line 295 3 295
AvoidDuplicateLiterals The String literal " = '" appears 11 times in this file; the first occurrence is on line 315 3 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
CyclomaticComplexity The method 'create()' has a cyclomatic complexity of 14. 3 379451
CognitiveComplexity The method 'create()' has a cognitive complexity of 16, current threshold is 15 3 379451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 393
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 410
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 410
GuardLogStatement Logger calls should be surrounded by log level guards. 2 411
AvoidDuplicateLiterals The String literal ") FROM " appears 6 times in this file; the first occurrence is on line 415 3 415
AvoidDuplicateLiterals The String literal " WHERE " appears 18 times in this file; the first occurrence is on line 416 3 416
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 431432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 431432
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 438
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 441
AvoidDuplicateLiterals The String literal " = " appears 12 times in this file; the first occurrence is on line 500 3 500
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 500
AvoidDuplicateLiterals The String literal " AND " appears 14 times in this file; the first occurrence is on line 501 3 501
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 503
AvoidDuplicateLiterals The String literal " DESC " appears 6 times in this file; the first occurrence is on line 505 3 505
AvoidDuplicateLiterals The String literal " ORDER BY " appears 6 times in this file; the first occurrence is on line 505 3 505
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 505
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 507508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 507508
CyclomaticComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cyclomatic complexity of 11. 3 513557
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 513515
CognitiveComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cognitive complexity of 19, current threshold is 15 3 513557
NPathComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has an NPath complexity of 324, current threshold is 200 3 513557
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 520
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 524
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 526
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 531
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 533
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 538
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 540
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 545
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 547
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 553
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 555
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 555
CyclomaticComplexity The method 'getLogPrepareStament(DbSession, Timestamp, Timestamp)' has a cyclomatic complexity of 11. 3 571618
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 578
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 579
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 585
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 591
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 591
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 593
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 596
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 602
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 602
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 607
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 613
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 614
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 632
AvoidDuplicateLiterals The String literal "SELECT COUNT(" appears 5 times in this file; the first occurrence is on line 632 3 632
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 633
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 634
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 653
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 656
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 683
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 684
AvoidDuplicateLiterals The String literal " >= ? " appears 4 times in this file; the first occurrence is on line 684 3 684
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 685
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 685
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 706
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 707
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 730
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 755
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 796
GuardLogStatement Logger calls should be surrounded by log level guards. 2 798799
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 820
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 825
AvoidDuplicateLiterals The String literal "' OR " appears 6 times in this file; the first occurrence is on line 825 3 825
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 825
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 826
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 826
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 827
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 828
AvoidDuplicateLiterals The String literal "') " appears 4 times in this file; the first occurrence is on line 828 3 828
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 830
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 831
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 834
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 835
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 835
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 836
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 836
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 837
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 860
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 864
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 865
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 865
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 866
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 866
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 867
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 868
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 870
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 871
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 874
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 875
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 875
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 877
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 877
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 878
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 888
CompareObjectsWithEquals Use equals() to compare object references. 3 898
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 925
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1011
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1086
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1088
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 1092
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1117
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11301131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11671168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1171
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11881189

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelFactoryGateway.java

Rule Violation Priority Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 5456
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 117

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelH2Kernel.java

Rule Violation Priority Line
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 3 56126
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 3 56126
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 31 characters appended. 3 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 86
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 9394
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 122

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelMariaDbKernel.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 3 48

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelMysqlKernel.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'lock'. 3 52
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 3 60133
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 3 60133
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 31 characters appended. 3 69
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 90
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 110
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelOracleKernel.java

Rule Violation Priority Line
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 3 56125
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 3 56125
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 20 characters appended. 3 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 68
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 87
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121

Waarp Gateway Kernel - org/waarp/gateway/kernel/database/model/DbModelPostgresqlKernel.java

Rule Violation Priority Line
CyclomaticComplexity The method 'createTableMonitoring(DbSession)' has a cyclomatic complexity of 10. 3 50119
NPathComplexity The method 'createTableMonitoring(DbSession)' has an NPath complexity of 512, current threshold is 200 3 50119
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 31 characters appended. 3 59
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpCleanChannelFutureListener.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpRequestHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20994
CyclomaticComplexity The class 'HttpRequestHandler' has a total cyclomatic complexity of 134 (highest 16). 3 85994
TooManyMethods This class has too many methods, consider refactoring it. 3 86994
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 137
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 155
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 168
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 182
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 197
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 214
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
ExcessiveMethodLength Avoid really long methods. 3 261363
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 19, current threshold is 15 3 261363
NcssCount The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a NCSS line count of 68. 3 261363
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 16. 3 261363
CompareObjectsWithEquals Use equals() to compare object references. 3 285
GuardLogStatement Logger calls should be surrounded by log level guards. 2 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 310
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 320
ImplicitSwitchFallThrough A switch statement does not contain a break 3 325349
CompareObjectsWithEquals Use equals() to compare object references. 3 356
GuardLogStatement Logger calls should be surrounded by log level guards. 2 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 397
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 408
CompareObjectsWithEquals Use equals() to compare object references. 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 446
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 450
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 452
CyclomaticComplexity The method 'writeSimplePage(ChannelHandlerContext)' has a cyclomatic complexity of 10. 3 465507
NPathComplexity The method 'writeSimplePage(ChannelHandlerContext)' has an NPath complexity of 256, current threshold is 200 3 465507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 469
EmptyCatchBlock Avoid empty catch blocks 3 475477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 484
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 487
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 489490
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 492
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 493
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 497498
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 529530
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 533535
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 534535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 548
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 552
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 556
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 560561
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 561
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 562
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 570572
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 571572
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 591592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 592
CompareObjectsWithEquals Use equals() to compare object references. 3 601
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 602603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 613614
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 614
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 619620
CyclomaticComplexity The method 'finalData(ChannelHandlerContext)' has a cyclomatic complexity of 14. 3 648700
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 660
CompareObjectsWithEquals Use equals() to compare object references. 3 695
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 800
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 854
GuardLogStatement Logger calls should be surrounded by log level guards. 2 856
GuardLogStatement Logger calls should be surrounded by log level guards. 2 889
EmptyCatchBlock Avoid empty catch blocks 3 915917
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 933
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 935
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 940
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 944
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 947
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 949
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 951
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 952
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 955
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 959
GuardLogStatement Logger calls should be surrounded by log level guards. 2 962

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/HttpWriteCacheEnable.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20282
LooseCoupling Avoid using implementation types like 'ArrayList'; use the interface instead 3 78
CyclomaticComplexity The method 'writeFile(HttpRequest, ChannelHandlerContext, String, String)' has a cyclomatic complexity of 11. 3 120192
NPathComplexity The method 'writeFile(HttpRequest, ChannelHandlerContext, String, String)' has an NPath complexity of 216, current threshold is 200 3 120192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 156
UnusedAssignment The initializer for variable 'inputStream' is never used (overwritten on line 158) 3 156
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 177178
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 180181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 202203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 218219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 223224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 226227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 239240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 267
EmptyIfStmt Avoid empty if statements 3 271273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 275

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/saplink/HttpGerenateJsonConfiguration.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 3050
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 36
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3738
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 46

Waarp Gateway Kernel - org/waarp/gateway/kernel/http/saplink/HttpSapBusinessFactory.java

Rule Violation Priority Line
ExcessiveMethodLength Avoid really long methods. 3 213410
NcssCount The method 'initializeHttpPageHandler()' has a NCSS line count of 144. 3 213410
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 240
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 243
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 244
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 245
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 246
AvoidDuplicateLiterals The String literal "404" appears 10 times in this file; the first occurrence is on line 247 3 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 256
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 259
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 260
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 262
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 274
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 275
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 276
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 277
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 288
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 290
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 291
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 292
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 293
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 305
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 307
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 308
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 309
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 310
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 322
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 324
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 325
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 326
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 327
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 338
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 340
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 341
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 342
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 343
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 344
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 354
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 357
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 358
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 359
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 360
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 371
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 373
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 374
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 375
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 376
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 377
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 388
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 390
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 391
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 392
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 393
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 394
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 397
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 405
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 407
NcssCount The method 'addDefaultFields(LinkedHashMap, SapField)' has a NCSS line count of 94. 3 412553
ExcessiveMethodLength Avoid really long methods. 3 412553
LooseCoupling Avoid using implementation types like 'LinkedHashMap'; use the interface instead 3 413
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 414
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 431
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 432
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 439443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 449
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 450
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 457461
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 467
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 468
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 475479
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 484
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 485
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 486
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 493497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 502
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 503
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 504
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 511515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 520
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 521
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 522
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 529533
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 539
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 540
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 547551

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/DataModelRestMethodHandler.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=58, ATFD=51, TCC=10.909%) 3 54473
CyclomaticComplexity The method 'checkHandlerSessionCorrectness(HttpRestHandler, RestArgument, RestArgument)' has a cyclomatic complexity of 12. 3 84122
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8990
GuardLogStatement Logger calls should be surrounded by log level guards. 2 117119
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150
CyclomaticComplexity The method 'getAll(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 12. 3 286322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 399
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 407408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 414
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 457
CompareObjectsWithEquals Use equals() to compare object references. 3 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 467468

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/HttpRestHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20861
TooManyFields Too many fields 3 83861
CyclomaticComplexity The class 'HttpRestHandler' has a total cyclomatic complexity of 114 (highest 32). 3 83861
TooManyMethods This class has too many methods, consider refactoring it. 3 84861
MutableStaticState Do not use non-final non-private static fields 3 194
MutableStaticState Do not use non-final non-private static fields 3 196
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 223
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 223
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 224
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 225
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 227
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 230
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 231
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 233
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 240
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 248
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 252
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 261
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 293
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 297
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 301
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 303
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 304
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 305
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 308
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363366
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 364366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 366
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 32. 3 407540
NcssCount The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a NCSS line count of 93. 3 407540
ExcessiveMethodLength Avoid really long methods. 3 407540
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 64, current threshold is 15 3 407540
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 416
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 418
CompareObjectsWithEquals Use equals() to compare object references. 3 459
GuardLogStatement Logger calls should be surrounded by log level guards. 2 462
AvoidDuplicateLiterals The String literal "Error: {}" appears 5 times in this file; the first occurrence is on line 462 3 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
CompareObjectsWithEquals Use equals() to compare object references. 3 476
GuardLogStatement Logger calls should be surrounded by log level guards. 2 479
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 480
CompareObjectsWithEquals Use equals() to compare object references. 3 493
GuardLogStatement Logger calls should be surrounded by log level guards. 2 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 497
CompareObjectsWithEquals Use equals() to compare object references. 3 510
GuardLogStatement Logger calls should be surrounded by log level guards. 2 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 514
CompareObjectsWithEquals Use equals() to compare object references. 3 527
GuardLogStatement Logger calls should be surrounded by log level guards. 2 530
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 549
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 558
GuardLogStatement Logger calls should be surrounded by log level guards. 2 577
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 598
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 604
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 608
GuardLogStatement Logger calls should be surrounded by log level guards. 2 614
CompareObjectsWithEquals Use equals() to compare object references. 3 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 632
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 634
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 634
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 658659
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 658659
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 659
CompareObjectsWithEquals Use equals() to compare object references. 3 666
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 667668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 669
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 680681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 687688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 712
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 716
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 734
EmptyCatchBlock Avoid empty catch blocks 3 787789
CognitiveComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cognitive complexity of 15, current threshold is 15 3 793818
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 795
GuardLogStatement Logger calls should be surrounded by log level guards. 2 797
CompareObjectsWithEquals Use equals() to compare object references. 3 809

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestArgument.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 201022
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201022
CyclomaticComplexity The class 'RestArgument' has a total cyclomatic complexity of 167 (highest 21). 3 721022
TooManyMethods This class has too many methods, consider refactoring it. 3 721022
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 187
CyclomaticComplexity The method 'setRequest(HttpRequest)' has a cyclomatic complexity of 21. 3 215315
NPathComplexity The method 'setRequest(HttpRequest)' has an NPath complexity of 5168, current threshold is 200 3 215315
ExcessiveMethodLength Avoid really long methods. 3 215315
CognitiveComplexity The method 'setRequest(HttpRequest)' has a cognitive complexity of 46, current threshold is 15 3 215315
NcssCount The method 'setRequest(HttpRequest)' has a NCSS line count of 69. 3 215315
CompareObjectsWithEquals Use equals() to compare object references. 3 218219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 290
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 295
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 308
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311312
AvoidDuplicateLiterals The String literal "Arguments incompatible with Security: " appears 4 times in this file; the first occurrence is on line 311 3 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 325326
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 325326
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 330331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 330331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 335336
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 335336
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 338
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 340341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 340341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 349
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 351
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 353
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 382
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 399
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 411
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 415
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 428
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 448
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 454
CognitiveComplexity The method 'setHeaderArgs(List)' has a cognitive complexity of 16, current threshold is 15 3 464497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 473
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 479
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 484485
GuardLogStatement Logger calls should be surrounded by log level guards. 2 493494
CognitiveComplexity The method 'setHeaderArgs(Iterator)' has a cognitive complexity of 16, current threshold is 15 3 504539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 521
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 526527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 529
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 532
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 532
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 535
GuardLogStatement Logger calls should be surrounded by log level guards. 2 535536
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 556557
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 568569
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 570
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 591
GuardLogStatement Logger calls should be surrounded by log level guards. 2 593594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 627
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 634
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 654
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 665
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 690
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 694
AvoidReassigningParameters Avoid reassigning parameters such as 'filter' 2 707
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 723
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 724
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 735
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 747
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 754
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 754
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 758
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 758
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 771
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 771
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 772
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 774
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 783
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 783
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 787
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 788
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 821
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 821
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 823
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 824
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 829
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 829
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 832
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 832
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 838
CyclomaticComplexity The method 'checkBaseAuthent(HmacSha256, String, long)' has a cyclomatic complexity of 18. 3 892953
CognitiveComplexity The method 'checkBaseAuthent(HmacSha256, String, long)' has a cognitive complexity of 20, current threshold is 15 3 892953
NPathComplexity The method 'checkBaseAuthent(HmacSha256, String, long)' has an NPath complexity of 1040, current threshold is 200 3 892953
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 902
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 907
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 908
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 911
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 912
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 913
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 915
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 915
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 918
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 919
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 920
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 922
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 930
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 930
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 935
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 935
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 948
LooseCoupling Avoid using implementation types like 'TreeMap'; use the interface instead 3 965
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 970
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 991
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1011
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1012
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1013

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestConfiguration.java

Rule Violation Priority Line
DataClass The class 'RestConfiguration' is suspected to be a Data Class (WOC=15.789%, NOPA=1, NOAM=16, WMC=21) 3 34245
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 112
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 118121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
MethodReturnsInternalArray Returning 'resthandlersCrud' may expose an internal array. 3 236
ArrayIsStoredDirectly The user-supplied array 'resthandlersCrud' is stored directly. 3 242

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RestMethodHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
CompareObjectsWithEquals Use equals() to compare object references. 3 255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264265
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 291

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/RootOptionsRestMethodHandler.java

Rule Violation Priority Line
CyclomaticComplexity The method 'optionsCommand(HttpRestHandler, RestArgument, RestArgument)' has a cyclomatic complexity of 12. 3 85126
NPathComplexity The method 'optionsCommand(HttpRestHandler, RestArgument, RestArgument)' has an NPath complexity of 324, current threshold is 200 3 85126
CognitiveComplexity The method 'optionsCommand(HttpRestHandler, RestArgument, RestArgument)' has a cognitive complexity of 20, current threshold is 15 3 85126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 91
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
CompareObjectsWithEquals Use equals() to compare object references. 3 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 134135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/HttpRestClientHelper.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20424
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
UnusedFormalParameter Avoid unused constructor parameters such as 'timeout'. 3 86
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 99
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144145
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 174180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 224225
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 272276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 311312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 320
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 340
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 340
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 16, current threshold is 15 3 347423
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 3 347423
NPathComplexity The method 'main(String)' has an NPath complexity of 384, current threshold is 200 3 347423
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 351
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 360
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 378
UnusedAssignment The initializer for variable 'port' is never used (overwritten on line 387) 3 382
GuardLogStatement Logger calls should be surrounded by log level guards. 2 391
GuardLogStatement Logger calls should be surrounded by log level guards. 2 399
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 412
GuardLogStatement Logger calls should be surrounded by log level guards. 2 413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 413
GuardLogStatement Logger calls should be surrounded by log level guards. 2 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 417
GuardLogStatement Logger calls should be surrounded by log level guards. 2 419

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/HttpRestClientSimpleResponseHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
GuardLogStatement Logger calls should be surrounded by log level guards. 2 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 92
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 13. 3 101145
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 31, current threshold is 15 3 101145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 106107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 127130
GuardLogStatement Logger calls should be surrounded by log level guards. 2 128
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 163

Waarp Gateway Kernel - org/waarp/gateway/kernel/rest/client/RestFuture.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30

Waarp Gateway Kernel - org/waarp/gateway/kernel/session/DefaultHttpAuth.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
AvoidFieldNameMatchingMethodName Field isIdentified has the same name as a method 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51

Waarp Gateway Kernel - org/waarp/gateway/kernel/session/HttpSession.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40

Waarp Http - org/waarp/http/protocol/HttpDeleteSession.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 6466
UnusedAssignment The value assigned to variable 'runner' is never used 3 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 101 and 104) 3 96
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 133
GuardLogStatement Logger calls should be surrounded by log level guards. 2 134

Waarp Http - org/waarp/http/protocol/HttpDownloadSession.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 74
UnusedLocalVariable Avoid unused local variables such as 'business'. 3 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 154
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 178 and 181) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 218
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 248
GuardLogStatement Logger calls should be surrounded by log level guards. 2 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 301

Waarp Http - org/waarp/http/protocol/HttpHelper.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3078
GuardLogStatement Logger calls should be surrounded by log level guards. 2 54
GuardLogStatement Logger calls should be surrounded by log level guards. 2 74

Waarp Http - org/waarp/http/protocol/HttpResumableChunkNumber.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 27

Waarp Http - org/waarp/http/protocol/HttpResumableInfo.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95

Waarp Http - org/waarp/http/protocol/HttpResumableSession.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
RedundantFieldInitializer Avoid using redundant field initializer for 'size' 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 98100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
CyclomaticComplexity The method 'checkIfUploadFinished(String)' has a cyclomatic complexity of 10. 3 214269
CognitiveComplexity The method 'checkIfUploadFinished(String)' has a cognitive complexity of 18, current threshold is 15 3 214269
GuardLogStatement Logger calls should be surrounded by log level guards. 2 215216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 229
GuardLogStatement Logger calls should be surrounded by log level guards. 2 236237
GuardLogStatement Logger calls should be surrounded by log level guards. 2 238239
GuardLogStatement Logger calls should be surrounded by log level guards. 2 251252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
GuardLogStatement Logger calls should be surrounded by log level guards. 2 254255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 257
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 258
GuardLogStatement Logger calls should be surrounded by log level guards. 2 262
GuardLogStatement Logger calls should be surrounded by log level guards. 2 264

Waarp Http - org/waarp/http/protocol/HttpSession.java

Rule Violation Priority Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 39

Waarp Http - org/waarp/http/protocol/HttpSessionAbstract.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7475
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 7475
CyclomaticComplexity The method 'getDbTaskRunner(String, String, String, long, String, int, R66BusinessInterface, boolean)' has a cyclomatic complexity of 15. 3 114193
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 122
UnusedAssignment The initializer for variable 'rule' is never used (overwritten on line 128) 3 126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 133
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 137 and 152) 3 134
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 159
AvoidDuplicateLiterals The String literal "Cannot save Status: " appears 4 times in this file; the first occurrence is on line 180 3 180
AvoidDuplicateLiterals The String literal ": {}" appears 4 times in this file; the first occurrence is on line 180 3 180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 190
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 197
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 209
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 238
GuardLogStatement Logger calls should be surrounded by log level guards. 2 253
GuardLogStatement Logger calls should be surrounded by log level guards. 2 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 276
GuardLogStatement Logger calls should be surrounded by log level guards. 2 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 294

Waarp Http - org/waarp/http/protocol/HttpSessions.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 30104
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5868
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102

Waarp Http - org/waarp/http/protocol/WaarpStartup.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3455

Waarp Http - org/waarp/http/protocol/servlet/AbstractServlet.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5758
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 60
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 63
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6566
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 74
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 7980
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85

Waarp Http - org/waarp/http/protocol/servlet/DownloadServlet.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 93
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 101
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
GuardLogStatement Logger calls should be surrounded by log level guards. 2 160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 164
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 168
CyclomaticComplexity The method 'getDownloadSession(Map, String, boolean)' has a cyclomatic complexity of 11. 3 176213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 195
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 207208
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 210211

Waarp Http - org/waarp/http/protocol/servlet/HttpAuthent.java

Rule Violation Priority Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 52
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 68

Waarp Http - org/waarp/http/protocol/servlet/HttpAuthentDefault.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 53
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 59
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 61
GuardLogStatement Logger calls should be surrounded by log level guards. 2 63
GuardLogStatement Logger calls should be surrounded by log level guards. 2 65
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 77

Waarp Http - org/waarp/http/protocol/servlet/UploadServlet.java

Rule Violation Priority Line
NPathComplexity The method 'doPost(HttpServletRequest, HttpServletResponse)' has an NPath complexity of 1800, current threshold is 200 3 72187
CognitiveComplexity The method 'doPost(HttpServletRequest, HttpServletResponse)' has a cognitive complexity of 41, current threshold is 15 3 72187
NcssCount The method 'doPost(HttpServletRequest, HttpServletResponse)' has a NCSS line count of 75. 3 72187
CyclomaticComplexity The method 'doPost(HttpServletRequest, HttpServletResponse)' has a cyclomatic complexity of 27. 3 72187
ExcessiveMethodLength Avoid really long methods. 3 72187
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
CloseResource Ensure that resources like this InputStream object are closed after use 3 78
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 81
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 90
LiteralsFirstInComparisons Position literals first in String comparisons 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 100105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 113
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 113
GuardLogStatement Logger calls should be surrounded by log level guards. 2 114
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 118
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 118
GuardLogStatement Logger calls should be surrounded by log level guards. 2 121
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 125
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 137
GuardLogStatement Logger calls should be surrounded by log level guards. 2 146
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 156
LiteralsFirstInComparisons Position literals first in String comparisons 3 161
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 161
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 162
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
CyclomaticComplexity The method 'getResumableSession(Map, HttpResumableInfo)' has a cyclomatic complexity of 10. 3 223255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 249250
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 252253
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 263
GuardLogStatement Logger calls should be surrounded by log level guards. 2 273
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 282

Waarp ICAP Client - org/waarp/icap/IcapClient.java

Rule Violation Priority Line
TooManyFields Too many fields 3 651231
GodClass Possible God Class (WMC=173, ATFD=108, TCC=20.479%) 3 651231
CyclomaticComplexity The class 'IcapClient' has a total cyclomatic complexity of 173 (highest 19). 3 651231
TooManyMethods This class has too many methods, consider refactoring it. 3 651231
ExcessiveClassLength Avoid really long classes. 3 651231
AvoidFieldNameMatchingMethodName Field setPreviewSize has the same name as a method 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcapPreview' 3 107
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcapPreview' 3 108
RedundantFieldInitializer Avoid using redundant field initializer for 'substringHttpStatus200' 3 109
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap200' 3 110
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap200' 3 111
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap204' 3 112
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap204' 3 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 116
RedundantFieldInitializer Avoid using redundant field initializer for 'finalResult' 3 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 122
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 125
CyclomaticComplexity The method 'connect()' has a cyclomatic complexity of 12. 3 183231
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 211212
GuardLogStatement Logger calls should be surrounded by log level guards. 2 217218
GuardLogStatement Logger calls should be surrounded by log level guards. 2 223224
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 279
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 287
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 295
NPathComplexity The method 'scanFile(String)' has an NPath complexity of 384, current threshold is 200 3 314390
CognitiveComplexity The method 'scanFile(String)' has a cognitive complexity of 21, current threshold is 15 3 314390
CyclomaticComplexity The method 'scanFile(String)' has a cyclomatic complexity of 19. 3 314390
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 323
UnusedAssignment The initializer for variable 'inputStream' is never used (overwritten on lines 341 and 370) 3 325
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 331
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 333
GuardLogStatement Logger calls should be surrounded by log level guards. 2 344
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 345346
GuardLogStatement Logger calls should be surrounded by log level guards. 2 356
GuardLogStatement Logger calls should be surrounded by log level guards. 2 363364
GuardLogStatement Logger calls should be surrounded by log level guards. 2 372373
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 533
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 557
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 581
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 604
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 628
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 651
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 675
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 733
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 792
GuardLogStatement Logger calls should be surrounded by log level guards. 2 796
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 799
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 800
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 812
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 813815
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 814
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 815
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 830
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 830831
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 831
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 832
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 833
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 897
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 904
GuardLogStatement Logger calls should be surrounded by log level guards. 2 913914
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 945
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1005
CognitiveComplexity The method 'getHeader(String, byte)' has a cognitive complexity of 15, current threshold is 15 3 10661125
CyclomaticComplexity The method 'getHeader(String, byte)' has a cyclomatic complexity of 15. 3 10661125
AssignmentInOperand Avoid assignments in operands 3 1081
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1085
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1097
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11051106
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1110
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1159
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11951196
GuardLogStatement Logger calls should be surrounded by log level guards. 2 12001201
GuardLogStatement Logger calls should be surrounded by log level guards. 2 12191220
GuardLogStatement Logger calls should be surrounded by log level guards. 2 12241225

Waarp ICAP Client - org/waarp/icap/IcapModel.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 54
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 3 54
MethodReturnsInternalArray Returning 'defaultArgs' may expose an internal array. 3 62

Waarp ICAP Client - org/waarp/icap/IcapScanFile.java

Rule Violation Priority Line
TooManyFields Too many fields 3 76917
GodClass Possible God Class (WMC=122, ATFD=177, TCC=6.154%) 3 76917
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 76917
CyclomaticComplexity The class 'IcapScanFile' has a total cyclomatic complexity of 122 (highest 18). 3 76917
RedundantFieldInitializer Avoid using redundant field initializer for 'serverIP' 3 240
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 241
RedundantFieldInitializer Avoid using redundant field initializer for 'icapService' 3 242
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 242
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 243
RedundantFieldInitializer Avoid using redundant field initializer for 'icapModel' 3 243
RedundantFieldInitializer Avoid using redundant field initializer for 'filepath' 3 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 247
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 248
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 249
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcapPreview' 3 250
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 250
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcapPreview' 3 251
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 251
RedundantFieldInitializer Avoid using redundant field initializer for 'substringHttpStatus200' 3 252
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 252
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 253
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap200' 3 253
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap200' 3 254
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 254
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 255
RedundantFieldInitializer Avoid using redundant field initializer for 'keyIcap204' 3 255
RedundantFieldInitializer Avoid using redundant field initializer for 'subStringFromKeyIcap204' 3 256
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 256
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 257
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 258
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 259
RedundantFieldInitializer Avoid using redundant field initializer for 'pathMoveError' 3 259
RedundantFieldInitializer Avoid using redundant field initializer for 'deleteOnError' 3 260
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 260
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 261
RedundantFieldInitializer Avoid using redundant field initializer for 'sendOnError' 3 261
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreNetworkError' 3 262
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 262
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreTooBigFileError' 3 263
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 263
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 264
RedundantFieldInitializer Avoid using redundant field initializer for 'logLevel' 3 264
RedundantFieldInitializer Avoid using redundant field initializer for 'result' 3 266
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 266
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 340
CyclomaticComplexity The method 'getIcapScanFileArgs(String, Options)' has a cyclomatic complexity of 10. 3 363401
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 381
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 383
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 383
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 415
CyclomaticComplexity The method 'getOtherOptions(IcapScanFile, CommandLine)' has a cyclomatic complexity of 13. 3 430469
NPathComplexity The method 'getOtherOptions(IcapScanFile, CommandLine)' has an NPath complexity of 4096, current threshold is 200 3 430469
NPathComplexity The method 'getNumbers(IcapScanFile, CommandLine)' has an NPath complexity of 244, current threshold is 200 3 479524
CyclomaticComplexity The method 'getNumbers(IcapScanFile, CommandLine)' has a cyclomatic complexity of 18. 3 479524
CognitiveComplexity The method 'getNumbers(IcapScanFile, CommandLine)' has a cognitive complexity of 16, current threshold is 15 3 479524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563573
CyclomaticComplexity The method 'finalizeOnError(IcapScanFile)' has a cyclomatic complexity of 16. 3 584633
CognitiveComplexity The method 'finalizeOnError(IcapScanFile)' has a cognitive complexity of 26, current threshold is 15 3 584633
GuardLogStatement Logger calls should be surrounded by log level guards. 2 608
GuardLogStatement Logger calls should be surrounded by log level guards. 2 610
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 619
GuardLogStatement Logger calls should be surrounded by log level guards. 2 622
GuardLogStatement Logger calls should be surrounded by log level guards. 2 624
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 794
CognitiveComplexity The method 'scanFile(String)' has a cognitive complexity of 18, current threshold is 15 3 832871
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 832
CyclomaticComplexity The method 'scanFile(String)' has a cyclomatic complexity of 15. 3 832871
GuardLogStatement Logger calls should be surrounded by log level guards. 2 843
GuardLogStatement Logger calls should be surrounded by log level guards. 2 849
GuardLogStatement Logger calls should be surrounded by log level guards. 2 868
CyclomaticComplexity The method 'scanFile()' has a cyclomatic complexity of 10. 3 882916
CloseResource Ensure that resources like this IcapClient object are closed after use 3 900
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 901
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 902
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 906
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 907

Waarp Password Management GUI and Console - org/waarp/uip/WaarpPassword.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=75, ATFD=23, TCC=26.667%) 3 44420
MutableStaticState Do not use non-final non-private static fields 3 45
MutableStaticState Do not use non-final non-private static fields 3 46
MutableStaticState Do not use non-final non-private static fields 3 58
MutableStaticState Do not use non-final non-private static fields 3 59
MutableStaticState Do not use non-final non-private static fields 3 60
MutableStaticState Do not use non-final non-private static fields 3 61
MutableStaticState Do not use non-final non-private static fields 3 62
MutableStaticState Do not use non-final non-private static fields 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 77
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 10. 3 77111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 105106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107108
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 113
CognitiveComplexity The method 'loadOptions(String)' has a cognitive complexity of 61, current threshold is 15 3 113215
NPathComplexity The method 'loadOptions(String)' has an NPath complexity of 8160, current threshold is 200 3 113215
NcssCount The method 'loadOptions(String)' has a NCSS line count of 89. 3 113215
ExcessiveMethodLength Avoid really long methods. 3 113215
CyclomaticComplexity The method 'loadOptions(String)' has a cyclomatic complexity of 29. 3 113215
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 116
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 117
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 118
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 120
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197198
NonThreadSafeSingleton Singleton is not thread safe 3 201203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 205206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210211
NPathComplexity The constructor 'WaarpPassword()' has an NPath complexity of 384, current threshold is 200 3 217250
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 217
CyclomaticComplexity The constructor 'WaarpPassword()' has a cyclomatic complexity of 10. 3 217250
CloseResource Ensure that resources like this InputStream object are closed after use 3 254
CloseResource Ensure that resources like this InputStreamReader object are closed after use 3 256
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 260
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 270
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 273
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 332
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 359
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 372
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 376
CloseResource Ensure that resources like this DataInputStream object are closed after use 3 378
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 408

Waarp Password Management GUI and Console - org/waarp/uip/WaarpUiPassword.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20806
GodClass Possible God Class (WMC=47, ATFD=223, TCC=3.000%) 3 61806
TooManyFields Too many fields 3 61806
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
SingularField Perhaps 'helpMenuItem' could be replaced by a local variable. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
SingularField Perhaps 'jMenu5' could be replaced by a local variable. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
SingularField Perhaps 'jPanel1' could be replaced by a local variable. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
SingularField Perhaps 'savePasswordMenuItem' could be replaced by a local variable. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
SingularField Perhaps 'loadPasswordMenuItem' could be replaced by a local variable. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
SingularField Perhaps 'exitMenuItem' could be replaced by a local variable. 3 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
SingularField Perhaps 'jSeparator2' could be replaced by a local variable. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
SingularField Perhaps 'openFileMenuItem' could be replaced by a local variable. 3 91
SingularField Perhaps 'newFileMenuItem' could be replaced by a local variable. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 93
SingularField Perhaps 'jMenu3' could be replaced by a local variable. 3 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
SingularField Perhaps 'jMenuBar1' could be replaced by a local variable. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
UnusedFormalParameter Avoid unused constructor parameters such as 'extended_ignore'. 3 127
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 127
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 167
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 196
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 201
NcssCount The method 'initGUI()' has a NCSS line count of 86. 3 205464
CognitiveComplexity The method 'initGUI()' has a cognitive complexity of 24, current threshold is 15 3 205464
ExcessiveMethodLength Avoid really long methods. 3 205464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 208
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 250
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 253
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 257
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 258
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 268
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 269
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 271
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 275
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 276
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 288
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 291
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 293
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 295
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 295
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 296
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 305319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 305319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 305319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321334
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 337351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 337351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 337351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 338350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 338350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 338350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 339344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 339344
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 377385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 377385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 377385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 378385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 378385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 382385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 382385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 382385
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 461
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 462
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 502
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 503
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 525
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 526
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 528
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 530
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 531
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 533
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 534
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 537
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 557
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 558
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 559
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 561
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 562
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 582
CognitiveComplexity The method 'getSaveAsKeyAction()' has a cognitive complexity of 18, current threshold is 15 3 591625
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 601
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 602
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 604
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 605
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 613
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 615
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 617
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 637
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 638
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 640
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 641
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 642
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 644
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 646
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 647
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 648
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 650
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 650
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 651
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 652
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 671
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 672
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 674
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 675
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 679
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 680
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 682
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 684
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 704
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 716
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 721742
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 721742
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 721742
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 722741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 722741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 730741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 730741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 730741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 799
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 799

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/R66Proxy.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3686
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 49
GuardLogStatement Logger calls should be surrounded by log level guards. 2 55
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5657
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5960
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 6162
NonThreadSafeSingleton Singleton is not thread safe 3 6870
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 7882

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/ConfigurationProxyR66.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 72
GuardLogStatement Logger calls should be surrounded by log level guards. 2 89
CyclomaticComplexity The method 'r66Startup()' has a cyclomatic complexity of 12. 3 93171
CognitiveComplexity The method 'r66Startup()' has a cognitive complexity of 27, current threshold is 15 3 93171
GuardLogStatement Logger calls should be surrounded by log level guards. 2 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
GuardLogStatement Logger calls should be surrounded by log level guards. 2 111
GuardLogStatement Logger calls should be surrounded by log level guards. 2 120
GuardLogStatement Logger calls should be surrounded by log level guards. 2 122124
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 128
GuardLogStatement Logger calls should be surrounded by log level guards. 2 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144145
GuardLogStatement Logger calls should be surrounded by log level guards. 2 154
GuardLogStatement Logger calls should be surrounded by log level guards. 2 156158
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 162
GuardLogStatement Logger calls should be surrounded by log level guards. 2 163164
GuardLogStatement Logger calls should be surrounded by log level guards. 2 176179
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/configuration/FileBasedConfiguration.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 46374
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185186
UnusedAssignment The value assigned to variable 'hashConfigSub' is never used 3 189
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 189
UnusedAssignment The value assigned to variable 'hashConfigSub' is never used 3 201
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 201
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 216
GuardLogStatement Logger calls should be surrounded by log level guards. 2 219
CognitiveComplexity The method 'loadNetworkServer(Configuration)' has a cognitive complexity of 38, current threshold is 15 3 227297
NPathComplexity The method 'loadNetworkServer(Configuration)' has an NPath complexity of 26280, current threshold is 200 3 227297
CyclomaticComplexity The method 'loadNetworkServer(Configuration)' has a cyclomatic complexity of 22. 3 227297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 246
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 278
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 288
CyclomaticComplexity The method 'setConfigurationProxyFromXml(Configuration, String)' has a cyclomatic complexity of 10. 3 322372
NPathComplexity The method 'setConfigurationProxyFromXml(Configuration, String)' has an NPath complexity of 384, current threshold is 200 3 322372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 327
GuardLogStatement Logger calls should be surrounded by log level guards. 2 329330
GuardLogStatement Logger calls should be surrounded by log level guards. 2 334
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 368
UnusedAssignment The value assigned to variable 'configuration' is never used 3 370
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 370

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkPacketCodec.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 43
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 75
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 96

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkServerHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
AvoidFieldNameMatchingMethodName Field isSSL has the same name as a method 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
GuardLogStatement Logger calls should be surrounded by log level guards. 2 145
GuardLogStatement Logger calls should be surrounded by log level guards. 2 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 156
GuardLogStatement Logger calls should be surrounded by log level guards. 2 157158
GuardLogStatement Logger calls should be surrounded by log level guards. 2 164
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 169
GuardLogStatement Logger calls should be surrounded by log level guards. 2 169
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190192
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 224226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 270
GuardLogStatement Logger calls should be surrounded by log level guards. 2 274276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 275
GuardLogStatement Logger calls should be surrounded by log level guards. 2 295296
GuardLogStatement Logger calls should be surrounded by log level guards. 2 300301
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311
EmptyIfStmt Avoid empty if statements 3 313315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 342

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/NetworkTransaction.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 108
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117
GuardLogStatement Logger calls should be surrounded by log level guards. 2 124
GuardLogStatement Logger calls should be surrounded by log level guards. 2 129130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
CollapsibleIfStatements These nested if statements could be combined 3 176181
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 180
CyclomaticComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cyclomatic complexity of 19. 3 196255
CognitiveComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cognitive complexity of 30, current threshold is 15 3 196255
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 214215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 236
GuardLogStatement Logger calls should be surrounded by log level guards. 2 243244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 277

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ProxyBridge.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 61

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ProxyEntry.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 30123
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ssl/NetworkSslServerHandler.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7879
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/network/ssl/NetworkSslServerInitializerProxy.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 61

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/HttpFormattedHandlerProxyR66.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 90
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 122123
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 13. 3 143199
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 360, current threshold is 200 3 143199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 150
CompareObjectsWithEquals Use equals() to compare object references. 3 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
ImplicitSwitchFallThrough A switch statement does not contain a break 3 187196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 213
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 215
EmptyIfStmt Avoid empty if statements 3 218220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233234

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/HttpInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 46

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/adminssl/HttpSslHandlerProxyR66.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=73, ATFD=98, TCC=10.714%) 3 51526
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 84
GuardLogStatement Logger calls should be surrounded by log level guards. 2 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 99100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 104105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 167
NPathComplexity The method 'System()' has an NPath complexity of 636, current threshold is 200 3 207348
ExcessiveMethodLength Avoid really long methods. 3 207348
CyclomaticComplexity The method 'System()' has a cyclomatic complexity of 26. 3 207348
CognitiveComplexity The method 'System()' has a cognitive complexity of 109, current threshold is 15 3 207348
NcssCount The method 'System()' has a NCSS line count of 113. 3 207348
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 245
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 245247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 279281
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 319
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 327
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 340
CompareObjectsWithEquals Use equals() to compare object references. 3 351
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 352
CompareObjectsWithEquals Use equals() to compare object references. 3 353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 356
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 361
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
CyclomaticComplexity The method 'checkAuthentProxy(ChannelHandlerContext)' has a cyclomatic complexity of 20. 3 378476
NPathComplexity The method 'checkAuthentProxy(ChannelHandlerContext)' has an NPath complexity of 1920, current threshold is 200 3 378476
NcssCount The method 'checkAuthentProxy(ChannelHandlerContext)' has a NCSS line count of 72. 3 378476
CognitiveComplexity The method 'checkAuthentProxy(ChannelHandlerContext)' has a cognitive complexity of 49, current threshold is 15 3 378476
CompareObjectsWithEquals Use equals() to compare object references. 3 380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 382
CompareObjectsWithEquals Use equals() to compare object references. 3 387
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391393
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 437
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 460461
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 460
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 10. 3 479525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 483
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 503
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 507
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 508
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 508

Waarp Proxy in R66 protocol - org/waarp/openr66/proxy/protocol/http/adminssl/HttpSslInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 49
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 50
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 54

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3AbstractTask.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
RedundantFieldInitializer Avoid using redundant field initializer for 'taskUtil' 3 41
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 62
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77
GuardLogStatement Logger calls should be surrounded by log level guards. 2 77

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3DeleteTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 78

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3PutAndR66DeleteTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 87

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3PutTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 91
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9495
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 94

Waarp Extensions for JRE 8 and greater - org/waarp/openr66/elasticsearch/ElasticsearchMonitoringExporterClientFactoryImpl.java

Rule Violation Priority Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 3033

Waarp OpenR66 - org/waarp/openr66/client/AbstractBusinessRequest.java

Rule Violation Priority Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
MutableStaticState Do not use non-final non-private static fields 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 77
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
NonThreadSafeSingleton Singleton is not thread safe 3 154156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 166
GuardLogStatement Logger calls should be surrounded by log level guards. 2 180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 187189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193
MutableStaticState Do not use non-final non-private static fields 3 199
MutableStaticState Do not use non-final non-private static fields 3 200
MutableStaticState Do not use non-final non-private static fields 3 201
MutableStaticState Do not use non-final non-private static fields 3 202
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 12. 3 211251
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 211
NonThreadSafeSingleton Singleton is not thread safe 3 212214
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 215
GuardLogStatement Logger calls should be surrounded by log level guards. 2 221222
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 230
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 234
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 237
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 241
GuardLogStatement Logger calls should be surrounded by log level guards. 2 248249

Waarp OpenR66 - org/waarp/openr66/client/AbstractTransfer.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20679
CyclomaticComplexity The class 'AbstractTransfer' has a total cyclomatic complexity of 80 (highest 16). 3 70679
TooManyMethods This class has too many methods, consider refactoring it. 3 70679
MutableStaticState Do not use non-final non-private static fields 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
ExcessiveParameterList Avoid long parameter lists. 3 112116
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 118
NonThreadSafeSingleton Singleton is not thread safe 3 148150
GuardLogStatement Logger calls should be surrounded by log level guards. 2 155156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
NPathComplexity The method 'initRequest()' has an NPath complexity of 272, current threshold is 200 3 175276
CognitiveComplexity The method 'initRequest()' has a cognitive complexity of 30, current threshold is 15 3 175276
CyclomaticComplexity The method 'initRequest()' has a cyclomatic complexity of 16. 3 175276
ExcessiveMethodLength Avoid really long methods. 3 175276
GuardLogStatement Logger calls should be surrounded by log level guards. 2 180181
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 230
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 235
GuardLogStatement Logger calls should be surrounded by log level guards. 2 257
GuardLogStatement Logger calls should be surrounded by log level guards. 2 268
MutableStaticState Do not use non-final non-private static fields 3 278
MutableStaticState Do not use non-final non-private static fields 3 279
MutableStaticState Do not use non-final non-private static fields 3 280
MutableStaticState Do not use non-final non-private static fields 3 281
MutableStaticState Do not use non-final non-private static fields 3 282
MutableStaticState Do not use non-final non-private static fields 3 283
MutableStaticState Do not use non-final non-private static fields 3 286
MutableStaticState Do not use non-final non-private static fields 3 287
MutableStaticState Do not use non-final non-private static fields 3 288
MutableStaticState Do not use non-final non-private static fields 3 289
MutableStaticState Do not use non-final non-private static fields 3 290
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 293
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 294
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 296
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 301
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 303
NonThreadSafeSingleton Singleton is not thread safe 3 317319
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 320
GuardLogStatement Logger calls should be surrounded by log level guards. 2 327328
GuardLogStatement Logger calls should be surrounded by log level guards. 2 333334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 344
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 349
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 381
NonThreadSafeSingleton Singleton is not thread safe 3 382384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 405
CognitiveComplexity The method 'getRemoteFiles(String, String, NetworkTransaction)' has a cognitive complexity of 22, current threshold is 15 3 421460
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 431
GuardLogStatement Logger calls should be surrounded by log level guards. 2 432433
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 435438
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 445
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 448
GuardLogStatement Logger calls should be surrounded by log level guards. 2 453455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 455
CognitiveComplexity The method 'getLocalFiles(DbRule, String)' has a cognitive complexity of 17, current threshold is 15 3 462499
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 466467
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 467
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 472
GuardLogStatement Logger calls should be surrounded by log level guards. 2 482483
GuardLogStatement Logger calls should be surrounded by log level guards. 2 491493
NonThreadSafeSingleton Singleton is not thread safe 3 513515
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 525
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 538
NonThreadSafeSingleton Singleton is not thread safe 3 548550
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 552
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 553
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 554
AvoidDuplicateLiterals The String literal "Transfer.Status" appears 4 times in this file; the first occurrence is on line 555 3 555
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 559
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 560
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 566
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 567
GuardLogStatement Logger calls should be surrounded by log level guards. 2 568
GuardLogStatement Logger calls should be surrounded by log level guards. 2 570
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 574
NonThreadSafeSingleton Singleton is not thread safe 3 580582
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 583
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 584
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 586
GuardLogStatement Logger calls should be surrounded by log level guards. 2 587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 588
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 588
NonThreadSafeSingleton Singleton is not thread safe 3 594596
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 597
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 598
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 599
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 604
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 612
NonThreadSafeSingleton Singleton is not thread safe 3 618620
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 621
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 622
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 624
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 626
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 627
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 628
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 629
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 630
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 632
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 634
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 635
NonThreadSafeSingleton Singleton is not thread safe 3 642644
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 645
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 647
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 651
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 653
GuardLogStatement Logger calls should be surrounded by log level guards. 2 659
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 661
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 662
NonThreadSafeSingleton Singleton is not thread safe 3 668670
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 671
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 672

Waarp OpenR66 - org/waarp/openr66/client/BusinessRequest.java

Rule Violation Priority Line
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 10. 3 58130
NonThreadSafeSingleton Singleton is not thread safe 3 6163
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 64
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6566
GuardLogStatement Logger calls should be surrounded by log level guards. 2 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 78
GuardLogStatement Logger calls should be surrounded by log level guards. 2 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117
GuardLogStatement Logger calls should be surrounded by log level guards. 2 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125

Waarp OpenR66 - org/waarp/openr66/client/DirectTransfer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
CognitiveComplexity The method 'run()' has a cognitive complexity of 26, current threshold is 15 3 84153
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 3 84153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 93
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 101
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 106
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 112113
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 129
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 39, current threshold is 15 3 155257
ExcessiveMethodLength Avoid really long methods. 3 155257
NPathComplexity The method 'main(String)' has an NPath complexity of 650, current threshold is 200 3 155257
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 22. 3 155257
NcssCount The method 'main(String)' has a NCSS line count of 71. 3 155257
GuardLogStatement Logger calls should be surrounded by log level guards. 2 162
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 164165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 182
GuardLogStatement Logger calls should be surrounded by log level guards. 2 184185
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185
GuardLogStatement Logger calls should be surrounded by log level guards. 2 189
GuardLogStatement Logger calls should be surrounded by log level guards. 2 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 207
GuardLogStatement Logger calls should be surrounded by log level guards. 2 209211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 242244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 245246

Waarp OpenR66 - org/waarp/openr66/client/Message.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 5758
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
MutableStaticState Do not use non-final non-private static fields 3 71
MutableStaticState Do not use non-final non-private static fields 3 72
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 81
NonThreadSafeSingleton Singleton is not thread safe 3 8284
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 87
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9394
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 111112
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 122
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 135
GuardLogStatement Logger calls should be surrounded by log level guards. 2 157158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 166167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 180
UnusedAssignment The value assigned to variable 'socketAddress' is never used 3 180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 182183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 190
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 16, current threshold is 15 3 201269
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 3 201269
NonThreadSafeSingleton Singleton is not thread safe 3 204206
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 207
GuardLogStatement Logger calls should be surrounded by log level guards. 2 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 234
AvoidDuplicateLiterals The String literal "Message.11" appears 4 times in this file; the first occurrence is on line 235 3 235
GuardLogStatement Logger calls should be surrounded by log level guards. 2 235237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
GuardLogStatement Logger calls should be surrounded by log level guards. 2 246249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251255

Waarp OpenR66 - org/waarp/openr66/client/MultipleDirectTransfer.java

Rule Violation Priority Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 3 75149
CognitiveComplexity The method 'run()' has a cognitive complexity of 40, current threshold is 15 3 75149
NPathComplexity The method 'run()' has an NPath complexity of 384, current threshold is 200 3 75149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 79
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8889
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'filename' 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 106107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 109
GuardLogStatement Logger calls should be surrounded by log level guards. 2 113
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 116117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 121130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 155
GuardLogStatement Logger calls should be surrounded by log level guards. 2 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 167169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 168
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 182
GuardLogStatement Logger calls should be surrounded by log level guards. 2 184185
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 15. 3 191282
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 25, current threshold is 15 3 191282
NcssCount The method 'main(String)' has a NCSS line count of 65. 3 191282
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
GuardLogStatement Logger calls should be surrounded by log level guards. 2 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
GuardLogStatement Logger calls should be surrounded by log level guards. 2 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 256
GuardLogStatement Logger calls should be surrounded by log level guards. 2 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 274276

Waarp OpenR66 - org/waarp/openr66/client/MultipleSubmitTransfer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
ExcessiveParameterList Avoid long parameter lists. 3 7176
CognitiveComplexity The method 'run()' has a cognitive complexity of 37, current threshold is 15 3 83164
NPathComplexity The method 'run()' has an NPath complexity of 1440, current threshold is 200 3 83164
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 18. 3 83164
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85
UnusedAssignment The initializer for variable 'dbrule' is never used (overwritten on line 91) 3 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9394
GuardLogStatement Logger calls should be surrounded by log level guards. 2 99100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'filename' 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 122128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 133
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 135136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
GuardLogStatement Logger calls should be surrounded by log level guards. 2 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 30, current threshold is 15 3 173271
NPathComplexity The method 'main(String)' has an NPath complexity of 1560, current threshold is 200 3 173271
NcssCount The method 'main(String)' has a NCSS line count of 70. 3 173271
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 18. 3 173271
GuardLogStatement Logger calls should be surrounded by log level guards. 2 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
GuardLogStatement Logger calls should be surrounded by log level guards. 2 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248
GuardLogStatement Logger calls should be surrounded by log level guards. 2 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 261

Waarp OpenR66 - org/waarp/openr66/client/ProgressBarTransfer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
UnusedAssignment The field initializer for 'intervalCallback' is never used (overwritten on line 58) 3 45
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
ExcessiveParameterList Avoid long parameter lists. 3 4853
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 25. 3 87198
NcssCount The method 'run()' has a NCSS line count of 68. 3 87198
CognitiveComplexity The method 'run()' has a cognitive complexity of 43, current threshold is 15 3 87198
ExcessiveMethodLength Avoid really long methods. 3 87198
NPathComplexity The method 'run()' has an NPath complexity of 1040, current threshold is 200 3 87198
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 97
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108109
ImplicitSwitchFallThrough A switch statement does not contain a break 3 110118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124125
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 127
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 149
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 154155
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 172

Waarp OpenR66 - org/waarp/openr66/client/RecvThroughClient.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
ExcessiveParameterList Avoid long parameter lists. 3 8894
CognitiveComplexity The method 'run()' has a cognitive complexity of 19, current threshold is 15 3 108172
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 13. 3 108172
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 118
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 125
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 130
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 136137
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 144145
CollapsibleIfStatements These nested if statements could be combined 3 163169

Waarp OpenR66 - org/waarp/openr66/client/RequestInformation.java

Rule Violation Priority Line
TooManyFields Too many fields 3 54346
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 58
MutableStaticState Do not use non-final non-private static fields 3 58
MutableStaticState Do not use non-final non-private static fields 3 6264
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
UnusedAssignment The field initializer for 'id' is never used (overwritten on line 177) 3 72
UnusedAssignment The field initializer for 'isTo' is never used (overwritten on line 178) 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
MutableStaticState Do not use non-final non-private static fields 3 76
MutableStaticState Do not use non-final non-private static fields 3 77
MutableStaticState Do not use non-final non-private static fields 3 78
MutableStaticState Do not use non-final non-private static fields 3 79
MutableStaticState Do not use non-final non-private static fields 3 80
MutableStaticState Do not use non-final non-private static fields 3 81
MutableStaticState Do not use non-final non-private static fields 3 82
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 91
NPathComplexity The method 'getParams(String)' has an NPath complexity of 2160, current threshold is 200 3 91154
NcssCount The method 'getParams(String)' has a NCSS line count of 61. 3 91154
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 24. 3 91154
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 26, current threshold is 15 3 91154
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 94
GuardLogStatement Logger calls should be surrounded by log level guards. 2 100101
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 112
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 123
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 125
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 131
NonThreadSafeSingleton Singleton is not thread safe 3 140142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144145
GuardLogStatement Logger calls should be surrounded by log level guards. 2 149150
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 181
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
GuardLogStatement Logger calls should be surrounded by log level guards. 2 207208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 216
GuardLogStatement Logger calls should be surrounded by log level guards. 2 222223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 230
GuardLogStatement Logger calls should be surrounded by log level guards. 2 235
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 17. 3 248344
NPathComplexity The method 'main(String)' has an NPath complexity of 320, current threshold is 200 3 248344
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 30, current threshold is 15 3 248344
NcssCount The method 'main(String)' has a NCSS line count of 68. 3 248344
NonThreadSafeSingleton Singleton is not thread safe 3 251253
GuardLogStatement Logger calls should be surrounded by log level guards. 2 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257258
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 288
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 307
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 324
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 325
GuardLogStatement Logger calls should be surrounded by log level guards. 2 326
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 331333

Waarp OpenR66 - org/waarp/openr66/client/RequestTransfer.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20931
TooManyFields Too many fields 3 65931
CyclomaticComplexity The class 'RequestTransfer' has a total cyclomatic complexity of 142 (highest 29). 3 65931
MutableStaticState Do not use non-final non-private static fields 3 71
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 71
MutableStaticState Do not use non-final non-private static fields 3 7375
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
AvoidFieldNameMatchingMethodName Field cancel has the same name as a method 3 82
AvoidFieldNameMatchingMethodName Field stop has the same name as a method 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
AvoidFieldNameMatchingMethodName Field restart has the same name as a method 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
MutableStaticState Do not use non-final non-private static fields 3 88
MutableStaticState Do not use non-final non-private static fields 3 89
MutableStaticState Do not use non-final non-private static fields 3 90
MutableStaticState Do not use non-final non-private static fields 3 91
MutableStaticState Do not use non-final non-private static fields 3 92
MutableStaticState Do not use non-final non-private static fields 3 93
MutableStaticState Do not use non-final non-private static fields 3 94
MutableStaticState Do not use non-final non-private static fields 3 95
MutableStaticState Do not use non-final non-private static fields 3 96
NPathComplexity The method 'getParams(String)' has an NPath complexity of 3360, current threshold is 200 3 105202
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 105
NcssCount The method 'getParams(String)' has a NCSS line count of 76. 3 105202
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 49, current threshold is 15 3 105202
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 29. 3 105202
NonThreadSafeSingleton Singleton is not thread safe 3 106108
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 111
GuardLogStatement Logger calls should be surrounded by log level guards. 2 117118
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 123
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 169
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 176
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 178
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 178
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 179
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 180181
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 184
GuardLogStatement Logger calls should be surrounded by log level guards. 2 191192
GuardLogStatement Logger calls should be surrounded by log level guards. 2 196197
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 249
NPathComplexity The method 'run()' has an NPath complexity of 345, current threshold is 200 3 254449
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 28. 3 254449
ExcessiveMethodLength Avoid really long methods. 3 254449
CognitiveComplexity The method 'run()' has a cognitive complexity of 44, current threshold is 15 3 254449
NcssCount The method 'run()' has a NCSS line count of 129. 3 254449
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 284285
GuardLogStatement Logger calls should be surrounded by log level guards. 2 293294
GuardLogStatement Logger calls should be surrounded by log level guards. 2 302303
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 335
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 384
CognitiveComplexity The method 'sendValid(DbTaskRunner, byte)' has a cognitive complexity of 38, current threshold is 15 3 463583
CyclomaticComplexity The method 'sendValid(DbTaskRunner, byte)' has a cyclomatic complexity of 19. 3 463583
ExcessiveMethodLength Avoid really long methods. 3 463583
NPathComplexity The method 'sendValid(DbTaskRunner, byte)' has an NPath complexity of 3360, current threshold is 200 3 463583
NcssCount The method 'sendValid(DbTaskRunner, byte)' has a NCSS line count of 74. 3 463583
GuardLogStatement Logger calls should be surrounded by log level guards. 2 467468
GuardLogStatement Logger calls should be surrounded by log level guards. 2 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 499
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 506
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 509
GuardLogStatement Logger calls should be surrounded by log level guards. 2 517518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 534
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 548
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 570
GuardLogStatement Logger calls should be surrounded by log level guards. 2 576577
GuardLogStatement Logger calls should be surrounded by log level guards. 2 589590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 620
GuardLogStatement Logger calls should be surrounded by log level guards. 2 626627
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 17. 3 638706
NPathComplexity The method 'main(String)' has an NPath complexity of 210, current threshold is 200 3 638706
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 23, current threshold is 15 3 638706
NonThreadSafeSingleton Singleton is not thread safe 3 641643
GuardLogStatement Logger calls should be surrounded by log level guards. 2 645
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 647648
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 658
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 682
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 683
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 685
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 687
GuardLogStatement Logger calls should be surrounded by log level guards. 2 690
ExcessiveMethodLength Avoid really long methods. 3 708808
CyclomaticComplexity The method 'restart(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cyclomatic complexity of 17. 3 708808
NcssCount The method 'restart(R66Future, RequestTransfer, R66Result, OutputFormat)' has a NCSS line count of 80. 3 708808
CognitiveComplexity The method 'restart(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cognitive complexity of 20, current threshold is 15 3 708808
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 3 713806
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 716
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 717
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 719
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 720
GuardLogStatement Logger calls should be surrounded by log level guards. 2 721
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 728
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 729
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 731
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 732
GuardLogStatement Logger calls should be surrounded by log level guards. 2 733
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 740
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 741
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 743
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744
GuardLogStatement Logger calls should be surrounded by log level guards. 2 746
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 756
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 757
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 759
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 760
GuardLogStatement Logger calls should be surrounded by log level guards. 2 761
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 768
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 769
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 771
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 772
GuardLogStatement Logger calls should be surrounded by log level guards. 2 773
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 780
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 781
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 783
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 784
GuardLogStatement Logger calls should be surrounded by log level guards. 2 785
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 792
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 793
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 795
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 796
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 798
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 799
GuardLogStatement Logger calls should be surrounded by log level guards. 2 801
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 3 815860
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 818
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 819
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 821
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 822
GuardLogStatement Logger calls should be surrounded by log level guards. 2 824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 834
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 835
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 838
GuardLogStatement Logger calls should be surrounded by log level guards. 2 839
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 846
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 847
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 850
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 853
GuardLogStatement Logger calls should be surrounded by log level guards. 2 855
CyclomaticComplexity The method 'cancel(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cyclomatic complexity of 11. 3 864929
CognitiveComplexity The method 'cancel(R66Future, RequestTransfer, R66Result, OutputFormat)' has a cognitive complexity of 21, current threshold is 15 3 864929
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 871
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 872
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 874
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 875
GuardLogStatement Logger calls should be surrounded by log level guards. 2 877
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 3 885926
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 888
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 889
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 891
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 892
GuardLogStatement Logger calls should be surrounded by log level guards. 2 893
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 901
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 903
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 904
GuardLogStatement Logger calls should be surrounded by log level guards. 2 905
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 912
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 913
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 915
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 916
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 918
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 919
GuardLogStatement Logger calls should be surrounded by log level guards. 2 921

Waarp OpenR66 - org/waarp/openr66/client/SendThroughClient.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
CognitiveComplexity The method 'initiateRequest()' has a cognitive complexity of 18, current threshold is 15 3 153253
NPathComplexity The method 'initiateRequest()' has an NPath complexity of 360, current threshold is 200 3 153253
ExcessiveMethodLength Avoid really long methods. 3 153253
CyclomaticComplexity The method 'initiateRequest()' has a cyclomatic complexity of 15. 3 153253
NcssCount The method 'initiateRequest()' has a NCSS line count of 60. 3 153253
GuardLogStatement Logger calls should be surrounded by log level guards. 2 161162
GuardLogStatement Logger calls should be surrounded by log level guards. 2 188
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 195
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 196
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 202
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 207208
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 215216
CognitiveComplexity The method 'finalizeRequest()' has a cognitive complexity of 25, current threshold is 15 3 258322
CyclomaticComplexity The method 'finalizeRequest()' has a cyclomatic complexity of 18. 3 258322
NPathComplexity The method 'finalizeRequest()' has an NPath complexity of 250, current threshold is 200 3 258322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 281282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 290
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 292
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 292
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 303
CollapsibleIfStatements These nested if statements could be combined 3 313319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 331332
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 331332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 339

Waarp OpenR66 - org/waarp/openr66/client/SpooledDirectoryTransfer.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 201438
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201438
ExcessiveClassLength Avoid really long classes. 3 1151438
GodClass Possible God Class (WMC=151, ATFD=245, TCC=27.473%) 3 1151438
CyclomaticComplexity The class 'SpooledDirectoryTransfer' has a total cyclomatic complexity of 151 (highest 57). 3 1151438
TooManyFields Too many fields 3 1151438
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 122
MutableStaticState Do not use non-final non-private static fields 3 122
MutableStaticState Do not use non-final non-private static fields 3 124125
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 147
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 153
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 163
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 167
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 169
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 173
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 175
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 189
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 196
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 198
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 200
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 203
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 204
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 204
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 207
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 213
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 216
NPathComplexity The method 'run()' has an NPath complexity of 116640, current threshold is 200 3 222360
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 23. 3 222360
ExcessiveMethodLength Avoid really long methods. 3 222360
NcssCount The method 'run()' has a NCSS line count of 81. 3 222360
CognitiveComplexity The method 'run()' has a cognitive complexity of 31, current threshold is 15 3 222360
GuardLogStatement Logger calls should be surrounded by log level guards. 2 230231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 233
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233
GuardLogStatement Logger calls should be surrounded by log level guards. 2 241242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 253254
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 256
GuardLogStatement Logger calls should be surrounded by log level guards. 2 265266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
GuardLogStatement Logger calls should be surrounded by log level guards. 2 275276
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 278
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 286
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 287
GuardLogStatement Logger calls should be surrounded by log level guards. 2 288289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 291
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 291
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 294
GuardLogStatement Logger calls should be surrounded by log level guards. 2 310311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 313
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 341
GuardLogStatement Logger calls should be surrounded by log level guards. 2 344352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 358
CognitiveComplexity The method 'setWaarpHostCommand(FileMonitor)' has a cognitive complexity of 34, current threshold is 15 3 362419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370
GuardLogStatement Logger calls should be surrounded by log level guards. 2 374375
GuardLogStatement Logger calls should be surrounded by log level guards. 2 377378
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 3 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 385
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 386
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 387388
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 390391
GuardLogStatement Logger calls should be surrounded by log level guards. 2 395396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 403
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 411414
GodClass Possible God Class (WMC=53, ATFD=62, TCC=21.429%) 3 455777
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 464
CognitiveComplexity The method 'run(FileItem)' has a cognitive complexity of 41, current threshold is 15 3 469555
NPathComplexity The method 'run(FileItem)' has an NPath complexity of 1920, current threshold is 200 3 469555
CyclomaticComplexity The method 'run(FileItem)' has a cyclomatic complexity of 17. 3 469555
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 473
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'host' 3 491
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 491
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 492
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 493
GuardLogStatement Logger calls should be surrounded by log level guards. 2 494495
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 496
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 506
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 527
GuardLogStatement Logger calls should be surrounded by log level guards. 2 536539
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 544548
GuardLogStatement Logger calls should be surrounded by log level guards. 2 604607
GuardLogStatement Logger calls should be surrounded by log level guards. 2 617619
AvoidReassigningParameters Avoid reassigning parameters such as 'ko' 2 624
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 625
GuardLogStatement Logger calls should be surrounded by log level guards. 2 627629
CyclomaticComplexity The method 'finalizeInSuccess(long, String, String, R66Result)' has a cyclomatic complexity of 13. 3 635699
CognitiveComplexity The method 'finalizeInSuccess(long, String, String, R66Result)' has a cognitive complexity of 35, current threshold is 15 3 635699
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 638
AvoidReassigningParameters Avoid reassigning parameters such as 'newSpecialId' 2 643
AvoidDuplicateLiterals The String literal "RequestInformation.Success" appears 5 times in this file; the first occurrence is on line 645 3 645
GuardLogStatement Logger calls should be surrounded by log level guards. 2 651655
GuardLogStatement Logger calls should be surrounded by log level guards. 2 668670
GuardLogStatement Logger calls should be surrounded by log level guards. 2 676678
GuardLogStatement Logger calls should be surrounded by log level guards. 2 680683
GuardLogStatement Logger calls should be surrounded by log level guards. 2 688690
GuardLogStatement Logger calls should be surrounded by log level guards. 2 692695
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 706
GuardLogStatement Logger calls should be surrounded by log level guards. 2 715
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 721
GuardLogStatement Logger calls should be surrounded by log level guards. 2 723724
CognitiveComplexity The method 'checkReuseUniqueHost(FileItem, long)' has a cognitive complexity of 20, current threshold is 15 3 728776
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 741
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 742
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 743
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 750
AvoidReassigningParameters Avoid reassigning parameters such as 'specialId' 2 763
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 766
GuardLogStatement Logger calls should be surrounded by log level guards. 2 768770
DataClass The class 'Arguments' is suspected to be a Data Class (WOC=10.256%, NOPA=0, NOAM=35, WMC=39) 3 782960
TooManyFields Too many fields 3 782960
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 788
AvoidFieldNameMatchingMethodName Field isMd5 has the same name as a method 3 788
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 799
AvoidFieldNameMatchingMethodName Field isParallel has the same name as a method 3 799
RedundantFieldInitializer Avoid using redundant field initializer for 'ignoreAlreadyUsed' 3 803
NPathComplexity The method 'getParamsFromConfigFile(String)' has an NPath complexity of 2147483647, current threshold is 200 3 10201174
ExcessiveMethodLength Avoid really long methods. 3 10201174
NcssCount The method 'getParamsFromConfigFile(String)' has a NCSS line count of 120. 3 10201174
CognitiveComplexity The method 'getParamsFromConfigFile(String)' has a cognitive complexity of 126, current threshold is 15 3 10201174
CyclomaticComplexity The method 'getParamsFromConfigFile(String)' has a cyclomatic complexity of 57. 3 10201174
NonThreadSafeSingleton Singleton is not thread safe 3 10211023
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1027
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10291030
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10341035
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1042
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1045
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1048
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1052
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1054
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1057
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 1065
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1065
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1068
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1070
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 1095
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1095
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1098
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1151
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 1151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1154
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 47. 3 11831326
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 118, current threshold is 15 3 11831326
ExcessiveMethodLength Avoid really long methods. 3 11831326
NcssCount The method 'getParams(String)' has a NCSS line count of 138. 3 11831326
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 1183
NPathComplexity The method 'getParams(String)' has an NPath complexity of 13832, current threshold is 200 3 11831326
NonThreadSafeSingleton Singleton is not thread safe 3 11841186
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1188
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11941195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1206
UnusedAssignment The initializer for variable 'i' is never used (overwritten on line 1209) 3 1207
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'string' 3 1214
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 12181219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12181219
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'string' 3 1220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1222
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 1231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1234
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1253
GuardLogStatement Logger calls should be surrounded by log level guards. 2 12541255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1277
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 1277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13031304
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1315
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13201322
NonThreadSafeSingleton Singleton is not thread safe 3 13311333
MutableStaticState Do not use non-final non-private static fields 3 1339
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1340
MutableStaticState Do not use non-final non-private static fields 3 1340
CyclomaticComplexity The method 'initialize(String, boolean)' has a cyclomatic complexity of 11. 3 13491408
NonThreadSafeSingleton Singleton is not thread safe 3 13511353
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1356
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1366
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1369
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1372
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1374
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1375
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1380
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1381
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1386
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13891393
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 13981401

Waarp OpenR66 - org/waarp/openr66/client/SubmitTransfer.java

Rule Violation Priority Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 10. 3 55113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 88
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 18, current threshold is 15 3 122176
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 12. 3 122176
NPathComplexity The method 'main(String)' has an NPath complexity of 200, current threshold is 200 3 122176
GuardLogStatement Logger calls should be surrounded by log level guards. 2 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 131132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147
GuardLogStatement Logger calls should be surrounded by log level guards. 2 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 169

Waarp OpenR66 - org/waarp/openr66/client/TransferArgs.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=93, ATFD=122, TCC=4.100%) 3 72707
CyclomaticComplexity The class 'TransferArgs' has a total cyclomatic complexity of 93 (highest 10). 3 72707
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 245
GuardLogStatement Logger calls should be surrounded by log level guards. 2 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 292
AvoidDuplicateLiterals The String literal "AbstractTransfer.20" appears 4 times in this file; the first occurrence is on line 293 3 293
GuardLogStatement Logger calls should be surrounded by log level guards. 2 293
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 297
GuardLogStatement Logger calls should be surrounded by log level guards. 2 298299
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 319320
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 319320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 321323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 337
GuardLogStatement Logger calls should be surrounded by log level guards. 2 338
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 355
CyclomaticComplexity The method 'finalizeTransferArgs(boolean, TransferArgs)' has a cyclomatic complexity of 10. 3 375416
GuardLogStatement Logger calls should be surrounded by log level guards. 2 397401
GuardLogStatement Logger calls should be surrounded by log level guards. 2 404407
GuardLogStatement Logger calls should be surrounded by log level guards. 2 411414
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 469
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 472
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 474
GuardLogStatement Logger calls should be surrounded by log level guards. 2 475
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 485
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 490
GuardLogStatement Logger calls should be surrounded by log level guards. 2 491
CognitiveComplexity The method 'getAllInfo(TransferArgs, int, String, String)' has a cognitive complexity of 17, current threshold is 15 3 507532
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 516
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 522
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 525
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 542
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 543
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 545
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 547548
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 547548
CollapsibleIfStatements These nested if statements could be combined 3 547556
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 550
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 552
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 553555
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 554
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 571
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 572
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 572
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 581
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 581
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 592
AvoidFieldNameMatchingMethodName Field isMD5 has the same name as a method 3 592
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 594
RedundantFieldInitializer Avoid using redundant field initializer for 'nolog' 3 599

Waarp OpenR66 - org/waarp/openr66/client/spooledService/SpooledEngine.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 45
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 50
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 10. 3 56104
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6061
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 66
CloseResource Ensure that resources like this FileInputStream object are closed after use 3 70
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 97102
GuardLogStatement Logger calls should be surrounded by log level guards. 2 103
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121
GuardLogStatement Logger calls should be surrounded by log level guards. 2 124128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132
GuardLogStatement Logger calls should be surrounded by log level guards. 2 147

Waarp OpenR66 - org/waarp/openr66/client/spooledService/SpooledServiceLauncher.java

Rule Violation Priority Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 34
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 55

Waarp OpenR66 - org/waarp/openr66/client/utils/OutputFormat.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=58, ATFD=36, TCC=25.661%) 3 36372
MutableStaticState Do not use non-final non-private static fields 3 46
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 94
SystemPrintln System.out.println is used 2 240
SystemPrintln System.out.println is used 2 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 277
CognitiveComplexity The method 'toString(OUTPUTFORMAT)' has a cognitive complexity of 33, current threshold is 15 3 291371
NcssCount The method 'toString(OUTPUTFORMAT)' has a NCSS line count of 66. 3 291371
CyclomaticComplexity The method 'toString(OUTPUTFORMAT)' has a cyclomatic complexity of 20. 3 291371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 301
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 309
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 352

Waarp OpenR66 - org/waarp/openr66/commander/ClientRunner.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20737
GodClass Possible God Class (WMC=112, ATFD=184, TCC=26.144%) 3 61737
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 61
CyclomaticComplexity The class 'ClientRunner' has a total cyclomatic complexity of 112 (highest 32). 3 61737
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 77
RedundantFieldInitializer Avoid using redundant field initializer for 'staticRecvHandlerJunit' 3 82
MutableStaticState Do not use non-final non-private static fields 3 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
RedundantFieldInitializer Avoid using redundant field initializer for 'handler' 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 128129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128129
ExcessiveMethodLength Avoid really long methods. 3 154311
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 32. 3 154311
CognitiveComplexity The method 'run()' has a cognitive complexity of 60, current threshold is 15 3 154311
NcssCount The method 'run()' has a NCSS line count of 95. 3 154311
NPathComplexity The method 'run()' has an NPath complexity of 29958, current threshold is 200 3 154311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 176178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177178
GuardLogStatement Logger calls should be surrounded by log level guards. 2 189
GuardLogStatement Logger calls should be surrounded by log level guards. 2 193195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
GuardLogStatement Logger calls should be surrounded by log level guards. 2 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
GuardLogStatement Logger calls should be surrounded by log level guards. 2 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
GuardLogStatement Logger calls should be surrounded by log level guards. 2 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 237
GuardLogStatement Logger calls should be surrounded by log level guards. 2 247248
GuardLogStatement Logger calls should be surrounded by log level guards. 2 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 254
GuardLogStatement Logger calls should be surrounded by log level guards. 2 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 276
GuardLogStatement Logger calls should be surrounded by log level guards. 2 277282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
GuardLogStatement Logger calls should be surrounded by log level guards. 2 285287
GuardLogStatement Logger calls should be surrounded by log level guards. 2 289291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 295
GuardLogStatement Logger calls should be surrounded by log level guards. 2 296298
GuardLogStatement Logger calls should be surrounded by log level guards. 2 300302
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 359360
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 365
CyclomaticComplexity The method 'tryAgainTransferOnOverloaded(boolean, LocalChannelReference)' has a cyclomatic complexity of 12. 3 387439
ImplicitSwitchFallThrough A switch statement does not contain a break 3 398406
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 410411
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 410411
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 416418
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 417
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 422423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 430432
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 431
CyclomaticComplexity The method 'finishTransfer(LocalChannelReference)' has a cyclomatic complexity of 16. 3 448524
NPathComplexity The method 'finishTransfer(LocalChannelReference)' has an NPath complexity of 288, current threshold is 200 3 448524
CognitiveComplexity The method 'finishTransfer(LocalChannelReference)' has a cognitive complexity of 22, current threshold is 15 3 448524
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 457
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 461
ImplicitSwitchFallThrough A switch statement does not contain a break 3 480496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 499
GuardLogStatement Logger calls should be surrounded by log level guards. 2 501502
ImplicitSwitchFallThrough A switch statement does not contain a break 3 511520
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 519
CyclomaticComplexity The method 'initRequest()' has a cyclomatic complexity of 26. 3 535691
ExcessiveMethodLength Avoid really long methods. 3 535691
NPathComplexity The method 'initRequest()' has an NPath complexity of 13824, current threshold is 200 3 535691
CognitiveComplexity The method 'initRequest()' has a cognitive complexity of 23, current threshold is 15 3 535691
NcssCount The method 'initRequest()' has a NCSS line count of 92. 3 535691
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 552
CollapsibleIfStatements These nested if statements could be combined 3 554557
GuardLogStatement Logger calls should be surrounded by log level guards. 2 571572
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 574575
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 609
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 611
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 619620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 641
GuardLogStatement Logger calls should be surrounded by log level guards. 2 652
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 663
GuardLogStatement Logger calls should be surrounded by log level guards. 2 669670
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 673674
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 674
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 675
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 677
GuardLogStatement Logger calls should be surrounded by log level guards. 2 683

Waarp OpenR66 - org/waarp/openr66/commander/Commander.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
RedundantFieldInitializer Avoid using redundant field initializer for 'totalRuns' 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 108
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 125126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146147
CognitiveComplexity The method 'run()' has a cognitive complexity of 42, current threshold is 15 3 154309
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 29. 3 154309
ExcessiveMethodLength Avoid really long methods. 3 154309
NPathComplexity The method 'run()' has an NPath complexity of 3984, current threshold is 200 3 154309
NcssCount The method 'run()' has a NCSS line count of 78. 3 154309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 156
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 161
GuardLogStatement Logger calls should be surrounded by log level guards. 2 175177
AvoidDuplicateLiterals The String literal ": {}" appears 8 times in this file; the first occurrence is on line 176 3 176
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 188189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 205
GuardLogStatement Logger calls should be surrounded by log level guards. 2 209211
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 215
GuardLogStatement Logger calls should be surrounded by log level guards. 2 219220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 227
GuardLogStatement Logger calls should be surrounded by log level guards. 2 231232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 255
GuardLogStatement Logger calls should be surrounded by log level guards. 2 259261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 265
GuardLogStatement Logger calls should be surrounded by log level guards. 2 269270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274
GuardLogStatement Logger calls should be surrounded by log level guards. 2 278279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283
GuardLogStatement Logger calls should be surrounded by log level guards. 2 287288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 301302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 329330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 339
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 363364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 401
EmptyIfStmt Avoid empty if statements 3 402404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 410
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 436
EmptyIfStmt Avoid empty if statements 3 437439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 445
CognitiveComplexity The method 'checkTaskRunner(DbMultipleMonitor)' has a cognitive complexity of 25, current threshold is 15 3 451509
CyclomaticComplexity The method 'checkTaskRunner(DbMultipleMonitor)' has a cyclomatic complexity of 11. 3 451509
UnusedFormalParameter Avoid unused method parameters such as 'multipleMonitor'. 3 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 453
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
GuardLogStatement Logger calls should be surrounded by log level guards. 2 465467
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 480
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 480
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 482483
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 482483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 487
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 491
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 499

Waarp OpenR66 - org/waarp/openr66/commander/CommanderNoDb.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
CognitiveComplexity The constructor 'CommanderNoDb(InternalRunner, boolean)' has a cognitive complexity of 16, current threshold is 15 3 75113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 88
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 93
GuardLogStatement Logger calls should be surrounded by log level guards. 2 95
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 101
GuardLogStatement Logger calls should be surrounded by log level guards. 2 109
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 3 129200
CognitiveComplexity The method 'run()' has a cognitive complexity of 40, current threshold is 15 3 129200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 166167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 166167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 171
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 197

Waarp OpenR66 - org/waarp/openr66/commander/InternalRunner.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 57
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 70
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 74
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 74
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 81
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 115
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 116
GuardLogStatement Logger calls should be surrounded by log level guards. 2 126
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 130
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 145
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 146
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 160
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 161
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179

Waarp OpenR66 - org/waarp/openr66/commander/ThreadPoolRunnerExecutor.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 36
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 41
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 51
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 52
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 57
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 57
GuardLogStatement Logger calls should be surrounded by log level guards. 2 57

Waarp OpenR66 - org/waarp/openr66/configuration/AuthenticationFileBasedConfiguration.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 49256
NcssCount The method 'loadAuthentication(Configuration, String)' has a NCSS line count of 90. 3 69190
CyclomaticComplexity The method 'loadAuthentication(Configuration, String)' has a cyclomatic complexity of 30. 3 69190
CognitiveComplexity The method 'loadAuthentication(Configuration, String)' has a cognitive complexity of 58, current threshold is 15 3 69190
ExcessiveMethodLength Avoid really long methods. 3 69190
NPathComplexity The method 'loadAuthentication(Configuration, String)' has an NPath complexity of 787324, current threshold is 200 3 69190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7576
GuardLogStatement Logger calls should be surrounded by log level guards. 2 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 87
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 109
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 110
GuardLogStatement Logger calls should be surrounded by log level guards. 2 111112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 116
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 122
GuardLogStatement Logger calls should be surrounded by log level guards. 2 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 128
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 129
GuardLogStatement Logger calls should be surrounded by log level guards. 2 130
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 173174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 219
GuardLogStatement Logger calls should be surrounded by log level guards. 2 223
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 229
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 230

Waarp OpenR66 - org/waarp/openr66/configuration/ExtensionFilter.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30

Waarp OpenR66 - org/waarp/openr66/configuration/FileBasedConfiguration.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 202530
ExcessiveClassLength Avoid really long classes. 3 942530
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 942530
TooManyMethods This class has too many methods, consider refactoring it. 3 942530
CyclomaticComplexity The class 'FileBasedConfiguration' has a total cyclomatic complexity of 521 (highest 55). 3 942530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175
GuardLogStatement Logger calls should be surrounded by log level guards. 2 177179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 184
GuardLogStatement Logger calls should be surrounded by log level guards. 2 186187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 193
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 198
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 218
GuardLogStatement Logger calls should be surrounded by log level guards. 2 222224
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 231
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 231
NcssCount The method 'loadPushMonitorParam(Configuration)' has a NCSS line count of 117. 3 235418
CyclomaticComplexity The method 'loadPushMonitorParam(Configuration)' has a cyclomatic complexity of 48. 3 235418
CognitiveComplexity The method 'loadPushMonitorParam(Configuration)' has a cognitive complexity of 101, current threshold is 15 3 235418
ExcessiveMethodLength Avoid really long methods. 3 235418
NPathComplexity The method 'loadPushMonitorParam(Configuration)' has an NPath complexity of 106665987, current threshold is 200 3 235418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 273
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 282
GuardLogStatement Logger calls should be surrounded by log level guards. 2 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 287
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 293
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 301
GuardLogStatement Logger calls should be surrounded by log level guards. 2 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
GuardLogStatement Logger calls should be surrounded by log level guards. 2 314
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 321
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 323
GuardLogStatement Logger calls should be surrounded by log level guards. 2 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 336
GuardLogStatement Logger calls should be surrounded by log level guards. 2 338339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 360
GuardLogStatement Logger calls should be surrounded by log level guards. 2 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 369
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
GuardLogStatement Logger calls should be surrounded by log level guards. 2 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
GuardLogStatement Logger calls should be surrounded by log level guards. 2 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 398
GuardLogStatement Logger calls should be surrounded by log level guards. 2 400
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 403
NcssCount The method 'loadServerParam(Configuration)' has a NCSS line count of 68. 3 425530
NPathComplexity The method 'loadServerParam(Configuration)' has an NPath complexity of 11665, current threshold is 200 3 425530
ExcessiveMethodLength Avoid really long methods. 3 425530
CognitiveComplexity The method 'loadServerParam(Configuration)' has a cognitive complexity of 46, current threshold is 15 3 425530
CyclomaticComplexity The method 'loadServerParam(Configuration)' has a cyclomatic complexity of 24. 3 425530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 433
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 434
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
GuardLogStatement Logger calls should be surrounded by log level guards. 2 444446
GuardLogStatement Logger calls should be surrounded by log level guards. 2 450452
GuardLogStatement Logger calls should be surrounded by log level guards. 2 456458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 464
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 465
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 482
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 483
GuardLogStatement Logger calls should be surrounded by log level guards. 2 484487
GuardLogStatement Logger calls should be surrounded by log level guards. 2 491492
AvoidDuplicateLiterals The String literal "FileBasedConfiguration.MMOff" appears 4 times in this file; the first occurrence is on line 492 3 492
GuardLogStatement Logger calls should be surrounded by log level guards. 2 494495
GuardLogStatement Logger calls should be surrounded by log level guards. 2 501502
GuardLogStatement Logger calls should be surrounded by log level guards. 2 504505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 509
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 511
GuardLogStatement Logger calls should be surrounded by log level guards. 2 513
AvoidDuplicateLiterals The String literal "Bad Business Factory class: {}" appears 4 times in this file; the first occurrence is on line 513 3 513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 519
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 520
GuardLogStatement Logger calls should be surrounded by log level guards. 2 521
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 528
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 528
NPathComplexity The method 'loadServerConfig(Configuration, XmlHash)' has an NPath complexity of 2147483647, current threshold is 200 3 532708
NcssCount The method 'loadServerConfig(Configuration, XmlHash)' has a NCSS line count of 115. 3 532708
CognitiveComplexity The method 'loadServerConfig(Configuration, XmlHash)' has a cognitive complexity of 61, current threshold is 15 3 532708
ExcessiveMethodLength Avoid really long methods. 3 532708
CyclomaticComplexity The method 'loadServerConfig(Configuration, XmlHash)' has a cyclomatic complexity of 44. 3 532708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 535
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 543
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 547
GuardLogStatement Logger calls should be surrounded by log level guards. 2 550552
GuardLogStatement Logger calls should be surrounded by log level guards. 2 559561
UnusedAssignment The value assigned to variable 'hashConfig2' is never used 3 566
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 566
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 571
GuardLogStatement Logger calls should be surrounded by log level guards. 2 577579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 583
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 584
GuardLogStatement Logger calls should be surrounded by log level guards. 2 585587
AvoidDuplicateLiterals The String literal ": {}" appears 13 times in this file; the first occurrence is on line 587 3 587
GuardLogStatement Logger calls should be surrounded by log level guards. 2 596
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 600
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 601
GuardLogStatement Logger calls should be surrounded by log level guards. 2 602604
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 610
GuardLogStatement Logger calls should be surrounded by log level guards. 2 611613
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 616
GuardLogStatement Logger calls should be surrounded by log level guards. 2 618619
GuardLogStatement Logger calls should be surrounded by log level guards. 2 624625
GuardLogStatement Logger calls should be surrounded by log level guards. 2 633634
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 682
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 692
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 696
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 720
CollapsibleIfStatements These nested if statements could be combined 3 720722
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 725
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 727
GuardLogStatement Logger calls should be surrounded by log level guards. 2 729
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 735
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 736
GuardLogStatement Logger calls should be surrounded by log level guards. 2 737
GuardLogStatement Logger calls should be surrounded by log level guards. 2 762764
GuardLogStatement Logger calls should be surrounded by log level guards. 2 767769
GuardLogStatement Logger calls should be surrounded by log level guards. 2 776778
GuardLogStatement Logger calls should be surrounded by log level guards. 2 781783
GuardLogStatement Logger calls should be surrounded by log level guards. 2 790792
GuardLogStatement Logger calls should be surrounded by log level guards. 2 795797
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 804
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 804
UnusedFormalParameter Avoid unused method parameters such as 'config'. 3 808
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 813
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 814
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 816
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 821
GuardLogStatement Logger calls should be surrounded by log level guards. 2 822824
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 837
GuardLogStatement Logger calls should be surrounded by log level guards. 2 838840
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 843
GuardLogStatement Logger calls should be surrounded by log level guards. 2 846847
GuardLogStatement Logger calls should be surrounded by log level guards. 2 854855
GuardLogStatement Logger calls should be surrounded by log level guards. 2 862863
GuardLogStatement Logger calls should be surrounded by log level guards. 2 866867
GuardLogStatement Logger calls should be surrounded by log level guards. 2 874875
GuardLogStatement Logger calls should be surrounded by log level guards. 2 878879
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 893
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 893
CyclomaticComplexity The method 'loadLimit(Configuration, boolean)' has a cyclomatic complexity of 29. 3 902980
NPathComplexity The method 'loadLimit(Configuration, boolean)' has an NPath complexity of 1259714, current threshold is 200 3 902980
CognitiveComplexity The method 'loadLimit(Configuration, boolean)' has a cognitive complexity of 33, current threshold is 15 3 902980
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 912
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 913
GuardLogStatement Logger calls should be surrounded by log level guards. 2 915
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 917
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 918
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 919
GuardLogStatement Logger calls should be surrounded by log level guards. 2 922
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 925
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 927
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 928
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 934
GuardLogStatement Logger calls should be surrounded by log level guards. 2 938
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 940
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 941
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 947
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 948
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 951
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 952
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 955
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 956
GuardLogStatement Logger calls should be surrounded by log level guards. 2 957
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 960
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 961
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 964
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 965
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 968
SimplifiedTernary Ternary operators that can be simplified with || or && 3 969970
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 969
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 969
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 971
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 972
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 978
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 978
CognitiveComplexity The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has a cognitive complexity of 75, current threshold is 15 3 9821149
NPathComplexity The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has an NPath complexity of 2147483647, current threshold is 200 3 9821149
CyclomaticComplexity The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has a cyclomatic complexity of 55. 3 9821149
NcssCount The method 'loadCommonLimit(Configuration, XmlHash, boolean)' has a NCSS line count of 115. 3 9821149
ExcessiveMethodLength Avoid really long methods. 3 9821149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 986
GuardLogStatement Logger calls should be surrounded by log level guards. 2 992
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 995
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10011002
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1006
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1011
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1014
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1016
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1019
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1048
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1057
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1064
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1066
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1076
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1080
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1082
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1087
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1091
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1093
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1098
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1147
NPathComplexity The method 'loadSsl(Configuration, XmlRootHash)' has an NPath complexity of 10879, current threshold is 200 3 11571250
CyclomaticComplexity The method 'loadSsl(Configuration, XmlRootHash)' has a cyclomatic complexity of 21. 3 11571250
CognitiveComplexity The method 'loadSsl(Configuration, XmlRootHash)' has a cognitive complexity of 34, current threshold is 15 3 11571250
NcssCount The method 'loadSsl(Configuration, XmlRootHash)' has a NCSS line count of 64. 3 11571250
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12101211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1219
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12341236
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1248
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1248
CyclomaticComplexity The method 'loadNetworkServer(Configuration)' has a cyclomatic complexity of 17. 3 12571317
NPathComplexity The method 'loadNetworkServer(Configuration)' has an NPath complexity of 6562, current threshold is 200 3 12571317
CognitiveComplexity The method 'loadNetworkServer(Configuration)' has a cognitive complexity of 16, current threshold is 15 3 12571317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1309
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1315
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1315
AvoidDuplicateLiterals The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 1 324 3 1324
CognitiveComplexity The method 'loadRest(Configuration)' has a cognitive complexity of 142, current threshold is 15 3 13251470
NcssCount The method 'loadRest(Configuration)' has a NCSS line count of 105. 3 13251470
NPathComplexity The method 'loadRest(Configuration)' has an NPath complexity of 8226043, current threshold is 200 3 13251470
CyclomaticComplexity The method 'loadRest(Configuration)' has a cyclomatic complexity of 39. 3 13251470
ExcessiveMethodLength Avoid really long methods. 3 13251470
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1329
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1330
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1331
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1367
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1368
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 13701372
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1377
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13841386
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13891391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1399
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1407
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1407
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1408
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1412
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1421
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1421
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1433
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1435
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1444
GuardLogStatement Logger calls should be surrounded by log level guards. 2 14501452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1460
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1460
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1468
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1486
CognitiveComplexity The method 'loadFromDatabase(Configuration)' has a cognitive complexity of 19, current threshold is 15 3 15101549
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15181519
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15301531
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15341536
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15401541
MutableStaticState Do not use non-final non-private static fields 3 1551
AvoidDuplicateLiterals The String literal "deprecation" appears 5 times in this file; the first occurrence is on line 1 561 3 1561
CyclomaticComplexity The method 'loadDatabase(Configuration, boolean)' has a cyclomatic complexity of 34. 3 15621710
NcssCount The method 'loadDatabase(Configuration, boolean)' has a NCSS line count of 80. 3 15621710
NPathComplexity The method 'loadDatabase(Configuration, boolean)' has an NPath complexity of 2052026, current threshold is 200 3 15621710
ExcessiveMethodLength Avoid really long methods. 3 15621710
CognitiveComplexity The method 'loadDatabase(Configuration, boolean)' has a cognitive complexity of 56, current threshold is 15 3 15621710
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1574
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1581
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1583
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15841586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1589
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1591
GuardLogStatement Logger calls should be surrounded by log level guards. 2 15921594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1597
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1599
GuardLogStatement Logger calls should be surrounded by log level guards. 2 16001602
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1605
GuardLogStatement Logger calls should be surrounded by log level guards. 2 16101612
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1623
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1626
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1631
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1636
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16461647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16461647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16461647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16491650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16491650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16491650
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16511652
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16511652
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16511652
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1654
GuardLogStatement Logger calls should be surrounded by log level guards. 2 16581659
GuardLogStatement Logger calls should be surrounded by log level guards. 2 16701672
EmptyCatchBlock Avoid empty catch blocks 3 16771682
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1686
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1690
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1694
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1695
CollapsibleIfStatements These nested if statements could be combined 3 17001702
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1708
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1708
GuardLogStatement Logger calls should be surrounded by log level guards. 2 17141715
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1732
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1741
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1743
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1744
UnusedAssignment The value assigned to variable 'ids' is never used 3 1744
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1751
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1751
CognitiveComplexity The method 'loadAliases(Configuration)' has a cognitive complexity of 15, current threshold is 15 3 17611791
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1766
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1767
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1768
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1770
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1773
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1775
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1778
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1779
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1781
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1783
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1789
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1789
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1809
CyclomaticComplexity The method 'loadRolesList(Configuration)' has a cyclomatic complexity of 11. 3 18181860
CognitiveComplexity The method 'loadRolesList(Configuration)' has a cognitive complexity of 24, current threshold is 15 3 18181860
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1823
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1824
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1827
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1830
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1832
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1835
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1836
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1837
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1841
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1841
EmptyCatchBlock Avoid empty catch blocks 3 18481850
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1853
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1858
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1858
UnusedAssignment The initializer for variable 'hostconfiguration' is never used (overwritten on lines 1872 and 1877) 3 1870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1900
GuardLogStatement Logger calls should be surrounded by log level guards. 2 19011902
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1908
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1924
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1924
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1970
GuardLogStatement Logger calls should be surrounded by log level guards. 2 19721974
GuardLogStatement Logger calls should be surrounded by log level guards. 2 19781980
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 1990
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1990
GuardLogStatement Logger calls should be surrounded by log level guards. 2 19931994
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1998
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1999
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2017
GuardLogStatement Logger calls should be surrounded by log level guards. 2 20192021
GuardLogStatement Logger calls should be surrounded by log level guards. 2 20252027
CollapsibleIfStatements These nested if statements could be combined 3 20502053
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2056
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2057
CyclomaticComplexity The method 'setConfigurationServerMinimalFromXml(Configuration, String)' has a cyclomatic complexity of 15. 3 20702141
CognitiveComplexity The method 'setConfigurationServerMinimalFromXml(Configuration, String)' has a cognitive complexity of 17, current threshold is 15 3 20702141
NPathComplexity The method 'setConfigurationServerMinimalFromXml(Configuration, String)' has an NPath complexity of 4608, current threshold is 200 3 20702141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 20722073
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2087
GuardLogStatement Logger calls should be surrounded by log level guards. 2 20892091
GuardLogStatement Logger calls should be surrounded by log level guards. 2 20952097
CollapsibleIfStatements These nested if statements could be combined 3 21202123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2139
NPathComplexity The method 'setConfigurationServerShutdownFromXml(Configuration, String)' has an NPath complexity of 55296, current threshold is 200 3 21522237
CyclomaticComplexity The method 'setConfigurationServerShutdownFromXml(Configuration, String)' has a cyclomatic complexity of 19. 3 21522237
CognitiveComplexity The method 'setConfigurationServerShutdownFromXml(Configuration, String)' has a cognitive complexity of 21, current threshold is 15 3 21522237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 21542155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2169
GuardLogStatement Logger calls should be surrounded by log level guards. 2 21712173
GuardLogStatement Logger calls should be surrounded by log level guards. 2 21772179
CollapsibleIfStatements These nested if statements could be combined 3 22152218
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2234
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2235
CyclomaticComplexity The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has a cyclomatic complexity of 23. 3 22492341
CognitiveComplexity The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has a cognitive complexity of 26, current threshold is 15 3 22492341
NPathComplexity The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has an NPath complexity of 497664, current threshold is 200 3 22492341
NcssCount The method 'setConfigurationServerFromXml(Configuration, String, boolean)' has a NCSS line count of 63. 3 22492341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2255
GuardLogStatement Logger calls should be surrounded by log level guards. 2 22572259
GuardLogStatement Logger calls should be surrounded by log level guards. 2 22632265
CollapsibleIfStatements These nested if statements could be combined 3 22842287
CollapsibleIfStatements These nested if statements could be combined 3 23062309
CollapsibleIfStatements These nested if statements could be combined 3 23172320
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2338
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2339
NcssCount The method 'setClientConfigurationFromXml(Configuration, String)' has a NCSS line count of 60. 3 23522445
NPathComplexity The method 'setClientConfigurationFromXml(Configuration, String)' has an NPath complexity of 55296, current threshold is 200 3 23522445
CognitiveComplexity The method 'setClientConfigurationFromXml(Configuration, String)' has a cognitive complexity of 20, current threshold is 15 3 23522445
CyclomaticComplexity The method 'setClientConfigurationFromXml(Configuration, String)' has a cyclomatic complexity of 18. 3 23522445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 23542355
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2369
GuardLogStatement Logger calls should be surrounded by log level guards. 2 23712373
GuardLogStatement Logger calls should be surrounded by log level guards. 2 23772379
CollapsibleIfStatements These nested if statements could be combined 3 24162419
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2424
GuardLogStatement Logger calls should be surrounded by log level guards. 2 24252426
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2442
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2443
NPathComplexity The method 'setSubmitClientConfigurationFromXml(Configuration, String)' has an NPath complexity of 1536, current threshold is 200 3 24562529
CyclomaticComplexity The method 'setSubmitClientConfigurationFromXml(Configuration, String)' has a cyclomatic complexity of 12. 3 24562529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24582459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2473
GuardLogStatement Logger calls should be surrounded by log level guards. 2 24752477
GuardLogStatement Logger calls should be surrounded by log level guards. 2 24812483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2506
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2510
UnusedAssignment The value assigned to variable 'hashConfig' is never used 3 2510
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2526
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2527

Waarp OpenR66 - org/waarp/openr66/configuration/RuleFileBasedConfiguration.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20773
CyclomaticComplexity The class 'RuleFileBasedConfiguration' has a total cyclomatic complexity of 137 (highest 41). 3 62773
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 166
GuardLogStatement Logger calls should be surrounded by log level guards. 2 173
CognitiveComplexity The method 'getTasksRule(XmlValue)' has a cognitive complexity of 24, current threshold is 15 3 191256
NPathComplexity The method 'getTasksRule(XmlValue)' has an NPath complexity of 6918, current threshold is 200 3 191256
CyclomaticComplexity The method 'getTasksRule(XmlValue)' has a cyclomatic complexity of 19. 3 191256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 193
MethodReturnsInternalArray Returning 'STRINGS_0_0_LENGTH' may expose an internal array. 3 195
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 197
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 240
GuardLogStatement Logger calls should be surrounded by log level guards. 2 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 280
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307
GuardLogStatement Logger calls should be surrounded by log level guards. 2 309310
GuardLogStatement Logger calls should be surrounded by log level guards. 2 315
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 345
GuardLogStatement Logger calls should be surrounded by log level guards. 2 347348
GuardLogStatement Logger calls should be surrounded by log level guards. 2 353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 364
ExcessiveMethodLength Avoid really long methods. 3 385499
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 385
CyclomaticComplexity The method 'getFromXmlValue(XmlValue)' has a cyclomatic complexity of 41. 3 385499
CognitiveComplexity The method 'getFromXmlValue(XmlValue)' has a cognitive complexity of 46, current threshold is 15 3 385499
NPathComplexity The method 'getFromXmlValue(XmlValue)' has an NPath complexity of 50331648, current threshold is 200 3 385499
NcssCount The method 'getFromXmlValue(XmlValue)' has a NCSS line count of 86. 3 385499
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 398
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 405
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 406
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 412
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 412
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 419
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 426
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 476
CognitiveComplexity The method 'addToElement(Element, DbRule)' has a cognitive complexity of 77, current threshold is 15 3 521688
NPathComplexity The method 'addToElement(Element, DbRule)' has an NPath complexity of 35831808, current threshold is 200 3 521688
CyclomaticComplexity The method 'addToElement(Element, DbRule)' has a cyclomatic complexity of 39. 3 521688
ExcessiveMethodLength Avoid really long methods. 3 521688
NcssCount The method 'addToElement(Element, DbRule)' has a NCSS line count of 136. 3 521688
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 573
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 577
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 580
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 593
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 597
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 600
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 613
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 617
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 620
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 633
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 637
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 640
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 653
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 657
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 660
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 673
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 677
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 680
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 701
GuardLogStatement Logger calls should be surrounded by log level guards. 2 732
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 760

Waarp OpenR66 - org/waarp/openr66/context/ErrorCode.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getFromCode(String)' has a cyclomatic complexity of 37. 3 201283
NcssCount The method 'getFromCode(String)' has a NCSS line count of 78. 3 201283
CyclomaticComplexity The method 'isErrorCode(ErrorCode)' has a cyclomatic complexity of 35. 3 285327

Waarp OpenR66 - org/waarp/openr66/context/R66FiniteDualStates.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 88

Waarp OpenR66 - org/waarp/openr66/context/R66Result.java

Rule Violation Priority Line
DataClass The class 'R66Result' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=10, WMC=22) 3 29194
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
AvoidFieldNameMatchingMethodName Field isAnswered has the same name as a method 3 45
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107

Waarp OpenR66 - org/waarp/openr66/context/R66Session.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201352
ExcessivePublicCount This class has a bunch of public methods and attributes 3 201352
TooManyFields Too many fields 3 591352
GodClass Possible God Class (WMC=261, ATFD=234, TCC=22.222%) 3 591352
ExcessiveClassLength Avoid really long classes. 3 591352
CyclomaticComplexity The class 'R66Session' has a total cyclomatic complexity of 261 (highest 35). 3 591352
TooManyMethods This class has too many methods, consider refactoring it. 3 591352
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
AvoidFieldNameMatchingMethodName Field isReady has the same name as a method 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 124
RedundantFieldInitializer Avoid using redundant field initializer for 'traceState' 3 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 130
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 141
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableBufferStatic' 3 143
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableDataPacketBufferStatic' 3 144
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableCompressionBufferStatic' 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 146
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableBuffer' 3 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 147
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableDataPacketBuffer' 3 147
RedundantFieldInitializer Avoid using redundant field initializer for 'reusableCompressionBuffer' 3 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
RedundantFieldInitializer Avoid using redundant field initializer for 'digestBlock' 3 149
AvoidFieldNameMatchingMethodName Field isSender has the same name as a method 3 150
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 150
AvoidFieldNameMatchingMethodName Field isCompressionEnabled has the same name as a method 3 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 152
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 174
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 174
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 176
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 176
UnusedFormalParameter Avoid unused constructor parameters such as 'noBuffer'. 3 183
GuardLogStatement Logger calls should be surrounded by log level guards. 2 228229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
NPathComplexity The method 'partialClear()' has an NPath complexity of 432, current threshold is 200 3 290331
CyclomaticComplexity The method 'partialClear()' has a cyclomatic complexity of 15. 3 290331
CognitiveComplexity The method 'partialClear()' has a cognitive complexity of 22, current threshold is 15 3 290331
CollapsibleIfStatements These nested if statements could be combined 3 293308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
CollapsibleIfStatements These nested if statements could be combined 3 294307
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 314
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 316
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 328
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 329
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 330
AvoidReassigningParameters Avoid reassigning parameters such as 'softReference' 2 354
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 415
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 420
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 439
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 441
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 545
GuardLogStatement Logger calls should be surrounded by log level guards. 2 586587
CyclomaticComplexity The method 'setFileAfterPreRunnerReceiver(boolean)' has a cyclomatic complexity of 21. 3 613677
CognitiveComplexity The method 'setFileAfterPreRunnerReceiver(boolean)' has a cognitive complexity of 27, current threshold is 15 3 613677
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 635
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 637
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 637
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 639
CognitiveComplexity The method 'setFileAfterPreRunner(boolean)' has a cognitive complexity of 58, current threshold is 15 3 692801
NcssCount The method 'setFileAfterPreRunner(boolean)' has a NCSS line count of 67. 3 692801
CyclomaticComplexity The method 'setFileAfterPreRunner(boolean)' has a cyclomatic complexity of 35. 3 692801
NPathComplexity The method 'setFileAfterPreRunner(boolean)' has an NPath complexity of 2040, current threshold is 200 3 692801
ExcessiveMethodLength Avoid really long methods. 3 692801
GuardLogStatement Logger calls should be surrounded by log level guards. 2 699
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 723
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 749
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 749
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 751
GuardLogStatement Logger calls should be surrounded by log level guards. 2 792793
CognitiveComplexity The method 'setBadRunner(DbTaskRunner, ErrorCode)' has a cognitive complexity of 16, current threshold is 15 3 810841
CyclomaticComplexity The method 'setRunner(DbTaskRunner)' has a cyclomatic complexity of 12. 3 852900
CognitiveComplexity The method 'setRunner(DbTaskRunner)' has a cognitive complexity of 22, current threshold is 15 3 852900
GuardLogStatement Logger calls should be surrounded by log level guards. 2 859
EmptyCatchBlock Avoid empty catch blocks 3 870872
GuardLogStatement Logger calls should be surrounded by log level guards. 2 899
GuardLogStatement Logger calls should be surrounded by log level guards. 2 913914
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 914
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 914
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 921
GuardLogStatement Logger calls should be surrounded by log level guards. 2 923
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 924
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 943
CyclomaticComplexity The method 'initializeReceiver()' has a cyclomatic complexity of 10. 3 9561002
CognitiveComplexity The method 'initializeReceiver()' has a cognitive complexity of 16, current threshold is 15 3 9561002
EmptyIfStmt Avoid empty if statements 3 958960
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 979
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 980
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 981
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10161017
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1018
EmptyCatchBlock Avoid empty catch blocks 3 10281030
CognitiveComplexity The method 'initializeTransfer(boolean)' has a cognitive complexity of 30, current threshold is 15 3 10331081
NPathComplexity The method 'initializeTransfer(boolean)' has an NPath complexity of 222, current threshold is 200 3 10331081
CyclomaticComplexity The method 'initializeTransfer(boolean)' has a cyclomatic complexity of 19. 3 10331081
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1035
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1040
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1041
CollapsibleIfStatements These nested if statements could be combined 3 10651074
EmptyCatchBlock Avoid empty catch blocks 3 10711073
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1085
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1086
NPathComplexity The method 'setFinalizeTransfer(boolean, R66Result)' has an NPath complexity of 181440, current threshold is 200 3 11391248
NcssCount The method 'setFinalizeTransfer(boolean, R66Result)' has a NCSS line count of 63. 3 11391248
ExcessiveMethodLength Avoid really long methods. 3 11391248
CognitiveComplexity The method 'setFinalizeTransfer(boolean, R66Result)' has a cognitive complexity of 41, current threshold is 15 3 11391248
CyclomaticComplexity The method 'setFinalizeTransfer(boolean, R66Result)' has a cyclomatic complexity of 26. 3 11391248
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1191
GuardLogStatement Logger calls should be surrounded by log level guards. 2 12211222
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1223
CyclomaticComplexity The method 'tryFinalizeRequest(R66Result)' has a cyclomatic complexity of 10. 3 12581307
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1285
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1287
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1293
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13011304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1304
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 1341

Waarp OpenR66 - org/waarp/openr66/context/authentication/R66Auth.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
AvoidFieldNameMatchingMethodName Field isAdmin has the same name as a method 3 57
MissingOverride The method 'clone()' is missing an @Override annotation. 3 7586
CloneMethodMustImplementCloneable clone() method should be implemented only if implementing Cloneable interface 3 7586
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 7586
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121
CognitiveComplexity The method 'connection(String, byte, boolean)' has a cognitive complexity of 24, current threshold is 15 3 139195
CyclomaticComplexity The method 'connection(String, byte, boolean)' has a cyclomatic complexity of 13. 3 139195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 146
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 148
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 149
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 281282
AvoidUsingHardCodedIP Do not hard code the IP address 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 325
CyclomaticComplexity The method 'connectionHttps(String, byte)' has a cyclomatic complexity of 11. 3 342382
GuardLogStatement Logger calls should be surrounded by log level guards. 2 346
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 351
GuardLogStatement Logger calls should be surrounded by log level guards. 2 352
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 365
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 367

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66Dir.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6994
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 75
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 75
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 82
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103
CyclomaticComplexity The method 'wildcardFilesNoCheck(String)' has a cyclomatic complexity of 14. 3 128190
NPathComplexity The method 'wildcardFilesNoCheck(String)' has an NPath complexity of 640, current threshold is 200 3 128190
CognitiveComplexity The method 'wildcardFilesNoCheck(String)' has a cognitive complexity of 17, current threshold is 15 3 128190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 160
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 212

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66File.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20717
CyclomaticComplexity The class 'R66File' has a total cyclomatic complexity of 130 (highest 39). 3 59717
TooManyMethods This class has too many methods, consider refactoring it. 3 59717
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
AvoidFieldNameMatchingMethodName Field isExternal has the same name as a method 3 69
CyclomaticComplexity The method 'retrieveBlocking(AtomicBoolean)' has a cyclomatic complexity of 39. 3 105294
NcssCount The method 'retrieveBlocking(AtomicBoolean)' has a NCSS line count of 101. 3 105294
NPathComplexity The method 'retrieveBlocking(AtomicBoolean)' has an NPath complexity of 788088, current threshold is 200 3 105294
ExcessiveMethodLength Avoid really long methods. 3 105294
CognitiveComplexity The method 'retrieveBlocking(AtomicBoolean)' has a cognitive complexity of 62, current threshold is 15 3 105294
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 105294
GuardLogStatement Logger calls should be surrounded by log level guards. 2 116118
AvoidDuplicateLiterals The String literal "Filename " appears 4 times in this file; the first occurrence is on line 119 3 119
GuardLogStatement Logger calls should be surrounded by log level guards. 2 122124
GuardLogStatement Logger calls should be surrounded by log level guards. 2 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
EmptyCatchBlock Avoid empty catch blocks 3 177179
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 217
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283
GuardLogStatement Logger calls should be surrounded by log level guards. 2 287
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 291
GuardLogStatement Logger calls should be surrounded by log level guards. 2 314315
GuardLogStatement Logger calls should be surrounded by log level guards. 2 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 372
UnusedAssignment The initializer for variable 'fileInputStream' is never used (overwritten on line 419) 3 417
GuardLogStatement Logger calls should be surrounded by log level guards. 2 428429
GuardLogStatement Logger calls should be surrounded by log level guards. 2 432
GuardLogStatement Logger calls should be surrounded by log level guards. 2 452
GuardLogStatement Logger calls should be surrounded by log level guards. 2 455
CloseResource Ensure that resources like this RandomAccessFile object are closed after use 3 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 495
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 496
GuardLogStatement Logger calls should be surrounded by log level guards. 2 498499
GuardLogStatement Logger calls should be surrounded by log level guards. 2 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 555
NPathComplexity The method 'renameTo(String)' has an NPath complexity of 200, current threshold is 200 3 565610
CyclomaticComplexity The method 'renameTo(String)' has a cyclomatic complexity of 12. 3 565610
CognitiveComplexity The method 'renameTo(String)' has a cognitive complexity of 19, current threshold is 15 3 565610
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 578
GuardLogStatement Logger calls should be surrounded by log level guards. 2 587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 595
CyclomaticComplexity The method 'renameTo(String, boolean)' has a cyclomatic complexity of 12. 3 632675
CognitiveComplexity The method 'renameTo(String, boolean)' has a cognitive complexity of 19, current threshold is 15 3 632675
NPathComplexity The method 'renameTo(String, boolean)' has an NPath complexity of 200, current threshold is 200 3 632675
GuardLogStatement Logger calls should be surrounded by log level guards. 2 653
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 656
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 661
GuardLogStatement Logger calls should be surrounded by log level guards. 2 671
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 691
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 697703

Waarp OpenR66 - org/waarp/openr66/context/filesystem/R66Restart.java

Rule Violation Priority Line
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 4647

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractExecJavaTask.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractExecTask.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 77
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 91
DataClass The class 'PrepareCommandExec' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=14) 3 106193
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 107
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 110
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 117
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 168
GuardLogStatement Logger calls should be surrounded by log level guards. 2 173175
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 185
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 199
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 200
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 201
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 202
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 203
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 204
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 205
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 205
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 206
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 207
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 215
CyclomaticComplexity The method 'invoke()' has a cyclomatic complexity of 10. 3 233293
CognitiveComplexity The method 'invoke()' has a cognitive complexity of 20, current threshold is 15 3 233293
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 254
GuardLogStatement Logger calls should be surrounded by log level guards. 2 254256
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
GuardLogStatement Logger calls should be surrounded by log level guards. 2 269271
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 287
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311312

Waarp OpenR66 - org/waarp/openr66/context/task/AbstractTask.java

Rule Violation Priority Line
CyclomaticComplexity The class 'AbstractTask' has a total cyclomatic complexity of 83 (highest 16). 3 47871
TooManyMethods This class has too many methods, consider refactoring it. 3 47871
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 208
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 213
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 218
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 223
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 232
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 236
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 260
GuardLogStatement Logger calls should be surrounded by log level guards. 2 297299
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 301
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 304
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 345
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 351
GuardLogStatement Logger calls should be surrounded by log level guards. 2 353
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 371
GuardLogStatement Logger calls should be surrounded by log level guards. 2 373
AvoidDuplicateLiterals The String literal "NoError" appears 4 times in this file; the first occurrence is on line 381 3 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388389
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 390
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 395396
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 395396
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 397
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 402403
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 402403
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 404
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 404
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 406
CyclomaticComplexity The method 'substitutePath(StringBuilder, DbTaskRunner)' has a cyclomatic complexity of 16. 3 411501
CognitiveComplexity The method 'substitutePath(StringBuilder, DbTaskRunner)' has a cognitive complexity of 38, current threshold is 15 3 411501
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 417
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 438
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 466
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 474
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 481
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 506
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 509510
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 510
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 514
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 519
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 521
AvoidDuplicateLiterals The String literal "unknown" appears 4 times in this file; the first occurrence is on line 523 3 523
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 529
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 532
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 563
AvoidDuplicateLiterals The String literal "nofile" appears 4 times in this file; the first occurrence is on line 574 3 574
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 589
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 591592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 604605
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 611
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 612
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 619620
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 621622
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 623624
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 625
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 628629
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 630
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 631
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 631
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 632633
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 637638
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 639
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 639
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 640
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 640
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 641642
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 645646
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 647
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 647
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 648
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 648
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 649650
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 651
ExcessiveMethodLength Avoid really long methods. 3 656769
CognitiveComplexity The method 'substitutePath(Map, DbTaskRunner, R66Dir)' has a cognitive complexity of 38, current threshold is 15 3 656769
CyclomaticComplexity The method 'substitutePath(Map, DbTaskRunner, R66Dir)' has a cyclomatic complexity of 16. 3 656769
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 661
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 662663
AvoidReassigningParameters Avoid reassigning parameters such as 'dir' 2 668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 670
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 671672
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 679
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 680681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 689690
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 697
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 698699
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 706
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 707708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 715
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 716717
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 724
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 725726
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 735736
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 743
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 744745
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 752
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 753754
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 761
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 762763
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 773774
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 775
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 779
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 779
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 782
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 784785
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 788789
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 790
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 791792
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 793
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 795796
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 797798
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 805
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 808
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 815816
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 818819
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 822
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 826827
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 829830
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 832833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 835836
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 839840
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 852853
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 855856
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 858859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 862863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 864865
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 866867

Waarp OpenR66 - org/waarp/openr66/context/task/AllLineReader.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 38
AssignmentInOperand Avoid assignments in operands 3 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51
EmptyCatchBlock Avoid empty catch blocks 3 5458

Waarp OpenR66 - org/waarp/openr66/context/task/ChModTask.java

Rule Violation Priority Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 3 82161
NPathComplexity The method 'run()' has an NPath complexity of 772, current threshold is 200 3 82161
CognitiveComplexity The method 'run()' has a cognitive complexity of 43, current threshold is 15 3 82161
NcssCount The method 'run()' has a NCSS line count of 67. 3 82161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8486
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8486
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 8486
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
GuardLogStatement Logger calls should be surrounded by log level guards. 2 156157

Waarp OpenR66 - org/waarp/openr66/context/task/CompressTask.java

Rule Violation Priority Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 3 55106
NPathComplexity The method 'run()' has an NPath complexity of 288, current threshold is 200 3 55106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 61
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 67
AvoidDuplicateLiterals The String literal "Compress" appears 4 times in this file; the first occurrence is on line 71 3 71
AvoidDuplicateLiterals The String literal "Decompress" appears 4 times in this file; the first occurrence is on line 71 3 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 74
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7475
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 78
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8789
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103
GuardLogStatement Logger calls should be surrounded by log level guards. 2 103104

Waarp OpenR66 - org/waarp/openr66/context/task/CopyRenameTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5557
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 67
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7274

Waarp OpenR66 - org/waarp/openr66/context/task/CopyTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5557
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 64
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7071

Waarp OpenR66 - org/waarp/openr66/context/task/DeleteTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5758
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 59

Waarp OpenR66 - org/waarp/openr66/context/task/ExecBusinessTask.java

Rule Violation Priority Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 25, current threshold is 15 3 4298
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 10. 3 4298
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
UnusedAssignment The value assigned to variable 'validate' is never used 3 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 74
GuardLogStatement Logger calls should be surrounded by log level guards. 2 77
GuardLogStatement Logger calls should be surrounded by log level guards. 2 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87

Waarp OpenR66 - org/waarp/openr66/context/task/ExecJavaTask.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
NPathComplexity The method 'run()' has an NPath complexity of 10240, current threshold is 200 3 71212
ExcessiveMethodLength Avoid really long methods. 3 71212
CognitiveComplexity The method 'run()' has a cognitive complexity of 50, current threshold is 15 3 71212
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 23. 3 71212
NcssCount The method 'run()' has a NCSS line count of 90. 3 71212
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7375
GuardLogStatement Logger calls should be surrounded by log level guards. 2 95
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 113
GuardLogStatement Logger calls should be surrounded by log level guards. 2 114115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135
GuardLogStatement Logger calls should be surrounded by log level guards. 2 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 135
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 146
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 148
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 151
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 156
EmptyWhileStmt Avoid empty while statements 3 163165
EmptyWhileStmt Avoid empty while statements 3 169171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 175
GuardLogStatement Logger calls should be surrounded by log level guards. 2 176177
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 197
GuardLogStatement Logger calls should be surrounded by log level guards. 2 198
GuardLogStatement Logger calls should be surrounded by log level guards. 2 207

Waarp OpenR66 - org/waarp/openr66/context/task/ExecMoveTask.java

Rule Violation Priority Line
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 3 72137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 91
CloseResource Ensure that resources like this PipedInputStream object are closed after use 3 106
CloseResource Ensure that resources like this PipedOutputStream object are closed after use 3 107
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
GuardLogStatement Logger calls should be surrounded by log level guards. 2 142143
GuardLogStatement Logger calls should be surrounded by log level guards. 2 150
GuardLogStatement Logger calls should be surrounded by log level guards. 2 157158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162
GuardLogStatement Logger calls should be surrounded by log level guards. 2 164165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 175
GuardLogStatement Logger calls should be surrounded by log level guards. 2 176177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 178
GuardLogStatement Logger calls should be surrounded by log level guards. 2 185186

Waarp OpenR66 - org/waarp/openr66/context/task/ExecOutputTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
CloseResource Ensure that resources like this PipedInputStream object are closed after use 3 113
CloseResource Ensure that resources like this PipedOutputStream object are closed after use 3 114
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 119
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 119
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 123
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
CognitiveComplexity The method 'finalizeExec(int, String, String)' has a cognitive complexity of 18, current threshold is 15 3 144196
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 155
GuardLogStatement Logger calls should be surrounded by log level guards. 2 160161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 169
GuardLogStatement Logger calls should be surrounded by log level guards. 2 170171
GuardLogStatement Logger calls should be surrounded by log level guards. 2 178179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183
GuardLogStatement Logger calls should be surrounded by log level guards. 2 185186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 188
GuardLogStatement Logger calls should be surrounded by log level guards. 2 190191
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 203
GuardLogStatement Logger calls should be surrounded by log level guards. 2 204205

Waarp OpenR66 - org/waarp/openr66/context/task/ExecTask.java

Rule Violation Priority Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 19, current threshold is 15 3 58130
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 3 58130
NPathComplexity The method 'run()' has an NPath complexity of 768, current threshold is 200 3 58130
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6465
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 69
CloseResource Ensure that resources like this PipedInputStream object are closed after use 3 88
CloseResource Ensure that resources like this PipedOutputStream object are closed after use 3 89
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 119
GuardLogStatement Logger calls should be surrounded by log level guards. 2 120
GuardLogStatement Logger calls should be surrounded by log level guards. 2 125
GuardLogStatement Logger calls should be surrounded by log level guards. 2 136137

Waarp OpenR66 - org/waarp/openr66/context/task/FileCheckTask.java

Rule Violation Priority Line
ExcessiveMethodLength Avoid really long methods. 3 73180
NcssCount The method 'run()' has a NCSS line count of 72. 3 73180
CognitiveComplexity The method 'run()' has a cognitive complexity of 33, current threshold is 15 3 73180
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 19. 3 73180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 77
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
GuardLogStatement Logger calls should be surrounded by log level guards. 2 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 98
GuardLogStatement Logger calls should be surrounded by log level guards. 2 126127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
GuardLogStatement Logger calls should be surrounded by log level guards. 2 130132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 134135
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 137
EmptyCatchBlock Avoid empty catch blocks 3 140142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
GuardLogStatement Logger calls should be surrounded by log level guards. 2 150152
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 154
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 155156
GuardLogStatement Logger calls should be surrounded by log level guards. 2 163165
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 167
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 168169

Waarp OpenR66 - org/waarp/openr66/context/task/FtpArgs.java

Rule Violation Priority Line
TooManyFields Too many fields 3 38374
GodClass Possible God Class (WMC=60, ATFD=85, TCC=3.743%) 3 38374
RedundantFieldInitializer Avoid using redundant field initializer for 'filepath' 3 102
RedundantFieldInitializer Avoid using redundant field initializer for 'filename' 3 103
RedundantFieldInitializer Avoid using redundant field initializer for 'requested' 3 104
RedundantFieldInitializer Avoid using redundant field initializer for 'user' 3 106
RedundantFieldInitializer Avoid using redundant field initializer for 'pwd' 3 107
RedundantFieldInitializer Avoid using redundant field initializer for 'acct' 3 108
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
AvoidFieldNameMatchingMethodName Field isPassive has the same name as a method 3 109
RedundantFieldInitializer Avoid using redundant field initializer for 'ssl' 3 110
RedundantFieldInitializer Avoid using redundant field initializer for 'cwd' 3 111
RedundantFieldInitializer Avoid using redundant field initializer for 'digest' 3 112
RedundantFieldInitializer Avoid using redundant field initializer for 'digestCommand' 3 114
RedundantFieldInitializer Avoid using redundant field initializer for 'codeCommand' 3 116
RedundantFieldInitializer Avoid using redundant field initializer for 'preArgs' 3 117
RedundantFieldInitializer Avoid using redundant field initializer for 'postArgs' 3 118
CognitiveComplexity The method 'getFtpArgs(String)' has a cognitive complexity of 28, current threshold is 15 3 137229
NcssCount The method 'getFtpArgs(String)' has a NCSS line count of 76. 3 137229
NPathComplexity The method 'getFtpArgs(String)' has an NPath complexity of 15361, current threshold is 200 3 137229
CyclomaticComplexity The method 'getFtpArgs(String)' has a cyclomatic complexity of 27. 3 137229
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 165
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208

Waarp OpenR66 - org/waarp/openr66/context/task/FtpTransferTask.java

Rule Violation Priority Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 38, current threshold is 15 3 110264
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 27. 3 110264
NcssCount The method 'run()' has a NCSS line count of 91. 3 110264
NPathComplexity The method 'run()' has an NPath complexity of 1534848, current threshold is 200 3 110264
ExcessiveMethodLength Avoid really long methods. 3 110264
GuardLogStatement Logger calls should be surrounded by log level guards. 2 113115
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 125
GuardLogStatement Logger calls should be surrounded by log level guards. 2 127128
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
GuardLogStatement Logger calls should be surrounded by log level guards. 2 171
GuardLogStatement Logger calls should be surrounded by log level guards. 2 183
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 221
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 233
GuardLogStatement Logger calls should be surrounded by log level guards. 2 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 260

Waarp OpenR66 - org/waarp/openr66/context/task/IcapTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 105106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 114
GuardLogStatement Logger calls should be surrounded by log level guards. 2 125127
AvoidDuplicateLiterals The String literal " and " appears 7 times in this file; the first occurrence is on line 127 3 127
GuardLogStatement Logger calls should be surrounded by log level guards. 2 132134
GuardLogStatement Logger calls should be surrounded by log level guards. 2 139141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 150152
GuardLogStatement Logger calls should be surrounded by log level guards. 2 157159
GuardLogStatement Logger calls should be surrounded by log level guards. 2 164166
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 179
CognitiveComplexity The method 'finalizeIcapOnError(String)' has a cognitive complexity of 28, current threshold is 15 3 179221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 182
JumbledIncrementer Avoid modifying an outer loop incrementer in an inner loop for update expression 3 182217
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 182
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 184
JumbledIncrementer Avoid modifying an outer loop incrementer in an inner loop for update expression 3 185187
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 185
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 185
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
GuardLogStatement Logger calls should be surrounded by log level guards. 2 196198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 199200
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202205
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 207208
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 210212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212

Waarp OpenR66 - org/waarp/openr66/context/task/LastLineReader.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
AssignmentInOperand Avoid assignments in operands 3 48
EmptyCatchBlock Avoid empty catch blocks 3 5458

Waarp OpenR66 - org/waarp/openr66/context/task/LinkRenameTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 77

Waarp OpenR66 - org/waarp/openr66/context/task/LogTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 73
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 73
GuardLogStatement Logger calls should be surrounded by log level guards. 2 85
GuardLogStatement Logger calls should be surrounded by log level guards. 2 88
CyclomaticComplexity The method 'runFor2Or3(String, WaarpLogLevel)' has a cyclomatic complexity of 11. 3 103151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 110
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 111
GuardLogStatement Logger calls should be surrounded by log level guards. 2 112
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 122
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 123
GuardLogStatement Logger calls should be surrounded by log level guards. 2 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 143
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144

Waarp OpenR66 - org/waarp/openr66/context/task/MoveRenameTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 60
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6567
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71

Waarp OpenR66 - org/waarp/openr66/context/task/MoveTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5760
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 62
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6870
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74

Waarp OpenR66 - org/waarp/openr66/context/task/RenameTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 60
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 70
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7375

Waarp OpenR66 - org/waarp/openr66/context/task/RescheduleTransferTask.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 147
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 3 162255
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 12. 3 162255
NPathComplexity The method 'run()' has an NPath complexity of 672, current threshold is 200 3 162255
GuardLogStatement Logger calls should be surrounded by log level guards. 2 175
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 192
GuardLogStatement Logger calls should be surrounded by log level guards. 2 196197
GuardLogStatement Logger calls should be surrounded by log level guards. 2 205206
GuardLogStatement Logger calls should be surrounded by log level guards. 2 227228
GuardLogStatement Logger calls should be surrounded by log level guards. 2 240242
GuardLogStatement Logger calls should be surrounded by log level guards. 2 251253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 264
NcssCount The method 'validateArgs(String)' has a NCSS line count of 125. 3 271438
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 271
NPathComplexity The method 'validateArgs(String)' has an NPath complexity of 24832, current threshold is 200 3 271438
ExcessiveMethodLength Avoid really long methods. 3 271438
CyclomaticComplexity The method 'validateArgs(String)' has a cyclomatic complexity of 36. 3 271438
CognitiveComplexity The method 'validateArgs(String)' has a cognitive complexity of 94, current threshold is 15 3 271438
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 275
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 288
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 315
GuardLogStatement Logger calls should be surrounded by log level guards. 2 326
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 336
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
GuardLogStatement Logger calls should be surrounded by log level guards. 2 370371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
CollapsibleIfStatements These nested if statements could be combined 3 375379
GuardLogStatement Logger calls should be surrounded by log level guards. 2 376377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 377
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 401
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 402
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 406
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 409
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 410
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 411
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 414
GuardLogStatement Logger calls should be surrounded by log level guards. 2 417418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 421
CollapsibleIfStatements These nested if statements could be combined 3 422426
GuardLogStatement Logger calls should be surrounded by log level guards. 2 423424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
GuardLogStatement Logger calls should be surrounded by log level guards. 2 431433
GuardLogStatement Logger calls should be surrounded by log level guards. 2 436
NPathComplexity The method 'getCalendar(String)' has an NPath complexity of 212, current threshold is 200 3 449543
CyclomaticComplexity The method 'getCalendar(String)' has a cyclomatic complexity of 23. 3 449543
NcssCount The method 'getCalendar(String)' has a NCSS line count of 75. 3 449543
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 449
CognitiveComplexity The method 'getCalendar(String)' has a cognitive complexity of 56, current threshold is 15 3 449543
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 453

Waarp OpenR66 - org/waarp/openr66/context/task/RestartServerTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 61
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6465
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 65
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 71
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7980
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 83
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 84
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 8788

Waarp OpenR66 - org/waarp/openr66/context/task/SnmpTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6669
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 6669
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 6869
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 7273

Waarp OpenR66 - org/waarp/openr66/context/task/SpooledInformTask.java

Rule Violation Priority Line
CyclomaticComplexity The class 'SpooledInformTask' has a total cyclomatic complexity of 82 (highest 17). 3 53657
TooManyMethods This class has too many methods, consider refactoring it. 3 53657
LooseCoupling Avoid using implementation types like 'TreeMap'; use the interface instead 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 17. 3 85164
CognitiveComplexity The method 'run()' has a cognitive complexity of 53, current threshold is 15 3 85164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9293
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9498
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 105106
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 108110
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 111113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 114
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 123124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 130131
GuardLogStatement Logger calls should be surrounded by log level guards. 2 137138
GuardLogStatement Logger calls should be surrounded by log level guards. 2 140141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
GuardLogStatement Logger calls should be surrounded by log level guards. 2 161
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 125 characters appended. 3 229
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 230231
CognitiveComplexity The method 'buildSpooledTableElement(boolean, int, StringBuilder, String)' has a cognitive complexity of 21, current threshold is 15 3 271341
NPathComplexity The method 'buildSpooledTableElement(boolean, int, StringBuilder, String)' has an NPath complexity of 216, current threshold is 200 3 271341
CyclomaticComplexity The method 'buildSpooledTableElement(boolean, int, StringBuilder, String)' has a cyclomatic complexity of 12. 3 271341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 279
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 292
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 301
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 364
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 371
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 375
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 499
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 500
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 503
CyclomaticComplexity The method 'buildSpooledJsonElement(boolean, int, ArrayNode, String, boolean)' has a cyclomatic complexity of 13. 3 523594
CognitiveComplexity The method 'buildSpooledJsonElement(boolean, int, ArrayNode, String, boolean)' has a cognitive complexity of 29, current threshold is 15 3 523594
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 532
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 533
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 543
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 544
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 546
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 546
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 549
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 556
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 556
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 559
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 559
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 560
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 560
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 561
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 561
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 562
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 562
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 563
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 564
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 564
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 565566
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 566
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 567
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 583584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 583584
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 589
NPathComplexity The method 'buildSpooledJsonFiles(ObjectNode, SpooledInformation, String, boolean)' has an NPath complexity of 388, current threshold is 200 3 601656
CognitiveComplexity The method 'buildSpooledJsonFiles(ObjectNode, SpooledInformation, String, boolean)' has a cognitive complexity of 22, current threshold is 15 3 601656
CyclomaticComplexity The method 'buildSpooledJsonFiles(ObjectNode, SpooledInformation, String, boolean)' has a cyclomatic complexity of 11. 3 601656
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 606
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 612
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 613
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 615
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 616
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 617
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 620
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 623
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 624
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 628
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 632
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 634
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 636
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 639
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 644
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 646
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 648
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 650
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 652

Waarp OpenR66 - org/waarp/openr66/context/task/TarTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9597

Waarp OpenR66 - org/waarp/openr66/context/task/TaskType.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 51
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7879
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 92
GuardLogStatement Logger calls should be surrounded by log level guards. 2 117118
CyclomaticComplexity The method 'getTaskFromId(TaskType, String, int, R66Session)' has a cyclomatic complexity of 29. 3 133240
ExcessiveMethodLength Avoid really long methods. 3 133240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 154
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 187
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 214
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 218
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232
GuardLogStatement Logger calls should be surrounded by log level guards. 2 237
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 265
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 265
GuardLogStatement Logger calls should be surrounded by log level guards. 2 266
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 267
GuardLogStatement Logger calls should be surrounded by log level guards. 2 269
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 270
CyclomaticComplexity The method 'getTaskFromIdForBusiness(String, String, int, R66Session)' has a cyclomatic complexity of 36. 3 287357
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 300
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 300
GuardLogStatement Logger calls should be surrounded by log level guards. 2 301
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 302
GuardLogStatement Logger calls should be surrounded by log level guards. 2 305
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 306
GuardLogStatement Logger calls should be surrounded by log level guards. 2 354

Waarp OpenR66 - org/waarp/openr66/context/task/TranscodeTask.java

Rule Violation Priority Line
NcssCount The method 'run()' has a NCSS line count of 85. 3 83197
ExcessiveMethodLength Avoid really long methods. 3 83197
CognitiveComplexity The method 'run()' has a cognitive complexity of 46, current threshold is 15 3 83197
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 26. 3 83197
NPathComplexity The method 'run()' has an NPath complexity of 6480, current threshold is 200 3 83197
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 97
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 102
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 107
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 112
GuardLogStatement Logger calls should be surrounded by log level guards. 2 126128
GuardLogStatement Logger calls should be surrounded by log level guards. 2 138139
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 144
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
GuardLogStatement Logger calls should be surrounded by log level guards. 2 153155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162
UnusedAssignment The initializer for variable 'finalname' is never used (overwritten on lines 165, 167 and 169) 3 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 172
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 177
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 177
GuardLogStatement Logger calls should be surrounded by log level guards. 2 183184
GuardLogStatement Logger calls should be surrounded by log level guards. 2 192193

Waarp OpenR66 - org/waarp/openr66/context/task/TransferTask.java

Rule Violation Priority Line
NPathComplexity The method 'run()' has an NPath complexity of 260, current threshold is 200 3 94189
CognitiveComplexity The method 'run()' has a cognitive complexity of 30, current threshold is 15 3 94189
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 14. 3 94189
NcssCount The method 'run()' has a NCSS line count of 61. 3 94189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124125
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 127
GuardLogStatement Logger calls should be surrounded by log level guards. 2 138140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 175178
GuardLogStatement Logger calls should be surrounded by log level guards. 2 185186

Waarp OpenR66 - org/waarp/openr66/context/task/UnzeroedFileTask.java

Rule Violation Priority Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 3 67104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 72
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 73
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 78
GuardLogStatement Logger calls should be surrounded by log level guards. 2 79
GuardLogStatement Logger calls should be surrounded by log level guards. 2 86
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 95
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9697

Waarp OpenR66 - org/waarp/openr66/context/task/ValidFilePathTask.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 68
GuardLogStatement Logger calls should be surrounded by log level guards. 2 81

Waarp OpenR66 - org/waarp/openr66/context/task/ZipTask.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 88
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9597

Waarp OpenR66 - org/waarp/openr66/context/task/javatask/AddDigestJavaTask.java

Rule Violation Priority Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 16, current threshold is 15 3 63131
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 3 63131
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 73
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 76
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 80
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 82
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 83
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
GuardLogStatement Logger calls should be surrounded by log level guards. 2 100101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 111112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 116117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 120
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
GuardLogStatement Logger calls should be surrounded by log level guards. 2 125

Waarp OpenR66 - org/waarp/openr66/context/task/javatask/AddUuidJavaTask.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 69
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 72
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 76
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8990
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
GuardLogStatement Logger calls should be surrounded by log level guards. 2 98

Waarp OpenR66 - org/waarp/openr66/context/task/localexec/LocalExecClient.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 61
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 62
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 123
GuardLogStatement Logger calls should be surrounded by log level guards. 2 129131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
GuardLogStatement Logger calls should be surrounded by log level guards. 2 152

Waarp OpenR66 - org/waarp/openr66/context/task/test/TestBusinessFactory.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 53
GuardLogStatement Logger calls should be surrounded by log level guards. 2 59
GuardLogStatement Logger calls should be surrounded by log level guards. 2 70
GuardLogStatement Logger calls should be surrounded by log level guards. 2 75
GuardLogStatement Logger calls should be surrounded by log level guards. 2 81
GuardLogStatement Logger calls should be surrounded by log level guards. 2 87
GuardLogStatement Logger calls should be surrounded by log level guards. 2 93
GuardLogStatement Logger calls should be surrounded by log level guards. 2 99
GuardLogStatement Logger calls should be surrounded by log level guards. 2 105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 111

Waarp OpenR66 - org/waarp/openr66/context/task/test/TestExecJavaTask.java

Rule Violation Priority Line
CognitiveComplexity The method 'run()' has a cognitive complexity of 26, current threshold is 15 3 4693
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 54
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 55
GuardLogStatement Logger calls should be surrounded by log level guards. 2 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 81
GuardLogStatement Logger calls should be surrounded by log level guards. 2 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 89
GuardLogStatement Logger calls should be surrounded by log level guards. 2 89

Waarp OpenR66 - org/waarp/openr66/dao/AbstractDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 33188

Waarp OpenR66 - org/waarp/openr66/dao/DAOFactory.java

Rule Violation Priority Line
NonThreadSafeSingleton Singleton is not thread safe 3 4143
NonThreadSafeSingleton Singleton is not thread safe 3 4749

Waarp OpenR66 - org/waarp/openr66/dao/Filter.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 32
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
UnusedPrivateField Avoid unused private fields such as 'specialOperand'. 3 36
ArrayIsStoredDirectly The user-supplied array 'values' is stored directly. 3 39
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 44
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 46
CognitiveComplexity The method 'append(StringBuilder)' has a cognitive complexity of 15, current threshold is 15 3 6993
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 73
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 74

Waarp OpenR66 - org/waarp/openr66/dao/TransferDAO.java

Rule Violation Priority Line
MissingOverride The method 'find(List, int)' is missing an @Override annotation. 3 4243
MissingOverride The method 'find(List, String, boolean)' is missing an @Override annotation. 3 6465
MissingOverride The method 'find(List, String, boolean, int)' is missing an @Override annotation. 3 7576
MissingOverride The method 'find(List, String, boolean, int, int)' is missing an @Override annotation. 3 8687
MissingOverride The method 'count(List)' is missing an @Override annotation. 3 98

Waarp OpenR66 - org/waarp/openr66/dao/database/DBBusinessDAO.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142

Waarp OpenR66 - org/waarp/openr66/dao/database/DBDAOFactory.java

Rule Violation Priority Line
CouplingBetweenObjects High amount of different objects as members denotes a high coupling 3 21518
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21518
ExcessivePublicCount This class has a bunch of public methods and attributes 3 21518
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 184
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 189
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 191
TooManyMethods This class has too many methods, consider refactoring it. 3 211517
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 212
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 344
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 467

Waarp OpenR66 - org/waarp/openr66/dao/database/DBHostDAO.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 150

Waarp OpenR66 - org/waarp/openr66/dao/database/DBLimitDAO.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131

Waarp OpenR66 - org/waarp/openr66/dao/database/DBRuleDAO.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 180
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 272

Waarp OpenR66 - org/waarp/openr66/dao/database/DBTransferDAO.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=58, ATFD=141, TCC=0.000%) 3 46476
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 213
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 214
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 275
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 295
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 315
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 350
CloseResource Ensure that resources like this ResultSet object are closed after use 3 351
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 372
CloseResource Ensure that resources like this ResultSet object are closed after use 3 373
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 393
CloseResource Ensure that resources like this ResultSet object are closed after use 3 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 404
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 420
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 450451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 452453

Waarp OpenR66 - org/waarp/openr66/dao/database/StatementExecutor.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 42606
CyclomaticComplexity The class 'StatementExecutor' has a total cyclomatic complexity of 120 (highest 12). 3 42606
GodClass Possible God Class (WMC=120, ATFD=11, TCC=15.508%) 3 42606
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 72
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 123
GuardLogStatement Logger calls should be surrounded by log level guards. 2 149150
GuardLogStatement Logger calls should be surrounded by log level guards. 2 161162
MissingOverride The method 'close()' is missing an @Override annotation. 3 166173
GuardLogStatement Logger calls should be surrounded by log level guards. 2 170171
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 208
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 227
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 239
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 255
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 260
UnusedLocalVariable Avoid unused local variables such as 'es'. 3 282
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 287
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 302
CloseResource Ensure that resources like this ResultSet object are closed after use 3 303
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 320
CyclomaticComplexity The method 'find(List, String, boolean, int, int)' has a cyclomatic complexity of 11. 3 364403
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 373
CloseResource Ensure that resources like this ResultSet object are closed after use 3 374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 385
UnusedLocalVariable Avoid unused local variables such as 'es'. 3 408
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 414
CloseResource Ensure that resources like this ResultSet object are closed after use 3 415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 420
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 431
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 434
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 447
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 459
CloseResource Ensure that resources like this ResultSet object are closed after use 3 460
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 496
CloseResource Ensure that resources like this ResultSet object are closed after use 3 497
CyclomaticComplexity The method 'select(String)' has a cyclomatic complexity of 12. 3 512549
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 530
CloseResource Ensure that resources like this ResultSet object are closed after use 3 531
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 541
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 564
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 590

Waarp OpenR66 - org/waarp/openr66/dao/database/h2/H2TransferDAO.java

Rule Violation Priority Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 41
EmptyCatchBlock Avoid empty catch blocks 3 5961

Waarp OpenR66 - org/waarp/openr66/dao/database/mariadb/MariaDBTransferDAO.java

Rule Violation Priority Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 44
EmptyCatchBlock Avoid empty catch blocks 3 6264

Waarp OpenR66 - org/waarp/openr66/dao/database/mysql/MySqlDBTransferDAO.java

Rule Violation Priority Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 45
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 46
EmptyCatchBlock Avoid empty catch blocks 3 6971

Waarp OpenR66 - org/waarp/openr66/dao/database/oracle/OracleTransferDAO.java

Rule Violation Priority Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 43
EmptyCatchBlock Avoid empty catch blocks 3 6163

Waarp OpenR66 - org/waarp/openr66/dao/database/postgres/PostgreSQLTransferDAO.java

Rule Violation Priority Line
CloseResource Ensure that resources like this PreparedStatement object are closed after use 3 44
EmptyCatchBlock Avoid empty catch blocks 3 6264

Waarp OpenR66 - org/waarp/openr66/dao/xml/SimpleVariableResolver.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLBusinessDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 33140
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 73 3 73

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLHostDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 53276
GodClass Possible God Class (WMC=70, ATFD=60, TCC=23.333%) 3 53276
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
CyclomaticComplexity The method 'getAll()' has a cyclomatic complexity of 12. 3 86116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
CyclomaticComplexity The method 'exist(String)' has a cyclomatic complexity of 12. 3 119147
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 152 3 152
CyclomaticComplexity The method 'select(String)' has a cyclomatic complexity of 14. 3 206243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 227
CyclomaticComplexity The method 'getFromNode(Node)' has a cyclomatic complexity of 10. 3 250275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 267
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 270
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 271

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLLimitDAO.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 33140
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 73 3 73

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLRuleDAO.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21340
GodClass Possible God Class (WMC=80, ATFD=77, TCC=16.959%) 3 58340
CyclomaticComplexity The class 'XMLRuleDAO' has a total cyclomatic complexity of 80 (highest 23). 3 58340
TooManyMethods This class has too many methods, consider refactoring it. 3 58340
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 89
CyclomaticComplexity The method 'getAll()' has a cyclomatic complexity of 13. 3 111146
GuardLogStatement Logger calls should be surrounded by log level guards. 2 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 141
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 7 times in this file; the first occurrence is on line 159 3 159
CognitiveComplexity The method 'getFromNode(Node)' has a cognitive complexity of 41, current threshold is 15 3 224276
CyclomaticComplexity The method 'getFromNode(Node)' has a cyclomatic complexity of 23. 3 224276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 235
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 286
CognitiveComplexity The method 'retrieveTasks(Node)' has a cognitive complexity of 36, current threshold is 15 3 291339
CyclomaticComplexity The method 'retrieveTasks(Node)' has a cyclomatic complexity of 12. 3 291339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 298
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 299
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 304
GuardLogStatement Logger calls should be surrounded by log level guards. 2 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 331

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLTransferDAO.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21607
GodClass Possible God Class (WMC=126, ATFD=176, TCC=20.443%) 3 60607
CyclomaticComplexity The class 'XMLTransferDAO' has a total cyclomatic complexity of 126 (highest 25). 3 60607
TooManyMethods This class has too many methods, consider refactoring it. 3 60607
AvoidDuplicateLiterals The String literal "='$" appears 4 times in this file; the first occurrence is on line 70 3 70
RedundantFieldInitializer Avoid using redundant field initializer for 'noFile' 3 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
CognitiveComplexity The method 'getAll()' has a cognitive complexity of 23, current threshold is 15 3 179227
CyclomaticComplexity The method 'getAll()' has a cyclomatic complexity of 16. 3 179227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
AvoidDuplicateLiterals The String literal "Operation not supported on XML DAO" appears 8 times in this file; the first occurrence is on line 247 3 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
CyclomaticComplexity The method 'select(long, String, String, String)' has a cyclomatic complexity of 17. 3 377422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 408
CyclomaticComplexity The method 'update(Transfer)' has a cyclomatic complexity of 25. 3 425497
NPathComplexity The method 'update(Transfer)' has an NPath complexity of 340, current threshold is 200 3 425497
CognitiveComplexity The method 'update(Transfer)' has a cognitive complexity of 37, current threshold is 15 3 425497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 445
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 451454
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 451
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 456
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 457458
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 457458
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 460
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 461462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 461462
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 464
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 464
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 464468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 465466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 465466
GuardLogStatement Logger calls should be surrounded by log level guards. 2 480482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 487
NcssCount The method 'getFromNode(Node)' has a NCSS line count of 68. 3 499551
CognitiveComplexity The method 'getFromNode(Node)' has a cognitive complexity of 23, current threshold is 15 3 499551
CyclomaticComplexity The method 'getFromNode(Node)' has a cyclomatic complexity of 23. 3 499551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 506
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 506
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 508
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 508
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 509
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 510
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 510
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 511
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 512
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 512
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 517
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 518
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 519
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 520
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 520
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 521
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 522
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 523
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 524
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 524
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 525
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 526
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 526
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 528
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 528
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 529
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 530
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 532
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 532
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 533
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 533
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 535
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 536
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 536
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 537
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 540
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 540
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 541
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 542
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 542
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 543
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 544
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 545
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 546
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 546
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 547
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 555556
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 557558
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 559560
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 561562
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 563564
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 565567
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 568570
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 571572
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 573574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 575576
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 577578
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 579580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 581582
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 583584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 585588
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 587588
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 589592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 591592
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 593594
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 595596
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 597598
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 598
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 599600
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 600
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 601602
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 602
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 603604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 604

Waarp OpenR66 - org/waarp/openr66/dao/xml/XMLUtils.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 51
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 58
GuardLogStatement Logger calls should be surrounded by log level guards. 2 68
GuardLogStatement Logger calls should be surrounded by log level guards. 2 70
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 71

Waarp OpenR66 - org/waarp/openr66/database/data/AbstractDbDataDao.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 48414
GodClass Possible God Class (WMC=72, ATFD=30, TCC=22.632%) 3 48414
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
CyclomaticComplexity The method 'validateLength(int, String...)' has a cyclomatic complexity of 12. 3 89121
MissingOverride The method 'getTable()' is missing an @Override annotation. 3 123
MissingOverride The method 'changeUpdatedInfo(AbstractDbData.UpdatedInfo)' is missing an @Override annotation. 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 276
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 280284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283
CognitiveComplexity The method 'setFromJson(ObjectNode, boolean)' has a cognitive complexity of 18, current threshold is 15 3 302335
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 305322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 308
GuardLogStatement Logger calls should be surrounded by log level guards. 2 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 316
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 320
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 320
GuardLogStatement Logger calls should be surrounded by log level guards. 2 331

Waarp OpenR66 - org/waarp/openr66/database/data/DbConfiguration.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=51, ATFD=45, TCC=1.282%) 3 50352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 11. 3 189221
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 276
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 285
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 290
AvoidDuplicateLiterals The String literal " > " appears 4 times in this file; the first occurrence is on line 291 3 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 299
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 338342
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 349
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 349

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostAuth.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20840
GodClass Possible God Class (WMC=133, ATFD=105, TCC=2.381%) 3 65840
CyclomaticComplexity The class 'DbHostAuth' has a total cyclomatic complexity of 133 (highest 15). 3 65840
AvoidUsingHardCodedIP Do not hard code the IP address 3 70
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 156
GuardLogStatement Logger calls should be surrounded by log level guards. 2 157
CyclomaticComplexity The method 'setFromJson(ObjectNode, boolean)' has a cyclomatic complexity of 12. 3 188224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 201202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 201202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 201202
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 203
GuardLogStatement Logger calls should be surrounded by log level guards. 2 220
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 15. 3 227277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 244
GuardLogStatement Logger calls should be surrounded by log level guards. 2 247248
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 269
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 313
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 351
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 400401
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 400401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 405
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 412
AvoidDuplicateLiterals The String literal " = '" appears 4 times in this file; the first occurrence is on line 443 3 443
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 443
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 451
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 454
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 461
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 463
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 464
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 490
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 498
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 498
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 501
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 506
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 565566
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 565566
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 568
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 579
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 582583
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 582583
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 584
LiteralsFirstInComparisons Position literals first in String comparisons 3 613
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 613
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 664
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 664
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 667668
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 667668
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 671
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 671
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 681
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 684685
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 684685
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 686
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 688
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 690
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 690
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 691
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 694
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 695696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 695696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 695696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 728
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 744
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 746
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 747
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 753
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 757761
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 757761
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 757760
CyclomaticComplexity The method 'toSpecializedHtml(R66Session, String, boolean)' has a cyclomatic complexity of 10. 3 783820
NPathComplexity The method 'toSpecializedHtml(R66Session, String, boolean)' has an NPath complexity of 384, current threshold is 200 3 783820
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 798
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 808809
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 814
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 831

Waarp OpenR66 - org/waarp/openr66/database/data/DbHostConfiguration.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201374
TooManyMethods This class has too many methods, consider refactoring it. 3 781374
ExcessiveClassLength Avoid really long classes. 3 781374
CyclomaticComplexity The class 'DbHostConfiguration' has a total cyclomatic complexity of 220 (highest 27). 3 781374
GodClass Possible God Class (WMC=220, ATFD=193, TCC=7.827%) 3 781374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 325
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 326
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 327
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 349
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 352
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 353
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354
NcssCount The method 'readValuesFromXml(String, XmlDecl)' has a NCSS line count of 71. 3 361455
CyclomaticComplexity The method 'readValuesFromXml(String, XmlDecl)' has a cyclomatic complexity of 27. 3 361455
CognitiveComplexity The method 'readValuesFromXml(String, XmlDecl)' has a cognitive complexity of 53, current threshold is 15 3 361455
NPathComplexity The method 'readValuesFromXml(String, XmlDecl)' has an NPath complexity of 39312, current threshold is 200 3 361455
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 361
GuardLogStatement Logger calls should be surrounded by log level guards. 2 363364
CloseResource Ensure that resources like this StringReader object are closed after use 3 368
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 371
GuardLogStatement Logger calls should be surrounded by log level guards. 2 373375
GuardLogStatement Logger calls should be surrounded by log level guards. 2 379380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 386
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 390392
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 394
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 400
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 402
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 415
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 415
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 417
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 422
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 424
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 436
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 439
EmptyCatchBlock Avoid empty catch blocks 3 446448
AvoidDuplicateLiterals The String literal "New Role: {}:{}" appears 4 times in this file; the first occurrence is on line 450 3 450
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 472
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 473
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 486
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 490
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 14. 3 502552
CognitiveComplexity The method 'setFromJson(String, JsonNode)' has a cognitive complexity of 23, current threshold is 15 3 502552
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 507
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 514
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 515
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 521
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 523
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 537
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 538
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 539
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 544
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 602
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 604
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 609
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 617
NPathComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has an NPath complexity of 324, current threshold is 200 3 640694
CyclomaticComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cyclomatic complexity of 11. 3 640694
CognitiveComplexity The method 'getFilterPrepareStament(DbSession, String, String, String, String, String)' has a cognitive complexity of 19, current threshold is 15 3 640694
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 640642
AvoidDuplicateLiterals The String literal " WHERE " appears 5 times in this file; the first occurrence is on line 649 3 649
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 649
AvoidDuplicateLiterals The String literal "%' " appears 8 times in this file; the first occurrence is on line 654 3 654
AvoidDuplicateLiterals The String literal " LIKE '%" appears 8 times in this file; the first occurrence is on line 654 3 654
AvoidDuplicateLiterals The String literal " AND " appears 4 times in this file; the first occurrence is on line 654 3 654
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 654
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 657
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 662
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 662
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 665
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 670
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 671
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 674
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 679
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 680
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 683
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 688
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 691
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 699
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 713
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 713
LooseCoupling Avoid using implementation types like 'HashSet'; use the interface instead 3 726
CloseResource Ensure that resources like this StringReader object are closed after use 3 729
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 732
GuardLogStatement Logger calls should be surrounded by log level guards. 2 734736
AvoidDuplicateLiterals The String literal "Unable to read the XML Config " appears 4 times in this file; the first occurrence is on line 735 3 735
AvoidDuplicateLiterals The String literal " string: " appears 4 times in this file; the first occurrence is on line 735 3 735
GuardLogStatement Logger calls should be surrounded by log level guards. 2 741742
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 746
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 749
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 752
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 754
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 755
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 780
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 788
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 792
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 794
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 794
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 797
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 801
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 804
NcssCount The method 'updateFromConfiguration(Configuration)' has a NCSS line count of 67. 3 815909
NPathComplexity The method 'updateFromConfiguration(Configuration)' has an NPath complexity of 1296, current threshold is 200 3 815909
CognitiveComplexity The method 'updateFromConfiguration(Configuration)' has a cognitive complexity of 51, current threshold is 15 3 815909
CyclomaticComplexity The method 'updateFromConfiguration(Configuration)' has a cyclomatic complexity of 18. 3 815909
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 817
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 820
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 828
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 831
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 834
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 835836
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 837
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 838
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 838
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 842
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 844
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 848
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 850
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 850
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 850
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 852
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 855
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 859
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 863864
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 865
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 866
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 866
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 869
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 870
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 876
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 878
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 878
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 878
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 880
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 880
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 886
GuardLogStatement Logger calls should be surrounded by log level guards. 2 888
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 889
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 889
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 891
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 894
GuardLogStatement Logger calls should be surrounded by log level guards. 2 905906
CognitiveComplexity The method 'updateMap(String, String, String, String, String, HashMap)' has a cognitive complexity of 17, current threshold is 15 3 923973
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 926
CloseResource Ensure that resources like this StringReader object are closed after use 3 929
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 932
GuardLogStatement Logger calls should be surrounded by log level guards. 2 934936
GuardLogStatement Logger calls should be surrounded by log level guards. 2 941942
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 946
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 957
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 958
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 963
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 968
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 969
CognitiveComplexity The method 'updateAlias(Configuration, String, boolean)' has a cognitive complexity of 40, current threshold is 15 3 9861066
NPathComplexity The method 'updateAlias(Configuration, String, boolean)' has an NPath complexity of 360, current threshold is 200 3 9861066
NcssCount The method 'updateAlias(Configuration, String, boolean)' has a NCSS line count of 62. 3 9861066
CyclomaticComplexity The method 'updateAlias(Configuration, String, boolean)' has a cyclomatic complexity of 17. 3 9861066
AvoidDuplicateLiterals The String literal " |\\|" appears 4 times in this file; the first occurrence is on line 992 3 992
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 996
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 997
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1009
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1011
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1012
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1012
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1015
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1017
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1017
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1023
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1025
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1033
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1035
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1035
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1036
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1038
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1042
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1045
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1049
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1051
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1051
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1057
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1061
NPathComplexity The method 'updateRoles(Configuration, String, boolean)' has an NPath complexity of 312, current threshold is 200 3 10791163
CognitiveComplexity The method 'updateRoles(Configuration, String, boolean)' has a cognitive complexity of 51, current threshold is 15 3 10791163
NcssCount The method 'updateRoles(Configuration, String, boolean)' has a NCSS line count of 60. 3 10791163
CyclomaticComplexity The method 'updateRoles(Configuration, String, boolean)' has a cyclomatic complexity of 19. 3 10791163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1089
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1101
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1109
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1113
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1117
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1117
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1119
EmptyCatchBlock Avoid empty catch blocks 3 11221124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1127
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1140
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1144
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1144
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 1149
EmptyCatchBlock Avoid empty catch blocks 3 11531155
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1202
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1245
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1253
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1253
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1256
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1278
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1281
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1302
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13041305
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1304
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13091310
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1309

Waarp OpenR66 - org/waarp/openr66/database/data/DbMultipleMonitor.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 199
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255

Waarp OpenR66 - org/waarp/openr66/database/data/DbRule.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201103
GodClass Possible God Class (WMC=176, ATFD=204, TCC=0.157%) 3 711103
TooManyMethods This class has too many methods, consider refactoring it. 3 711103
CyclomaticComplexity The class 'DbRule' has a total cyclomatic complexity of 176 (highest 20). 3 711103
ExcessiveClassLength Avoid really long classes. 3 711103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 145
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 175
ExcessiveParameterList Avoid long parameter lists. 3 195200
ExcessiveParameterList Avoid long parameter lists. 3 262270
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 270
AvoidReassigningParameters Avoid reassigning parameters such as 'idsArrayRef' 2 273
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 18. 3 317372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 390
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 507508
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 507508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 512
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 519
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 531
CloseResource Ensure that resources like this StringReader object are closed after use 3 547
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 550
GuardLogStatement Logger calls should be surrounded by log level guards. 2 555556
CloseResource Ensure that resources like this StringReader object are closed after use 3 579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 582
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 607
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 624
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 639
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 655
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 667
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 702
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 706
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 707
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 710
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 723
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 725
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 736
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 738
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 754
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 775
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 783
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 783
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 791
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 819
CyclomaticComplexity The method 'getInternalJson()' has a cyclomatic complexity of 12. 3 834870
NPathComplexity The method 'getInternalJson()' has an NPath complexity of 2048, current threshold is 200 3 834870
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 836
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 837
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 840
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 843
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 846
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 851
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 854
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 855
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 857
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 858
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 860
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 863
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 866
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 867
CognitiveComplexity The method 'toSpecializedHtml(R66Session, String)' has a cognitive complexity of 19, current threshold is 15 3 887946
NPathComplexity The method 'toSpecializedHtml(R66Session, String)' has an NPath complexity of 18432, current threshold is 200 3 887946
CyclomaticComplexity The method 'toSpecializedHtml(R66Session, String)' has a cyclomatic complexity of 20. 3 887946
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 894
AvoidDuplicateLiterals The String literal "checked" appears 8 times in this file; the first occurrence is on line 895 3 895
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 896
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 898
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 903
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 906
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 909
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 912
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 953
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 963
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 973
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 983
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1034
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 1079
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1083

Waarp OpenR66 - org/waarp/openr66/database/data/DbTaskRunner.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 204732
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 204732
ExcessiveClassLength Avoid really long classes. 3 1134732
NcssCount The class 'DbTaskRunner' has a NCSS line count of 2233 (Highest = 139). 3 1134732
TooManyMethods This class has too many methods, consider refactoring it. 3 1134732
GodClass Possible God Class (WMC=832, ATFD=878, TCC=6.018%) 3 1134732
CyclomaticComplexity The class 'DbTaskRunner' has a total cyclomatic complexity of 832 (highest 52). 3 1134732
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 236
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 238
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 240
AvoidFieldNameMatchingMethodName Field continueTransfer has the same name as a method 3 240
AvoidFieldNameMatchingMethodName Field isRecvThrough has the same name as a method 3 246
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 246
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 247
AvoidFieldNameMatchingMethodName Field isSendThrough has the same name as a method 3 247
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 249
RedundantFieldInitializer Avoid using redundant field initializer for 'transferMap' 3 250
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 269
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 305
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 327
GuardLogStatement Logger calls should be surrounded by log level guards. 2 353354
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 391
UnusedAssignment The value assigned to field 'rule' is never used (overwritten on line 416) 3 392
CyclomaticComplexity The constructor 'DbTaskRunner(R66Session, DbRule, long, String, String)' has a cyclomatic complexity of 12. 3 478513
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 491492
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 498499
CyclomaticComplexity The method 'setFromJson(ObjectNode, boolean)' has a cyclomatic complexity of 51. 3 589734
NcssCount The method 'setFromJson(ObjectNode, boolean)' has a NCSS line count of 124. 3 589734
ExcessiveMethodLength Avoid really long methods. 3 589734
CognitiveComplexity The method 'setFromJson(ObjectNode, boolean)' has a cognitive complexity of 46, current threshold is 15 3 589734
NPathComplexity The method 'setFromJson(ObjectNode, boolean)' has an NPath complexity of 52704, current threshold is 200 3 589734
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 600
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 600
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 603
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 606
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 609
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 612
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 612
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 615
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 615
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 618
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 621
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 624
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 627
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 633
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 635
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 640
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 643
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 646
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 649
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 652
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 655
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 659
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 662
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 665
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 668
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 672
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 675
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 675
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 676
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 681
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 693
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 693
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 705
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 705
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 714
AvoidDuplicateLiterals The String literal " = '" appears 10 times in this file; the first occurrence is on line 776 3 776
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 777
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 804
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 836
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 840
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 843
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 860
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 861
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 862
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 863864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 863864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 864
GuardLogStatement Logger calls should be surrounded by log level guards. 2 866867
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 873
CollapsibleIfStatements These nested if statements could be combined 3 873876
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 874875
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 874875
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 875
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 904
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 905
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 930
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 959
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 992
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 993
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1019
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1072
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1073
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1093
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1094
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1134
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1178
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11821183
EmptyCatchBlock Avoid empty catch blocks 3 12221224
ExcessiveMethodLength Avoid really long methods. 3 12641457
ExcessiveParameterList Avoid long parameter lists. 3 12641270
NPathComplexity The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has an NPath complexity of 473834592, current threshold is 200 3 12641457
NcssCount The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has a NCSS line count of 139. 3 12641457
CognitiveComplexity The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has a cognitive complexity of 90, current threshold is 15 3 12641457
CyclomaticComplexity The method 'getFilterCondition(DbPreparedStatement, String, int, String, String, String, String, Timestamp, Timestamp, String, String, boolean, boolean, boolean, boolean, boolean)' has a cyclomatic complexity of 52. 3 12641457
AvoidDuplicateLiterals The String literal " WHERE " appears 16 times in this file; the first occurrence is on line 1 279 3 1279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12821284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12821284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12821284
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1296
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1302
AvoidDuplicateLiterals The String literal " >= ? " appears 8 times in this file; the first occurrence is on line 1 302 3 1302
AvoidDuplicateLiterals The String literal " <= ? " appears 4 times in this file; the first occurrence is on line 1 308 3 1308
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1308
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1316
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1322
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1335
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1348
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1352
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1356
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1357
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1358
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1362
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1363
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1367
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1370
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1371
AvoidDuplicateLiterals The String literal " = " appears 10 times in this file; the first occurrence is on line 1 371 3 1371
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1372
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1374
AvoidDuplicateLiterals The String literal " IN(" appears 4 times in this file; the first occurrence is on line 1 374 3 1374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1376
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1378
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1386
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1388
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1390
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1392
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1394
UnusedAssignment The value assigned to variable 'hasCondition' is never used 3 1405
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1406
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14131414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14131414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14131414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1431
EmptyCatchBlock Avoid empty catch blocks 3 14381440
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1441
EmptyCatchBlock Avoid empty catch blocks 3 14481450
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1451
ExcessiveParameterList Avoid long parameter lists. 3 14801485
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 14801485
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 15141519
ExcessiveParameterList Avoid long parameter lists. 3 15141519
UnusedAssignment The initializer for variable 'orderby' is never used (overwritten on lines 1532 and 1534) 3 1525
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1528
AvoidDuplicateLiterals The String literal " DESC " appears 6 times in this file; the first occurrence is on line 1 532 3 1532
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1532
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1534
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1557
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1580
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1586
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1599
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16271628
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 16271628
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1632
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1645
AvoidDuplicateLiterals The String literal ") FROM " appears 6 times in this file; the first occurrence is on line 1 666 3 1666
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1666
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1667
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1668
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1686
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1689
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1718
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1721
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1722
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1724
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1725
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1745
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1747
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1749
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1767
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1770
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1800
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1802
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1802
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1803
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1803
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1804
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1806
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1807
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1830
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1833
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1834
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1836
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1838
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1841
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1843
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1845
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1847
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1847
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1848
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1849
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1872
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1875
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1876
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1878
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1880
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1883
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1885
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1887
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1889
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1889
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1891
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1891
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1892
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1910
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1937
GuardLogStatement Logger calls should be surrounded by log level guards. 2 19391940
CyclomaticComplexity The method 'getLogPrepareStatement(DbSession, Timestamp, Timestamp)' has a cyclomatic complexity of 11. 3 19572003
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1965
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1966
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1969
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1970
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1976
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1977
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1978
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1981
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1987
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1988
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1989
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1992
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1998
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1999
CyclomaticComplexity The method 'purgeLogPrepareStatement(DbSession, Timestamp, Timestamp)' has a cyclomatic complexity of 11. 3 20182068
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2026
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2028
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2031
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2032
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2035
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2036
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2042
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 2042
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2045
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 2051
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2051
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2054
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 20902101
ExcessiveParameterList Avoid long parameter lists. 3 20902101
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2122
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2159
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 21662167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2200
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 2214
GuardLogStatement Logger calls should be surrounded by log level guards. 2 22692270
CyclomaticComplexity The method 'restart(boolean)' has a cyclomatic complexity of 11. 3 22952327
EmptyIfStmt Avoid empty if statements 3 22992301
ImplicitSwitchFallThrough A switch statement does not contain a break 3 23392347
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2351
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2353
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2366
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2475
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2569
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2592
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2594
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2594
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2595
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2598
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 2601
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2657
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2660
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2664
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2680
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2692
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2702
SimplifiedTernary Ternary operators that can be simplified with || or && 3 2753
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2789
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2807
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2850
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2869
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2876
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2883
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 29472948
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2948
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 29672968
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2968
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3030
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3030
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3057
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 30583059
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3059
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 3083
CyclomaticComplexity The method 'runNextTask(String)' has a cyclomatic complexity of 20. 3 30833142
NPathComplexity The method 'runNextTask(String)' has an NPath complexity of 8640, current threshold is 200 3 30833142
CognitiveComplexity The method 'runNextTask(String)' has a cognitive complexity of 23, current threshold is 15 3 30833142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 31103111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3134
CollapsibleIfStatements These nested if statements could be combined 3 31363138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 3161
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 31623163
CognitiveComplexity The method 'runNext()' has a cognitive complexity of 34, current threshold is 15 3 31753238
CyclomaticComplexity The method 'runNext()' has a cyclomatic complexity of 23. 3 31753238
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3182
CognitiveComplexity The method 'run()' has a cognitive complexity of 25, current threshold is 15 3 32453299
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 17. 3 32453299
NPathComplexity The method 'run()' has an NPath complexity of 294, current threshold is 200 3 32453299
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 3252
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 3252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3286
GuardLogStatement Logger calls should be surrounded by log level guards. 2 3286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3293
AvoidReassigningParameters Avoid reassigning parameters such as 'localChannelReference' 2 3328
CyclomaticComplexity The method 'internalFinalizeValid(LocalChannelReference, R66File, R66Result)' has a cyclomatic complexity of 12. 3 33423402
EmptyIfStmt Avoid empty if statements 3 33533355
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3361
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3370
GuardLogStatement Logger calls should be surrounded by log level guards. 2 33973398
CyclomaticComplexity The method 'finalizeReceiver(LocalChannelReference, R66File, R66Result)' has a cyclomatic complexity of 14. 3 34043462
CognitiveComplexity The method 'finalizeReceiver(LocalChannelReference, R66File, R66Result)' has a cognitive complexity of 21, current threshold is 15 3 34043462
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 34313434
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3433
CyclomaticComplexity The method 'resultFileMove(LocalChannelReference, R66File, R66Result)' has a cyclomatic complexity of 11. 3 34643516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3471
NPathComplexity The method 'errorTransfer(R66Result, R66File, LocalChannelReference)' has an NPath complexity of 1200, current threshold is 200 3 35273605
CyclomaticComplexity The method 'errorTransfer(R66Result, R66File, LocalChannelReference)' has a cyclomatic complexity of 16. 3 35273605
CognitiveComplexity The method 'errorTransfer(R66Result, R66File, LocalChannelReference)' has a cognitive complexity of 23, current threshold is 15 3 35273605
GuardLogStatement Logger calls should be surrounded by log level guards. 2 35333534
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3534
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3536
GuardLogStatement Logger calls should be surrounded by log level guards. 2 3537
GuardLogStatement Logger calls should be surrounded by log level guards. 2 3540
GuardLogStatement Logger calls should be surrounded by log level guards. 2 35563557
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 35693570
EmptyCatchBlock Avoid empty catch blocks 3 35763578
GuardLogStatement Logger calls should be surrounded by log level guards. 2 3623
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3679
GuardLogStatement Logger calls should be surrounded by log level guards. 2 36833684
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3700
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3700
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3715
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3723
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3733
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3739
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3740
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3802
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3807
GuardLogStatement Logger calls should be surrounded by log level guards. 2 3811
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3821
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3821
ImplicitSwitchFallThrough A switch statement does not contain a break 3 38283849
ImplicitSwitchFallThrough A switch statement does not contain a break 3 38553877
AvoidDuplicateLiterals The String literal "</td><td>" appears 12 times in this file; the first occurrence is on line 3 892 3 3892
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3897
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3936
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3939
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3940
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3948
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3951
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3952
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3963
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3963
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39643965
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3965
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39673968
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3968
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39693970
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3970
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3979
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3980
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3988
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3988
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39893990
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3990
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3991
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3991
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 39923993
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3993
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4021
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4036
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4047
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4047
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40484049
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4049
CyclomaticComplexity The method 'getValue(DbTaskRunner, String)' has a cyclomatic complexity of 24. 3 40854136
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 4087
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4090
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4090
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4092
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4092
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4094
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4096
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4098
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4098
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4110
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4149
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 4152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4183
AvoidDuplicateLiterals The String literal ": {}" appears 5 times in this file; the first occurrence is on line 4 192 3 4192
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4192
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 41934194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4221
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 42214222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4222
AvoidDuplicateLiterals The String literal "Running" appears 4 times in this file; the first occurrence is on line 4 224 3 4224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 42384241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 42384241
CyclomaticComplexity The method 'writeXMLWriter(DbPreparedStatement, String)' has a cyclomatic complexity of 16. 3 42574320
CognitiveComplexity The method 'writeXMLWriter(DbPreparedStatement, String)' has a cognitive complexity of 21, current threshold is 15 3 42574320
CloseResource Ensure that resources like this OutputStream object are closed after use 3 4262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4268
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4274
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 4275
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4277
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 4278
DoNotThrowExceptionInFinally A throw statement in a finally block makes the control flow hard to understand. 4 42794318
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4291
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 42924293
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4300
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 43014302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4354
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4365
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4375
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4375
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4376
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 43774378
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4377
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4385
ExcessiveMethodLength Avoid really long methods. 3 43964497
NcssCount The method 'setFromJson(String, JsonNode)' has a NCSS line count of 91. 3 43964497
CyclomaticComplexity The method 'setFromJson(String, JsonNode)' has a cyclomatic complexity of 31. 3 43964497
CognitiveComplexity The method 'setFromJson(String, JsonNode)' has a cognitive complexity of 28, current threshold is 15 3 43964497
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4415
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4418
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4438
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 4462
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 4475
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4479
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 4484
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4491
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4504
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4504
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4506
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4526
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4526
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4531
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 4531
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4533
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4539
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4541
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 4543
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4566
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 4567
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4570
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4571
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4571
CyclomaticComplexity The method 'loadXml(File)' has a cyclomatic complexity of 10. 3 46074641
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4621
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 4625
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4728

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelFactoryR66.java

Rule Violation Priority Line
CyclomaticComplexity The class 'DbModelFactoryR66' has a total cyclomatic complexity of 101 (highest 21). 3 53786
GodClass Possible God Class (WMC=101, ATFD=154, TCC=0.000%) 3 53786
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 7173
ExcessiveMethodLength Avoid really long methods. 3 101203
CyclomaticComplexity The method 'needUpgradeDbAllDb(DbTypeResolver, DbSession, String)' has a cyclomatic complexity of 17. 3 101203
CognitiveComplexity The method 'needUpgradeDbAllDb(DbTypeResolver, DbSession, String)' has a cognitive complexity of 28, current threshold is 15 3 101203
NPathComplexity The method 'needUpgradeDbAllDb(DbTypeResolver, DbSession, String)' has an NPath complexity of 6750, current threshold is 200 3 101203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118
AvoidReassigningParameters Avoid reassigning parameters such as 'version' 2 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
AvoidDuplicateLiterals The String literal " = " appears 4 times in this file; the first occurrence is on line 139 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 145
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 152
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 162
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 194
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197
NPathComplexity The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has an NPath complexity of 147456, current threshold is 200 3 205337
ExcessiveMethodLength Avoid really long methods. 3 205337
CognitiveComplexity The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has a cognitive complexity of 19, current threshold is 15 3 205337
NcssCount The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has a NCSS line count of 68. 3 205337
CyclomaticComplexity The method 'subCreateTableMariaDbMySQLH2PostgreSQL(DbTypeResolver, DbSession, String, String, String)' has a cyclomatic complexity of 19. 3 205337
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 222
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 256
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 297
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 58 characters appended. 3 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 344345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 361
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 372
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 392
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 401
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 409
GuardLogStatement Logger calls should be surrounded by log level guards. 2 410
ExcessiveMethodLength Avoid really long methods. 3 415551
NPathComplexity The method 'createIndex30(DbTypeResolver, DbRequest)' has an NPath complexity of 72576, current threshold is 200 3 415551
CyclomaticComplexity The method 'createIndex30(DbTypeResolver, DbRequest)' has a cyclomatic complexity of 21. 3 415551
NcssCount The method 'createIndex30(DbTypeResolver, DbRequest)' has a NCSS line count of 85. 3 415551
CognitiveComplexity The method 'createIndex30(DbTypeResolver, DbRequest)' has a cognitive complexity of 24, current threshold is 15 3 415551
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 433
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 437
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 440
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 455
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 462
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 476
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 480
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 483
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 497
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 501
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 504
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 511512
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 518
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 522
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 525
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 532
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 540
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 540
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 541
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 544
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 547
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 570
AvoidDuplicateLiterals The String literal " NOT NULL " appears 5 times in this file; the first occurrence is on line 584 3 584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 592
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 603
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 608
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 611
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 625
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 633
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 639
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 640
CognitiveComplexity The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has a cognitive complexity of 26, current threshold is 15 3 643785
CyclomaticComplexity The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has a cyclomatic complexity of 17. 3 643785
ExcessiveMethodLength Avoid really long methods. 3 643785
NcssCount The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has a NCSS line count of 72. 3 643785
NPathComplexity The method 'upgradeDbMariaDbMySQL(DbTypeResolver, DbSession, String)' has an NPath complexity of 18000, current threshold is 200 3 643785
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 648
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 652
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 653654
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 654
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 654 3 654
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 663
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 673
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 679
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 680681
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 681
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 685
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 687
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 690
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 697
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 698699
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 699
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 703
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 705
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 708
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 711
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 718
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 720
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 723
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 726
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 733
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 734735
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 735
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 737
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 739
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 745
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 747
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 754
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 755756
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 756
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 768
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 771
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 774
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 782
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 783

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelH2R66.java

Rule Violation Priority Line
AvoidDuplicateLiterals The String literal " NOT NULL " appears 5 times in this file; the first occurrence is on line 62 3 62
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 90
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 94
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 106
NPathComplexity The method 'upgradeDb(DbSession, String)' has an NPath complexity of 28000, current threshold is 200 3 110268
CyclomaticComplexity The method 'upgradeDb(DbSession, String)' has a cyclomatic complexity of 16. 3 110268
CognitiveComplexity The method 'upgradeDb(DbSession, String)' has a cognitive complexity of 24, current threshold is 15 3 110268
ExcessiveMethodLength Avoid really long methods. 3 110268
NcssCount The method 'upgradeDb(DbSession, String)' has a NCSS line count of 89. 3 110268
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 119 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 128
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 150151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
AvoidDuplicateLiterals The String literal "ALTER TABLE " appears 5 times in this file; the first occurrence is on line 153 3 153
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
AvoidDuplicateLiterals The String literal "Command: " appears 6 times in this file; the first occurrence is on line 160 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 171172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 208209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 217
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelOracleR66.java

Rule Violation Priority Line
CognitiveComplexity The method 'createTables(DbSession)' has a cognitive complexity of 25, current threshold is 15 3 63275
CyclomaticComplexity The method 'createTables(DbSession)' has a cyclomatic complexity of 25. 3 63275
NPathComplexity The method 'createTables(DbSession)' has an NPath complexity of 18874368, current threshold is 200 3 63275
NcssCount The method 'createTables(DbSession)' has a NCSS line count of 125. 3 63275
ExcessiveMethodLength Avoid really long methods. 3 63275
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 22 characters appended. 3 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 76
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 8284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 87
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 119121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 20 characters appended. 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 147149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 152
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 174176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 194
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 199201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 17, but has at least 47 characters appended. 3 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 274
NPathComplexity The method 'upgradeDb(DbSession, String)' has an NPath complexity of 11200, current threshold is 200 3 278421
ExcessiveMethodLength Avoid really long methods. 3 278421
CyclomaticComplexity The method 'upgradeDb(DbSession, String)' has a cyclomatic complexity of 15. 3 278421
CognitiveComplexity The method 'upgradeDb(DbSession, String)' has a cognitive complexity of 22, current threshold is 15 3 278421
NcssCount The method 'upgradeDb(DbSession, String)' has a NCSS line count of 76. 3 278421
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 286287
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 287 3 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 297
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 303305
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 308
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 313
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 321322
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 322
AvoidDuplicateLiterals The String literal "ALTER TABLE " appears 4 times in this file; the first occurrence is on line 323 3 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 324
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 326
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 339
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 340341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 343
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 345
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 351
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 358
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 371
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 372373
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 376
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 377
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 378
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 380
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 387
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 394
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 395396
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 396
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 404
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 407
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 410
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 418
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 419

Waarp OpenR66 - org/waarp/openr66/database/model/DbModelPostgresqlR66.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 64
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 67
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 69
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
NPathComplexity The method 'upgradeDb(DbSession, String)' has an NPath complexity of 22400, current threshold is 200 3 121275
NcssCount The method 'upgradeDb(DbSession, String)' has a NCSS line count of 80. 3 121275
CognitiveComplexity The method 'upgradeDb(DbSession, String)' has a cognitive complexity of 23, current threshold is 15 3 121275
ExcessiveMethodLength Avoid really long methods. 3 121275
CyclomaticComplexity The method 'upgradeDb(DbSession, String)' has a cyclomatic complexity of 16. 3 121275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136137
AvoidDuplicateLiterals The String literal " to " appears 5 times in this file; the first occurrence is on line 137 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168169
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
AvoidDuplicateLiterals The String literal "ALTER TABLE " appears 4 times in this file; the first occurrence is on line 171 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 188
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 224225
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
AvoidDuplicateLiterals The String literal " ALTER COLUMN " appears 5 times in this file; the first occurrence is on line 227 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 230
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 258
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273

Waarp OpenR66 - org/waarp/openr66/pojo/Business.java

Rule Violation Priority Line
DataClass The class 'Business' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=12, WMC=16) 3 34133
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 40

Waarp OpenR66 - org/waarp/openr66/pojo/Host.java

Rule Violation Priority Line
DataClass The class 'Host' is suspected to be a Data Class (WOC=10.714%, NOPA=0, NOAM=20, WMC=28) 3 43224
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
ExcessiveParameterList Avoid long parameter lists. 3 9093
ArrayIsStoredDirectly The user-supplied array 'hostkey' is stored directly. 3 100
MethodReturnsInternalArray Returning 'hostkey' may expose an internal array. 3 160
ArrayIsStoredDirectly The user-supplied array 'hostkey' is stored directly. 3 173

Waarp OpenR66 - org/waarp/openr66/pojo/Limit.java

Rule Violation Priority Line
DataClass The class 'Limit' is suspected to be a Data Class (WOC=5.263%, NOPA=0, NOAM=14, WMC=19) 3 34151

Waarp OpenR66 - org/waarp/openr66/pojo/MultipleMonitor.java

Rule Violation Priority Line
DataClass The class 'MultipleMonitor' is suspected to be a Data Class (WOC=9.091%, NOPA=0, NOAM=8, WMC=11) 3 3396

Waarp OpenR66 - org/waarp/openr66/pojo/Rule.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=56, ATFD=6, TCC=5.960%) 3 57420
ExcessiveParameterList Avoid long parameter lists. 3 170176
ExcessiveParameterList Avoid long parameter lists. 3 183188
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 25, but has at least 36 characters appended. 3 241
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 314

Waarp OpenR66 - org/waarp/openr66/pojo/RuleTask.java

Rule Violation Priority Line
DataClass The class 'RuleTask' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=6, WMC=10) 3 3693
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 60
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 61

Waarp OpenR66 - org/waarp/openr66/pojo/Transfer.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 21543
TooManyFields Too many fields 3 53543
UnusedPrivateField Avoid unused private fields such as 'logger'. 3 57
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
ExcessiveParameterList Avoid long parameter lists. 3 232242
ExcessiveParameterList Avoid long parameter lists. 3 275284

Waarp OpenR66 - org/waarp/openr66/pojo/UpdatedInfo.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 61
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 8183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 90

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Configuration.java

Rule Violation Priority Line
CouplingBetweenObjects High amount of different objects as members denotes a high coupling 3 202932
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 202932
ExcessivePublicCount This class has a bunch of public methods and attributes 3 202932
TooManyMethods This class has too many methods, consider refactoring it. 3 1192932
CyclomaticComplexity The class 'Configuration' has a total cyclomatic complexity of 348 (highest 15). 3 1192932
ExcessiveClassLength Avoid really long classes. 3 1192932
TooManyFields Too many fields 3 1192932
GodClass Possible God Class (WMC=348, ATFD=97, TCC=0.909%) 3 1192932
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 132
MutableStaticState Do not use non-final non-private static fields 3 132
LooseCoupling Avoid using implementation types like 'HashSet'; use the interface instead 3 204
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 208
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 213
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 217
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 240
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 307
RedundantFieldInitializer Avoid using redundant field initializer for 'serverAddresses' 3 307
RedundantFieldInitializer Avoid using redundant field initializer for 'serverSslAddresses' 3 312
RedundantFieldInitializer Avoid using redundant field initializer for 'serverHttpAddresses' 3 317
RedundantFieldInitializer Avoid using redundant field initializer for 'serverHttpsAddresses' 3 322
AvoidFieldNameMatchingMethodName Field isShutdown has the same name as a method 3 392
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 392
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 457
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 463
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 467
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 471
AvoidFieldNameMatchingMethodName Field isServer has the same name as a method 3 476
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 476
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 481
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 481
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 484
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 484
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 485
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 485
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 486
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 486
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 487
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 487
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 488
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 488
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 489
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 489
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 494
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 494
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 499
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 504
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 508
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 512
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 517
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 521
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 526
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 531
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 534
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 538
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 543
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 547
AvoidFieldNameMatchingMethodName Field isExecuteErrorBeforeTransferAllowed has the same name as a method 3 618
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 618
AvoidFieldNameMatchingMethodName Field isHostProxyfied has the same name as a method 3 623
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 623
RedundantFieldInitializer Avoid using redundant field initializer for 'transferGuid' 3 627
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 637
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 637
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterTransfers' 3 637
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 639
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 640
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterUrl' 3 640
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterEndPoint' 3 641
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 641
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 642
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 643
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorExporterKeepConnection' 3 643
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 644
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorTransformLongAsString' 3 645
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 645
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 646
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorBasicAuthent' 3 646
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorUsername' 3 647
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 647
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorPwd' 3 648
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 648
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorToken' 3 649
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 649
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorApiKey' 3 650
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 650
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 651
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorPrefix' 3 651
RedundantFieldInitializer Avoid using redundant field initializer for 'monitorIndex' 3 652
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 652
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 653
RedundantFieldInitializer Avoid using redundant field initializer for 'compressionAvailable' 3 655
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 663
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 666
CyclomaticComplexity The constructor 'Configuration()' has a cyclomatic complexity of 10. 3 669743
NPathComplexity The constructor 'Configuration()' has an NPath complexity of 384, current threshold is 200 3 669743
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 673
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 676
GuardLogStatement Logger calls should be surrounded by log level guards. 2 684685
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 727
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 733
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 745
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 750
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 752
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 764766
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 768
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 788
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 806
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 806
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 808
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 808
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 810
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 810
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 812
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 812
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 819
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 820
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 821
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 821
GuardLogStatement Logger calls should be surrounded by log level guards. 2 822823
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 823
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 827
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 828
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 831
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 833
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 833
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 839
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 842
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 843
GuardLogStatement Logger calls should be surrounded by log level guards. 2 852853
GuardLogStatement Logger calls should be surrounded by log level guards. 2 855856
GuardLogStatement Logger calls should be surrounded by log level guards. 2 858859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 859
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 875
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 875
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 893
GuardLogStatement Logger calls should be surrounded by log level guards. 2 899
GuardLogStatement Logger calls should be surrounded by log level guards. 2 901
GuardLogStatement Logger calls should be surrounded by log level guards. 2 918919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 939
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 940
GuardLogStatement Logger calls should be surrounded by log level guards. 2 967971
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 973
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 990
GuardLogStatement Logger calls should be surrounded by log level guards. 2 991992
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1006
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10071008
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1021
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10291032
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10761078
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1097
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1121
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1134
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1138
CyclomaticComplexity The method 'shutdownGracefully()' has a cyclomatic complexity of 15. 3 11421172
CognitiveComplexity The method 'shutdownGracefully()' has a cognitive complexity of 21, current threshold is 15 3 11421172
NPathComplexity The method 'shutdownGracefully()' has an NPath complexity of 1215, current threshold is 200 3 11421172
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1144
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1147
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1150
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1153
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1156
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1160
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1167
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1169
NPathComplexity The method 'shutdownQuickly()' has an NPath complexity of 729, current threshold is 200 3 11741193
CyclomaticComplexity The method 'shutdownQuickly()' has a cyclomatic complexity of 13. 3 11741193
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1176
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1179
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1182
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1185
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1188
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1191
NPathComplexity The method 'serverStop()' has an NPath complexity of 216, current threshold is 200 3 12001235
CyclomaticComplexity The method 'serverStop()' has a cyclomatic complexity of 10. 3 12001235
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1219
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1222
CollapsibleIfStatements These nested if statements could be combined 3 12271229
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1228
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1257
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1263
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1273
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1306
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1308
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1318
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1332
AvoidReassigningParameters Avoid reassigning parameters such as 'writeGlobalLimit' 2 1352
AvoidReassigningParameters Avoid reassigning parameters such as 'readGlobalLimit' 2 1355
AvoidReassigningParameters Avoid reassigning parameters such as 'writeSessionLimit' 2 1358
AvoidReassigningParameters Avoid reassigning parameters such as 'readSessionLimit' 2 1361
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13831384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1394
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1396
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13991400
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1413
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1456
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1463
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1470
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1477
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1484
MethodReturnsInternalArray Returning 'serverAdminKey' may expose an internal array. 3 1506
ArrayIsStoredDirectly The user-supplied array 'serverkey' is stored directly. 3 1526
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1571
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1571
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1579
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1580
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1581
AvoidDuplicateLiterals The String literal " : {}" appears 5 times in this file; the first occurrence is on line 1 581 3 1581
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1584
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1585
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1586
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1589
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1590
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1591
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1594
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1595
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1596
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1599
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1600
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1601
MethodReturnsInternalArray Returning 'serverAddresses' may expose an internal array. 3 1931
ArrayIsStoredDirectly The user-supplied array 'serverAddresses' is stored directly. 3 1937
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 1937
MethodReturnsInternalArray Returning 'serverSslAddresses' may expose an internal array. 3 1945
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 1951
ArrayIsStoredDirectly The user-supplied array 'serverSSLAddresses' is stored directly. 3 1951
MethodReturnsInternalArray Returning 'serverHttpAddresses' may expose an internal array. 3 1959
ArrayIsStoredDirectly The user-supplied array 'serverHTTPAddresses' is stored directly. 3 1965
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 1965
MethodReturnsInternalArray Returning 'serverHttpsAddresses' may expose an internal array. 3 1973
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 1980
ArrayIsStoredDirectly The user-supplied array 'serverHTTPSAddresses' is stored directly. 3 1980
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 27922800
ExcessiveParameterList Avoid long parameter lists. 3 28522862
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 28522862
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 2877
GuardLogStatement Logger calls should be surrounded by log level guards. 2 28782879
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 2893
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 2903
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2928
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2928

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/Messages.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3296
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 4650
AvoidReassigningParameters Avoid reassigning parameters such as 'locale' 2 59

Waarp OpenR66 - org/waarp/openr66/protocol/configuration/PartnerConfiguration.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=50, ATFD=11, TCC=8.571%) 3 35471
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
AvoidFieldNameMatchingMethodName Field useJson has the same name as a method 3 82
AvoidFieldNameMatchingMethodName Field changeFileInfoEnabled has the same name as a method 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
AvoidFieldNameMatchingMethodName Field supportReuseAuthentication has the same name as a method 3 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
CyclomaticComplexity The constructor 'PartnerConfiguration(String, String)' has a cyclomatic complexity of 12. 3 95163
CognitiveComplexity The constructor 'PartnerConfiguration(String, String)' has a cognitive complexity of 16, current threshold is 15 3 95163
NPathComplexity The constructor 'PartnerConfiguration(String, String)' has an NPath complexity of 1024, current threshold is 200 3 95163
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 309
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 318
GuardLogStatement Logger calls should be surrounded by log level guards. 2 327328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 330
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 330
AvoidDuplicateLiterals The String literal "\\." appears 4 times in this file; the first occurrence is on line 354 3 354
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 382
GuardLogStatement Logger calls should be surrounded by log level guards. 2 383384
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 434
GuardLogStatement Logger calls should be surrounded by log level guards. 2 435436
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 449
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 449
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 450451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 450451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 450451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 454
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 454
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 455

Waarp OpenR66 - org/waarp/openr66/protocol/exception/OpenR66ExceptionTrappedFactory.java

Rule Violation Priority Line
NcssCount The method 'getExceptionFromTrappedException(Channel, Throwable)' has a NCSS line count of 122. 3 59202
CyclomaticComplexity The method 'getExceptionFromTrappedException(Channel, Throwable)' has a cyclomatic complexity of 27. 3 59202
ExcessiveMethodLength Avoid really long methods. 3 59202
CognitiveComplexity The method 'getExceptionFromTrappedException(Channel, Throwable)' has a cognitive complexity of 89, current threshold is 15 3 59202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6364
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6971
GuardLogStatement Logger calls should be surrounded by log level guards. 2 76
GuardLogStatement Logger calls should be surrounded by log level guards. 2 91
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9697
GuardLogStatement Logger calls should be surrounded by log level guards. 2 102103
GuardLogStatement Logger calls should be surrounded by log level guards. 2 108
GuardLogStatement Logger calls should be surrounded by log level guards. 2 113
GuardLogStatement Logger calls should be surrounded by log level guards. 2 118
GuardLogStatement Logger calls should be surrounded by log level guards. 2 123
GuardLogStatement Logger calls should be surrounded by log level guards. 2 128
GuardLogStatement Logger calls should be surrounded by log level guards. 2 133
GuardLogStatement Logger calls should be surrounded by log level guards. 2 137
GuardLogStatement Logger calls should be surrounded by log level guards. 2 141
GuardLogStatement Logger calls should be surrounded by log level guards. 2 145
GuardLogStatement Logger calls should be surrounded by log level guards. 2 153154
GuardLogStatement Logger calls should be surrounded by log level guards. 2 159160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 171172
GuardLogStatement Logger calls should be surrounded by log level guards. 2 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 185186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 191193
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 196198
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196198

Waarp OpenR66 - org/waarp/openr66/protocol/http/HttpFormattedHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20953
CyclomaticComplexity The class 'HttpFormattedHandler' has a total cyclomatic complexity of 96 (highest 42). 3 86953
TooManyMethods This class has too many methods, consider refactoring it. 3 87953
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 146
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 162
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 164
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 164 characters appended. 3 164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 164
AvoidFieldNameMatchingMethodName Field status has the same name as a method 3 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 168
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 174
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 175
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 177
GuardLogStatement Logger calls should be surrounded by log level guards. 2 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 208
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 215
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 215
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 216
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 219
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 220
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 1379700, current threshold is 200 3 226390
NcssCount The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a NCSS line count of 132. 3 226390
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 42. 3 226390
ExcessiveMethodLength Avoid really long methods. 3 226390
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cognitive complexity of 64, current threshold is 15 3 226390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 261
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 261
CompareObjectsWithEquals Use equals() to compare object references. 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 271
CompareObjectsWithEquals Use equals() to compare object references. 3 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 273
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 285286
GuardLogStatement Logger calls should be surrounded by log level guards. 2 288290
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 296
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 321
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 341
ImplicitSwitchFallThrough A switch statement does not contain a break 3 344387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 377
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 377
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 386
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 403404
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 414415
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 414415
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 442
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 446
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 451
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 457
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 464
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 470
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 477
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 483
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 488
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 494
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 499
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 505
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 510
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 516
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 521
GuardLogStatement Logger calls should be surrounded by log level guards. 2 523
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 528
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 538
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 543
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 547
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 554
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 560
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 567
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 573
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 580
GuardLogStatement Logger calls should be surrounded by log level guards. 2 582
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 588
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 598
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 603
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 607
GuardLogStatement Logger calls should be surrounded by log level guards. 2 615
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 621
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 631
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 636
GuardLogStatement Logger calls should be surrounded by log level guards. 2 646
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 652
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 661
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 667
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 671
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 686
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 701
GuardLogStatement Logger calls should be surrounded by log level guards. 2 712
CompareObjectsWithEquals Use equals() to compare object references. 3 718
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 721
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 732
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 732
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 734
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 745
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 745
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 747
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 747
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 16 consecutive times with literals. Use a single append with a single combined String. 3 752753
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 752
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 799
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 804
NPathComplexity The method 'writeResponse(ChannelHandlerContext)' has an NPath complexity of 360, current threshold is 200 3 812881
CognitiveComplexity The method 'writeResponse(ChannelHandlerContext)' has a cognitive complexity of 23, current threshold is 15 3 812881
CyclomaticComplexity The method 'writeResponse(ChannelHandlerContext)' has a cyclomatic complexity of 12. 3 812881
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 819820
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 820
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 825826
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 826
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 828
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 830
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 832
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 835836
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 841842
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 845
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 847
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 849
LiteralsFirstInComparisons Position literals first in String comparisons 3 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 855856
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 856
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 858859
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 859
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 864865
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 865
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 870871
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 871
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 892
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 894
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 899900
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 900
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 901
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 904
GuardLogStatement Logger calls should be surrounded by log level guards. 2 919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 921
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 937938
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 937938
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 938
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 941

Waarp OpenR66 - org/waarp/openr66/protocol/http/HttpInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 46

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpReponsiveSslInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 49
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 53

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpResponsiveSslHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 202304
TooManyMethods This class has too many methods, consider refactoring it. 3 982304
ExcessiveClassLength Avoid really long classes. 3 982304
CyclomaticComplexity The class 'HttpResponsiveSslHandler' has a total cyclomatic complexity of 379 (highest 52). 3 982304
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196
ExcessiveParameterList Avoid long parameter lists. 3 199209
GuardLogStatement Logger calls should be surrounded by log level guards. 2 226
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 2 227
AvoidDuplicateLiterals The String literal "ErrorCode.17" appears 7 times in this file; the first occurrence is on line 228 3 228
AvoidDuplicateLiterals The String literal "<BR/>" appears 7 times in this file; the first occurrence is on line 228 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 252
CyclomaticComplexity The method 'getFilter(String, String, boolean)' has a cyclomatic complexity of 21. 3 255300
NPathComplexity The method 'getFilter(String, String, boolean)' has an NPath complexity of 9216, current threshold is 200 3 255300
AddEmptyString Do not add empty strings 3 260
AddEmptyString Do not add empty strings 3 263
AvoidDuplicateLiterals The String literal "rule" appears 7 times in this file; the first occurrence is on line 267 3 267
AvoidDuplicateLiterals The String literal "error" appears 4 times in this file; the first occurrence is on line 276 3 276
AvoidReassigningParameters Avoid reassigning parameters such as 'head' 2 292
ExcessiveMethodLength Avoid really long methods. 3 307461
CyclomaticComplexity The method 'cancelRestart()' has a cyclomatic complexity of 29. 3 307461
NcssCount The method 'cancelRestart()' has a NCSS line count of 91. 3 307461
CognitiveComplexity The method 'cancelRestart()' has a cognitive complexity of 85, current threshold is 15 3 307461
NPathComplexity The method 'cancelRestart()' has an NPath complexity of 1012, current threshold is 200 3 307461
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 312
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 323
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 324
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 325
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 330
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 331
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 339340
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 339340
AvoidDuplicateLiterals The String literal "<br><b>" appears 6 times in this file; the first occurrence is on line 347 3 347
AvoidDuplicateLiterals The String literal "HttpSslHandler.3" appears 4 times in this file; the first occurrence is on line 348 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 349350
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 361362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 392
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 400
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 402
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 414
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 416417
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 424425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 432433
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 432433
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 438
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 448
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 460
CognitiveComplexity The method 'getHeadSearchCancelRestart(String, String)' has a cognitive complexity of 17, current threshold is 15 3 463519
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478479
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 483
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 485
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 492495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 492495
AvoidReassigningParameters Avoid reassigning parameters such as 'head' 2 496
GuardLogStatement Logger calls should be surrounded by log level guards. 2 498
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 2 499
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 528
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 528
CyclomaticComplexity The method 'export()' has a cyclomatic complexity of 29. 3 531657
NPathComplexity The method 'export()' has an NPath complexity of 248832, current threshold is 200 3 531657
ExcessiveMethodLength Avoid really long methods. 3 531657
NcssCount The method 'export()' has a NCSS line count of 75. 3 531657
CognitiveComplexity The method 'export()' has a cognitive complexity of 31, current threshold is 15 3 531657
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 533
EmptyCatchBlock Avoid empty catch blocks 3 579581
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 587
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 590
GuardLogStatement Logger calls should be surrounded by log level guards. 2 605
GuardLogStatement Logger calls should be surrounded by log level guards. 2 610
GuardLogStatement Logger calls should be surrounded by log level guards. 2 615
GuardLogStatement Logger calls should be surrounded by log level guards. 2 642
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 646655
AvoidDuplicateLiterals The String literal "' target='_blank'>" appears 6 times in this file; the first occurrence is on line 648 3 648
AvoidDuplicateLiterals The String literal "<A href='" appears 6 times in this file; the first occurrence is on line 648 3 648
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 666
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 673
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 678
AddEmptyString Do not add empty strings 3 678
GuardLogStatement Logger calls should be surrounded by log level guards. 2 683
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 2 684
CognitiveComplexity The method 'createTransfer()' has a cognitive complexity of 127, current threshold is 15 3 690913
ExcessiveMethodLength Avoid really long methods. 3 690913
CyclomaticComplexity The method 'createTransfer()' has a cyclomatic complexity of 40. 3 690913
NPathComplexity The method 'createTransfer()' has an NPath complexity of 1714622, current threshold is 200 3 690913
NcssCount The method 'createTransfer()' has a NCSS line count of 150. 3 690913
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 692
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 696697
AvoidDuplicateLiterals The String literal "host" appears 7 times in this file; the first occurrence is on line 703 3 703
AvoidDuplicateLiterals The String literal "Create" appears 4 times in this file; the first occurrence is on line 714 3 714
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 724
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 728
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 729
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 735736
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 747748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 756
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 757
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 761762
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 765
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 771
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 780781
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 785
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 786
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 794
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 801
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 810811
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 812
GuardLogStatement Logger calls should be surrounded by log level guards. 2 813
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 818819
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 821
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 827
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 842843
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 857858
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 865
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 870
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 871
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 877
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 882
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 897898
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 899
GuardLogStatement Logger calls should be surrounded by log level guards. 2 903
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 905906
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 912
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 912
GuardLogStatement Logger calls should be surrounded by log level guards. 2 930
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 2 931
NcssCount The method 'hosts()' has a NCSS line count of 188. 3 9371203
ExcessiveMethodLength Avoid really long methods. 3 9371203
NPathComplexity The method 'hosts()' has an NPath complexity of 504, current threshold is 200 3 9371203
CyclomaticComplexity The method 'hosts()' has a cyclomatic complexity of 36. 3 9371203
CognitiveComplexity The method 'hosts()' has a cognitive complexity of 109, current threshold is 15 3 9371203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 939
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 944945
AvoidUsingHardCodedIP Do not hard code the IP address 3 972
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 978979
UnusedAssignment The initializer for variable 'iport' is never used (overwritten on line 983) 3 981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 990991
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 996
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 998
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 999
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1000
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 10071008
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1011
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 10421043
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 10551056
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1061
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1063
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1064
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1065
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1066
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1068
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 10761077
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1080
AvoidDuplicateLiterals The String literal "HttpSslHandler.17" appears 4 times in this file; the first occurrence is on line 1 085 3 1085
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 10891090
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11011102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 11071108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11071108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11301131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11421143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11641165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11761177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11881189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11961197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1202
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1202
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 1205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1215
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1215
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1226
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1242
AvoidReassigningParameters Avoid reassigning parameters such as 'errorText' 2 1243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1246
CyclomaticComplexity The method 'rules()' has a cyclomatic complexity of 52. 3 12491519
NcssCount The method 'rules()' has a NCSS line count of 194. 3 12491519
CognitiveComplexity The method 'rules()' has a cognitive complexity of 139, current threshold is 15 3 12491519
NPathComplexity The method 'rules()' has an NPath complexity of 1575796, current threshold is 200 3 12491519
ExcessiveMethodLength Avoid really long methods. 3 12491519
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12591260
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1265
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12851286
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1336
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13451346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1348
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1372
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1380
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1388
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1396
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1404
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1412
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1420
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1428
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1435
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1438
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1441
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1444
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1449
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1452
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1455
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1458
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14811482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14931494
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 15041505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 15121513
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1518
CognitiveComplexity The method 'spooled(boolean)' has a cognitive complexity of 24, current threshold is 15 3 15211588
CyclomaticComplexity The method 'spooled(boolean)' has a cyclomatic complexity of 14. 3 15211588
NPathComplexity The method 'spooled(boolean)' has an NPath complexity of 960, current threshold is 200 3 15211588
CompareObjectsWithEquals Use equals() to compare object references. 3 1523
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1526
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 1 540 3 1540
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1552
AvoidDuplicateLiterals The String literal "&status=" appears 4 times in this file; the first occurrence is on line 1 557 3 1557
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1564
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1575
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1582
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1598
AvoidDuplicateLiterals The String literal "checked" appears 4 times in this file; the first occurrence is on line 1 599 3 1599
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1600
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1602
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1605
ExcessiveMethodLength Avoid really long methods. 3 16311869
CognitiveComplexity The method 'system()' has a cognitive complexity of 202, current threshold is 15 3 16311869
NcssCount The method 'system()' has a NCSS line count of 165. 3 16311869
CyclomaticComplexity The method 'system()' has a cyclomatic complexity of 40. 3 16311869
NPathComplexity The method 'system()' has an NPath complexity of 5796, current threshold is 200 3 16311869
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1635
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1639
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1647
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1661
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1680
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1682
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1685
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1688
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1694
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1696
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1696
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1697
AvoidDuplicateLiterals The String literal "</A> " appears 5 times in this file; the first occurrence is on line 1 699 3 1699
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1703
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1703
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1710
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1710
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1711
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1717
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1717
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1718
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1724
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1724
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1725
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1741
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1744
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1760
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1760
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1767
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 17711774
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1773
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1784
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1794
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1800
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1805
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1810
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1813
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 18171819
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 18221823
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1824
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1825
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1827
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1831
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1832
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1832
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1833
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1860
NPathComplexity The method 'getParamsResponsive()' has an NPath complexity of 318, current threshold is 200 3 18711945
CognitiveComplexity The method 'getParamsResponsive()' has a cognitive complexity of 69, current threshold is 15 3 18711945
CyclomaticComplexity The method 'getParamsResponsive()' has a cyclomatic complexity of 18. 3 18711945
CompareObjectsWithEquals Use equals() to compare object references. 3 1872
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1873
CompareObjectsWithEquals Use equals() to compare object references. 3 1874
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1877
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1878
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 18851886
GuardLogStatement Logger calls should be surrounded by log level guards. 2 18881890
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1896
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1899
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1906
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1918
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1933
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 1936
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1942
CognitiveComplexity The method 'checkAuthentResponsive(ChannelHandlerContext)' has a cognitive complexity of 55, current threshold is 15 3 19472058
NcssCount The method 'checkAuthentResponsive(ChannelHandlerContext)' has a NCSS line count of 79. 3 19472058
CyclomaticComplexity The method 'checkAuthentResponsive(ChannelHandlerContext)' has a cyclomatic complexity of 21. 3 19472058
ExcessiveMethodLength Avoid really long methods. 3 19472058
NPathComplexity The method 'checkAuthentResponsive(ChannelHandlerContext)' has an NPath complexity of 1648, current threshold is 200 3 19472058
CompareObjectsWithEquals Use equals() to compare object references. 3 1949
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1951
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1951
CompareObjectsWithEquals Use equals() to compare object references. 3 1956
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 19601962
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1960
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1982
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1994
GuardLogStatement Logger calls should be surrounded by log level guards. 2 20062009
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2007
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2007
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2008
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2009
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2010
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2010
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2011
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2012
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 20132014
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2014
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 20182021
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 20202021
GuardLogStatement Logger calls should be surrounded by log level guards. 2 20332034
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2033
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 20412042
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2041
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2050
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2051
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 31. 3 20612177
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cognitive complexity of 27, current threshold is 15 3 20612177
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 3906, current threshold is 200 3 20612177
ExcessiveMethodLength Avoid really long methods. 3 20612177
NcssCount The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a NCSS line count of 84. 3 20612177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2065
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2073
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2075
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2078
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2080
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2082
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2093
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2097
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2098
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2098
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2108
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2180
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2181
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2182
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2183
CognitiveComplexity The method 'invoke()' has a cognitive complexity of 27, current threshold is 15 3 22012302
ExcessiveMethodLength Avoid really long methods. 3 22012302
NcssCount The method 'invoke()' has a NCSS line count of 65. 3 22012302
CyclomaticComplexity The method 'invoke()' has a cyclomatic complexity of 18. 3 22012302
NPathComplexity The method 'invoke()' has an NPath complexity of 5376, current threshold is 200 3 22012302
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 22642266
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 22642266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2270
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2273
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2276
GuardLogStatement Logger calls should be surrounded by log level guards. 2 22762277
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2283
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2285
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2285

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpSslHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 202618
TooManyFields Too many fields 3 1102618
ExcessiveClassLength Avoid really long classes. 3 1102618
CyclomaticComplexity The class 'HttpSslHandler' has a total cyclomatic complexity of 440 (highest 72). 3 1102618
GodClass Possible God Class (WMC=440, ATFD=363, TCC=22.561%) 3 1102618
NcssCount The class 'HttpSslHandler' has a NCSS line count of 1620 (Highest = 225). 3 1102618
TooManyMethods This class has too many methods, consider refactoring it. 3 1112618
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 153
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 156
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 157
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 278
GuardLogStatement Logger calls should be surrounded by log level guards. 2 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 293
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 304
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 306
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 310
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 315316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 315316
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 318
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 319
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 334
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 336
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 346
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 360
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 362
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 363
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 367
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 374
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 378
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 386
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 390
ExcessiveParameterList Avoid long parameter lists. 3 393398
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 416
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 419
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 423
ExcessiveMethodLength Avoid really long methods. 3 431560
NcssCount The method 'listing0()' has a NCSS line count of 86. 3 431560
CognitiveComplexity The method 'listing0()' has a cognitive complexity of 75, current threshold is 15 3 431560
NPathComplexity The method 'listing0()' has an NPath complexity of 552966, current threshold is 200 3 431560
CyclomaticComplexity The method 'listing0()' has a cyclomatic complexity of 35. 3 431560
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 434
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 438
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 438
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 441
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 449
AddEmptyString Do not add empty strings 3 456
AddEmptyString Do not add empty strings 3 459
AvoidDuplicateLiterals The String literal "stop" appears 4 times in this file; the first occurrence is on line 462 3 462
AvoidDuplicateLiterals The String literal "rule" appears 7 times in this file; the first occurrence is on line 463 3 463
AvoidDuplicateLiterals The String literal "req" appears 4 times in this file; the first occurrence is on line 464 3 464
AvoidDuplicateLiterals The String literal "all" appears 4 times in this file; the first occurrence is on line 474 3 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 486
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 499
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 502
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 508
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 514516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 514516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 517522
GuardLogStatement Logger calls should be surrounded by log level guards. 2 528529
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 533
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 537
GuardLogStatement Logger calls should be surrounded by log level guards. 2 539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 542
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 551
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 558
ExcessiveMethodLength Avoid really long methods. 3 562925
CyclomaticComplexity The method 'cancelRestart0()' has a cyclomatic complexity of 72. 3 562925
NPathComplexity The method 'cancelRestart0()' has an NPath complexity of 562202, current threshold is 200 3 562925
NcssCount The method 'cancelRestart0()' has a NCSS line count of 225. 3 562925
CognitiveComplexity The method 'cancelRestart0()' has a cognitive complexity of 196, current threshold is 15 3 562925
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 565
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 570
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 573
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 581
AddEmptyString Do not add empty strings 3 588
AddEmptyString Do not add empty strings 3 591
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 618
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 633
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 639
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 645647
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 645647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 648653
GuardLogStatement Logger calls should be surrounded by log level guards. 2 659660
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 663
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 667
GuardLogStatement Logger calls should be surrounded by log level guards. 2 669
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 672
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 677
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 678
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 679
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 680
UnusedLocalVariable Avoid unused local variables such as 'done'. 3 692
UnusedAssignment The value assigned to variable 'done' is never used 3 697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 707
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 711
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 718
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 743
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 744
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 749751
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 749751
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 751
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 754
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 756
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 757762
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 763
GuardLogStatement Logger calls should be surrounded by log level guards. 2 766767
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 770
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 773
GuardLogStatement Logger calls should be surrounded by log level guards. 2 775
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 781
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 782
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 783
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 784
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 791792
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 791792
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 800
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 804
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 815
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 816
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 826
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 828
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 833
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 841
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 848
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 849852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 853
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 853
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 854
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 854
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 856
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 857
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 858
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 859
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 861
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 862
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 877
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 878
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 881
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 889890
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 889890
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 893
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 894
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 899
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 900
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 911
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 912
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 923
NcssCount The method 'export0()' has a NCSS line count of 75. 3 9271052
CyclomaticComplexity The method 'export0()' has a cyclomatic complexity of 28. 3 9271052
CognitiveComplexity The method 'export0()' has a cognitive complexity of 30, current threshold is 15 3 9271052
NPathComplexity The method 'export0()' has an NPath complexity of 207360, current threshold is 200 3 9271052
ExcessiveMethodLength Avoid really long methods. 3 9271052
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 930
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 934
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 936
EmptyCatchBlock Avoid empty catch blocks 3 976978
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 982
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 983
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 985
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1001
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1006
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1011
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1038
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 10421050
ExcessiveMethodLength Avoid really long methods. 3 10651333
NcssCount The method 'hosts0()' has a NCSS line count of 209. 3 10651333
CyclomaticComplexity The method 'hosts0()' has a cyclomatic complexity of 37. 3 10651333
CognitiveComplexity The method 'hosts0()' has a cognitive complexity of 115, current threshold is 15 3 10651333
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1067
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1069
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1080
AvoidDuplicateLiterals The String literal "host" appears 6 times in this file; the first occurrence is on line 1 083 3 1083
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1099) 3 1098
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1108) 3 1107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1120
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1123) 3 1122
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1161
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1163
UnusedAssignment The value assigned to variable 'body1' is never used (overwritten on line 1328) 3 1165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1165
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1183) 3 1182
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1192) 3 1191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1207
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1211) 3 1210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1219
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1224) 3 1223
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1233) 3 1232
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12421243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 12421243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1254
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1255
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1256
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1262) 3 1261
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1271) 3 1270
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1277
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1280
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1284
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1287
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1288
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1294) 3 1293
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1303) 3 1302
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1313) 3 1312
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1321) 3 1320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1346
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1358
CyclomaticComplexity The method 'resetOptionRules(String, String, RequestPacket.TRANSFERMODE, int)' has a cyclomatic complexity of 13. 3 13621405
NcssCount The method 'rules0()' has a NCSS line count of 210. 3 14071683
NPathComplexity The method 'rules0()' has an NPath complexity of 421060, current threshold is 200 3 14071683
CyclomaticComplexity The method 'rules0()' has a cyclomatic complexity of 49. 3 14071683
CognitiveComplexity The method 'rules0()' has a cognitive complexity of 130, current threshold is 15 3 14071683
ExcessiveMethodLength Avoid really long methods. 3 14071683
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1409
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1411
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1422
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1424
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1440) 3 1439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1491
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1494
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1499) 3 1498
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1506
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1520
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1529
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1538
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1547
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1556
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1565
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1574
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1583
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1592
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1600
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1604
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1608
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1612
UnusedAssignment The value assigned to variable 'start' is never used 3 1614
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1618
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1622
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1626
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1630
UnusedAssignment The value assigned to variable 'start' is never used 3 1632
UnusedAssignment The value assigned to variable 'start' is never used 3 1636
UnusedAssignment The value assigned to variable 'body1' is never used (overwritten on line 1678) 3 1640
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1640
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1645) 3 1644
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1654) 3 1653
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1664) 3 1663
UnusedAssignment The value assigned to variable 'body' is never used (overwritten on line 1671) 3 1670
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1678
CyclomaticComplexity The method 'spooled0(boolean)' has a cyclomatic complexity of 10. 3 16851727
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1687
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 1 698 3 1698
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1721
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1736
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1738
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1740
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1743
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1749
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1751
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1760
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1764
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 17901792
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1790
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1817
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1819
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1821
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1823
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1827
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1829
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1831
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1833
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1834
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1836
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1837
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1839
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1840
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1842
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1844
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1846
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1850
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1852
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1891
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 18911892
CyclomaticComplexity The method 'system0()' has a cyclomatic complexity of 40. 3 18992116
NPathComplexity The method 'system0()' has an NPath complexity of 5796, current threshold is 200 3 18992116
ExcessiveMethodLength Avoid really long methods. 3 18992116
CognitiveComplexity The method 'system0()' has a cognitive complexity of 202, current threshold is 15 3 18992116
NcssCount The method 'system0()' has a NCSS line count of 154. 3 18992116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1903
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1907
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1915
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1928
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1947
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1950
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1952
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1961
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1965
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1969
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1973
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 1977
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1991
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1994
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1994
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2010
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2010
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2017
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 20212024
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2023
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2034
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2044
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2050
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2055
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2060
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2063
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 20672069
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 20722073
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2074
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2074
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2075
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2077
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2081
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2082
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2082
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2083
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2108
CyclomaticComplexity The method 'getParams()' has a cyclomatic complexity of 12. 3 21182167
CognitiveComplexity The method 'getParams()' has a cognitive complexity of 36, current threshold is 15 3 21182167
CompareObjectsWithEquals Use equals() to compare object references. 3 2119
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2120
CompareObjectsWithEquals Use equals() to compare object references. 3 2121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 21312132
GuardLogStatement Logger calls should be surrounded by log level guards. 2 21342136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2145
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2155
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 2158
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2164
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2175
NPathComplexity The method 'checkAuthent(ChannelHandlerContext)' has an NPath complexity of 1648, current threshold is 200 3 21802288
ExcessiveMethodLength Avoid really long methods. 3 21802288
CyclomaticComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cyclomatic complexity of 21. 3 21802288
NcssCount The method 'checkAuthent(ChannelHandlerContext)' has a NCSS line count of 76. 3 21802288
CognitiveComplexity The method 'checkAuthent(ChannelHandlerContext)' has a cognitive complexity of 54, current threshold is 15 3 21802288
CompareObjectsWithEquals Use equals() to compare object references. 3 2182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2184
CompareObjectsWithEquals Use equals() to compare object references. 3 2189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 21932195
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2224
GuardLogStatement Logger calls should be surrounded by log level guards. 2 22362239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2239
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 22432244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 22482251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 22502251
GuardLogStatement Logger calls should be surrounded by log level guards. 2 22632264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 22712272
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2271
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2280
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2281
NcssCount The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a NCSS line count of 75. 3 22912390
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cyclomatic complexity of 24. 3 22912390
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has a cognitive complexity of 23, current threshold is 15 3 22912390
NPathComplexity The method 'channelRead0(ChannelHandlerContext, FullHttpRequest)' has an NPath complexity of 965, current threshold is 200 3 22912390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2301
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2303
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2314
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2318
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2319
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2329
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2337
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2345
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2367
CognitiveComplexity The method 'checkSession(Channel)' has a cognitive complexity of 19, current threshold is 15 3 23922427
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2393
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2395
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2396
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 23982399
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2399
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2407
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2409
LiteralsFirstInComparisons Position literals first in String comparisons 3 2409
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2422
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2430
CompareObjectsWithEquals Use equals() to compare object references. 3 2430
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2434
CognitiveComplexity The method 'handleCookies(HttpResponse)' has a cognitive complexity of 28, current threshold is 15 3 24372487
CyclomaticComplexity The method 'handleCookies(HttpResponse)' has a cyclomatic complexity of 11. 3 24372487
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2438
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24462447
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2447
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24522453
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2453
LiteralsFirstInComparisons Position literals first in String comparisons 3 2455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2455
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24582459
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24612462
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24672468
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24722473
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24792480
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2480
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24832484
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2484
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 25022503
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2503
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 25102511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2512
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 25142515
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 25202521
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 25522553
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2553
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2554
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2558
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2573
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2575
EmptyIfStmt Avoid empty if statements 3 25782580
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2586
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2586

Waarp OpenR66 - org/waarp/openr66/protocol/http/adminssl/HttpSslInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4647
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 52

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/HttpRestR66Handler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20467
GodClass Possible God Class (WMC=53, ATFD=94, TCC=3.571%) 3 68467
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 198
CyclomaticComplexity The method 'instantiateHandlers(RestConfiguration)' has a cyclomatic complexity of 14. 3 204306
ExcessiveMethodLength Avoid really long methods. 3 204306
NPathComplexity The method 'instantiateHandlers(RestConfiguration)' has an NPath complexity of 8192, current threshold is 200 3 204306
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 235
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 259
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 290
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 305
CognitiveComplexity The method 'checkConnection(ChannelHandlerContext)' has a cognitive complexity of 32, current threshold is 15 3 314397
NPathComplexity The method 'checkConnection(ChannelHandlerContext)' has an NPath complexity of 962, current threshold is 200 3 314397
CyclomaticComplexity The method 'checkConnection(ChannelHandlerContext)' has a cyclomatic complexity of 20. 3 314397
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 348
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 360361
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 364
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 382385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 415
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 420
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 421
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 436
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 447
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 457

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/HttpRestR66Initializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 67

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/client/HttpRestR66Client.java

Rule Violation Priority Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 7176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 144145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172173
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 174
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 196
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 199

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/client/HttpRestR66ClientResponseHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 36458
TooManyMethods This class has too many methods, consider refactoring it. 3 78458
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 91
GuardLogStatement Logger calls should be surrounded by log level guards. 2 103
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 273
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 291
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 309
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 327
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 345
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cognitive complexity of 50, current threshold is 15 3 352430
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, HttpObject)' has a cyclomatic complexity of 18. 3 352430
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 356
GuardLogStatement Logger calls should be surrounded by log level guards. 2 357358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 358
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 359
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 366367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 366367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 369
GuardLogStatement Logger calls should be surrounded by log level guards. 2 369371
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 373
GuardLogStatement Logger calls should be surrounded by log level guards. 2 373374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 377378
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 377378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 379
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 395
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 410413
GuardLogStatement Logger calls should be surrounded by log level guards. 2 411
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 420
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 436437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 436437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443
GuardLogStatement Logger calls should be surrounded by log level guards. 2 450

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbConfigurationR66RestMethodHandler.java

Rule Violation Priority Line
AvoidDuplicateLiterals The String literal "Issue on values" appears 5 times in this file; the first occurrence is on line 86 3 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 89
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 3 172244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 184 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 185
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 186189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 208209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 230
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 281
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 282

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbHostAuthR66RestMethodHandler.java

Rule Violation Priority Line
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 85 3 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 138
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 148
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 3 177247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 182
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 189 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 191194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 267
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 267

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbHostConfigurationR66RestMethodHandler.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=47, ATFD=42, TCC=0.000%) 3 52304
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 88 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 97
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
CyclomaticComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 12. 3 130172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 145
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 149
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 153
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 153
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 155
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 157
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 159
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 3 190263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 194195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 203 3 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 204
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 205208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 218219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 224
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 227228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 240
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 253
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 297
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 298

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbRuleR66RestMethodHandler.java

Rule Violation Priority Line
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 83 3 83
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 140
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 3 168239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 173
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 180 3 180
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 182185
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 195196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/DbTaskRunnerR66RestMethodHandler.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=51, ATFD=46, TCC=0.000%) 3 53363
AvoidDuplicateLiterals The String literal "boolean" appears 6 times in this file; the first occurrence is on line 66 3 66
AvoidDuplicateLiterals The String literal "Issue on values" appears 4 times in this file; the first occurrence is on line 98 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 116117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
CognitiveComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 16, current threshold is 15 3 146229
CyclomaticComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 18. 3 146229
NPathComplexity The method 'getPreparedStatement(HttpRestHandler, RestArgument, RestArgument, Object)' has an NPath complexity of 6912, current threshold is 200 3 146229
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 157
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 159
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 162
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 168
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 174
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 176
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 180
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 180
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 184
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 191
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 192
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 194
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 211
CyclomaticComplexity The method 'getDetailedAllow()' has a cyclomatic complexity of 10. 3 247338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 252
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 259
AvoidDuplicateLiterals The String literal "/id" appears 6 times in this file; the first occurrence is on line 260 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 268
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 276
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 281282
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 293
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 296297
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 297
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 303
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 309
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 313
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 318
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 324
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 335
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 342
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 358

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestAbstractR66Handler.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 99
GuardLogStatement Logger calls should be surrounded by log level guards. 2 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 161162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 161162
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 162
CompareObjectsWithEquals Use equals() to compare object references. 3 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 167
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
CyclomaticComplexity The method 'getBody(HttpRestHandler, ByteBuf, RestArgument, RestArgument)' has a cyclomatic complexity of 11. 3 178206
AvoidDuplicateLiterals The String literal " : {}" appears 4 times in this file; the first occurrence is on line 192 3 192
GuardLogStatement Logger calls should be surrounded by log level guards. 2 192193
GuardLogStatement Logger calls should be surrounded by log level guards. 2 196
GuardLogStatement Logger calls should be surrounded by log level guards. 2 199
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestBandwidthR66Handler.java

Rule Violation Priority Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 19, current threshold is 15 3 65142
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 19. 3 65142
NPathComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has an NPath complexity of 240, current threshold is 200 3 65142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9091
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 91
SimplifyConditional No need to check for null before an instanceof 3 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 122
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 179

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestBusinessR66Handler.java

Rule Violation Priority Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 20, current threshold is 15 3 72138
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 16. 3 72138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9798
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
GuardLogStatement Logger calls should be surrounded by log level guards. 2 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 179

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestConfigR66Handler.java

Rule Violation Priority Line
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 25. 3 71152
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 19, current threshold is 15 3 71152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9596
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 134
AvoidDuplicateLiterals The String literal "filepath" appears 10 times in this file; the first occurrence is on line 167 3 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 218

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestControlR66Handler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20288
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 27. 3 79197
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 39, current threshold is 15 3 79197
NcssCount The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a NCSS line count of 84. 3 79197
ExcessiveMethodLength Avoid really long methods. 3 79197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 165
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 175
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 213
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 217
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 252
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 270
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestInformationR66Handler.java

Rule Violation Priority Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 24, current threshold is 15 3 68144
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 15. 3 68144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9293
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 117
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 119
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
GuardLogStatement Logger calls should be surrounded by log level guards. 2 121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 152
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 157
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 173
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 189

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestLogR66Handler.java

Rule Violation Priority Line
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 12. 3 69134
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 169

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestServerR66Handler.java

Rule Violation Priority Line
CognitiveComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cognitive complexity of 18, current threshold is 15 3 73146
CyclomaticComplexity The method 'endParsingRequest(HttpRestHandler, RestArgument, RestArgument, Object)' has a cyclomatic complexity of 15. 3 73146
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 108109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 122123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
GuardLogStatement Logger calls should be surrounded by log level guards. 2 141142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 180

Waarp OpenR66 - org/waarp/openr66/protocol/http/rest/handler/HttpRestV1Utils.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3568
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 52
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 52

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/RestConstants.java

Rule Violation Priority Line
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 4852
UnusedAssignment The value assigned to field 'DAO_FACTORY' is never used (overwritten on line 95) 3 53
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 72
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 85
EmptyCatchBlock Avoid empty catch blocks 3 8688
AvoidDuplicateLiterals The String literal "status" appears 4 times in this file; the first occurrence is on line 199 3 199

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/RestServiceInitializer.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21261
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 202
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 215
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 230
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 240244
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 242243
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 254256

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/HostConfigConverter.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=72, ATFD=54, TCC=0.000%) 3 60480
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 88
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 110
CyclomaticComplexity The method 'nodeToUpdatedBusiness(ObjectNode, Business)' has a cyclomatic complexity of 17. 3 131198
CognitiveComplexity The method 'nodeToUpdatedBusiness(ObjectNode, Business)' has a cognitive complexity of 48, current threshold is 15 3 131198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 169
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 182
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 227
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 300
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 326
CognitiveComplexity The method 'nodeToAliasList(ArrayNode)' has a cognitive complexity of 38, current threshold is 15 3 342402
CyclomaticComplexity The method 'nodeToAliasList(ArrayNode)' has a cyclomatic complexity of 14. 3 342402
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 349
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 351
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 356
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 369
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 388
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 391
CognitiveComplexity The method 'nodeToRoles(ArrayNode)' has a cognitive complexity of 45, current threshold is 15 3 414479
CyclomaticComplexity The method 'nodeToRoles(ArrayNode)' has a cyclomatic complexity of 15. 3 414479
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 423
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 428
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 434
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 435
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 438
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 441
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 445
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 465
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 468

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/HostConverter.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 91
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 133
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 156
NcssCount The method 'nodeToUpdatedHost(ObjectNode, Host)' has a NCSS line count of 71. 3 178260
CyclomaticComplexity The method 'nodeToUpdatedHost(ObjectNode, Host)' has a cyclomatic complexity of 26. 3 178260
CognitiveComplexity The method 'nodeToUpdatedHost(ObjectNode, Host)' has a cognitive complexity of 84, current threshold is 15 3 178260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 189
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 197
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 205
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 210
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 216
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 219
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 222
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 225
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 226
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 230
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 232
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 246
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 276277
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 276277
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 306

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/LimitsConverter.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 66
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 67
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 68
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 70
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 90
CyclomaticComplexity The method 'nodeToUpdatedLimit(ObjectNode, Limit)' has a cyclomatic complexity of 19. 3 109158
CognitiveComplexity The method 'nodeToUpdatedLimit(ObjectNode, Limit)' has a cognitive complexity of 41, current threshold is 15 3 109158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/RuleConverter.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=66, ATFD=168, TCC=0.000%) 3 51524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 176
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 177
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
ExcessiveMethodLength Avoid really long methods. 3 231387
CyclomaticComplexity The method 'nodeToUpdatedRule(ObjectNode, Rule)' has a cyclomatic complexity of 39. 3 231387
NcssCount The method 'nodeToUpdatedRule(ObjectNode, Rule)' has a NCSS line count of 114. 3 231387
CognitiveComplexity The method 'nodeToUpdatedRule(ObjectNode, Rule)' has a cognitive complexity of 186, current threshold is 15 3 231387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 242
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 245246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 254
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 255
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 256
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 269
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 272
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 286
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 295
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 298
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 300
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 315
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 321
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 322
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 331
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 333
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 341
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 348
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 352
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 369
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 419
CyclomaticComplexity The method 'parseTasks(ArrayNode, String)' has a cyclomatic complexity of 15. 3 458522
CognitiveComplexity The method 'parseTasks(ArrayNode, String)' has a cognitive complexity of 47, current threshold is 15 3 458522
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 467
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 469
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 475
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 476
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 477
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 485
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 487
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 488
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 489
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 493
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 495
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 496
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 496
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 497
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 500
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 506
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 513

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/ServerStatusMaker.java

Rule Violation Priority Line
NcssCount The method 'exportAsJson(Period)' has a NCSS line count of 73. 3 62144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 65
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 68
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 72
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 75
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 76
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 79
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 80
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 83
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 84
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 85
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 88
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 94
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 95
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 96
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 98
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 99
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 116
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 117
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 118
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 123
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 127
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 129
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 131
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 133
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 134
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 135
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 137
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/converters/TransferConverter.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21415
GodClass Possible God Class (WMC=55, ATFD=95, TCC=0.000%) 3 62415
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 139
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 140
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 143
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 155
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 156
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 157
UnusedAssignment The initializer for variable 'defaultTransfer' is never used (overwritten on line 179) 3 176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 186
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 196
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 205206
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 268
NcssCount The method 'parseNode(ObjectNode, Transfer)' has a NCSS line count of 75. 3 317414
NPathComplexity The method 'parseNode(ObjectNode, Transfer)' has an NPath complexity of 704, current threshold is 200 3 317414
CognitiveComplexity The method 'parseNode(ObjectNode, Transfer)' has a cognitive complexity of 95, current threshold is 15 3 317414
CyclomaticComplexity The method 'parseNode(ObjectNode, Transfer)' has a cyclomatic complexity of 30. 3 317414
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 325
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 329
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 330
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 339
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 344
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 345
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 350
EmptyCatchBlock Avoid empty catch blocks 3 351353
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 358
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 364
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 366
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 368
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 385
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 400
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 403

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/AbstractRestDbHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 107
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 108
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 109
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 124
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 135

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/HostConfigHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112113
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 113

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/HostIdHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21254
CyclomaticComplexity The method 'deleteHost(HttpRequest, HttpResponder, String)' has a cyclomatic complexity of 10. 3 188233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 209
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 213

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/HostsHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21304
NPathComplexity The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has an NPath complexity of 124416, current threshold is 200 3 124244
ExcessiveMethodLength Avoid really long methods. 3 124244
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 124137
NcssCount The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has a NCSS line count of 71. 3 124244
CognitiveComplexity The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has a cognitive complexity of 27, current threshold is 15 3 124244
CyclomaticComplexity The method 'filterHosts(HttpRequest, HttpResponder, String, String, String, String, String, String, String)' has a cyclomatic complexity of 25. 3 124244
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 148
EmptyCatchBlock Avoid empty catch blocks 3 148150
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/LimitsHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 150
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 153
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 202
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 203

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/RuleIdHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21241
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/RulesHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21268
NcssCount The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has a NCSS line count of 62. 3 109206
CognitiveComplexity The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has a cognitive complexity of 21, current threshold is 15 3 109206
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 109120
NPathComplexity The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has an NPath complexity of 5184, current threshold is 200 3 109206
CyclomaticComplexity The method 'filterRules(HttpRequest, HttpResponder, String, String, String, String, String)' has a cyclomatic complexity of 21. 3 109206
EmptyCatchBlock Avoid empty catch blocks 3 130132
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 130
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 194
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 199
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 247

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/ServerHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21877
GodClass Possible God Class (WMC=100, ATFD=82, TCC=0.000%) 3 100877
CyclomaticComplexity The class 'ServerHandler' has a total cyclomatic complexity of 100 (highest 30). 3 100877
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 169
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 173
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 174
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 202
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 204
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
ExcessiveParameterList Avoid long parameter lists. 3 344363
ExcessiveMethodLength Avoid really long methods. 3 344491
CognitiveComplexity The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has a cognitive complexity of 40, current threshold is 15 3 344491
CyclomaticComplexity The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has a cyclomatic complexity of 30. 3 344491
NPathComplexity The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has an NPath complexity of 84672, current threshold is 200 3 344491
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 344363
NcssCount The method 'getLogs(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String)' has a NCSS line count of 88. 3 344491
AvoidDuplicateLiterals The String literal "false" appears 12 times in this file; the first occurrence is on line 346 3 346
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 438
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 455
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 479
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 480
NPathComplexity The method 'getConfig(HttpRequest, HttpResponder, String, String, String, String, String)' has an NPath complexity of 2240, current threshold is 200 3 516631
ExcessiveMethodLength Avoid really long methods. 3 516631
NcssCount The method 'getConfig(HttpRequest, HttpResponder, String, String, String, String, String)' has a NCSS line count of 69. 3 516631
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 516526
CyclomaticComplexity The method 'getConfig(HttpRequest, HttpResponder, String, String, String, String, String)' has a cyclomatic complexity of 16. 3 516631
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 601
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 613
ExcessiveParameterList Avoid long parameter lists. 3 667688
NcssCount The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has a NCSS line count of 89. 3 667816
NPathComplexity The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has an NPath complexity of 25792, current threshold is 200 3 667816
CyclomaticComplexity The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has a cyclomatic complexity of 24. 3 667816
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 667688
ExcessiveMethodLength Avoid really long methods. 3 667816
CognitiveComplexity The method 'setConfig(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String)' has a cognitive complexity of 33, current threshold is 15 3 667816
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 784
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 790
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 796

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/SpooledHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21182
CyclomaticComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String)' has a cyclomatic complexity of 10. 3 104164
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 119
EmptyCatchBlock Avoid empty catch blocks 3 119121
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 130
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/TransferIdHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21456
AvoidDuplicateLiterals The String literal "(-?\\d+)_(.+)" appears 5 times in this file; the first occurrence is on line 119 3 119
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 121
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 200
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 306
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 389

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/dbhandlers/TransfersHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21329
ExcessiveParameterList Avoid long parameter lists. 3 130153
NPathComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has an NPath complexity of 193536, current threshold is 200 3 130270
NcssCount The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has a NCSS line count of 78. 3 130270
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 130153
CyclomaticComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has a cyclomatic complexity of 27. 3 130270
CognitiveComplexity The method 'filterTransfer(HttpRequest, HttpResponder, String, String, String, String, String, String, String, String, String, String, String)' has a cognitive complexity of 32, current threshold is 15 3 130270
ExcessiveMethodLength Avoid really long methods. 3 130270
EmptyCatchBlock Avoid empty catch blocks 3 164166
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 307
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 308

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/errors/RestError.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 59
ArrayIsStoredDirectly The user-supplied array 'args' is stored directly. 3 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 87
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 90
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 91

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/errors/RestErrorException.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/errors/RestErrors.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 28218

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestExceptionHandler.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 68

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestHandlerHook.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21495
GodClass Possible God Class (WMC=73, ATFD=52, TCC=8.333%) 3 78495
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 130
GuardLogStatement Logger calls should be surrounded by log level guards. 2 148
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 155158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200
GuardLogStatement Logger calls should be surrounded by log level guards. 2 232237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 259
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 266
CyclomaticComplexity The method 'checkCredentials(HttpRequest)' has a cyclomatic complexity of 30. 3 292388
NPathComplexity The method 'checkCredentials(HttpRequest)' has an NPath complexity of 1886, current threshold is 200 3 292388
CognitiveComplexity The method 'checkCredentials(HttpRequest)' has a cognitive complexity of 26, current threshold is 15 3 292388
NcssCount The method 'checkCredentials(HttpRequest)' has a NCSS line count of 60. 3 292388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 301
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 303
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 308
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 333
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 338
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 339
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 347
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 350
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 352
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 359
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 370
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 397
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 398
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 406
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 411
EmptyCatchBlock Avoid empty catch blocks 3 433435
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 439
GuardLogStatement Logger calls should be surrounded by log level guards. 2 441446
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 445

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestSignatureHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 91
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 113

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/resthandlers/RestVersionHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
GuardLogStatement Logger calls should be surrounded by log level guards. 2 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 89
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/JsonUtils.java

Rule Violation Priority Line
CognitiveComplexity The method 'deserializeRequest(HttpRequest)' has a cognitive complexity of 15, current threshold is 15 3 93142
CyclomaticComplexity The method 'deserializeRequest(HttpRequest)' has a cyclomatic complexity of 19. 3 93142
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 104105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 118
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 120
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 122125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 123124
CloseResource Ensure that resources like this JsonParser object are closed after use 3 128
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 130
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 132
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 134
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 137

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/RestUtils.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 56
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 61
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 63
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 67

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/XmlSerializable.java

Rule Violation Priority Line
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 70
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 82
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 82
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 100
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 107108
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 121
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 121
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 140
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 147
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 160
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 160
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 179
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 179
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 199
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 199
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 216
ConstantsInInterface Avoid constants in interfaces. Interfaces define types, constants are implementation details better placed in classes or enums. See Effective Java, item 19. 3 216

Waarp OpenR66 - org/waarp/openr66/protocol/http/restv2/utils/XmlUtils.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 81
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 82
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 83
CloseResource Ensure that resources like this StringReader object are closed after use 3 110
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 115
CloseResource Ensure that resources like this FileWriter object are closed after use 3 136
CloseResource Ensure that resources like this FileReader object are closed after use 3 160
CloseResource Ensure that resources like this BufferedReader object are closed after use 3 161
AssignmentInOperand Avoid assignments in operands 3 167
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 168
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 243

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/ConnectionActions.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20748
CyclomaticComplexity The class 'ConnectionActions' has a total cyclomatic complexity of 113 (highest 34). 3 75748
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 75748
TooManyMethods This class has too many methods, consider refactoring it. 3 75748
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101
NPathComplexity The method 'channelClosed()' has an NPath complexity of 90732, current threshold is 200 3 122233
CyclomaticComplexity The method 'channelClosed()' has a cyclomatic complexity of 34. 3 122233
ExcessiveMethodLength Avoid really long methods. 3 122233
CognitiveComplexity The method 'channelClosed()' has a cognitive complexity of 63, current threshold is 15 3 122233
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 145
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 146
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 148152
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 148
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 177
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 178
GuardLogStatement Logger calls should be surrounded by log level guards. 2 182183
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 204
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242243
GuardLogStatement Logger calls should be surrounded by log level guards. 2 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278
GuardLogStatement Logger calls should be surrounded by log level guards. 2 289
GuardLogStatement Logger calls should be surrounded by log level guards. 2 302304
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 303
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 310
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 311314
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 311314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 313
GuardLogStatement Logger calls should be surrounded by log level guards. 2 321323
AvoidReassigningParameters Avoid reassigning parameters such as 'e1' 2 326
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 337
GuardLogStatement Logger calls should be surrounded by log level guards. 2 345347
NPathComplexity The method 'authent(AuthentPacket, boolean)' has an NPath complexity of 214272, current threshold is 200 3 360515
CyclomaticComplexity The method 'authent(AuthentPacket, boolean)' has a cyclomatic complexity of 26. 3 360515
ExcessiveMethodLength Avoid really long methods. 3 360515
NcssCount The method 'authent(AuthentPacket, boolean)' has a NCSS line count of 89. 3 360515
CognitiveComplexity The method 'authent(AuthentPacket, boolean)' has a cognitive complexity of 50, current threshold is 15 3 360515
CollapsibleIfStatements These nested if statements could be combined 3 364366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 375376
GuardLogStatement Logger calls should be surrounded by log level guards. 2 379
AvoidDuplicateLiterals The String literal "Service unavailable" appears 4 times in this file; the first occurrence is on line 381 3 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 396
GuardLogStatement Logger calls should be surrounded by log level guards. 2 403404
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 410
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 423
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 427
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 428
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 429
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 431
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 439
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 481
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 482
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 497
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 504505
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 504505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 505
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 506508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 506508
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 506508
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 507
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 509511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 509511
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 511
GuardLogStatement Logger calls should be surrounded by log level guards. 2 513514
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 514
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 523524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 525527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 525527
CyclomaticComplexity The method 'validateAuthenticationReuse()' has a cyclomatic complexity of 10. 3 530575
CognitiveComplexity The method 'validateAuthenticationReuse()' has a cognitive complexity of 21, current threshold is 15 3 530575
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 534535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 534535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 538
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 541542
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 542
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 544
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 548
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 556
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 557
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 563
GuardLogStatement Logger calls should be surrounded by log level guards. 2 584
CognitiveComplexity The method 'errorMesg(ErrorPacket)' has a cognitive complexity of 29, current threshold is 15 3 608709
NcssCount The method 'errorMesg(ErrorPacket)' has a NCSS line count of 70. 3 608709
ExcessiveMethodLength Avoid really long methods. 3 608709
CyclomaticComplexity The method 'errorMesg(ErrorPacket)' has a cyclomatic complexity of 19. 3 608709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 612
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 612
GuardLogStatement Logger calls should be surrounded by log level guards. 2 616
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 619620
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 630
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 631
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 640
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 649
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 654
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 655
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 657
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 666
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 680
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 729
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 730

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalChannelReference.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 20765
CyclomaticComplexity The class 'LocalChannelReference' has a total cyclomatic complexity of 107 (highest 17). 3 53765
TooManyFields Too many fields 3 53765
GodClass Possible God Class (WMC=107, ATFD=117, TCC=9.397%) 3 53765
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 138
AvoidFieldNameMatchingMethodName Field isSendThroughMode has the same name as a method 3 138
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 212
GuardLogStatement Logger calls should be surrounded by log level guards. 2 364365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 385
GuardLogStatement Logger calls should be surrounded by log level guards. 2 423424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 425
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 451
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 452
CyclomaticComplexity The method 'invalidateRequest(R66Result)' has a cyclomatic complexity of 17. 3 480554
CognitiveComplexity The method 'invalidateRequest(R66Result)' has a cognitive complexity of 31, current threshold is 15 3 480554
NPathComplexity The method 'invalidateRequest(R66Result)' has an NPath complexity of 7776, current threshold is 200 3 480554
GuardLogStatement Logger calls should be surrounded by log level guards. 2 542543
CollapsibleIfStatements These nested if statements could be combined 3 550552
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 575
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 576
GuardLogStatement Logger calls should be surrounded by log level guards. 2 581582
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 583
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 601603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 601603
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 617
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 618
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 620
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 621
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 675
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 682
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 743
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 743
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 746

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalServerHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20597
GodClass Possible God Class (WMC=111, ATFD=225, TCC=28.571%) 3 80597
CyclomaticComplexity The class 'LocalServerHandler' has a total cyclomatic complexity of 111 (highest 53). 3 80597
GuardLogStatement Logger calls should be surrounded by log level guards. 2 112
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 114
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 126
ExcessiveMethodLength Avoid really long methods. 3 131378
CognitiveComplexity The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has a cognitive complexity of 66, current threshold is 15 3 131378
CyclomaticComplexity The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has a cyclomatic complexity of 43. 3 131378
NPathComplexity The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has an NPath complexity of 313, current threshold is 200 3 131378
NcssCount The method 'channelRead1(LocalChannelReference, AbstractLocalPacket)' has a NCSS line count of 144. 3 131378
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 133
GuardLogStatement Logger calls should be surrounded by log level guards. 2 138
GuardLogStatement Logger calls should be surrounded by log level guards. 2 141142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 145
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 146
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 151154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151154
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 153154
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
GuardLogStatement Logger calls should be surrounded by log level guards. 2 171173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
GuardLogStatement Logger calls should be surrounded by log level guards. 2 177180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 192
GuardLogStatement Logger calls should be surrounded by log level guards. 2 193194
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 195
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 208
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 221222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 234
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 256
GuardLogStatement Logger calls should be surrounded by log level guards. 2 256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 298
GuardLogStatement Logger calls should be surrounded by log level guards. 2 299301
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 302
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 320321
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 328
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 337
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 342
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 343
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 346347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 347
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 361
GuardLogStatement Logger calls should be surrounded by log level guards. 2 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 369
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 370
CognitiveComplexity The method 'exceptionCaught(TransferActions, Throwable)' has a cognitive complexity of 182, current threshold is 15 3 380558
NcssCount The method 'exceptionCaught(TransferActions, Throwable)' has a NCSS line count of 129. 3 380558
NPathComplexity The method 'exceptionCaught(TransferActions, Throwable)' has an NPath complexity of 870960, current threshold is 200 3 380558
CyclomaticComplexity The method 'exceptionCaught(TransferActions, Throwable)' has a cyclomatic complexity of 53. 3 380558
ExcessiveMethodLength Avoid really long methods. 3 380558
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 385
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 399
CollapsibleIfStatements These nested if statements could be combined 3 406411
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 409
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 413
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 417
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 427
UnusedAssignment The value assigned to variable 'code' is never used 3 442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 445
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 476
ImplicitSwitchFallThrough A switch statement does not contain a break 3 482492
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 491
EmptyCatchBlock Avoid empty catch blocks 3 511513
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 515
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 516518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 516518
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 524
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 526527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 531532
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 536537
GuardLogStatement Logger calls should be surrounded by log level guards. 2 542
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 544
GuardLogStatement Logger calls should be surrounded by log level guards. 2 547
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 549
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 552
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 556
GuardLogStatement Logger calls should be surrounded by log level guards. 2 563565
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 565
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 565
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 570
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 578579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 578579
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 583584
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 586587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 595

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/LocalTransaction.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148
GuardLogStatement Logger calls should be surrounded by log level guards. 2 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179180
CyclomaticComplexity The method 'shutdownLocalChannels()' has a cyclomatic complexity of 14. 3 246318
CognitiveComplexity The method 'shutdownLocalChannels()' has a cognitive complexity of 37, current threshold is 15 3 246318
GuardLogStatement Logger calls should be surrounded by log level guards. 2 247248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 263
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 265268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 276
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 278
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 278279
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 283285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 288289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 288289
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 288289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 291
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 297
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 304
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 309311
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 309
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 310
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 316

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/Monitoring.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 201546
ExcessiveClassLength Avoid really long classes. 3 541546
TooManyFields Too many fields 3 541546
GodClass Possible God Class (WMC=174, ATFD=231, TCC=26.901%) 3 541546
CyclomaticComplexity The class 'Monitoring' has a total cyclomatic complexity of 174 (highest 61). 3 541546
TooManyMethods This class has too many methods, consider refactoring it. 3 541546
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 95
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 97
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 102
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 103
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 105
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 109
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 112
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 113
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 114
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 116
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 117
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 121
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 122
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 125
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 126
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 127
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 130
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 131
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 136
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 139
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 141
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 142
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 144
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 145
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 148
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 150
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 151
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 152
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 153
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 154
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 156
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 158
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 161
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 163
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 164
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 167
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 168
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 169
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 170
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 314
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 321
CyclomaticComplexity The method 'run(long, boolean)' has a cyclomatic complexity of 13. 3 372657
CognitiveComplexity The method 'run(long, boolean)' has a cognitive complexity of 24, current threshold is 15 3 372657
NcssCount The method 'run(long, boolean)' has a NCSS line count of 113. 3 372657
ExcessiveMethodLength Avoid really long methods. 3 372657
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 400
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 401
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 402403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 402403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 408409
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 408409
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 412
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 412
ExcessiveMethodLength Avoid really long methods. 3 664772
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 665
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 24, but has at least 816 characters appended. 3 665
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 667
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 715
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 716
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 717
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 719
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 720
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 728
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 730
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 732
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 733
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 735
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 736
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 738
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 739
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 741
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 742
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 744
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 745
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 748
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 750
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 751
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 754
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 755
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 757
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 758
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 760
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 761
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 763
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 764
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 766
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 767
NcssCount The method 'exportAsJson(boolean)' has a NCSS line count of 72. 3 788871
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 790
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 792
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 792
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 796
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 797
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 798
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 799
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 800
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 803
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 804
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 805
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 806
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 807
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 808
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 809
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 810
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 811
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 812
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 813
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 816
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 817
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 818
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 822
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 823
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 824
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 825
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 826
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 827
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 828
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 831
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 832
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 888
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 888
CognitiveComplexity The method 'run(long, WaarpGlobalValuesIndex)' has a cognitive complexity of 17, current threshold is 15 3 9491187
CyclomaticComplexity The method 'run(long, WaarpGlobalValuesIndex)' has a cyclomatic complexity of 61. 3 9491187
NcssCount The method 'run(long, WaarpGlobalValuesIndex)' has a NCSS line count of 186. 3 9491187
ExcessiveMethodLength Avoid really long methods. 3 9491187
NPathComplexity The method 'run(long, WaarpGlobalValuesIndex)' has an NPath complexity of 900, current threshold is 200 3 9491187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1013
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 10201021
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 10201021
ImplicitSwitchFallThrough A switch statement does not contain a break 3 10441180
ExcessiveMethodLength Avoid really long methods. 3 11951360
CyclomaticComplexity The method 'run(long, WaarpDetailedValuesIndex)' has a cyclomatic complexity of 33. 3 11951360
NPathComplexity The method 'run(long, WaarpDetailedValuesIndex)' has an NPath complexity of 255, current threshold is 200 3 11951360
NcssCount The method 'run(long, WaarpDetailedValuesIndex)' has a NCSS line count of 119. 3 11951360
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 12211222
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 12211222
ImplicitSwitchFallThrough A switch statement does not contain a break 3 12481341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1346
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1354
ExcessiveMethodLength Avoid really long methods. 3 13681545
CyclomaticComplexity The method 'run(long, WaarpErrorValuesIndex)' has a cyclomatic complexity of 27. 3 13681545
NcssCount The method 'run(long, WaarpErrorValuesIndex)' has a NCSS line count of 101. 3 13681545
ImplicitSwitchFallThrough A switch statement does not contain a break 3 13751543

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/RetrieveRunner.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 48
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 59
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
NPathComplexity The method 'run()' has an NPath complexity of 535, current threshold is 200 3 94193
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 20. 3 94193
CognitiveComplexity The method 'run()' has a cognitive complexity of 30, current threshold is 15 3 94193
NcssCount The method 'run()' has a NCSS line count of 63. 3 94193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 120
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 137
GuardLogStatement Logger calls should be surrounded by log level guards. 2 138139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 140
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 148
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 158159
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198
EmptyCatchBlock Avoid empty catch blocks 3 199201
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 209210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 209210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 214216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 214216
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 214216
CognitiveComplexity The method 'finalizeRequestDone(boolean)' has a cognitive complexity of 20, current threshold is 15 3 230265
CyclomaticComplexity The method 'finalizeRequestDone(boolean)' has a cyclomatic complexity of 12. 3 230265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 231
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 274

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/ServerActions.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 202835
GodClass Possible God Class (WMC=517, ATFD=700, TCC=29.864%) 3 1252835
TooManyMethods This class has too many methods, consider refactoring it. 3 1252835
CyclomaticComplexity The class 'ServerActions' has a total cyclomatic complexity of 517 (highest 84). 3 1252835
ExcessiveClassLength Avoid really long classes. 3 1252835
GuardLogStatement Logger calls should be surrounded by log level guards. 2 171174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
GuardLogStatement Logger calls should be surrounded by log level guards. 2 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
CyclomaticComplexity The method 'valid(ValidPacket)' has a cyclomatic complexity of 16. 3 244317
ImplicitSwitchFallThrough A switch statement does not contain a break 3 258316
GuardLogStatement Logger calls should be surrounded by log level guards. 2 314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 322
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 335
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 342
NPathComplexity The method 'configImportPacket(ValidPacket)' has an NPath complexity of 161616, current threshold is 200 3 355478
ExcessiveMethodLength Avoid really long methods. 3 355478
CognitiveComplexity The method 'configImportPacket(ValidPacket)' has a cognitive complexity of 59, current threshold is 15 3 355478
CyclomaticComplexity The method 'configImportPacket(ValidPacket)' has a cyclomatic complexity of 31. 3 355478
NcssCount The method 'configImportPacket(ValidPacket)' has a NCSS line count of 76. 3 355478
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362363
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 364
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 372
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 373374
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 373374
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 374
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 379
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 380
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
EmptyCatchBlock Avoid empty catch blocks 3 391393
EmptyCatchBlock Avoid empty catch blocks 3 410412
EmptyCatchBlock Avoid empty catch blocks 3 422424
GuardLogStatement Logger calls should be surrounded by log level guards. 2 432
AvoidDuplicateLiterals The String literal "Rule:KO" appears 4 times in this file; the first occurrence is on line 433 3 433
AvoidDuplicateLiterals The String literal "Error" appears 17 times in this file; the first occurrence is on line 436 3 436
EmptyCatchBlock Avoid empty catch blocks 3 454456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 468
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 498
CyclomaticComplexity The method 'logPacket(ValidPacket)' has a cyclomatic complexity of 20. 3 510587
CognitiveComplexity The method 'logPacket(ValidPacket)' has a cognitive complexity of 16, current threshold is 15 3 510587
NPathComplexity The method 'logPacket(ValidPacket)' has an NPath complexity of 1120, current threshold is 200 3 510587
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 515516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 515516
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 516
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 517
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 535
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 536
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 538
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 559
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 560562
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 560562
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 562
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 577
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 622
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 624
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 627
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 638
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 642
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 651
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 651
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 653
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 654
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 673
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 680
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 680
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 682
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 697
EmptyCatchBlock Avoid empty catch blocks 3 703705
CyclomaticComplexity The method 'jsonCommand(JsonCommandPacket, JsonPacket)' has a cyclomatic complexity of 20. 3 739816
ImplicitSwitchFallThrough A switch statement does not contain a break 3 758815
GuardLogStatement Logger calls should be surrounded by log level guards. 2 814
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 826
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 856
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 874
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 874
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 875
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 875
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 876
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 882
GuardLogStatement Logger calls should be surrounded by log level guards. 2 884
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 925
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 943
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 945
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 970
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1018
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1020
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1022
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1043
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1043
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1044
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1056
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1056
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1058
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1075
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1077
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1094
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1179
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1185
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1198
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1199
AvoidDuplicateLiterals The String literal "Unblock" appears 4 times in this file; the first occurrence is on line 1 207 3 1207
AvoidDuplicateLiterals The String literal "Block" appears 4 times in this file; the first occurrence is on line 1 207 3 1207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1209
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1283
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1284
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1288
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1292
GuardLogStatement Logger calls should be surrounded by log level guards. 2 13171318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1319
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1323
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1327
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1329
CognitiveComplexity The method 'bandwidth(boolean, long, long, long, long)' has a cognitive complexity of 15, current threshold is 15 3 13571410
CyclomaticComplexity The method 'bandwidth(boolean, long, long, long, long)' has a cyclomatic complexity of 12. 3 13571410
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13641365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13641365
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1366
EmptyIfStmt Avoid empty if statements 3 13741377
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1383
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1386
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1389
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1392
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1394
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 13951398
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13951398
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1398
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 14001401
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1401
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1405
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1406
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1407
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1408
CognitiveComplexity The method 'configImport(ConfigImportJsonPacket)' has a cognitive complexity of 157, current threshold is 15 3 14221698
NcssCount The method 'configImport(ConfigImportJsonPacket)' has a NCSS line count of 175. 3 14221698
CyclomaticComplexity The method 'configImport(ConfigImportJsonPacket)' has a cyclomatic complexity of 84. 3 14221698
ExcessiveMethodLength Avoid really long methods. 3 14221698
NPathComplexity The method 'configImport(ConfigImportJsonPacket)' has an NPath complexity of 2147483647, current threshold is 200 3 14221698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14301431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14301431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1431
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1431
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1432
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1440
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 14411442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 14411442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1442
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1468
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1471
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1473
AvoidDuplicateLiterals The String literal " : {}" appears 5 times in this file; the first occurrence is on line 1 473 3 1473
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1482
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1484
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1485
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1487
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1488
EmptyCatchBlock Avoid empty catch blocks 3 14961498
EmptyCatchBlock Avoid empty catch blocks 3 15141516
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1528
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1530
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1531
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1533
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1534
EmptyCatchBlock Avoid empty catch blocks 3 15421544
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1552
EmptyCatchBlock Avoid empty catch blocks 3 15701572
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1585
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1593
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1594
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1596
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1597
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1620
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1621
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1623
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1624
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1646
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1647
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1649
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1650
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1667
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 17201721
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 17201721
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1721
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1721
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1722
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1730
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 17311732
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 17311732
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1732
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1734
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1735
ExcessiveMethodLength Avoid really long methods. 3 17511854
CognitiveComplexity The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has a cognitive complexity of 35, current threshold is 15 3 17511854
NPathComplexity The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has an NPath complexity of 1136, current threshold is 200 3 17511854
NcssCount The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has a NCSS line count of 73. 3 17511854
CyclomaticComplexity The method 'staticConfigExport(String, boolean, boolean, boolean, boolean, boolean)' has a cyclomatic complexity of 20. 3 17511854
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1759
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1769
UnusedAssignment The value assigned to variable 'bhost' is never used 3 1770
AvoidReassigningParameters Avoid reassigning parameters such as 'bhost' 2 1770
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1773
UnusedAssignment The value assigned to variable 'bhost' is never used 3 1774
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1782
UnusedAssignment The value assigned to variable 'brule' is never used 3 1783
AvoidReassigningParameters Avoid reassigning parameters such as 'brule' 2 1783
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1786
UnusedAssignment The value assigned to variable 'brule' is never used 3 1787
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1793
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 1799
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1802
UnusedAssignment The value assigned to variable 'bbusiness' is never used 3 1808
AvoidReassigningParameters Avoid reassigning parameters such as 'bbusiness' 2 1808
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 1815
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1818
UnusedAssignment The value assigned to variable 'balias' is never used 3 1824
AvoidReassigningParameters Avoid reassigning parameters such as 'balias' 2 1824
CloseResource Ensure that resources like this FileOutputStream object are closed after use 3 1831
AvoidReassigningParameters Avoid reassigning parameters such as 'broles' 2 1840
UnusedAssignment The value assigned to variable 'broles' is never used 3 1840
CyclomaticComplexity The method 'requestRestart(String, String, long, Date)' has a cyclomatic complexity of 13. 3 18681937
CognitiveComplexity The method 'requestRestart(String, String, long, Date)' has a cognitive complexity of 18, current threshold is 15 3 18681937
UnusedAssignment The initializer for variable 'returnCode' is never used (overwritten on lines 1895, 1903, 1927 and 1929) 3 1872
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 18761877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 18761877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1877
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1877
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1878
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 18881889
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 18881889
GuardLogStatement Logger calls should be surrounded by log level guards. 2 18901893
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1893
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1893
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 19201921
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 19201921
UnusedAssignment The value assigned to variable 'returnCode' is never used 3 1927
CyclomaticComplexity The method 'isCodeValid(ErrorCode)' has a cyclomatic complexity of 35. 3 19441984
NPathComplexity The method 'logPurge(boolean, boolean, Timestamp, Timestamp, String, String, String, String, boolean, boolean, boolean, boolean, boolean)' has an NPath complexity of 3360, current threshold is 200 3 20082103
CyclomaticComplexity The method 'logPurge(boolean, boolean, Timestamp, Timestamp, String, String, String, String, boolean, boolean, boolean, boolean, boolean)' has a cyclomatic complexity of 26. 3 20082103
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 20082014
CognitiveComplexity The method 'logPurge(boolean, boolean, Timestamp, Timestamp, String, String, String, String, boolean, boolean, boolean, boolean, boolean)' has a cognitive complexity of 26, current threshold is 15 3 20082103
ExcessiveParameterList Avoid long parameter lists. 3 20082014
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 20192020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 20192020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2020
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2020
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2021
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2039
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2043
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2044
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2046
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2074
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 20752077
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 20752077
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2077
AvoidReassigningParameters Avoid reassigning parameters such as 'stopid' 2 2083
CyclomaticComplexity The method 'stopOrCancel(byte, String, String, long)' has a cyclomatic complexity of 13. 3 21192176
CognitiveComplexity The method 'stopOrCancel(byte, String, String, long)' has a cognitive complexity of 17, current threshold is 15 3 21192176
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 21252126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 21252126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2147
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2149
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 2159
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 21832184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 21832184
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2203
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2203
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 2207
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2208
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2235
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 2239
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2246
CyclomaticComplexity The method 'shutdown(byte, boolean)' has a cyclomatic complexity of 10. 3 23022335
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2312
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2314
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 23152318
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 23152318
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2320
GuardLogStatement Logger calls should be surrounded by log level guards. 2 23312333
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2332
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2378
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2385
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2399
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 24392441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24392441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 24402441
GuardLogStatement Logger calls should be surrounded by log level guards. 2 24422443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2443
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2477
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2477
CyclomaticComplexity The method 'blockRequest(byte, boolean)' has a cyclomatic complexity of 10. 3 24992529
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2507
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2508
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2510
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 25112513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 25112513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2513
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2515
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2516
GuardLogStatement Logger calls should be surrounded by log level guards. 2 25262527
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2526
NcssCount The method 'informationFile(byte, String, String, boolean)' has a NCSS line count of 74. 3 25452653
CyclomaticComplexity The method 'informationFile(byte, String, String, boolean)' has a cyclomatic complexity of 21. 3 25452653
NPathComplexity The method 'informationFile(byte, String, String, boolean)' has an NPath complexity of 280, current threshold is 200 3 25452653
CognitiveComplexity The method 'informationFile(byte, String, String, boolean)' has a cognitive complexity of 40, current threshold is 15 3 25452653
ExcessiveMethodLength Avoid really long methods. 3 25452653
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2560
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2564
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2566
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2567
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2570
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2571
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2573
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2580
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2582
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2584
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2596
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2609
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2611
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2614
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2617
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2620
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2621
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2622
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2626
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2631
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2650
CyclomaticComplexity The method 'informationRequest(long, boolean, String, boolean)' has a cyclomatic complexity of 15. 3 26742732
NPathComplexity The method 'informationRequest(long, boolean, String, boolean)' has an NPath complexity of 384, current threshold is 200 3 26742732
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2683
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2689
GuardLogStatement Logger calls should be surrounded by log level guards. 2 27002701
GuardLogStatement Logger calls should be surrounded by log level guards. 2 27022703
GuardLogStatement Logger calls should be surrounded by log level guards. 2 27112712
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2713
CyclomaticComplexity The method 'initTransferRequest(TransferRequestJsonPacket)' has a cyclomatic complexity of 11. 3 27752834
CognitiveComplexity The method 'initTransferRequest(TransferRequestJsonPacket)' has a cognitive complexity of 15, current threshold is 15 3 27752834
GuardLogStatement Logger calls should be surrounded by log level guards. 2 27932794
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2812
GuardLogStatement Logger calls should be surrounded by log level guards. 2 2829

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/TransferActions.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201495
TooManyMethods This class has too many methods, consider refactoring it. 3 781495
ExcessiveClassLength Avoid really long classes. 3 781495
CyclomaticComplexity The class 'TransferActions' has a total cyclomatic complexity of 257 (highest 27). 3 781495
GuardLogStatement Logger calls should be surrounded by log level guards. 2 107110
GuardLogStatement Logger calls should be surrounded by log level guards. 2 120
GuardLogStatement Logger calls should be surrounded by log level guards. 2 122
GuardLogStatement Logger calls should be surrounded by log level guards. 2 125
NcssCount The method 'request(RequestPacket)' has a NCSS line count of 79. 3 158300
NPathComplexity The method 'request(RequestPacket)' has an NPath complexity of 57344, current threshold is 200 3 158300
CognitiveComplexity The method 'request(RequestPacket)' has a cognitive complexity of 31, current threshold is 15 3 158300
CyclomaticComplexity The method 'request(RequestPacket)' has a cyclomatic complexity of 27. 3 158300
ExcessiveMethodLength Avoid really long methods. 3 158300
GuardLogStatement Logger calls should be surrounded by log level guards. 2 178179
AvoidReassigningParameters Avoid reassigning parameters such as 'packet' 2 188
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 192
GuardLogStatement Logger calls should be surrounded by log level guards. 2 212
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 214
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 221
GuardLogStatement Logger calls should be surrounded by log level guards. 2 221222
GuardLogStatement Logger calls should be surrounded by log level guards. 2 223226
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 226
GuardLogStatement Logger calls should be surrounded by log level guards. 2 227232
SimplifyBooleanExpressions Avoid unnecessary comparisons in boolean expressions 3 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
CollapsibleIfStatements These nested if statements could be combined 3 253258
GuardLogStatement Logger calls should be surrounded by log level guards. 2 256257
GuardLogStatement Logger calls should be surrounded by log level guards. 2 264
GuardLogStatement Logger calls should be surrounded by log level guards. 2 271
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 278279
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 278279
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 289
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 313
GuardLogStatement Logger calls should be surrounded by log level guards. 2 314315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 316
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 317
AvoidReassigningParameters Avoid reassigning parameters such as 'packet' 2 318
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 339
GuardLogStatement Logger calls should be surrounded by log level guards. 2 340341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 349350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 349350
GuardLogStatement Logger calls should be surrounded by log level guards. 2 356357
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 357
GuardLogStatement Logger calls should be surrounded by log level guards. 2 370
GuardLogStatement Logger calls should be surrounded by log level guards. 2 374375
CyclomaticComplexity The method 'setFileSizeFromRequest(RequestPacket, DbTaskRunner, boolean)' has a cyclomatic complexity of 19. 3 385429
GuardLogStatement Logger calls should be surrounded by log level guards. 2 389390
AvoidReassigningParameters Avoid reassigning parameters such as 'shouldInformBack' 2 392
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 393
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 403
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 435
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 436
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 436
GuardLogStatement Logger calls should be surrounded by log level guards. 2 441
GuardLogStatement Logger calls should be surrounded by log level guards. 2 443
GuardLogStatement Logger calls should be surrounded by log level guards. 2 446
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 458
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 459
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 460
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 460
GuardLogStatement Logger calls should be surrounded by log level guards. 2 467468
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 482
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 502
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 502
GuardLogStatement Logger calls should be surrounded by log level guards. 2 513
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 523524
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 523524
GuardLogStatement Logger calls should be surrounded by log level guards. 2 549
CognitiveComplexity The method 'checkRunnerConsistency(RequestPacket, DbTaskRunner, LocalChannelReference)' has a cognitive complexity of 16, current threshold is 15 3 564602
CyclomaticComplexity The method 'checkRunnerConsistency(RequestPacket, DbTaskRunner, LocalChannelReference)' has a cyclomatic complexity of 13. 3 564602
GuardLogStatement Logger calls should be surrounded by log level guards. 2 569
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 575
GuardLogStatement Logger calls should be surrounded by log level guards. 2 576578
GuardLogStatement Logger calls should be surrounded by log level guards. 2 579
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 586
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 588
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 593594
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 593594
GuardLogStatement Logger calls should be surrounded by log level guards. 2 619620
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 635636
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 635636
GuardLogStatement Logger calls should be surrounded by log level guards. 2 646
GuardLogStatement Logger calls should be surrounded by log level guards. 2 652
UnusedAssignment The initializer for variable 'runner' is never used (overwritten on lines 665 and 682) 3 663
GuardLogStatement Logger calls should be surrounded by log level guards. 2 670671
GuardLogStatement Logger calls should be surrounded by log level guards. 2 683684
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 702
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 703705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 703705
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 705
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 705
GuardLogStatement Logger calls should be surrounded by log level guards. 2 707710
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 709
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 709
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 715
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 715
GuardLogStatement Logger calls should be surrounded by log level guards. 2 733
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 735
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 742
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 753
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 754
CyclomaticComplexity The method 'data(DataPacket)' has a cyclomatic complexity of 27. 3 811981
NPathComplexity The method 'data(DataPacket)' has an NPath complexity of 45360, current threshold is 200 3 811981
CognitiveComplexity The method 'data(DataPacket)' has a cognitive complexity of 38, current threshold is 15 3 811981
NcssCount The method 'data(DataPacket)' has a NCSS line count of 88. 3 811981
ExcessiveMethodLength Avoid really long methods. 3 811981
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 825
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 831
GuardLogStatement Logger calls should be surrounded by log level guards. 2 832833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 833
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 834
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 845
GuardLogStatement Logger calls should be surrounded by log level guards. 2 846847
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 847
GuardLogStatement Logger calls should be surrounded by log level guards. 2 850853
AvoidDuplicateLiterals The String literal " : " appears 5 times in this file; the first occurrence is on line 851 3 851
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 861
GuardLogStatement Logger calls should be surrounded by log level guards. 2 862863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 863
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 864
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 866
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 867
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 869
GuardLogStatement Logger calls should be surrounded by log level guards. 2 871872
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 872
GuardLogStatement Logger calls should be surrounded by log level guards. 2 880881
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 881
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 884
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 890
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 892
CollapsibleIfStatements These nested if statements could be combined 3 892903
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 893
GuardLogStatement Logger calls should be surrounded by log level guards. 2 895898
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 897
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 906
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 909
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 911
GuardLogStatement Logger calls should be surrounded by log level guards. 2 916919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 918919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 918919
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 922923
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 922923
GuardLogStatement Logger calls should be surrounded by log level guards. 2 932935
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 934935
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 934935
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 937938
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 937938
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 943
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 948
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 952954
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 955
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 956
GuardLogStatement Logger calls should be surrounded by log level guards. 2 957958
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 958
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 968
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 969
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 970
GuardLogStatement Logger calls should be surrounded by log level guards. 2 971972
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 972
CognitiveComplexity The method 'prepareGlobalDigests()' has a cognitive complexity of 34, current threshold is 15 3 9831032
CyclomaticComplexity The method 'prepareGlobalDigests()' has a cyclomatic complexity of 16. 3 9831032
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 984
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 988
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 992
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 994
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 995
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 997
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1000
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1005
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1008
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1009
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10141016
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1015
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1018
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1020
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1025
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1030
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1030
CyclomaticComplexity The method 'endTransfer(EndTransferPacket)' has a cyclomatic complexity of 10. 3 10411075
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1048
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10491050
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1050
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1052
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1054
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1070
EmptyIfStmt Avoid empty if statements 3 10711073
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1078
EmptyCatchBlock Avoid empty catch blocks 3 10881090
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1093
CyclomaticComplexity The method 'checkGlobalDigest(EndTransferPacket)' has a cyclomatic complexity of 13. 3 10991160
CognitiveComplexity The method 'checkGlobalDigest(EndTransferPacket)' has a cognitive complexity of 23, current threshold is 15 3 10991160
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11011103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1102
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1106
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1107
GuardLogStatement Logger calls should be surrounded by log level guards. 2 11091110
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1126
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1127
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1146
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1154
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1157
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1158
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1164
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1169
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1186
EmptyCatchBlock Avoid empty catch blocks 3 11981200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1209
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1211
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1212
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1212
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1215
CyclomaticComplexity The method 'endRequest(EndRequestPacket)' has a cyclomatic complexity of 19. 3 12531316
NPathComplexity The method 'endRequest(EndRequestPacket)' has an NPath complexity of 1296, current threshold is 200 3 12531316
CognitiveComplexity The method 'endRequest(EndRequestPacket)' has a cognitive complexity of 29, current threshold is 15 3 12531316
EmptyCatchBlock Avoid empty catch blocks 3 12621264
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1271
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1274
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1275
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1278
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1288
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1290
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1313
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1313
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1332
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1371
CyclomaticComplexity The method 'requestChangeNameSize(String, long)' has a cyclomatic complexity of 11. 3 13821440
CognitiveComplexity The method 'requestChangeNameSize(String, long)' has a cognitive complexity of 18, current threshold is 15 3 13821440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1399
GuardLogStatement Logger calls should be surrounded by log level guards. 2 1413
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1416
CognitiveComplexity The method 'checkIfAnyTaskCheckFile(String, long, DbTaskRunner)' has a cognitive complexity of 25, current threshold is 15 3 14421494
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1446
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1453
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1454
GuardLogStatement Logger calls should be surrounded by log level guards. 2 14611463
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 14641466
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1466
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 14741476
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1475
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 14781480
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1479
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 14821484
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1483

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/AbstractLocalPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
RedundantFieldInitializer Avoid using redundant field initializer for 'global' 3 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 55
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 56
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 57
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 131176
CognitiveComplexity The method 'getLocalPacketForNetworkPacket(LocalChannelReference, NetworkPacket)' has a cognitive complexity of 21, current threshold is 15 3 131176
CyclomaticComplexity The method 'getLocalPacketForNetworkPacket(LocalChannelReference, NetworkPacket)' has a cyclomatic complexity of 13. 3 131176
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 153154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 182
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 193195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 193195
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 198214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 200
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 206
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 209
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 212
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 216224

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/AuthentPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 56
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 97
ArrayIsStoredDirectly The user-supplied array 'key' is stored directly. 3 133
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 154182
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 169
MethodReturnsInternalArray Returning 'key' may expose an internal array. 3 206
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 233
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/BlockRequestPacket.java

Rule Violation Priority Line
ArrayIsStoredDirectly The user-supplied array 'spassword' is stored directly. 3 67
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7888
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
MethodReturnsInternalArray Returning 'key' may expose an internal array. 3 111

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/BusinessRequestPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 58
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 62
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 89108
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 163

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ConnectionErrorPacket.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 80102
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 92

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/DataPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 52
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 95
ArrayIsStoredDirectly The user-supplied array 'data' is stored directly. 3 106
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 110
ArrayIsStoredDirectly The user-supplied array 'data' is stored directly. 3 121
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 139141
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 144147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 145
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 150157
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 188198
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 196
MethodReturnsInternalArray Returning 'data' may expose an internal array. 3 206
MethodReturnsInternalArray Returning 'key' may expose an internal array. 3 213
GuardLogStatement Logger calls should be surrounded by log level guards. 2 237240
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 251258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 256

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/EndRequestPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 62
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 65
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 115137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 126

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/EndTransferPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 45
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 62
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 65
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 125147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 136

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ErrorPacket.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 72
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 97122
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/InformationPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 66
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 99126
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/JsonCommandPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 90
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 112137
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 124
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 169

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/KeepAlivePacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 56
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 8392
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 87

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/LocalPacketCodec.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 2855

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/LocalPacketFactory.java

Rule Violation Priority Line
CyclomaticComplexity The method 'createPacketFromByteBuf(int, int, int, ByteBuf)' has a cyclomatic complexity of 28. 3 98170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/NoOpPacket.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5865
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 61

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/RequestPacket.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=69, ATFD=66, TCC=20.120%) 3 48585
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 163
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 187
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 188
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 190
NPathComplexity The method 'createFromBuffer(int, int, int, ByteBuf)' has an NPath complexity of 384, current threshold is 200 3 214287
CyclomaticComplexity The method 'createFromBuffer(int, int, int, ByteBuf)' has a cyclomatic complexity of 14. 3 214287
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 222
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 244
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 245
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 246
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 246
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 248
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 248
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 251
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 252
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 252
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 254
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 260
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 266
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 269
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 275
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 281
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 309
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 367372
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 375395
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 380
GuardLogStatement Logger calls should be surrounded by log level guards. 2 381
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 386
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 390391
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 392393
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 398443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 404
GuardLogStatement Logger calls should be surrounded by log level guards. 2 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 416418
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 422424
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 427428
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 431432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 435436
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 439441
AvoidDuplicateLiterals The String literal " : " appears 9 times in this file; the first occurrence is on line 452 3 452
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 552555
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 554

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ShutdownPacket.java

Rule Violation Priority Line
ArrayIsStoredDirectly The user-supplied array 'spassword' is stored directly. 3 68
ArrayIsStoredDirectly The user-supplied array 'spassword' is stored directly. 3 77
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 88110
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
MethodReturnsInternalArray Returning 'key' may expose an internal array. 3 126

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/StartupPacket.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6883
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 76

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/TestPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 107110
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 109

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/ValidPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 83104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 126128
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 133136
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 135

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/compression/ZstdCompressionCodecDataPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 5557
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 65
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6769
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8992
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 99
GuardLogStatement Logger calls should be surrounded by log level guards. 2 100101

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/BandwidthJsonPacket.java

Rule Violation Priority Line
DataClass The class 'BandwidthJsonPacket' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=10, WMC=13) 3 27123

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/BusinessRequestJsonPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
AvoidFieldNameMatchingMethodName Field isToApplied has the same name as a method 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
AvoidFieldNameMatchingMethodName Field isValidated has the same name as a method 3 34

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigExportJsonPacket.java

Rule Violation Priority Line
DataClass The class 'ConfigExportJsonPacket' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=10, WMC=13) 3 27122

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigExportResponseJsonPacket.java

Rule Violation Priority Line
DataClass The class 'ConfigExportResponseJsonPacket' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) 3 27124

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigImportJsonPacket.java

Rule Violation Priority Line
DataClass The class 'ConfigImportJsonPacket' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=30, WMC=33) 3 29284

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ConfigImportResponseJsonPacket.java

Rule Violation Priority Line
DataClass The class 'ConfigImportResponseJsonPacket' is suspected to be a Data Class (WOC=4.348%, NOPA=0, NOAM=22, WMC=23) 3 27199

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/InformationJsonPacket.java

Rule Violation Priority Line
DataClass The class 'InformationJsonPacket' is suspected to be a Data Class (WOC=31.250%, NOPA=0, NOAM=8, WMC=16) 3 27168
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 29
AvoidFieldNameMatchingMethodName Field isIdRequest has the same name as a method 3 29
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
AvoidFieldNameMatchingMethodName Field isTo has the same name as a method 3 31

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/JsonPacket.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 49
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 52
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/LogJsonPacket.java

Rule Violation Priority Line
DataClass The class 'LogJsonPacket' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=24, WMC=27) 3 29235

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/LogResponseJsonPacket.java

Rule Violation Priority Line
DataClass The class 'LogResponseJsonPacket' is suspected to be a Data Class (WOC=11.111%, NOPA=0, NOAM=8, WMC=9) 3 2794

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/RequestJsonPacket.java

Rule Violation Priority Line
DataClass The class 'RequestJsonPacket' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=7) 3 2779

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/RestartTransferJsonPacket.java

Rule Violation Priority Line
DataClass The class 'RestartTransferJsonPacket' is suspected to be a Data Class (WOC=11.111%, NOPA=1, NOAM=8, WMC=9) 3 3198

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/ShutdownOrBlockJsonPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
AvoidFieldNameMatchingMethodName Field isRestartOrBlock has the same name as a method 3 31
AvoidFieldNameMatchingMethodName Field isShutdownOrBlock has the same name as a method 3 35
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35
MethodReturnsInternalArray Returning 'key' may expose an internal array. 3 41
ArrayIsStoredDirectly The user-supplied array 'key' is stored directly. 3 47

Waarp OpenR66 - org/waarp/openr66/protocol/localhandler/packet/json/TransferRequestJsonPacket.java

Rule Violation Priority Line
DataClass The class 'TransferRequestJsonPacket' is suspected to be a Data Class (WOC=18.750%, NOPA=0, NOAM=26, WMC=33) 3 35299
AvoidFieldNameMatchingMethodName Field validate has the same name as a method 3 55
AvoidFieldNameMatchingMethodName Field isAdditionalDelay has the same name as a method 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
AvoidReassigningParameters Avoid reassigning parameters such as 'fileInformation' 2 263

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/ElasticsearchMonitoringExporterClientBuilder.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 3191
RedundantFieldInitializer Avoid using redundant field initializer for 'factory' 3 32
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 62

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/ElasticsearchMonitoringExporterClientFactory.java

Rule Violation Priority Line
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 5255

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClient.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21278
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
RedundantFieldInitializer Avoid using redundant field initializer for 'remoteRestChannel' 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
RedundantFieldInitializer Avoid using redundant field initializer for 'futurePost' 3 83
NPathComplexity The constructor 'HttpMonitoringExporterClient(String, String, String, String, String, boolean, EventLoopGroup)' has an NPath complexity of 576, current threshold is 200 3 101164
CyclomaticComplexity The constructor 'HttpMonitoringExporterClient(String, String, String, String, String, boolean, EventLoopGroup)' has a cyclomatic complexity of 15. 3 101164
CognitiveComplexity The constructor 'HttpMonitoringExporterClient(String, String, String, String, String, boolean, EventLoopGroup)' has a cognitive complexity of 15, current threshold is 15 3 101164
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 106
GuardLogStatement Logger calls should be surrounded by log level guards. 2 121
AvoidUsingHardCodedIP Do not hard code the IP address 3 126
NPathComplexity The method 'post(ObjectNode, DateTime, DateTime, String)' has an NPath complexity of 1152, current threshold is 200 3 174257
CognitiveComplexity The method 'post(ObjectNode, DateTime, DateTime, String)' has a cognitive complexity of 15, current threshold is 15 3 174257
CyclomaticComplexity The method 'post(ObjectNode, DateTime, DateTime, String)' has a cyclomatic complexity of 14. 3 174257
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 181
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 187
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 187
GuardLogStatement Logger calls should be surrounded by log level guards. 2 202
GuardLogStatement Logger calls should be surrounded by log level guards. 2 234235
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 238239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 245
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 246
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 275

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClientHandler.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 37
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 50
UnusedLocalVariable Avoid unused local variables such as 'status'. 3 50
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 53
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 53
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 66

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/HttpMonitoringExporterClientInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 32

Waarp OpenR66 - org/waarp/openr66/protocol/monitoring/MonitorExporterTransfers.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21431
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 132
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 135
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 137
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 141
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 170
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 182
GuardLogStatement Logger calls should be surrounded by log level guards. 2 191
GuardLogStatement Logger calls should be surrounded by log level guards. 2 199
ExcessiveParameterList Avoid long parameter lists. 3 245251
CyclomaticComplexity The constructor 'MonitorExporterTransfers(String, String, String, String, String, String, String, boolean, boolean, boolean)' has a cyclomatic complexity of 14. 3 245312
NPathComplexity The constructor 'MonitorExporterTransfers(String, String, String, String, String, String, String, boolean, boolean, boolean)' has an NPath complexity of 288, current threshold is 200 3 245312
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 264
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 270
AvoidUsingHardCodedIP Do not hard code the IP address 3 272
GuardLogStatement Logger calls should be surrounded by log level guards. 2 280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 296
GuardLogStatement Logger calls should be surrounded by log level guards. 2 304
NPathComplexity The method 'run()' has an NPath complexity of 1488, current threshold is 200 3 315420
ExcessiveMethodLength Avoid really long methods. 3 315420
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 3 315420
NcssCount The method 'run()' has a NCSS line count of 83. 3 315420
CognitiveComplexity The method 'run()' has a cognitive complexity of 27, current threshold is 15 3 315420
GuardLogStatement Logger calls should be surrounded by log level guards. 2 333
GuardLogStatement Logger calls should be surrounded by log level guards. 2 335
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 340
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 350
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 351
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 354
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 356
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 363
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 365
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 367
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 372
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 373
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 376
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 377
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 380
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 380
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 381
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 382
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 386
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 387388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 389
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 390
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 390
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 396
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 400
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 411

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkChannelReference.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=57, ATFD=36, TCC=21.377%) 3 51421
TooManyMethods This class has too many methods, consider refactoring it. 3 51421
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
AvoidFieldNameMatchingMethodName Field isShuttingDown has the same name as a method 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
AvoidFieldNameMatchingMethodName Field channel has the same name as a method 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 93
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 97
AvoidFieldNameMatchingMethodName Field isSSL has the same name as a method 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 166
CognitiveComplexity The method 'shutdownAllLocalChannels()' has a cognitive complexity of 24, current threshold is 15 3 185236
CyclomaticComplexity The method 'shutdownAllLocalChannels()' has a cyclomatic complexity of 10. 3 185236
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 195196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198199
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 199
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 200
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 201
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 206207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 225
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 228229
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
CognitiveComplexity The method 'shutdownAllowed()' has a cognitive complexity of 16, current threshold is 15 3 255294
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 265
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 317
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 318
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 319
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 343
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 343
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkServerHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20565
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
AvoidFieldNameMatchingMethodName Field isSSL has the same name as a method 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 100
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 104
CyclomaticComplexity The method 'channelInactive(ChannelHandlerContext)' has a cyclomatic complexity of 13. 3 114159
CognitiveComplexity The method 'channelInactive(ChannelHandlerContext)' has a cognitive complexity of 17, current threshold is 15 3 114159
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118119
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 118119
GuardLogStatement Logger calls should be surrounded by log level guards. 2 123125
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 142
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 165
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 167168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179180
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 190191
GuardLogStatement Logger calls should be surrounded by log level guards. 2 197198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 216
GuardLogStatement Logger calls should be surrounded by log level guards. 2 216
CyclomaticComplexity The method 'userEventTriggered(ChannelHandlerContext, Object)' has a cyclomatic complexity of 14. 3 221276
CognitiveComplexity The method 'userEventTriggered(ChannelHandlerContext, Object)' has a cognitive complexity of 28, current threshold is 15 3 221276
NPathComplexity The method 'userEventTriggered(ChannelHandlerContext, Object)' has an NPath complexity of 446, current threshold is 200 3 221276
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229
GuardLogStatement Logger calls should be surrounded by log level guards. 2 244246
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 250
GuardLogStatement Logger calls should be surrounded by log level guards. 2 254256
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 258260
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 258260
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 270
ExcessiveMethodLength Avoid really long methods. 3 286444
CyclomaticComplexity The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has a cyclomatic complexity of 24. 3 286444
NPathComplexity The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has an NPath complexity of 1261, current threshold is 200 3 286444
NcssCount The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has a NCSS line count of 80. 3 286444
CognitiveComplexity The method 'channelRead0(ChannelHandlerContext, NetworkPacket)' has a cognitive complexity of 58, current threshold is 15 3 286444
GuardLogStatement Logger calls should be surrounded by log level guards. 2 307310
GuardLogStatement Logger calls should be surrounded by log level guards. 2 322324
AvoidDuplicateLiterals The String literal " : " appears 9 times in this file; the first occurrence is on line 324 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 324
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 335
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 363365
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363365
GuardLogStatement Logger calls should be surrounded by log level guards. 2 369371
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 385387
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 385387
GuardLogStatement Logger calls should be surrounded by log level guards. 2 391393
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 406408
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 406408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 411
GuardLogStatement Logger calls should be surrounded by log level guards. 2 420421
GuardLogStatement Logger calls should be surrounded by log level guards. 2 434435
CyclomaticComplexity The method 'exceptionCaught(ChannelHandlerContext, Throwable)' has a cyclomatic complexity of 10. 3 447509
GuardLogStatement Logger calls should be surrounded by log level guards. 2 451452
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 456
GuardLogStatement Logger calls should be surrounded by log level guards. 2 456
GuardLogStatement Logger calls should be surrounded by log level guards. 2 460462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 461
GuardLogStatement Logger calls should be surrounded by log level guards. 2 479481
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 480
GuardLogStatement Logger calls should be surrounded by log level guards. 2 487489
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 488
GuardLogStatement Logger calls should be surrounded by log level guards. 2 493495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 494
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 498
GuardLogStatement Logger calls should be surrounded by log level guards. 2 502504
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 503
EmptyIfStmt Avoid empty if statements 3 506508
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 531
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 537
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 538
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 547

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkServerInitializer.java

Rule Violation Priority Line
DataClass The class 'NetworkServerInitializer' is suspected to be a Data Class (WOC=0.000%, NOPA=5, NOAM=0, WMC=4) 3 3986
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 53
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 63
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 65
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 69
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 75
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/NetworkTransaction.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 201427
TooManyMethods This class has too many methods, consider refactoring it. 3 851427
GodClass Possible God Class (WMC=201, ATFD=113, TCC=18.588%) 3 851427
ExcessiveClassLength Avoid really long classes. 3 851427
CyclomaticComplexity The class 'NetworkTransaction' has a total cyclomatic complexity of 201 (highest 24). 3 851427
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 138
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 140
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 142
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 144
CognitiveComplexity The method 'clearPreviousStates()' has a cognitive complexity of 17, current threshold is 15 3 182204
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 187189
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 188189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 188189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 196
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 197198
GuardLogStatement Logger calls should be surrounded by log level guards. 2 197198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 199
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 49, but has at least 238 characters appended. 3 207
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 328
CognitiveComplexity The method 'createConnectionWithRetryWithAuthenticationException(SocketAddress, boolean, R66Future)' has a cognitive complexity of 17, current threshold is 15 3 393438
CyclomaticComplexity The method 'createConnectionWithRetryWithAuthenticationException(SocketAddress, boolean, R66Future)' has a cyclomatic complexity of 11. 3 393438
GuardLogStatement Logger calls should be surrounded by log level guards. 2 408
GuardLogStatement Logger calls should be surrounded by log level guards. 2 412
GuardLogStatement Logger calls should be surrounded by log level guards. 2 416
GuardLogStatement Logger calls should be surrounded by log level guards. 2 420
GuardLogStatement Logger calls should be surrounded by log level guards. 2 425
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 428
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 430
CyclomaticComplexity The method 'createConnection(SocketAddress, boolean, R66Future)' has a cyclomatic complexity of 13. 3 455518
CognitiveComplexity The method 'createConnection(SocketAddress, boolean, R66Future)' has a cognitive complexity of 15, current threshold is 15 3 455518
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 467
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 469
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 472473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 472473
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 492495
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 492495
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 496
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 496
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 505
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 505
CyclomaticComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cyclomatic complexity of 24. 3 531621
NPathComplexity The method 'createNewConnection(SocketAddress, boolean)' has an NPath complexity of 905, current threshold is 200 3 531621
CognitiveComplexity The method 'createNewConnection(SocketAddress, boolean)' has a cognitive complexity of 36, current threshold is 15 3 531621
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 539
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 544
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 560
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 569570
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 573
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 574
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 575
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 579
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 587
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 595
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 597
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 602
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 603
GuardLogStatement Logger calls should be surrounded by log level guards. 2 603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 605
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 605
GuardLogStatement Logger calls should be surrounded by log level guards. 2 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 607
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 613
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 638639
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 638639
GuardLogStatement Logger calls should be surrounded by log level guards. 2 645647
CyclomaticComplexity The method 'sendValidationConnection(LocalChannelReference)' has a cyclomatic complexity of 15. 3 666762
CognitiveComplexity The method 'sendValidationConnection(LocalChannelReference)' has a cognitive complexity of 20, current threshold is 15 3 666762
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 670671
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 679
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 680
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 681
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 682683
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 683
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 685
GuardLogStatement Logger calls should be surrounded by log level guards. 2 692
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 693694
GuardLogStatement Logger calls should be surrounded by log level guards. 2 718
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 736
GuardLogStatement Logger calls should be surrounded by log level guards. 2 744745
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 745
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 747
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 779
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 807
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 831
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 835836
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 837839
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 837839
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 838
EmptyCatchBlock Avoid empty catch blocks 3 840842
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 869
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 873874
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 875877
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 875877
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 876
EmptyCatchBlock Avoid empty catch blocks 3 878880
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 905
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 912
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 916917
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 918921
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 918921
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 919
EmptyCatchBlock Avoid empty catch blocks 3 922924
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 935
GuardLogStatement Logger calls should be surrounded by log level guards. 2 973974
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9991000
GuardLogStatement Logger calls should be surrounded by log level guards. 2 10121013
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1052
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1091
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 11111112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11111112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 11341135
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 1146
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 11471150
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 11471150
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1148
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1163
CyclomaticComplexity The method 'getRemoteChannel(SocketAddress)' has a cyclomatic complexity of 15. 3 12301267
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1258
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1258
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1293
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 1294
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1320
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1321
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1322
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1325
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1326
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1329
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1331
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13401341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 13401341
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1350
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1352
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 13531354
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 13531354
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1364
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1394
CollapsibleIfStatements These nested if statements could be combined 3 13951397
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1401
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1406
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1410
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1411
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1419
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1421
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 1422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1423

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/R66ConstraintLimitHandler.java

Rule Violation Priority Line
ExcessiveParameterList Avoid long parameter lists. 3 121130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 139
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140141
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 140141
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 148
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 153

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/packet/NetworkPacket.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 40
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 129130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 132133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 132133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 149

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/packet/NetworkPacketCodec.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 46
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 56
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 78
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 79
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 8587
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 91
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 92

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/ssl/NetworkSslServerHandler.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'isServer'. 3 48
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7071
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 73
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 7475
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7475
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9698
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 9698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100

Waarp OpenR66 - org/waarp/openr66/protocol/networkhandler/ssl/NetworkSslServerInitializer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 7273
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 73
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 75
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7677
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 86
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 92
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 97
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 98
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66Counter32.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 3 30
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 51
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66Gauge32.java

Rule Violation Priority Line
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 3 30
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 51

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66PrivateMib.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 45399
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 77
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 78
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 79
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 81
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 83
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 85
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 91
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 96
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 111
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 127
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 140
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 167
ExcessiveMethodLength Avoid really long methods. 3 179311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 3 187307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 188189
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 192194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 195
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 197199
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 203205
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 205
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 209211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 211
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 222224
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 224
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 226227
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 229231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 235237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 237
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 241243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 243
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 247249
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 251
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 253255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 261263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 263
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 266268
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 270271
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 273275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 275
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 279281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 281
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 285287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 308
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 308
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 322
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 341
UseNotifyAllInsteadOfNotify Call Thread.notifyAll() rather than Thread.notify() 3 364383
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 384
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 384

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66TimeTicks.java

Rule Violation Priority Line
ImmutableField Private field 'type' could be made final; it is only initialized in the declaration or constructor. 3 30
UnusedAssignment The field initializer for 'type' is never used (overwritten on lines 38 and 44) 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 30
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 51
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 51

Waarp OpenR66 - org/waarp/openr66/protocol/snmp/R66VariableFactory.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getVariable(OID, int, int, int)' has a cyclomatic complexity of 12. 3 3980

Waarp OpenR66 - org/waarp/openr66/protocol/utils/ChannelCloseTimer.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 43
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 44
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 69
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101

Waarp OpenR66 - org/waarp/openr66/protocol/utils/ChannelUtils.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20368
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 61
TooManyMethods This class has too many methods, consider refactoring it. 3 61368
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 66
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 76
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 80
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 80
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 82
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 82
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 97
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 99
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 109
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 112
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 127
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 131
CyclomaticComplexity The method 'writeBackDataBlock(LocalChannelReference, FilesystemBasedDigest, DataBlock, FilesystemBasedDigest)' has a cyclomatic complexity of 10. 3 145188
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 151
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 160
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 161
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 163
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 168
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 175
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 186
GuardLogStatement Logger calls should be surrounded by log level guards. 2 244246
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 253
CyclomaticComplexity The method 'exit()' has a cyclomatic complexity of 10. 3 282345
NPathComplexity The method 'exit()' has an NPath complexity of 384, current threshold is 200 3 282345
GuardLogStatement Logger calls should be surrounded by log level guards. 2 283284
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 285
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 286
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 296
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 299300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 299300
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 301
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 301
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 302
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 307
GuardLogStatement Logger calls should be surrounded by log level guards. 2 310311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 315
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 319320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 319320
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 322
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 323
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 323
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 329
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 329
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 332
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 338
GuardLogStatement Logger calls should be surrounded by log level guards. 2 341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 342343
GuardLogStatement Logger calls should be surrounded by log level guards. 2 353
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 364
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 364
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 364

Waarp OpenR66 - org/waarp/openr66/protocol/utils/FileUtils.java

Rule Violation Priority Line
CognitiveComplexity The method 'getFile(WaarpLogger, R66Session, String, boolean, boolean, boolean, R66File)' has a cognitive complexity of 17, current threshold is 15 3 59114
CyclomaticComplexity The method 'getFile(WaarpLogger, R66Session, String, boolean, boolean, boolean, R66File)' has a cyclomatic complexity of 11. 3 59114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68
GuardLogStatement Logger calls should be surrounded by log level guards. 2 68
AvoidReassigningParameters Avoid reassigning parameters such as 'file' 2 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8384
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 87
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9495
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102

Waarp OpenR66 - org/waarp/openr66/protocol/utils/R66Future.java

Rule Violation Priority Line
DataClass The class 'R66Future' is suspected to be a Data Class (WOC=11.111%, NOPA=0, NOAM=6, WMC=11) 3 2999
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 68

Waarp OpenR66 - org/waarp/openr66/protocol/utils/R66ShutdownHook.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 27

Waarp OpenR66 - org/waarp/openr66/protocol/utils/TransferUtils.java

Rule Violation Priority Line
CyclomaticComplexity The method 'restartTransfer(DbTaskRunner, LocalChannelReference)' has a cyclomatic complexity of 16. 3 72180
NcssCount The method 'restartTransfer(DbTaskRunner, LocalChannelReference)' has a NCSS line count of 70. 3 72180
ExcessiveMethodLength Avoid really long methods. 3 72180
CognitiveComplexity The method 'restartTransfer(DbTaskRunner, LocalChannelReference)' has a cognitive complexity of 37, current threshold is 15 3 72180
EmptyIfStmt Avoid empty if statements 3 8082
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 93
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 97
GuardLogStatement Logger calls should be surrounded by log level guards. 2 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 114115
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 114115
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 124
CyclomaticComplexity The method 'finalizeTaskWithNoSession(DbTaskRunner, LocalChannelReference)' has a cyclomatic complexity of 15. 3 190256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 198
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 203
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 210
ExceptionAsFlowControl Avoid using exceptions as flow control. 3 221
GuardLogStatement Logger calls should be surrounded by log level guards. 2 222223
GuardLogStatement Logger calls should be surrounded by log level guards. 2 244245
CognitiveComplexity The method 'stopOneTransfer(DbTaskRunner, Object, R66Session, String)' has a cognitive complexity of 17, current threshold is 15 3 259311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 264265
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 264265
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 278
GuardLogStatement Logger calls should be surrounded by log level guards. 2 279
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 333344
ExcessiveParameterList Avoid long parameter lists. 3 333344
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 350362
ExcessiveParameterList Avoid long parameter lists. 3 350362
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 366
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 372
GuardLogStatement Logger calls should be surrounded by log level guards. 2 394395
CyclomaticComplexity The method 'cleanOneTransfer(DbTaskRunner, Object, R66Session, String)' has a cyclomatic complexity of 14. 3 408462
CognitiveComplexity The method 'cleanOneTransfer(DbTaskRunner, Object, R66Session, String)' has a cognitive complexity of 29, current threshold is 15 3 408462
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 416
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 421
GuardLogStatement Logger calls should be surrounded by log level guards. 2 422423
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 424
GuardLogStatement Logger calls should be surrounded by log level guards. 2 425426
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 432
GuardLogStatement Logger calls should be surrounded by log level guards. 2 440441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 452453
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 452453
ExcessiveParameterList Avoid long parameter lists. 3 486498
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 486498
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 502
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 509
GuardLogStatement Logger calls should be surrounded by log level guards. 2 532533

Waarp OpenR66 - org/waarp/openr66/protocol/utils/Version.java

Rule Violation Priority Line
SystemPrintln System.out.println is used 2 36

Waarp OpenR66 - org/waarp/openr66/server/ChangeBandwidthLimits.java

Rule Violation Priority Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
MutableStaticState Do not use non-final non-private static fields 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 82
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 13. 3 96138
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 105
GuardLogStatement Logger calls should be surrounded by log level guards. 2 136137
MutableStaticState Do not use non-final non-private static fields 3 140
MutableStaticState Do not use non-final non-private static fields 3 141
MutableStaticState Do not use non-final non-private static fields 3 142
MutableStaticState Do not use non-final non-private static fields 3 143
MutableStaticState Do not use non-final non-private static fields 3 144
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 15. 3 146187
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 146
NPathComplexity The method 'getParams(String)' has an NPath complexity of 320, current threshold is 200 3 146187
NonThreadSafeSingleton Singleton is not thread safe 3 147149
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 150
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 162
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 165
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 168
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 171
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 174
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 29, current threshold is 15 3 189267
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 13. 3 189267
NonThreadSafeSingleton Singleton is not thread safe 3 192194
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 205
NonThreadSafeSingleton Singleton is not thread safe 3 212224
GuardLogStatement Logger calls should be surrounded by log level guards. 2 216218
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 238
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 243
GuardLogStatement Logger calls should be surrounded by log level guards. 2 244245
GuardLogStatement Logger calls should be surrounded by log level guards. 2 247248
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 251
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 254
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 261

Waarp OpenR66 - org/waarp/openr66/server/ConfigExport.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 84
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 101
NPathComplexity The method 'run()' has an NPath complexity of 960, current threshold is 200 3 115171
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 3 115171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 124
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 132
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 153
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 165
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 166
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 166
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 170
MutableStaticState Do not use non-final non-private static fields 3 173
MutableStaticState Do not use non-final non-private static fields 3 174
MutableStaticState Do not use non-final non-private static fields 3 175
MutableStaticState Do not use non-final non-private static fields 3 176
MutableStaticState Do not use non-final non-private static fields 3 177
MutableStaticState Do not use non-final non-private static fields 3 178
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 180
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 13. 3 180214
NonThreadSafeSingleton Singleton is not thread safe 3 181183
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 184
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 205
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 14. 3 216292
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 31, current threshold is 15 3 216292
NPathComplexity The method 'main(String)' has an NPath complexity of 222, current threshold is 200 3 216292
NonThreadSafeSingleton Singleton is not thread safe 3 219221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 232
NonThreadSafeSingleton Singleton is not thread safe 3 238250
GuardLogStatement Logger calls should be surrounded by log level guards. 2 242244
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 249
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 261
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 264
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 265
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 267
GuardLogStatement Logger calls should be surrounded by log level guards. 2 268269
GuardLogStatement Logger calls should be surrounded by log level guards. 2 271273
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 276
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 279
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 286
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 286

Waarp OpenR66 - org/waarp/openr66/server/ConfigImport.java

Rule Violation Priority Line
TooManyFields Too many fields 3 48415
MutableStaticState Do not use non-final non-private static fields 3 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 71
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 74
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 107
ExcessiveParameterList Avoid long parameter lists. 3 111117
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 132
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 174
MutableStaticState Do not use non-final non-private static fields 3 207
MutableStaticState Do not use non-final non-private static fields 3 208
MutableStaticState Do not use non-final non-private static fields 3 209
MutableStaticState Do not use non-final non-private static fields 3 210
MutableStaticState Do not use non-final non-private static fields 3 211
MutableStaticState Do not use non-final non-private static fields 3 212
MutableStaticState Do not use non-final non-private static fields 3 213
MutableStaticState Do not use non-final non-private static fields 3 214
MutableStaticState Do not use non-final non-private static fields 3 215
MutableStaticState Do not use non-final non-private static fields 3 216
MutableStaticState Do not use non-final non-private static fields 3 217
MutableStaticState Do not use non-final non-private static fields 3 218
MutableStaticState Do not use non-final non-private static fields 3 219
MutableStaticState Do not use non-final non-private static fields 3 220
MutableStaticState Do not use non-final non-private static fields 3 221
MutableStaticState Do not use non-final non-private static fields 3 222
ExcessiveMethodLength Avoid really long methods. 3 224334
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 192, current threshold is 15 3 224334
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 36. 3 224334
NcssCount The method 'getParams(String)' has a NCSS line count of 99. 3 224334
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 224
NPathComplexity The method 'getParams(String)' has an NPath complexity of 304, current threshold is 200 3 224334
NonThreadSafeSingleton Singleton is not thread safe 3 225227
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 228
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 239
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 245
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 251
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 257
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 263
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 279
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 282
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 292
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 302
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 312
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 322
NPathComplexity The method 'main(String)' has an NPath complexity of 222, current threshold is 200 3 336413
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 14. 3 336413
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 31, current threshold is 15 3 336413
NonThreadSafeSingleton Singleton is not thread safe 3 339341
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 352
NonThreadSafeSingleton Singleton is not thread safe 3 360372
GuardLogStatement Logger calls should be surrounded by log level guards. 2 364366
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 371
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 383
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 384
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 386
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 387
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 389
GuardLogStatement Logger calls should be surrounded by log level guards. 2 390391
GuardLogStatement Logger calls should be surrounded by log level guards. 2 393394
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 400
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 404
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 407
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 407

Waarp OpenR66 - org/waarp/openr66/server/LogExport.java

Rule Violation Priority Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53
MutableStaticState Do not use non-final non-private static fields 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 64
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 66
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 69
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 84
NPathComplexity The method 'run()' has an NPath complexity of 320, current threshold is 200 3 98130
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 11. 3 98130
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
GuardLogStatement Logger calls should be surrounded by log level guards. 2 122
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 125
GuardLogStatement Logger calls should be surrounded by log level guards. 2 128129
MutableStaticState Do not use non-final non-private static fields 3 132
MutableStaticState Do not use non-final non-private static fields 3 133
MutableStaticState Do not use non-final non-private static fields 3 134
MutableStaticState Do not use non-final non-private static fields 3 135
MutableStaticState Do not use non-final non-private static fields 3 136
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 18, current threshold is 15 3 138185
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 138
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 16. 3 138185
NPathComplexity The method 'getParams(String)' has an NPath complexity of 1512, current threshold is 200 3 138185
NonThreadSafeSingleton Singleton is not thread safe 3 139141
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 142
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 159
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 162
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 165
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 13. 3 187255
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 28, current threshold is 15 3 187255
NonThreadSafeSingleton Singleton is not thread safe 3 190192
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 203
NonThreadSafeSingleton Singleton is not thread safe 3 209221
GuardLogStatement Logger calls should be surrounded by log level guards. 2 213215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 229
GuardLogStatement Logger calls should be surrounded by log level guards. 2 229231
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 230
GuardLogStatement Logger calls should be surrounded by log level guards. 2 233236
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 234
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 235
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 239
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 242
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 249
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 249

Waarp OpenR66 - org/waarp/openr66/server/LogExtendedExport.java

Rule Violation Priority Line
TooManyFields Too many fields 3 57465
MutableStaticState Do not use non-final non-private static fields 3 61
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 61
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 75
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 79
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 81
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 82
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 85
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 87
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 91
ExcessiveParameterList Avoid long parameter lists. 3 110118
AssignmentToNonFinalStatic Possible unsafe assignment to a non-final static field in a constructor. 3 135
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 149151
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 151
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 152153
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 153
NPathComplexity The method 'run()' has an NPath complexity of 1920, current threshold is 200 3 162237
CyclomaticComplexity The method 'run()' has a cyclomatic complexity of 15. 3 162237
CognitiveComplexity The method 'run()' has a cognitive complexity of 15, current threshold is 15 3 162237
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 171
GuardLogStatement Logger calls should be surrounded by log level guards. 2 192
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 201
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 207
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 213
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 236
CognitiveComplexity The method 'importLog(R66Future)' has a cognitive complexity of 30, current threshold is 15 3 239295
CyclomaticComplexity The method 'importLog(R66Future)' has a cyclomatic complexity of 16. 3 239295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 243
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 247
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 255
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 257
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 268
GuardLogStatement Logger calls should be surrounded by log level guards. 2 274276
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 275
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 278
MutableStaticState Do not use non-final non-private static fields 3 297
MutableStaticState Do not use non-final non-private static fields 3 298
MutableStaticState Do not use non-final non-private static fields 3 299
MutableStaticState Do not use non-final non-private static fields 3 300
MutableStaticState Do not use non-final non-private static fields 3 301
MutableStaticState Do not use non-final non-private static fields 3 302
MutableStaticState Do not use non-final non-private static fields 3 303
MutableStaticState Do not use non-final non-private static fields 3 304
MutableStaticState Do not use non-final non-private static fields 3 305
MutableStaticState Do not use non-final non-private static fields 3 306
MutableStaticState Do not use non-final non-private static fields 3 307
MutableStaticState Do not use non-final non-private static fields 3 308
MutableStaticState Do not use non-final non-private static fields 3 309
MutableStaticState Do not use non-final non-private static fields 3 310
MutableStaticState Do not use non-final non-private static fields 3 311
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 29, current threshold is 15 3 313388
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 27. 3 313388
NcssCount The method 'getParams(String)' has a NCSS line count of 77. 3 313388
NPathComplexity The method 'getParams(String)' has an NPath complexity of 7344, current threshold is 200 3 313388
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 313
NonThreadSafeSingleton Singleton is not thread safe 3 314316
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 317
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 334
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 337
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 340
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 343
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 346
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 349
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 362
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 365
NonThreadSafeSingleton Singleton is not thread safe 3 384386
NPathComplexity The method 'main(String)' has an NPath complexity of 216, current threshold is 200 3 390463
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 31, current threshold is 15 3 390463
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 14. 3 390463
NonThreadSafeSingleton Singleton is not thread safe 3 393395
NonThreadSafeSingleton Singleton is not thread safe 3 405418
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 416
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 417
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 421
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 437
GuardLogStatement Logger calls should be surrounded by log level guards. 2 437439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 438
GuardLogStatement Logger calls should be surrounded by log level guards. 2 441444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 442
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 447
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 450
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 454
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 457
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 457

Waarp OpenR66 - org/waarp/openr66/server/LogImport.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 4195
NonThreadSafeSingleton Singleton is not thread safe 3 5355
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 56
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5758
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7778
GuardLogStatement Logger calls should be surrounded by log level guards. 2 87

Waarp OpenR66 - org/waarp/openr66/server/R66Server.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3697
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 49
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5051
GuardLogStatement Logger calls should be surrounded by log level guards. 2 5761
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 58
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 6264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 64
GuardLogStatement Logger calls should be surrounded by log level guards. 2 6667
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 67
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 6870
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 70
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 7375
GuardLogStatement Logger calls should be surrounded by log level guards. 2 74
NonThreadSafeSingleton Singleton is not thread safe 3 7981
GuardLogStatement Logger calls should be surrounded by log level guards. 2 8485
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 89
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 9094
GuardLogStatement Logger calls should be surrounded by log level guards. 2 91

Waarp OpenR66 - org/waarp/openr66/server/ServerExportConfiguration.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 41114
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 11. 3 51112
NPathComplexity The method 'main(String)' has an NPath complexity of 224, current threshold is 200 3 51112
NonThreadSafeSingleton Singleton is not thread safe 3 5456
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 57
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 5860
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 75

Waarp OpenR66 - org/waarp/openr66/server/ServerInitDatabase.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=62, ATFD=68, TCC=21.429%) 3 48390
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 48390
MutableStaticState Do not use non-final non-private static fields 3 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
MutableStaticState Do not use non-final non-private static fields 3 57
MutableStaticState Do not use non-final non-private static fields 3 58
AvoidFieldNameMatchingMethodName Field upgradeDb has the same name as a method 3 59
MutableStaticState Do not use non-final non-private static fields 3 59
MutableStaticState Do not use non-final non-private static fields 3 60
MutableStaticState Do not use non-final non-private static fields 3 61
MutableStaticState Do not use non-final non-private static fields 3 62
MutableStaticState Do not use non-final non-private static fields 3 63
MutableStaticState Do not use non-final non-private static fields 3 64
MutableStaticState Do not use non-final non-private static fields 3 65
MutableStaticState Do not use non-final non-private static fields 3 66
RedundantFieldInitializer Avoid using redundant field initializer for 'sextendedFactoryClassList' 3 66
MutableStaticState Do not use non-final non-private static fields 3 67
CyclomaticComplexity The method 'getParams(String)' has a cyclomatic complexity of 15. 3 72121
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 72
CognitiveComplexity The method 'getParams(String)' has a cognitive complexity of 25, current threshold is 15 3 72121
NonThreadSafeSingleton Singleton is not thread safe 3 7375
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 76
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 89
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 92
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 95
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 98
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 101
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 104
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 107
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'i' 3 110
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 30. 3 127303
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 46, current threshold is 15 3 127303
NcssCount The method 'main(String)' has a NCSS line count of 107. 3 127303
NPathComplexity The method 'main(String)' has an NPath complexity of 777618, current threshold is 200 3 127303
ExcessiveMethodLength Avoid really long methods. 3 127303
NonThreadSafeSingleton Singleton is not thread safe 3 130132
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 134
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 147
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 153154
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 155
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 157158
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 167
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 168170
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 171
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 177178
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 179
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 182183
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 184
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 189190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 191
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 200202
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 203
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 207208
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 216
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 220221
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 222
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 232
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 245
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 250
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 256
NonThreadSafeSingleton Singleton is not thread safe 3 258288
NonThreadSafeSingleton Singleton is not thread safe 3 259261
NonThreadSafeSingleton Singleton is not thread safe 3 262264
NonThreadSafeSingleton Singleton is not thread safe 3 265267
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 271
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 284
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289290
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 291
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 296
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 308309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 308309
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 308309
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 325
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 325
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 328
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 336
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 336
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 336
NonThreadSafeSingleton Singleton is not thread safe 3 343345
UnusedAssignment The initializer for variable 'uptodate' is never used (overwritten on lines 353 and 356) 3 347
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 350
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 353354
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356357
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356357
GuardLogStatement Logger calls should be surrounded by log level guards. 2 360361
GuardLogStatement Logger calls should be surrounded by log level guards. 2 364365
GuardLogStatement Logger calls should be surrounded by log level guards. 2 368369
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 380

Waarp OpenR66 - org/waarp/openr66/server/ServerShutdown.java

Rule Violation Priority Line
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 50199
ExcessiveMethodLength Avoid really long methods. 3 62197
NPathComplexity The method 'main(String)' has an NPath complexity of 483840, current threshold is 200 3 62197
CognitiveComplexity The method 'main(String)' has a cognitive complexity of 54, current threshold is 15 3 62197
CyclomaticComplexity The method 'main(String)' has a cyclomatic complexity of 32. 3 62197
NcssCount The method 'main(String)' has a NCSS line count of 104. 3 62197
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 68
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 86
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 101
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 103
GuardLogStatement Logger calls should be surrounded by log level guards. 2 106
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 123
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 142
UnusedAssignment The initializer for variable 'localChannelReference' is never used (overwritten on line 146) 3 144
GuardLogStatement Logger calls should be surrounded by log level guards. 2 149
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 159
UnusedAssignment The initializer for variable 'value' is never used (overwritten on lines 164, 171, 176, 184, 187 and 191) 3 160
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 162
GuardLogStatement Logger calls should be surrounded by log level guards. 2 163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 167
GuardLogStatement Logger calls should be surrounded by log level guards. 2 168170
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 174
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 179
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 181
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 185
GuardLogStatement Logger calls should be surrounded by log level guards. 2 189190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 191
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 191

Waarp OpenR66 - org/waarp/openr66/service/R66Engine.java

Rule Violation Priority Line
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 35
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 40
GuardLogStatement Logger calls should be surrounded by log level guards. 2 4950
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 55
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 55
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 6166
GuardLogStatement Logger calls should be surrounded by log level guards. 2 67
GuardLogStatement Logger calls should be surrounded by log level guards. 2 86

Waarp OpenR66 - org/waarp/openr66/service/R66ServiceLauncher.java

Rule Violation Priority Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 34
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 38
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 38
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 42
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 54
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 55

Waarp OpenR66 - org/waarp/openr66/thrift/R66EmbeddedServiceImpl.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20473
CognitiveComplexity The method 'initRequest(R66Request)' has a cognitive complexity of 16, current threshold is 15 3 68133
CyclomaticComplexity The method 'initRequest(R66Request)' has a cyclomatic complexity of 11. 3 68133
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 76
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 81
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 81
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 83
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9293
AvoidDuplicateLiterals The String literal " : {}" appears 5 times in this file; the first occurrence is on line 92 3 92
GuardLogStatement Logger calls should be surrounded by log level guards. 2 111
GuardLogStatement Logger calls should be surrounded by log level guards. 2 128
CognitiveComplexity The method 'transferRequestQuery(R66Request)' has a cognitive complexity of 24, current threshold is 15 3 136190
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 207
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 208
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 219
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 221
GuardLogStatement Logger calls should be surrounded by log level guards. 2 239240
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 253
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 255
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 264
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 294295
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 294295
GuardLogStatement Logger calls should be surrounded by log level guards. 2 296298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 298
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 298
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 312
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 313
GuardLogStatement Logger calls should be surrounded by log level guards. 2 315316
CyclomaticComplexity The method 'infoTransferQuery(R66Request)' has a cyclomatic complexity of 12. 3 323383
AvoidDuplicateLiterals The String literal "Not enough arguments" appears 5 times in this file; the first occurrence is on line 337 3 337
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 343345
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 343345
GuardLogStatement Logger calls should be surrounded by log level guards. 2 379
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 379
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 381
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 396397
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 396397
NPathComplexity The method 'infoListQuery(R66Request)' has an NPath complexity of 228, current threshold is 200 3 402471
CognitiveComplexity The method 'infoListQuery(R66Request)' has a cognitive complexity of 18, current threshold is 15 3 402471
CyclomaticComplexity The method 'infoListQuery(R66Request)' has a cyclomatic complexity of 13. 3 402471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 420421
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 421
GuardLogStatement Logger calls should be surrounded by log level guards. 2 426
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 432
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 434
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 456
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 459
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 460
GuardLogStatement Logger calls should be surrounded by log level guards. 2 467

Waarp OpenR66 - org/waarp/openr66/thrift/R66ThriftServerService.java

Rule Violation Priority Line
UnusedAssignment The field initializer for 'port' is never used (overwritten on line 54) 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 49
GuardLogStatement Logger calls should be surrounded by log level guards. 2 68

Waarp Snmp - org/waarp/snmp/SnmpConfiguration.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 192
MutableStaticState Do not use non-final non-private static fields 3 196
MutableStaticState Do not use non-final non-private static fields 3 200
MutableStaticState Do not use non-final non-private static fields 3 204
MutableStaticState Do not use non-final non-private static fields 3 208
CognitiveComplexity The method 'loadConfig()' has a cognitive complexity of 20, current threshold is 15 3 220266
CyclomaticComplexity The method 'loadConfig()' has a cyclomatic complexity of 15. 3 220266
NPathComplexity The method 'loadConfig()' has an NPath complexity of 1080, current threshold is 200 3 220266
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 223
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 224
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 247
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 258
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
CognitiveComplexity The method 'loadSecurity()' has a cognitive complexity of 34, current threshold is 15 3 310375
NPathComplexity The method 'loadSecurity()' has an NPath complexity of 3073, current threshold is 200 3 310375
CyclomaticComplexity The method 'loadSecurity()' has a cyclomatic complexity of 18. 3 310375
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 318
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 320
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 322
GuardLogStatement Logger calls should be surrounded by log level guards. 2 336
UnusedAssignment The value assigned to variable 'securityProtocol' is never used (overwritten on line 332) 3 342
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 342
GuardLogStatement Logger calls should be surrounded by log level guards. 2 354
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 360
UnusedAssignment The value assigned to variable 'securityPrivProtocol' is never used (overwritten on line 350) 3 360
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 365
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 365371
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 368
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 370371
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 398
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 400
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 402
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 404
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 406
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 408
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 410
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 412
MutableStaticState Do not use non-final non-private static fields 3 454
MutableStaticState Do not use non-final non-private static fields 3 458
NPathComplexity The method 'loadTarget()' has an NPath complexity of 209953, current threshold is 200 3 485590
NcssCount The method 'loadTarget()' has a NCSS line count of 84. 3 485590
ExcessiveMethodLength Avoid really long methods. 3 485590
CyclomaticComplexity The method 'loadTarget()' has a cyclomatic complexity of 28. 3 485590
CognitiveComplexity The method 'loadTarget()' has a cognitive complexity of 38, current threshold is 15 3 485590
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 495
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 497
GuardLogStatement Logger calls should be surrounded by log level guards. 2 506
GuardLogStatement Logger calls should be surrounded by log level guards. 2 515
GuardLogStatement Logger calls should be surrounded by log level guards. 2 520
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 531
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 537
GuardLogStatement Logger calls should be surrounded by log level guards. 2 541
GuardLogStatement Logger calls should be surrounded by log level guards. 2 545
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 555
UnusedAssignment The initializer for variable 'isV2' is never used (overwritten on lines 570 and 572) 3 568
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 582586
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 582
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 582586
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 583
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 584
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 585
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 603
GuardLogStatement Logger calls should be surrounded by log level guards. 2 605607
GuardLogStatement Logger calls should be surrounded by log level guards. 2 611612
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 634
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 635
UnusedAssignment The value assigned to variable 'configuration' is never used 3 635

Waarp Snmp - org/waarp/snmp/WaarpMOFactory.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getVariable(OID, Object, int, int, int)' has a cyclomatic complexity of 15. 3 103158
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 113
CyclomaticComplexity The method 'setVariable(Variable, Object, int)' has a cyclomatic complexity of 14. 3 167212

Waarp Snmp - org/waarp/snmp/WaarpSnmpAgent.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 20547
GodClass Possible God Class (WMC=49, ATFD=110, TCC=25.263%) 3 69547
TooManyMethods This class has too many methods, consider refactoring it. 3 69547
UnusedAssignment The field initializer for 'address' is never used (overwritten on line 136) 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 76
ImmutableField Private field 'address' could be made final; it is only initialized in the declaration or constructor. 3 76
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
ImmutableField Private field 'useTrap' could be made final; it is only initialized in the declaration or constructor. 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
UnusedAssignment The field initializer for 'useTrap' is never used (overwritten on line 139) 3 80
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 86
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 88
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 92
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 94
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 114
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 190
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 202
AvoidDuplicateLiterals The String literal "cpublic" appears 4 times in this file; the first occurrence is on line 258 3 258
GuardLogStatement Logger calls should be surrounded by log level guards. 2 295296
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 299
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 300
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 303
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 304
AvoidDuplicateLiterals The String literal "public" appears 6 times in this file; the first occurrence is on line 308 3 308
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 363
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 373
GuardLogStatement Logger calls should be surrounded by log level guards. 2 387388
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 391
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 392
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 405
GuardLogStatement Logger calls should be surrounded by log level guards. 2 422
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 429
GuardLogStatement Logger calls should be surrounded by log level guards. 2 436437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 437
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 438
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 443
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 447
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 450
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 453
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 455
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 458
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 469
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 474
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 478
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 481
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 484
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 486
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 489
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 494
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 501
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 508
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 512

Waarp Snmp - org/waarp/snmp/interf/WaarpCounter32.java

Rule Violation Priority Line
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 6063

Waarp Snmp - org/waarp/snmp/interf/WaarpGauge32.java

Rule Violation Priority Line
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 6063

Waarp Snmp - org/waarp/snmp/interf/WaarpTimeTicks.java

Rule Violation Priority Line
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 6063

Waarp Snmp - org/waarp/snmp/r66/WaarpPrivateMib.java

Rule Violation Priority Line
TooManyFields Too many fields 3 46720
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 57
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 62
UnusedAssignment The field initializer for 'contactName' is never used (overwritten on line 206) 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 67
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 72
UnusedAssignment The field initializer for 'textualName' is never used (overwritten on line 207) 3 72
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 77
UnusedAssignment The field initializer for 'address' is never used (overwritten on line 208) 3 77
UnusedAssignment The field initializer for 'service' is never used (overwritten on line 209) 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 84
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 89
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 96
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 101
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 106
UnusedAssignment The field initializer for 'smiPrivateCode' is never used (overwritten on line 204) 3 106
UnusedAssignment The field initializer for 'smiTypeWaarp' is never used (overwritten on line 205) 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 111
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 115
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 119
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 124
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 129
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 134
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 147
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 152
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 157
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 162
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 166
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 175
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 180
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 185
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 283
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 289
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 292
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 295
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 300
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 307
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 311
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 355
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 356
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 357
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 360
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 361
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 362
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 362

Waarp Snmp - org/waarp/snmp/utils/MemoryGauge32.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 47
ImplicitSwitchFallThrough A switch statement does not contain a break 3 5567

Waarp Snmp - org/waarp/snmp/utils/WaarpDefaultVariableFactory.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getVariable(OID, int, int, int)' has a cyclomatic complexity of 12. 3 4384

Waarp Snmp - org/waarp/snmp/utils/WaarpEntry.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 35

Waarp Snmp - org/waarp/snmp/utils/WaarpMORow.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 42
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 54
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 95
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 98
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 115
MethodReturnsInternalArray Returning 'row' may expose an internal array. 3 125
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 131
ArrayIsStoredDirectly The user-supplied array 'row' is stored directly. 3 131

Waarp Snmp - org/waarp/snmp/utils/WaarpMOScalar.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 57
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 70

Waarp Snmp - org/waarp/snmp/utils/WaarpUptime.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 36
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 40
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 5255

Waarp Thrift - org/waarp/thrift/r66/ErrorCode.java

Rule Violation Priority Line
NcssCount The method 'findByValue(int)' has a NCSS line count of 66. 3 179246
CyclomaticComplexity The method 'findByValue(int)' has a cyclomatic complexity of 32. 3 179246

Waarp Thrift - org/waarp/thrift/r66/R66Request.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 261758
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 261758
TooManyFields Too many fields 3 611758
GodClass Possible God Class (WMC=292, ATFD=67, TCC=12.045%) 3 611758
ExcessiveClassLength Avoid really long classes. 3 611758
CyclomaticComplexity The class 'R66Request' has a total cyclomatic complexity of 292 (highest 66). 3 611758
TooManyMethods This class has too many methods, consider refactoring it. 3 621758
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 158
CyclomaticComplexity The method 'findByThriftId(int)' has a cyclomatic complexity of 14. 3 171202
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 250
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 254
CyclomaticComplexity The constructor 'R66Request(R66Request)' has a cyclomatic complexity of 10. 3 315348
NPathComplexity The constructor 'R66Request(R66Request)' has an NPath complexity of 512, current threshold is 200 3 315348
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 357
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 358
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 359
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 360
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 361
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 362
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 367
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 368
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 373
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 392
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 405
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 419
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 433
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 447
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 461
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 475
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 488
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 502
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 515
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 529
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 542
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 609
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 622
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 636
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 649
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 723
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 736
CognitiveComplexity The method 'setFieldValue(_Fields, Object)' has a cognitive complexity of 40, current threshold is 15 3 741848
CyclomaticComplexity The method 'setFieldValue(_Fields, Object)' has a cyclomatic complexity of 27. 3 741848
NcssCount The method 'setFieldValue(_Fields, Object)' has a NCSS line count of 80. 3 741848
ExcessiveMethodLength Avoid really long methods. 3 741848
CyclomaticComplexity The method 'getFieldValue(_Fields)' has a cyclomatic complexity of 15. 3 851894
CyclomaticComplexity The method 'isSet(_Fields)' has a cyclomatic complexity of 17. 3 902936
NPathComplexity The method 'equals(R66Request)' has an NPath complexity of 2147483647, current threshold is 200 3 9491096
ExcessiveMethodLength Avoid really long methods. 3 9491096
CyclomaticComplexity The method 'equals(R66Request)' has a cyclomatic complexity of 66. 3 9491096
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 9491096
CognitiveComplexity The method 'equals(R66Request)' has a cognitive complexity of 97, current threshold is 15 3 9491096
NcssCount The method 'equals(R66Request)' has a NCSS line count of 94. 3 9491096
ExcessiveMethodLength Avoid really long methods. 3 11041247
NcssCount The method 'compareTo(R66Request)' has a NCSS line count of 95. 3 11041247
CyclomaticComplexity The method 'compareTo(R66Request)' has a cyclomatic complexity of 40. 3 11041247
NPathComplexity The method 'compareTo(R66Request)' has an NPath complexity of 2147483647, current threshold is 200 3 11041247
CognitiveComplexity The method 'compareTo(R66Request)' has a cognitive complexity of 51, current threshold is 15 3 11041247
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1111
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1122
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1133
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1143
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1153
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1173
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1184
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1195
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1206
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1217
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1227
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1238
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1256
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1261
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1261
NPathComplexity The method 'toString()' has an NPath complexity of 209952, current threshold is 200 3 12651364
NcssCount The method 'toString()' has a NCSS line count of 77. 3 12651364
CognitiveComplexity The method 'toString()' has a cognitive complexity of 39, current threshold is 15 3 12651364
CyclomaticComplexity The method 'toString()' has a cyclomatic complexity of 22. 3 12651364
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1266
AvoidDuplicateLiterals The String literal "null" appears 9 times in this file; the first occurrence is on line 1 270 3 1270
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1275
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1284
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1293
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1302
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1311
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1320
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1324
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1328
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1337
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1346
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1350
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1354
GodClass Possible God Class (WMC=51, ATFD=101, TCC=0.000%) 3 14031608
NcssCount The method 'read(TProtocol, R66Request)' has a NCSS line count of 104. 3 14071531
CyclomaticComplexity The method 'read(TProtocol, R66Request)' has a cyclomatic complexity of 29. 3 14071531
CognitiveComplexity The method 'read(TProtocol, R66Request)' has a cognitive complexity of 57, current threshold is 15 3 14071531
ExcessiveMethodLength Avoid really long methods. 3 14071531
ImplicitSwitchFallThrough A switch statement does not contain a break 3 14161523
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1419
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1427
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1435
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1443
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1451
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1459
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1467
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1475
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1483
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1491
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1499
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1507
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1515
NPathComplexity The method 'write(TProtocol, R66Request)' has an NPath complexity of 209952, current threshold is 200 3 15341606
CyclomaticComplexity The method 'write(TProtocol, R66Request)' has a cyclomatic complexity of 22. 3 15341606
CognitiveComplexity The method 'write(TProtocol, R66Request)' has a cognitive complexity of 21, current threshold is 15 3 15341606
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1539
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1540
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1541
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1541
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1544
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1545
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1546
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1549
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1550
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1551
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1554
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1555
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1556
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1559
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1560
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1561
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1564
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1565
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1566
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1570
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1571
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1575
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1576
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1581
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1584
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1585
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1586
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1590
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1591
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1595
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1596
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1599
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1600
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1601
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1601
NPathComplexity The method 'write(TProtocol, R66Request)' has an NPath complexity of 16777216, current threshold is 200 3 16201698
CognitiveComplexity The method 'write(TProtocol, R66Request)' has a cognitive complexity of 24, current threshold is 15 3 16201698
CyclomaticComplexity The method 'write(TProtocol, R66Request)' has a cyclomatic complexity of 25. 3 16201698
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1623
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1623
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1623
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1661
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1663
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1666
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1669
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1672
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1675
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1678
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1681
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1684
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1687
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1690
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1693
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1696
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1696
CyclomaticComplexity The method 'read(TProtocol, R66Request)' has a cyclomatic complexity of 13. 3 17011755
NPathComplexity The method 'read(TProtocol, R66Request)' has an NPath complexity of 4096, current threshold is 200 3 17011755
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1704
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1704
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1706
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1707
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1708
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1711
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1712
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1715
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1716
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1719
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1720
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1723
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1724
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1727
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1728
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1731
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1732
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1735
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1736
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1739
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1740
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1743
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1744
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1747
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1748
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1751
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1752

Waarp Thrift - org/waarp/thrift/r66/R66Result.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 262494
ExcessivePublicCount This class has a bunch of public methods and attributes 3 262494
TooManyFields Too many fields 3 612494
CyclomaticComplexity The class 'R66Result' has a total cyclomatic complexity of 426 (highest 101). 3 612494
ExcessiveClassLength Avoid really long classes. 3 612494
GodClass Possible God Class (WMC=426, ATFD=100, TCC=12.010%) 3 612494
TooManyMethods This class has too many methods, consider refactoring it. 3 622494
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 135
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 197
CyclomaticComplexity The method 'findByThriftId(int)' has a cyclomatic complexity of 21. 3 210255
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 308
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 312
CyclomaticComplexity The constructor 'R66Result(R66Result)' has a cyclomatic complexity of 12. 3 396440
NPathComplexity The constructor 'R66Result(R66Result)' has an NPath complexity of 2048, current threshold is 200 3 396440
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 449
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 450
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 451
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 452
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 453
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 456
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 457
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 458
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 471
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 476
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 477
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 496
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 509
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 523
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 537
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 551
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 565
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 579
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 592
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 606
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 619
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 665
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 678
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 698
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 711
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 725
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 738
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 916
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 929
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 998
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1011
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1025
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1038
NcssCount The method 'setFieldValue(_Fields, Object)' has a NCSS line count of 122. 3 10431206
CognitiveComplexity The method 'setFieldValue(_Fields, Object)' has a cognitive complexity of 61, current threshold is 15 3 10431206
CyclomaticComplexity The method 'setFieldValue(_Fields, Object)' has a cyclomatic complexity of 41. 3 10431206
ExcessiveMethodLength Avoid really long methods. 3 10431206
CyclomaticComplexity The method 'getFieldValue(_Fields)' has a cyclomatic complexity of 22. 3 12091273
CyclomaticComplexity The method 'isSet(_Fields)' has a cyclomatic complexity of 24. 3 12811329
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 13421566
CyclomaticComplexity The method 'equals(R66Result)' has a cyclomatic complexity of 101. 3 13421566
CognitiveComplexity The method 'equals(R66Result)' has a cognitive complexity of 147, current threshold is 15 3 13421566
NcssCount The method 'equals(R66Result)' has a NCSS line count of 143. 3 13421566
NPathComplexity The method 'equals(R66Result)' has an NPath complexity of 2147483647, current threshold is 200 3 13421566
ExcessiveMethodLength Avoid really long methods. 3 13421566
NcssCount The method 'compareTo(R66Result)' has a NCSS line count of 144. 3 15741794
ExcessiveMethodLength Avoid really long methods. 3 15741794
NPathComplexity The method 'compareTo(R66Result)' has an NPath complexity of 2147483647, current threshold is 200 3 15741794
CognitiveComplexity The method 'compareTo(R66Result)' has a cognitive complexity of 79, current threshold is 15 3 15741794
CyclomaticComplexity The method 'compareTo(R66Result)' has a cyclomatic complexity of 61. 3 15741794
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1575
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1576
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1581
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1592
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1603
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1613
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1623
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1633
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1644
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1654
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1665
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1676
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 16861687
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1708
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 17181719
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1730
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 17401741
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1753
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 17631764
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1775
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1785
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1803
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1808
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1808
NPathComplexity The method 'toString()' has an NPath complexity of 26873856, current threshold is 200 3 18121945
ExcessiveMethodLength Avoid really long methods. 3 18121945
NcssCount The method 'toString()' has a NCSS line count of 104. 3 18121945
CognitiveComplexity The method 'toString()' has a cognitive complexity of 48, current threshold is 15 3 18121945
CyclomaticComplexity The method 'toString()' has a cyclomatic complexity of 29. 3 18121945
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1813
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 26, but has at least 36 characters appended. 3 1813
AvoidDuplicateLiterals The String literal "null" appears 11 times in this file; the first occurrence is on line 1 817 3 1817
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1822
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1831
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1840
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1849
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1858
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1862
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1870
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 1870
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1877
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 1877
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1885
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1889
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1893
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1897
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1901
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1905
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1909
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1918
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1922
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1926
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1935
GodClass Possible God Class (WMC=72, ATFD=149, TCC=0.000%) 3 19922288
CyclomaticComplexity The method 'read(TProtocol, R66Result)' has a cyclomatic complexity of 43. 3 19962176
NcssCount The method 'read(TProtocol, R66Result)' has a NCSS line count of 153. 3 19962176
CognitiveComplexity The method 'read(TProtocol, R66Result)' has a cognitive complexity of 85, current threshold is 15 3 19962176
ExcessiveMethodLength Avoid really long methods. 3 19962176
ImplicitSwitchFallThrough A switch statement does not contain a break 3 20052168
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2008
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2016
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2024
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2032
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2040
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2048
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2056
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2064
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2072
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2080
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2088
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2096
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2104
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2112
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2120
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2128
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2136
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2144
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2152
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2160
CognitiveComplexity The method 'write(TProtocol, R66Result)' has a cognitive complexity of 28, current threshold is 15 3 21792286
ExcessiveMethodLength Avoid really long methods. 3 21792286
CyclomaticComplexity The method 'write(TProtocol, R66Result)' has a cyclomatic complexity of 29. 3 21792286
NPathComplexity The method 'write(TProtocol, R66Result)' has an NPath complexity of 26873856, current threshold is 200 3 21792286
NcssCount The method 'write(TProtocol, R66Result)' has a NCSS line count of 85. 3 21792286
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2184
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2185
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2186
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2186
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2189
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2190
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2194
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2196
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2199
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2200
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2204
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2205
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2206
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2210
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2211
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2214
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2215
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2216
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2220
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2221
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2224
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2225
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2230
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2231
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2235
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2236
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2240
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2241
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2245
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2246
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2250
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2251
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2255
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2256
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2259
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2260
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2261
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2265
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2266
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2270
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2271
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2274
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2275
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2276
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2279
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2280
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2281
GodClass Possible God Class (WMC=53, ATFD=125, TCC=0.000%) 3 22972492
NcssCount The method 'write(TProtocol, R66Result)' has a NCSS line count of 75. 3 23002410
NPathComplexity The method 'write(TProtocol, R66Result)' has an NPath complexity of 2147483647, current threshold is 200 3 23002410
CyclomaticComplexity The method 'write(TProtocol, R66Result)' has a cyclomatic complexity of 35. 3 23002410
CognitiveComplexity The method 'write(TProtocol, R66Result)' has a cognitive complexity of 34, current threshold is 15 3 23002410
ExcessiveMethodLength Avoid really long methods. 3 23002410
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2303
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2303
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2303
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2304
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2304
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2305
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2305
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2358
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2360
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2363
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2366
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2369
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2372
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2375
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2375
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2378
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2381
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2384
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2387
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2390
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2393
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2396
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2399
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2402
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2405
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2408
CognitiveComplexity The method 'read(TProtocol, R66Result)' has a cognitive complexity of 17, current threshold is 15 3 24132491
CyclomaticComplexity The method 'read(TProtocol, R66Result)' has a cyclomatic complexity of 18. 3 24132491
NPathComplexity The method 'read(TProtocol, R66Result)' has an NPath complexity of 131072, current threshold is 200 3 24132491
NcssCount The method 'read(TProtocol, R66Result)' has a NCSS line count of 60. 3 24132491
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2416
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2416
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2418
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2418
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2420
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2422
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2423
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2424
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2427
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2428
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2431
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2432
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2435
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2436
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2439
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2440
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2443
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2447
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2448
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2451
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2452
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2455
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2456
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2459
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2460
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2463
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2464
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2467
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2468
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2471
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2472
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2475
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2476
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2479
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2480
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2483
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2484
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2487
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2488

Waarp Thrift - org/waarp/thrift/r66/R66Service.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 264172
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 264172
CouplingBetweenObjects High amount of different objects as members denotes a high coupling 3 264172
NcssCount The class 'R66Service' has a NCSS line count of 1902 (Highest = 0). 3 804172
ExcessiveClassLength Avoid really long classes. 3 804172
AvoidDuplicateLiterals The String literal "request" appears 5 times in this file; the first occurrence is on line 81 3 81
AvoidDuplicateLiterals The String literal "success" appears 7 times in this file; the first occurrence is on line 82 3 82
TooManyMethods This class has too many methods, consider refactoring it. 3 117249
AvoidDuplicateLiterals The String literal "transferRequestQuery" appears 4 times in this file; the first occurrence is on line 118 3 118
AvoidDuplicateLiterals The String literal "isStillRunning" appears 4 times in this file; the first occurrence is on line 119 3 119
AvoidDuplicateLiterals The String literal "infoTransferQuery" appears 4 times in this file; the first occurrence is on line 120 3 120
AvoidDuplicateLiterals The String literal "infoListQuery" appears 4 times in this file; the first occurrence is on line 121 3 121
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 167
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 191
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 243
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 243
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 253
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 254
AvoidDuplicateLiterals The String literal "Method call not finished!" appears 4 times in this file; the first occurrence is on line 290 3 290
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 291
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 3 317
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 318
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 320
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 340
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 3 366
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 369
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 389
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 390
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 391
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 3 422
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 423
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 425
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 444
CloseResource Ensure that resources like this TMemoryInputTransport object are closed after use 3 470
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 471
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 473
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 527
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 553
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 579
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 580
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 607
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 3 6141032
TooManyMethods This class has too many methods, consider refactoring it. 3 6161032
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 631
AvoidDuplicateLiterals The String literal "Field " appears 8 times in this file; the first occurrence is on line 657 3 657
AvoidDuplicateLiterals The String literal " doesn't exist!" appears 8 times in this file; the first occurrence is on line 658 3 658
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 659
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 674
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 724
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 759
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 773
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 786
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 837852
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 861
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 862
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 868
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 886
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 886
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 891
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 891
AvoidDuplicateLiterals The String literal "null" appears 8 times in this file; the first occurrence is on line 899 3 899
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 954
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 956
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 956
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 957
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 957
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 981
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 982
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 983
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 983
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1012
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1014
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1014
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1023
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1024
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1025
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1026
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1026
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 3 10341453
TooManyMethods This class has too many methods, consider refactoring it. 3 10361453
AvoidDuplicateLiterals The String literal "success:" appears 4 times in this file; the first occurrence is on line 1 038 3 1038
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1051
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1077
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1143
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1179
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1193
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1206
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 12571272
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1281
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1282
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1288
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1306
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1306
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1311
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1311
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1377
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1377
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1378
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1378
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1402
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1403
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1404
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1404
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1433
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1435
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1435
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1444
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1445
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1446
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1447
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1447
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 3 14551868
TooManyMethods This class has too many methods, consider refactoring it. 3 14571868
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1469
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1495
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1510
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1561
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1596
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1609
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1622
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 16731688
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1697
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1698
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1704
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1722
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1727
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 1727
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 1732
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1790
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1792
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1792
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1793
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1793
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1817
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1818
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1819
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1819
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1848
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1850
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1850
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1859
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 1860
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1861
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 1862
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 1862
GodClass Possible God Class (WMC=50, ATFD=18, TCC=21.905%) 3 18702277
TooManyMethods This class has too many methods, consider refactoring it. 3 18722277
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1884
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1904
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1970
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2005
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2018
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2031
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 20822097
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2106
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2107
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2131
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2136
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2136
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 2141
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2201
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 2201
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2226
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2227
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2228
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2228
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2259
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2259
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2268
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2269
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2270
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 2271
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2271
CyclomaticComplexity The class 'isStillRunning_args' has a total cyclomatic complexity of 83 (highest 12). 3 22792902
GodClass Possible God Class (WMC=83, ATFD=23, TCC=16.532%) 3 22792902
TooManyMethods This class has too many methods, consider refactoring it. 3 22812902
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2301
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2329
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 2399
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2403
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2452
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2453
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2468
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2481
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2495
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2509
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 25422567
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 25722582
SwitchStmtsShouldHaveDefault Switch statements should be exhaustive, add a default case (or missing enum branches) 3 25972604
CyclomaticComplexity The method 'equals(isStillRunning_args)' has a cyclomatic complexity of 12. 3 26192647
CognitiveComplexity The method 'equals(isStillRunning_args)' has a cognitive complexity of 17, current threshold is 15 3 26192647
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 26192647
CyclomaticComplexity The method 'compareTo(isStillRunning_args)' has a cyclomatic complexity of 10. 3 26552693
NPathComplexity The method 'compareTo(isStillRunning_args)' has an NPath complexity of 288, current threshold is 200 3 26552693
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2656
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2657
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2663
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2674
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2684
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2702
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2702
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2707
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 2707
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 36, but has at least 43 characters appended. 3 2712
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 2712
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 2720
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 2720
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 2727
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 2727
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 2728
CognitiveComplexity The method 'read(TProtocol, isStillRunning_args)' has a cognitive complexity of 17, current threshold is 15 3 27702815
ImplicitSwitchFallThrough A switch statement does not contain a break 3 27802807
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2783
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2791
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2799
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2824
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2825
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2826
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2829
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2830
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2831
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2834
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2835
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2869
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2871
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2874
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2877
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2886
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2887
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2888
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2891
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2892
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 2895
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 2896
TooManyMethods This class has too many methods, consider refactoring it. 3 29063302
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2918
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 2944
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 3008
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3012
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 31243129
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3138
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3139
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3145
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3163
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3168
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3168
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 3173
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 3174
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3228
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3253
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3283
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3285
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3294
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3295
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3296
GodClass Possible God Class (WMC=51, ATFD=18, TCC=19.913%) 3 33043715
TooManyMethods This class has too many methods, consider refactoring it. 3 33063715
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3318
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3343
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3358
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3409
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3443
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3456
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3469
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 35203535
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3544
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3545
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3551
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3569
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3569
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3574
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3574
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 3579
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3637
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3639
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 3639
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3640
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3640
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3664
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3665
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3666
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3666
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3695
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3697
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3697
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3706
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 3707
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3708
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 3709
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 3709
GodClass Possible God Class (WMC=56, ATFD=18, TCC=22.333%) 3 37174170
TooManyMethods This class has too many methods, consider refactoring it. 3 37194170
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3731
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3757
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 3823
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3859
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3887
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 3900
SuspiciousEqualsMethodName The method name and parameter number are suspiciously close to equals(Object) 2 39513966
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3975
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3976
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3976
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3976
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 3982
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4000
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4000
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4005
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4005
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 4010
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4069
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 4069
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4073
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4073
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4100
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4101
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4104
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4105
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4138
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4141
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4141
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4142
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4154
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 4155
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4158
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 4162
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 4162

Processing Errors

Filename Problem
Waarp Common - org/waarp/common/filemonitor/FileMonitor.java RuntimeException: //PrimaryPrefix/Name [ends-with(@Image, '.get') or ends-with(@Image, '.getString')] [ starts-with(@Image, concat( ancestor::MethodDeclaration//FormalParameter/Type/ReferenceType/ClassOrInterfaceType[pmd-java:typeIs('org.apache.commons.fileupload.FileItem')]/../../..//VariableDeclaratorId/@Name, '.') ) or starts-with(@Image, concat( ancestor::MethodDeclaration//LocalVariableDeclaration/Type/ReferenceType/ClassOrInterfaceType[pmd-java:typeIs('org.apache.commons.fileupload.FileItem')]/../../..//VariableDeclaratorId/@Name, '.') ) or starts-with(@Image, concat( ancestor::ClassOrInterfaceBody/ClassOrInterfaceBodyDeclaration/FieldDeclaration/Type/ReferenceType/ClassOrInterfaceType[pmd-java:typeIs('org.apache.commons.fileupload.FileItem')]/../../..//VariableDeclaratorId/@Name, '.') ) ] had problem: A sequence of more than one item is not allowed as the first argument of concat()
java.lang.RuntimeException: 
                    
//PrimaryPrefix/Name
[ends-with(@Image, '.get') or ends-with(@Image, '.getString')]
[
    starts-with(@Image, concat(
        ancestor::MethodDeclaration//FormalParameter/Type/ReferenceType/ClassOrInterfaceType[pmd-java:typeIs('org.apache.commons.fileupload.FileItem')]/../../..//VariableDeclaratorId/@Name,
        '.')
    ) or
    starts-with(@Image, concat(
        ancestor::MethodDeclaration//LocalVariableDeclaration/Type/ReferenceType/ClassOrInterfaceType[pmd-java:typeIs('org.apache.commons.fileupload.FileItem')]/../../..//VariableDeclaratorId/@Name,
        '.')
    ) or
    starts-with(@Image, concat(
        ancestor::ClassOrInterfaceBody/ClassOrInterfaceBodyDeclaration/FieldDeclaration/Type/ReferenceType/ClassOrInterfaceType[pmd-java:typeIs('org.apache.commons.fileupload.FileItem')]/../../..//VariableDeclaratorId/@Name,
        '.')
    )
]

                 had problem: A sequence of more than one item is not allowed as the first argument of concat()
	at net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery.evaluate(SaxonXPathRuleQuery.java:142)
	at net.sourceforge.pmd.lang.rule.XPathRule.evaluate(XPathRule.java:176)
	at net.sourceforge.pmd.lang.rule.XPathRule.apply(XPathRule.java:158)
	at net.sourceforge.pmd.lang.internal.DefaultRulechainVisitor.visit(DefaultRulechainVisitor.java:26)
	at net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor.visitAll(AbstractRuleChainVisitor.java:99)
	at net.sourceforge.pmd.RuleChain.apply(RuleChain.java:72)
	at net.sourceforge.pmd.RuleSets.apply(RuleSets.java:160)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:209)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the first argument of concat()
	at net.sf.saxon.expr.Expression.typeError(Expression.java:981)
	at net.sf.saxon.expr.SingletonAtomizer.evaluateItem(SingletonAtomizer.java:152)
	at net.sf.saxon.functions.Concat.evaluateItem(Concat.java:38)
	at net.sf.saxon.functions.Contains.evaluateItem(Contains.java:42)
	at net.sf.saxon.expr.Expression.iterate(Expression.java:370)
	at net.sf.saxon.expr.Expression.effectiveBooleanValue(Expression.java:421)
	at net.sf.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:185)
	at net.sf.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:185)
	at net.sf.saxon.expr.FilterIterator$NonNumeric.matches(FilterIterator.java:182)
	at net.sf.saxon.expr.FilterIterator.getNextMatchingItem(FilterIterator.java:65)
	at net.sf.saxon.expr.FilterIterator.next(FilterIterator.java:44)
	at net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery.evaluate(SaxonXPathRuleQuery.java:128)
	... 18 more
Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3GetAndDeleteTask.java PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/context/task/S3GetAndDeleteTask.java
net.sourceforge.pmd.PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/context/task/S3GetAndDeleteTask.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 95, Column 52: Cannot catch multiple exceptions when running in JDK inferior to 1.7 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadMultipleExceptionsCatching(JavaParser.java:107)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.FormalParameter(JavaParser.java:2315)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CatchStatement(JavaParser.java:6925)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TryStatement(JavaParser.java:6732)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5508)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2130)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1811)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:527)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:44)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3GetTask.java PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/context/task/S3GetTask.java
net.sourceforge.pmd.PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/context/task/S3GetTask.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 94, Column 52: Cannot catch multiple exceptions when running in JDK inferior to 1.7 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadMultipleExceptionsCatching(JavaParser.java:107)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.FormalParameter(JavaParser.java:2315)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CatchStatement(JavaParser.java:6925)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TryStatement(JavaParser.java:6732)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5508)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2130)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1811)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:527)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:44)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
Waarp Extensions for JRE 8 and greater - org/waarp/openr66/context/task/S3TaskArgs.java PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/context/task/S3TaskArgs.java
net.sourceforge.pmd.PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/context/task/S3TaskArgs.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 178, Column 31: Cannot use the diamond generic notation when running in JDK inferior to 1.7 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadDiamondUsage(JavaParser.java:95)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeArguments(JavaParser.java:2794)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceType(JavaParser.java:2683)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AllocationExpression(JavaParser.java:5295)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryPrefix(JavaParser.java:4691)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4503)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4325)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4223)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4100)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4015)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:3962)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:3905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:3844)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3746)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3446)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3406)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3366)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3328)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3185)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.StatementExpression(JavaParser.java:5860)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5473)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5465)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.IfStatement(JavaParser.java:6278)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5481)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TryStatement(JavaParser.java:6721)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5508)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2130)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1811)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:527)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:44)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
Waarp Extensions for JRE 8 and greater - org/waarp/openr66/elasticsearch/ElasticsearchMonitoringExporterClientImpl.java PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/elasticsearch/ElasticsearchMonitoringExporterClientImpl.java
net.sourceforge.pmd.PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/elasticsearch/ElasticsearchMonitoringExporterClientImpl.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 152, Column 47: Cannot catch multiple exceptions when running in JDK inferior to 1.7 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadMultipleExceptionsCatching(JavaParser.java:107)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.FormalParameter(JavaParser.java:2315)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CatchStatement(JavaParser.java:6925)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TryStatement(JavaParser.java:6732)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5508)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5465)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.IfStatement(JavaParser.java:6278)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5481)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConstructorDeclaration(JavaParser.java:2392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:527)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:44)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
Waarp Extensions for JRE 8 and greater - org/waarp/openr66/s3/WaarpR66S3Client.java PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/s3/WaarpR66S3Client.java
net.sourceforge.pmd.PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/s3/WaarpR66S3Client.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 88, Column 41: Cannot catch multiple exceptions when running in JDK inferior to 1.7 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadMultipleExceptionsCatching(JavaParser.java:107)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.FormalParameter(JavaParser.java:2315)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CatchStatement(JavaParser.java:6925)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TryStatement(JavaParser.java:6732)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5508)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5671)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5588)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2130)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1811)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AllocationExpression(JavaParser.java:5306)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryPrefix(JavaParser.java:4691)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4503)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4325)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4223)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4100)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4015)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:3962)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:3905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:3844)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3746)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3446)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3406)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3366)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3328)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3185)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.VariableInitializer(JavaParser.java:2007)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.VariableDeclarator(JavaParser.java:1907)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.FieldDeclaration(JavaParser.java:1859)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1809)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:527)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:44)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
Waarp Extensions for JRE 8 and greater - org/waarp/openr66/s3/taskfactory/S3TaskFactory.java PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/s3/taskfactory/S3TaskFactory.java
net.sourceforge.pmd.PMDException: Error while parsing /home/frederic/Waarp2/Waarp-All/WaarpR66-Extensions/src/main/java/org/waarp/openr66/s3/taskfactory/S3TaskFactory.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 64, Column 49: Cannot use the diamond generic notation when running in JDK inferior to 1.7 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadDiamondUsage(JavaParser.java:95)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeArguments(JavaParser.java:2794)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceType(JavaParser.java:2683)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AllocationExpression(JavaParser.java:5295)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryPrefix(JavaParser.java:4691)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4503)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4325)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4223)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4100)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4015)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:3962)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:3905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:3844)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3746)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3446)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3406)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3366)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3328)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3185)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.VariableInitializer(JavaParser.java:2007)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.VariableDeclarator(JavaParser.java:1907)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.LocalVariableDeclaration(JavaParser.java:5752)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5643)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConstructorDeclaration(JavaParser.java:2392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1764)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:905)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:807)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:527)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:44)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more