PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 1

Waarp Vitam Module - org/waarp/vitam/common/WaarpCommon.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 219

Waarp Vitam Module - org/waarp/vitam/dip/DipRequestFactory.java

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

Waarp Vitam Module - org/waarp/vitam/ingest/IngestRequestFactory.java

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

Priority 2

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpScript.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 183184
GuardLogStatement Logger calls should be surrounded by log level guards. 194195
GuardLogStatement Logger calls should be surrounded by log level guards. 206207
GuardLogStatement Logger calls should be surrounded by log level guards. 218219

Waarp Vitam Module - org/waarp/vitam/dip/DipTask.java

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

Waarp Vitam Module - org/waarp/vitam/ingest/IngestTask.java

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

Priority 3

Waarp Vitam Module - org/waarp/vitam/common/AbstractVitamRequest.java

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

Waarp Vitam Module - org/waarp/vitam/common/OperationCheck.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 8788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 94
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 102103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107108

Waarp Vitam Module - org/waarp/vitam/common/WaarpCommon.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 84
DataClass The class 'TaskOption' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=9, WMC=30) 92319
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 139
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 140
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 140
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 144
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 145
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 176
CyclomaticComplexity The method 'getTaskOption(CommandLine, String)' has a cyclomatic complexity of 14. 207282
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 222224
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 246
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 246
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 253
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 254
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 262
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 263
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 276
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 356358
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 358
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 370373
CyclomaticComplexity The method 'gestMonitorOption(CommandLine, String)' has a cyclomatic complexity of 16. 383429
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 393
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 397
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 408
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 412
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 419
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 423

Waarp Vitam Module - org/waarp/vitam/common/WaarpMonitor.java

Rule Violation Line
DataClass The class 'WaarpMonitor' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=6) 3183
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3183

Waarp Vitam Module - org/waarp/vitam/common/WaarpVitamShutdownHook.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. 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4849
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 4849
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 60

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpFactory.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. 2651

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpR66.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 66
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 (method chain calls) 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 91
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) 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 96
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 114
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 116119
LawOfDemeter Potential violation of Law of Demeter (static property access) 117118

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpScript.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'EXCEPTION_WHILE_ANSWERED'. 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 74
UnusedLocalVariable Avoid unused local variables such as 'homeDir'. 75
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 107
UnusedLocalVariable Avoid unused local variables such as 'homeDir'. 108
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
CyclomaticComplexity The method 'invoke()' has a cyclomatic complexity of 13. 154239
LawOfDemeter Potential violation of Law of Demeter (static property access) 173
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 183
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 194
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 218219
LawOfDemeter Potential violation of Law of Demeter (static property access) 231

Waarp Vitam Module - org/waarp/vitam/dip/DipManager.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21467
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
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 115
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 122123
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 (object not created locally) 237
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 239
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 244
TooFewBranchesForASwitchStatement A switch with less than three branches is inefficient, use a if statement instead. 245260
MissingBreakInSwitch A switch statement does not contain a break 245260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 270
CloseResource Ensure that resources like this Response object are closed after use 309
MissingBreakInSwitch A switch statement does not contain a break 317334
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 326
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 388391
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 439
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 450453

Waarp Vitam Module - org/waarp/vitam/dip/DipMonitor.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. 59
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135137
LawOfDemeter Potential violation of Law of Demeter (static property access) 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) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
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) 181

Waarp Vitam Module - org/waarp/vitam/dip/DipRequest.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 147148
MissingOverride The method 'setStatus(int)' is missing an @Override annotation. 162168
LawOfDemeter Potential violation of Law of Demeter (static property access) 272273
LawOfDemeter Potential violation of Law of Demeter (static property access) 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 274
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 274
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 274

Waarp Vitam Module - org/waarp/vitam/dip/DipRequestFactory.java

Rule Violation Line
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
ImmutableField Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 118
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 166171
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 192200
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 209230
LawOfDemeter Potential violation of Law of Demeter (static property access) 218
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 272288
LawOfDemeter Potential violation of Law of Demeter (static property access) 283
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 297304

Waarp Vitam Module - org/waarp/vitam/dip/DipTask.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. 56
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 9091
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 126
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 147
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 178
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 185

Waarp Vitam Module - org/waarp/vitam/ingest/IngestManager.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 21678
TooManyMethods This class has too many methods, consider refactoring it. 69678
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
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 183193
AssignmentInOperand Avoid assignments in operands 211
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 253
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 261262
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 (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) 386
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 390
MissingBreakInSwitch A switch statement does not contain a break 391408
TooFewBranchesForASwitchStatement A switch with less than three branches is inefficient, use a if statement instead. 391408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 465469
CloseResource Ensure that resources like this Response object are closed after use 511
MissingBreakInSwitch A switch statement does not contain a break 522539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 536
LawOfDemeter Potential violation of Law of Demeter (static property access) 578
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 598602
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 667671

Waarp Vitam Module - org/waarp/vitam/ingest/IngestMonitor.java

Rule Violation Line
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
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 135
LawOfDemeter Potential violation of Law of Demeter (static property access) 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) 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 170171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 172
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) 181

Waarp Vitam Module - org/waarp/vitam/ingest/IngestRequest.java

Rule Violation Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 199200
MissingOverride The method 'setStatus(int)' is missing an @Override annotation. 214220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 283285
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 384
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 384

Waarp Vitam Module - org/waarp/vitam/ingest/IngestRequestFactory.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. 74
ImmutableField Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 103104
LawOfDemeter Potential violation of Law of Demeter (static property access) 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 122
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 171176
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 197205
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 214238
LawOfDemeter Potential violation of Law of Demeter (static property access) 226
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 271287
LawOfDemeter Potential violation of Law of Demeter (static property access) 282
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 296303

Waarp Vitam Module - org/waarp/vitam/ingest/IngestTask.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. 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
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 101103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 127132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 144
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 165
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 170
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 173
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 205
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 212

Priority 4

Waarp Vitam Module - org/waarp/vitam/common/WaarpCommon.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 77
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 208
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 384

Waarp Vitam Module - org/waarp/vitam/dip/DipMonitor.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 150

Waarp Vitam Module - org/waarp/vitam/dip/DipTask.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 141

Waarp Vitam Module - org/waarp/vitam/ingest/IngestMonitor.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 150

Waarp Vitam Module - org/waarp/vitam/ingest/IngestTask.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 159

Priority 5

Waarp Vitam Module - org/waarp/vitam/common/OperationCheck.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'dipRequest' (lines '100'-'121'). 100121

Waarp Vitam Module - org/waarp/vitam/common/WaarpCommon.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'first' (lines '79'-'81'). 7981
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'parser' (lines '210'-'282'). 210282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'properties' (lines '211'-'282'). 211282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'accessContract' (lines '233'-'282'). 233282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'personalCertificate' (lines '237'-'282'). 237282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpPartner' (lines '240'-'282'). 240282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpRule' (lines '243'-'282'). 243282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '245'-'282'). 245282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'path' (lines '247'-'282'). 247282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpModel' (lines '256'-'282'). 256282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpModel' (lines '258'-'282'). 258282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'applicationSessionId' (lines '265'-'282'). 265282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'applicationSessionId' (lines '267'-'282'). 267282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'stopFilePath' (lines '386'-'429'). 386429
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '387'-'429'). 387429
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'elapseInSecond' (lines '400'-'429'). 400429
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'retry' (lines '402'-'429'). 402429
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'retry' (lines '402'-'407'). 402407
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'delay' (lines '403'-'429'). 403429
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'delay' (lines '403'-'418'). 403418

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpScript.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'homeDir' (lines '75'-'97'). 7597
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpId' (lines '91'-'97'). 9197
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'homeDir' (lines '108'-'130'). 108130
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpId' (lines '124'-'130'). 124130

Waarp Vitam Module - org/waarp/vitam/dip/DipManager.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'executorService' (lines '115'-'141'). 115141
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'response' (lines '309'-'315'). 309315

Waarp Vitam Module - org/waarp/vitam/dip/DipMonitor.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'dipMonitor' (lines '98'-'113'). 98113

Waarp Vitam Module - org/waarp/vitam/dip/DipRequest.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'requestIdNew' (lines '94'-'101'). 94101

Waarp Vitam Module - org/waarp/vitam/dip/DipTask.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'dipTask' (lines '88'-'105'). 88105
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'args' (lines '177'-'179'). 177179

Waarp Vitam Module - org/waarp/vitam/ingest/IngestManager.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'xmlDefault' (lines '144'-'148'). 144148
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'line' (lines '211'-'220'). 211220
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'executorService' (lines '253'-'280'). 253280
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'response' (lines '511'-'518'). 511518

Waarp Vitam Module - org/waarp/vitam/ingest/IngestMonitor.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'ingestMonitor' (lines '98'-'113'). 98113

Waarp Vitam Module - org/waarp/vitam/ingest/IngestTask.java

Rule Violation Line
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'ingestTask' (lines '99'-'117'). 99117
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'args' (lines '204'-'206'). 204206

Files

Waarp Vitam Module - org/waarp/vitam/common/AbstractVitamRequest.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102

Waarp Vitam Module - org/waarp/vitam/common/OperationCheck.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 86
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 8788
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 88
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9394
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 94
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'dipRequest' (lines '100'-'121'). 5 100121
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107108

Waarp Vitam Module - org/waarp/vitam/common/WaarpCommon.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 77
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'first' (lines '79'-'81'). 5 7981
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 84
DataClass The class 'TaskOption' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=9, WMC=30) 3 92319
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 139
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 140
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 140
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 144
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 145
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 176
CyclomaticComplexity The method 'getTaskOption(CommandLine, String)' has a cyclomatic complexity of 14. 3 207282
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 208
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'parser' (lines '210'-'282'). 5 210282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'properties' (lines '211'-'282'). 5 211282
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 219
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 222224
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'accessContract' (lines '233'-'282'). 5 233282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'personalCertificate' (lines '237'-'282'). 5 237282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpPartner' (lines '240'-'282'). 5 240282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpRule' (lines '243'-'282'). 5 243282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '245'-'282'). 5 245282
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 246
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 246
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'path' (lines '247'-'282'). 5 247282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 253
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 254
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpModel' (lines '256'-'282'). 5 256282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpModel' (lines '258'-'282'). 5 258282
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 262
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 263
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'applicationSessionId' (lines '265'-'282'). 5 265282
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'applicationSessionId' (lines '267'-'282'). 5 267282
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 276
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 341
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 354358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 356358
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 358
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 358
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 367373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 368369
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370373
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 370373
CyclomaticComplexity The method 'gestMonitorOption(CommandLine, String)' has a cyclomatic complexity of 16. 3 383429
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 384
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'stopFilePath' (lines '386'-'429'). 5 386429
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpConfiguration' (lines '387'-'429'). 5 387429
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 393
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 397
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'elapseInSecond' (lines '400'-'429'). 5 400429
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'retry' (lines '402'-'429'). 5 402429
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'retry' (lines '402'-'407'). 5 402407
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'delay' (lines '403'-'429'). 5 403429
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'delay' (lines '403'-'418'). 5 403418
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 408
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 412
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 419
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 423

Waarp Vitam Module - org/waarp/vitam/common/WaarpMonitor.java

Rule Violation Priority Line
DataClass The class 'WaarpMonitor' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=6) 3 3183
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 3183

Waarp Vitam Module - org/waarp/vitam/common/WaarpVitamShutdownHook.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 38
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4749
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4849
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 48
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4849
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 4849
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 60

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpFactory.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 2651

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpR66.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 66
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 (method chain calls) 3 71
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 91
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 96
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 96
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 114
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 116119
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 117118

Waarp Vitam Module - org/waarp/vitam/common/waarp/ManagerToWaarpScript.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'EXCEPTION_WHILE_ANSWERED'. 3 53
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 74
UnusedLocalVariable Avoid unused local variables such as 'homeDir'. 3 75
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'homeDir' (lines '75'-'97'). 5 7597
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpId' (lines '91'-'97'). 5 9197
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 107
UnusedLocalVariable Avoid unused local variables such as 'homeDir'. 3 108
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'homeDir' (lines '108'-'130'). 5 108130
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'waarpId' (lines '124'-'130'). 5 124130
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
CyclomaticComplexity The method 'invoke()' has a cyclomatic complexity of 13. 3 154239
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 173
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 183
GuardLogStatement Logger calls should be surrounded by log level guards. 2 183184
GuardLogStatement Logger calls should be surrounded by log level guards. 2 194195
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 194
GuardLogStatement Logger calls should be surrounded by log level guards. 2 206207
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 206
GuardLogStatement Logger calls should be surrounded by log level guards. 2 218219
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 218219
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 231

Waarp Vitam Module - org/waarp/vitam/dip/DipManager.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21467
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
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'executorService' (lines '115'-'141'). 5 115141
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 115
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 122123
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 (object not created locally) 3 237
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 240
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 244
TooFewBranchesForASwitchStatement A switch with less than three branches is inefficient, use a if statement instead. 3 245260
MissingBreakInSwitch A switch statement does not contain a break 3 245260
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 257
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 270
CloseResource Ensure that resources like this Response object are closed after use 3 309
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'response' (lines '309'-'315'). 5 309315
MissingBreakInSwitch A switch statement does not contain a break 3 317334
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 331
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 370
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 388391
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 441
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 450453

Waarp Vitam Module - org/waarp/vitam/dip/DipMonitor.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 59
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'dipMonitor' (lines '98'-'113'). 5 98113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135137
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 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 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
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 181

Waarp Vitam Module - org/waarp/vitam/dip/DipRequest.java

Rule Violation Priority Line
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'requestIdNew' (lines '94'-'101'). 5 94101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 147148
MissingOverride The method 'setStatus(int)' is missing an @Override annotation. 3 162168
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 272273
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 274
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 274
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 274
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 274

Waarp Vitam Module - org/waarp/vitam/dip/DipRequestFactory.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 48305
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
ImmutableField Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. 3 70
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 100
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 116
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 118
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 166171
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 192200
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 209230
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 218
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 272288
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 283
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 297304

Waarp Vitam Module - org/waarp/vitam/dip/DipTask.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 56
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'dipTask' (lines '88'-'105'). 5 88105
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 90
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 9091
GuardLogStatement Logger calls should be surrounded by log level guards. 2 9091
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 104
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126128
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 126
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 141
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 147
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'args' (lines '177'-'179'). 5 177179
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 178
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 185

Waarp Vitam Module - org/waarp/vitam/ingest/IngestManager.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 21678
TooManyMethods This class has too many methods, consider refactoring it. 3 69678
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
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'xmlDefault' (lines '144'-'148'). 5 144148
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 180
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 183193
AssignmentInOperand Avoid assignments in operands 3 211
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'line' (lines '211'-'220'). 5 211220
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 253
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'executorService' (lines '253'-'280'). 5 253280
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 261262
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 (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 386
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 390
MissingBreakInSwitch A switch statement does not contain a break 3 391408
TooFewBranchesForASwitchStatement A switch with less than three branches is inefficient, use a if statement instead. 3 391408
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 405
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 465469
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'response' (lines '511'-'518'). 5 511518
CloseResource Ensure that resources like this Response object are closed after use 3 511
MissingBreakInSwitch A switch statement does not contain a break 3 522539
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 530
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 536
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 578
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 598602
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 667671

Waarp Vitam Module - org/waarp/vitam/ingest/IngestMonitor.java

Rule Violation Priority Line
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
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'ingestMonitor' (lines '98'-'113'). 5 98113
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100101
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 100
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 112
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135137
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 135
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 150
LawOfDemeter Potential violation of Law of Demeter (static property access) 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 159
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 170171
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 172
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 181

Waarp Vitam Module - org/waarp/vitam/ingest/IngestRequest.java

Rule Violation Priority Line
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 199200
MissingOverride The method 'setStatus(int)' is missing an @Override annotation. 3 214220
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283285
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 283285
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 384
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 384
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 384

Waarp Vitam Module - org/waarp/vitam/ingest/IngestRequestFactory.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 48304
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
ImmutableField Private field 'clientFactory' could be made final; it is only initialized in the declaration or constructor. 3 74
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 103104
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 120
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 122
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 171176
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 197205
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 214238
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 226
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 271287
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 282
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 296303

Waarp Vitam Module - org/waarp/vitam/ingest/IngestTask.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 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
DataflowAnomalyAnalysis Found 'DU'-anomaly for variable 'ingestTask' (lines '99'-'117'). 5 99117
GuardLogStatement Logger calls should be surrounded by log level guards. 2 101103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 101103
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 102
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 116
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 127132
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144146
LawOfDemeter Potential violation of Law of Demeter (method chain calls) 3 144
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 159
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 164
LawOfDemeter Potential violation of Law of Demeter (static property access) 3 165
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 172
LawOfDemeter Potential violation of Law of Demeter (object not created locally) 3 173
DataflowAnomalyAnalysis Found 'DD'-anomaly for variable 'args' (lines '204'-'206'). 5 204206
AvoidCatchingThrowable A catch statement should never catch throwable since it includes errors. 3 205
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 212