The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 1

com/jsql/model/accessible/vendor/ExploitDerby.java

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

com/jsql/model/accessible/vendor/ExploitH2.java

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

com/jsql/model/accessible/vendor/ExploitHsqldb.java

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

com/jsql/model/accessible/vendor/ExploitMysql.java

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

com/jsql/model/accessible/vendor/ExploitPostgres.java

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

com/jsql/model/accessible/vendor/ExploitSqlite.java

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

com/jsql/model/injection/strategy/blind/InjectionBlindBin.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 57

com/jsql/model/injection/strategy/blind/InjectionBlindBit.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 52

com/jsql/model/injection/strategy/blind/InjectionCharInsertion.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionCharInsertion.callUrl(String, String) 6568

com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 37

com/jsql/model/injection/strategy/blind/InjectionVendor.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionVendor.callUrl(String, String) 4649

com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 688
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 697
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 753

com/jsql/model/injection/vendor/MediatorVendor.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: MediatorVendor.setVendor(Vendor) 147

com/jsql/util/AnsiColorUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 3

com/jsql/util/I18nUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 18

com/jsql/util/LogLevelUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 7

com/jsql/util/ParameterUtil.java

Rule Violation Line
FieldNamingConventions The constant name 'tchar' doesn't match '[A-Z][A-Z_0-9]*' 51

com/jsql/util/PreferencesUtil.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: PreferencesUtil.parseReverseCommands(String) 122

com/jsql/util/bruter/Base58.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 8

com/jsql/util/bruter/Crc16Helper.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 21

com/jsql/util/bruter/Crc64Helper.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 23

com/jsql/util/bruter/DigestMD4.java

Rule Violation Line
FieldNamingConventions The final field name 'X' doesn't match '[a-z][a-zA-Z0-9]*' 65
ConstructorCallsOverridableMethod Overridable method called during object construction: DigestMD4.engineReset() 73
LocalVariableNamingConventions The local variable name 'A' doesn't match '[a-z][a-zA-Z0-9]*' 246
LocalVariableNamingConventions The local variable name 'B' doesn't match '[a-z][a-zA-Z0-9]*' 247
LocalVariableNamingConventions The local variable name 'C' doesn't match '[a-z][a-zA-Z0-9]*' 248
LocalVariableNamingConventions The local variable name 'D' doesn't match '[a-z][a-zA-Z0-9]*' 249
MethodNamingConventions The instance method name 'FF' doesn't match '[a-z][a-zA-Z0-9]*' 310
MethodNamingConventions The instance method name 'GG' doesn't match '[a-z][a-zA-Z0-9]*' 315
MethodNamingConventions The instance method name 'HH' doesn't match '[a-z][a-zA-Z0-9]*' 320

com/jsql/util/bruter/HashUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 11

Priority 2

com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'nameExploit' 190
AvoidReassigningParameters Avoid reassigning parameters such as 'pathNetshareFolder' 222

com/jsql/util/PropertiesUtil.java

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

com/jsql/util/bruter/DigestMD4.java

Rule Violation Line
ProperCloneImplementation Object clone() should be implemented with super.clone() 94
AvoidReassigningParameters Avoid reassigning parameters such as 'offset' 240

Priority 3

com/jsql/model/AbstractModelObservable.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isStoppedByUser' 31
AvoidFieldNameMatchingMethodName Field isStoppedByUser has the same name as a method 31
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 69
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 69
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 69
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 73
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 73
MethodArgumentCouldBeFinal Parameter 'processStopped' is not assigned and could be declared final 92

com/jsql/model/InjectionModel.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 11701
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 60
GodClass Possible God Class (WMC=76, ATFD=170, TCC=24.923%) 60
TooManyMethods This class has too many methods, consider refactoring it. 60701
RedundantFieldInitializer Avoid using redundant field initializer for 'shouldErasePreviousInjection' 85
AvoidFieldNameMatchingMethodName Field shouldErasePreviousInjection has the same name as a method 85
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanning' 86
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 117
LawOfDemeter Call to `getTime` on foreign value `this.mediatorStrategy` (degree 1) 119
LawOfDemeter Call to `getBlindBin` on foreign value `this.mediatorStrategy` (degree 1) 120
LawOfDemeter Call to `getBlindBit` on foreign value `this.mediatorStrategy` (degree 1) 121
LawOfDemeter Call to `getMultibit` on foreign value `this.mediatorStrategy` (degree 1) 122
LawOfDemeter Call to `getDns` on foreign value `this.mediatorStrategy` (degree 1) 123
LawOfDemeter Call to `getError` on foreign value `this.mediatorStrategy` (degree 1) 124
LawOfDemeter Call to `getStack` on foreign value `this.mediatorStrategy` (degree 1) 125
LawOfDemeter Call to `getUnion` on foreign value `this.mediatorStrategy` (degree 1) 126
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 134
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 135
LawOfDemeter Call to `getThreadUtil` on foreign value `this.mediatorUtils` (degree 1) 136
CyclomaticComplexity The method 'beginInjection()' has a cyclomatic complexity of 11. 144
LawOfDemeter Call to `getProxyUtil` on foreign value `this.mediatorUtils` (degree 1) 147
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 154
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 158
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 159
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 162
LawOfDemeter Call to `getMultipartUtil` on foreign value `this.mediatorUtils` (degree 1) 163
LawOfDemeter Call to `getSoapUtil` on foreign value `this.mediatorUtils` (degree 1) 164
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 165
LawOfDemeter Call to `getHeader` on foreign value `this.mediatorMethod` (degree 1) 166
LawOfDemeter Call to `getCookiesUtil` on foreign value `this.mediatorUtils` (degree 1) 167
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 170
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 176
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 178
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 181
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 192
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 206
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 209
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 212
CyclomaticComplexity The method 'inject(String, boolean, String, AbstractCallableBit<?>, boolean)' has a cyclomatic complexity of 10. 223
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 224
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 225
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 228
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 231
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 240
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 243
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 261
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 262
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 263
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 273
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 275
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 278
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 278
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 279
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 281
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 283
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 286
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.getMediatorUtils()` (degree 1) 289
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 293
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 313
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 339
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 347
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 348
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 349
MethodArgumentCouldBeFinal Parameter 'urlObject' is not assigned and could be declared final 350
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 351
LawOfDemeter Call to `getListQueryString` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 356
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 356
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 357
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 360
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 366
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 368
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 370
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 374
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 391
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 392
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 393
LawOfDemeter Call to `getListHeader` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 399
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 406
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 424
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 425
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 426
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 427
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 430
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 430
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 431
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 433
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 439
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 446
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 448
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 449
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 453
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 471
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 481
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 489
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 497
CompareObjectsWithEquals Use equals() to compare object references. 497
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 499
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 516
CompareObjectsWithEquals Use equals() to compare object references. 516
LawOfDemeter Call to `getTamperingUtil` on foreign value `this.mediatorUtils` (degree 1) 517
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 522
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 522
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 522
ConfusingTernary Avoid if (x != y) ..; else ..; 525539
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 534
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 541
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 541
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 544
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 544
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 544
ConfusingTernary Avoid if (x != y) ..; else ..; 550566
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 553
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 553
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 561
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 564
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 564
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 574
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 574
CompareObjectsWithEquals Use equals() to compare object references. 577
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 577
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 579
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 580
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 587
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 597
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 597
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 599
CompareObjectsWithEquals Use equals() to compare object references. 600
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 600
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 602
CompareObjectsWithEquals Use equals() to compare object references. 622
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 622
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 642
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 642
MethodArgumentCouldBeFinal Parameter 'indexesInUrl' is not assigned and could be declared final 654
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 662
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 694
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 698
MethodArgumentCouldBeFinal Parameter 'isInit' is not assigned and could be declared final 698

com/jsql/model/MediatorUtils.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'MediatorUtils' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=40, WMC=40) 5
TooManyFields Too many fields 5188
MethodArgumentCouldBeFinal Parameter 'cookiesUtil' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'multipartUtil' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'propertiesUtil' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'connectionUtil' is not assigned and could be declared final 105
MethodArgumentCouldBeFinal Parameter 'authenticationUtil' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'gitUtil' is not assigned and could be declared final 113
MethodArgumentCouldBeFinal Parameter 'headerUtil' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'parameterUtil' is not assigned and could be declared final 121
MethodArgumentCouldBeFinal Parameter 'exceptionUtil' is not assigned and could be declared final 125
MethodArgumentCouldBeFinal Parameter 'soapUtil' is not assigned and could be declared final 129
MethodArgumentCouldBeFinal Parameter 'jsonUtil' is not assigned and could be declared final 133
MethodArgumentCouldBeFinal Parameter 'preferencesUtil' is not assigned and could be declared final 137
MethodArgumentCouldBeFinal Parameter 'proxyUtil' is not assigned and could be declared final 141
MethodArgumentCouldBeFinal Parameter 'threadUtil' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'tamperingUtil' is not assigned and could be declared final 149
MethodArgumentCouldBeFinal Parameter 'userAgentUtil' is not assigned and could be declared final 153
MethodArgumentCouldBeFinal Parameter 'csrfUtil' is not assigned and could be declared final 161
MethodArgumentCouldBeFinal Parameter 'digestUtil' is not assigned and could be declared final 169
MethodArgumentCouldBeFinal Parameter 'formUtil' is not assigned and could be declared final 177
MethodArgumentCouldBeFinal Parameter 'certificateUtil' is not assigned and could be declared final 185

com/jsql/model/accessible/CallableFile.java

Rule Violation Line
DataClass The class 'CallableFile' is suspected to be a Data Class (WOC=25.000%, NOPA=1, NOAM=3, WMC=9) 24
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 49
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 49
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 66
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 67
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 67
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 68
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 68
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 69
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 69
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 71
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 72
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 75
CompareObjectsWithEquals Use equals() to compare object references. 75
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 81

com/jsql/model/accessible/CallableHttpHead.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'urlAdminPage' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 53
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 65
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 75
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 78
CloseResource Ensure that resources like this HttpClient object are closed after use 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 91
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 98
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 111

com/jsql/model/accessible/DataAccess.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 91
LinguisticNaming Linguistics Antipattern - The getter 'getDatabaseInfos' should not return void linguistically 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 116
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 132
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 163
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 172
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 194
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 215
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 232
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 241
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 271
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 292
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 315
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 320
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 347
MethodArgumentCouldBeFinal Parameter 'columnsBean' is not assigned and could be declared final 368
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 415
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 415
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 415
MethodArgumentCouldBeFinal Parameter 'columns' is not assigned and could be declared final 415
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 421
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 430
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 436
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 436
MethodArgumentCouldBeFinal Parameter 'columnsName' is not assigned and could be declared final 449
MethodArgumentCouldBeFinal Parameter 'values' is not assigned and could be declared final 449

com/jsql/model/accessible/ExploitMode.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'keyLabel' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'keyTooltip' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 17

com/jsql/model/accessible/ResourceAccess.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 11716
CouplingBetweenObjects A value of 25 may denote a high amount of coupling within the class (threshold: 20) 11716
GodClass Possible God Class (WMC=87, ATFD=63, TCC=16.559%) 53
CyclomaticComplexity The class 'ResourceAccess' has a total cyclomatic complexity of 87 (highest 11). 53
TooManyMethods This class has too many methods, consider refactoring it. 53716
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchAdminStopped' 60
AvoidFieldNameMatchingMethodName Field isSearchAdminStopped has the same name as a method 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanStopped' 65
AvoidFieldNameMatchingMethodName Field isScanStopped has the same name as a method 65
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchFileStopped' 71
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 135
MethodArgumentCouldBeFinal Parameter 'pageNames' is not assigned and could be declared final 135
CloseResource Ensure that resources like this ExecutorService object are closed after use 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 153
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 161165
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 181
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 188
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 188
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 204
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 211
MethodArgumentCouldBeFinal Parameter 'submittedTasks' is not assigned and could be declared final 211
MethodArgumentCouldBeFinal Parameter 'tasksHandled' is not assigned and could be declared final 211
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 227
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 234
AvoidLiteralsInIfCondition Avoid using literals such as "/" in if statements 238
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 261
MethodArgumentCouldBeFinal Parameter 'directoryNames' is not assigned and could be declared final 261
MethodArgumentCouldBeFinal Parameter 'urlProtocol' is not assigned and could be declared final 261
CloseResource Ensure that resources like this ExecutorService object are closed after use 262
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 262
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 269273
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 289
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 295
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 299
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 303
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 303
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 307
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 333
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 333
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 333
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 336
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 336
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 336
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 336
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 359
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 359
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 363
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'isResultSentToView' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 395
MethodArgumentCouldBeFinal Parameter 'listFieldsLength' is not assigned and could be declared final 395
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 398
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 400
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 402
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 411
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 413
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 415
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 417
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 421
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 437
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 443
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 454
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 454
MethodArgumentCouldBeFinal Parameter 'streamToUpload' is not assigned and could be declared final 454
PrematureDeclaration Declaration of 'crLf' can be moved closer to its usages 455
PrematureDeclaration Declaration of 'boundary' can be moved closer to its usages 456
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 464
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 465
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 466
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 467
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 485
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 489
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 510
AvoidLiteralsInIfCondition Avoid using literals such as "false" in if statements 525
CyclomaticComplexity The method 'readFile(List<String>)' has a cyclomatic complexity of 11. 549
MethodArgumentCouldBeFinal Parameter 'pathsFiles' is not assigned and could be declared final 549
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 551
CompareObjectsWithEquals Use equals() to compare object references. 551
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 554
CloseResource Ensure that resources like this ExecutorService object are closed after use 560
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 560
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 564
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 586
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callableReadFile` (degree 1) 608
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 611
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 630
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 630
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 642
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 642
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 645652
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callable` (degree 1) 666
MethodArgumentCouldBeFinal Parameter 'isScanStopped' is not assigned and could be declared final 697

com/jsql/model/accessible/vendor/ExploitDerby.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 40
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 45
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 49
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 57
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 82
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 92
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 101
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 116
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 119
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 123
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 129

com/jsql/model/accessible/vendor/ExploitH2.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 40
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 48
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 49
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 50
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 51
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 63
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 63
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 66
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 67
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 80
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 80
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 91
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 97
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 103
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 117
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 120
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 122
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 129
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 135
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 142
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 157
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 160
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 163

com/jsql/model/accessible/vendor/ExploitHsqldb.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 41
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 46
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 50
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 58
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 82
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 92
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 100
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 108
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 115
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 118
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 122
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 128

com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1522
TooManyMethods This class has too many methods, consider refactoring it. 37522
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 52
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 56
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 61
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 74
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 74
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 76
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 101
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 104
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 112
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 125
CyclomaticComplexity The method 'create(String, String, String, String, BinaryOperator<String>, String, ExploitMode)' has a cyclomatic complexity of 10. 125
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 127
MethodArgumentCouldBeFinal Parameter 'keyPropertyExploit' is not assigned and could be declared final 128
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 130
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 131
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 132
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 134
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 135
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 139
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 154
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 171
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 188
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 193
CyclomaticComplexity The method 'createUdf(String, ExploitMode)' has a cyclomatic complexity of 14. 196
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 196
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 199
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 203
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 204
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 216
LinguisticNaming Linguistics Antipattern - The variable 'isSuccess' indicates linguistically it is a boolean, but it is 'String' 219
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 233
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 252
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 256
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 256
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 267
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 268
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 269
MethodArgumentCouldBeFinal Parameter 'hexChunks' is not assigned and could be declared final 270
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 271
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 278
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 317
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 318
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 319
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 321
MethodArgumentCouldBeFinal Parameter 'bodyHexChunks' is not assigned and could be declared final 354
MethodArgumentCouldBeFinal Parameter 'pathRemoteFile' is not assigned and could be declared final 354
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 356
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 402
MethodArgumentCouldBeFinal Parameter 'nameTableRandom' is not assigned and could be declared final 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 404408
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 404
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 414
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 420
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 423
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 434
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 449
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 449
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 452
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 466
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 469
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 481
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 490
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 490
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 502
MethodArgumentCouldBeFinal Parameter 'bodyExploit' is not assigned and could be declared final 502
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 505
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 511
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 513

com/jsql/model/accessible/vendor/ExploitOracle.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 29
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 33
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 38
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 62
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 79
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 79
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 82

com/jsql/model/accessible/vendor/ExploitPostgres.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1594
TooManyMethods This class has too many methods, consider refactoring it. 35594
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 46
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 51
LinguisticNaming Linguistics Antipattern - The setter 'setRceProgramWhenActive' should not return any type except void linguistically 82
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 94
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
LinguisticNaming Linguistics Antipattern - The setter 'setRceExtensionWhenActive' should not return any type except void linguistically 109
CognitiveComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cognitive complexity of 15, current threshold is 15 109
CyclomaticComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cyclomatic complexity of 10. 109
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 109
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 111
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 145
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 155
LinguisticNaming Linguistics Antipattern - The setter 'setRceLibraryWhenActive' should not return any type except void linguistically 166
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 166
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 168
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 182
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 191
AvoidDuplicateLiterals The String literal "%20" appears 10 times in this file; the first occurrence is on line 193 193
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 197
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 207
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 222
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 225
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 233
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 233
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 236
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 250
PrematureDeclaration Declaration of 'pathResult' can be moved closer to its usages 252
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 254
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 257
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 260
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 261
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 265
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 270
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 278
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 283
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 285
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 288
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 291
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 293
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 296
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 298
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 302
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 309
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 314
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 320
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 326
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 332
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 332
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 346
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 346
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 359
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 373
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 373
AvoidLiteralsInIfCondition Avoid using literals such as "sql" in if statements 376
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 383
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 388
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 407
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 407
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 409
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 414
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 420
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 423
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 430
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 444
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 447
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 447
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 447
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 447
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 447
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 449
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 468
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 473
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 479
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 482
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 488
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 491
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 491
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 491
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 493
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 498
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 507
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 515
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 515
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 523
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 530
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 533
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 538
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 549
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 550
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 554
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 555
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 563
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 567
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 571
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 577

com/jsql/model/accessible/vendor/ExploitSqlite.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 40
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 47
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 60
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 63
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 77
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 77
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 81
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 96
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 111
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 116
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 132
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 132
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 140
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 147
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 154

com/jsql/model/accessible/vendor/derby/File.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 31

com/jsql/model/accessible/vendor/derby/ModelYamlDerby.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 11

com/jsql/model/accessible/vendor/h2/File.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'readFromPath' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'readFromTempTable' is not assigned and could be declared final 31

com/jsql/model/accessible/vendor/h2/ModelYamlH2.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3
DataClass The class 'ModelYamlH2' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3
MethodArgumentCouldBeFinal Parameter 'rce' is not assigned and could be declared final 12
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 20

com/jsql/model/accessible/vendor/h2/Rce.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'Rce' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'callCsvWrite' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'scriptSimple' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'dropAlias' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'createAlias' is not assigned and could be declared final 50
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 58

com/jsql/model/accessible/vendor/hsqldb/File.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 5
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 22

com/jsql/model/accessible/vendor/hsqldb/ModelYamlHsqldb.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 11

com/jsql/model/accessible/vendor/hsqldb/Read.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'performImport' is not assigned and could be declared final 31

com/jsql/model/accessible/vendor/mysql/AddFile.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'AddFile' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'queryBody' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'netshare' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 33

com/jsql/model/accessible/vendor/mysql/AddFunction.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'AddFunction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 33

com/jsql/model/accessible/vendor/mysql/File.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'privilege' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 24

com/jsql/model/accessible/vendor/mysql/ModelYamlMysql.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
AtLeastOneConstructor Each class should declare at least one constructor 6
DataClass The class 'ModelYamlMysql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 6
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 23

com/jsql/model/accessible/vendor/mysql/TempTable.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 7
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'insertChunks' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'appendChunks' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'dump' is not assigned and could be declared final 69

com/jsql/model/accessible/vendor/mysql/Udf.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 7
MethodArgumentCouldBeFinal Parameter 'pathPlugin' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'osMachine' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'addFile' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'addFunction' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 51

com/jsql/model/accessible/vendor/oracle/ModelYamlOracle.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
AtLeastOneConstructor Each class should declare at least one constructor 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 14

com/jsql/model/accessible/vendor/oracle/Udf.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 8
MethodArgumentCouldBeFinal Parameter 'dropSource' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'addSource' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'grant' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 70

com/jsql/model/accessible/vendor/postgres/Archive.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Archive' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 7
MethodArgumentCouldBeFinal Parameter 'getPathConf' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'getStatus' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'getConfLength' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'putCmd' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'reloadConf' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'getCmd' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'runWal' is not assigned and could be declared final 69

com/jsql/model/accessible/vendor/postgres/Confirm.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Confirm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'funcExists' is not assigned and could be declared final 24

com/jsql/model/accessible/vendor/postgres/Extension.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'languages' is not assigned and could be declared final 24

com/jsql/model/accessible/vendor/postgres/File.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 5
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 5
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 22

com/jsql/model/accessible/vendor/postgres/LargeObject.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'LargeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 7
MethodArgumentCouldBeFinal Parameter 'fromPath' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'toText' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'fromText' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'toFile' is not assigned and could be declared final 42

com/jsql/model/accessible/vendor/postgres/Library.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Library' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 7
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'createFunction' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'loFromText' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'loToFile' is not assigned and could be declared final 51

com/jsql/model/accessible/vendor/postgres/ModelYamlPostgres.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
AtLeastOneConstructor Each class should declare at least one constructor 6
DataClass The class 'ModelYamlPostgres' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 23

com/jsql/model/accessible/vendor/postgres/Program.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Program' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'run' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'getResult' is not assigned and could be declared final 24

com/jsql/model/accessible/vendor/postgres/Read.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'fromDataFolder' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'fromTempTable' is not assigned and could be declared final 33

com/jsql/model/accessible/vendor/postgres/Sql.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Sql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 7
MethodArgumentCouldBeFinal Parameter 'dropTable' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'resultCmd' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'clean' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 69

com/jsql/model/accessible/vendor/postgres/TempTable.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'add' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'fill' is not assigned and could be declared final 33

com/jsql/model/accessible/vendor/postgres/Udf.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=26, WMC=26) 7
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'plpython' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'plperl' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'plsh' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'sql' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'archive' is not assigned and could be declared final 83
MethodArgumentCouldBeFinal Parameter 'program' is not assigned and could be declared final 91
MethodArgumentCouldBeFinal Parameter 'pltcl' is not assigned and could be declared final 99
MethodArgumentCouldBeFinal Parameter 'plr' is not assigned and could be declared final 107
MethodArgumentCouldBeFinal Parameter 'pllua' is not assigned and could be declared final 115
MethodArgumentCouldBeFinal Parameter 'library' is not assigned and could be declared final 123

com/jsql/model/accessible/vendor/postgres/Write.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 5
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 5
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 22

com/jsql/model/accessible/vendor/sqlite/Extension.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 7
MethodArgumentCouldBeFinal Parameter 'fileioRead' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'fileioWrite' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'fileioLs' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'exec' is not assigned and could be declared final 42

com/jsql/model/accessible/vendor/sqlite/ModelYamlSqlite.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'ModelYamlSqlite' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'writeFile' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 34

com/jsql/model/bean/database/AbstractElementDatabase.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 21
MethodArgumentCouldBeFinal Parameter 'elementValue' is not assigned and could be declared final 53

com/jsql/model/bean/database/Column.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'newColumnName' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'newTableName' is not assigned and could be declared final 27

com/jsql/model/bean/database/Database.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'databaseName' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'tableCount' is not assigned and could be declared final 32
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 59

com/jsql/model/bean/database/MockElement.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3

com/jsql/model/bean/database/Table.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'tableName' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'parentDatabase' is not assigned and could be declared final 37
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 69

com/jsql/model/bean/util/HttpHeader.java

Rule Violation Line
DataClass The class 'HttpHeader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=5, WMC=7) 8
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'post' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 44

com/jsql/model/bean/util/Interaction.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 71

com/jsql/model/bean/util/Request.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 17
DataClass The class 'Request' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 17
MethodReturnsInternalArray Returning 'parameters' may expose an internal array. 37
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'parameters' is not assigned and could be declared final 44
ArrayIsStoredDirectly The user-supplied array 'parameters' is stored directly. 45

com/jsql/model/exception/AbstractSlidingException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 11
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 35

com/jsql/model/exception/InjectionFailureException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 24
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 28

com/jsql/model/exception/JSqlException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 13

com/jsql/model/exception/JSqlRuntimeException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 13

com/jsql/model/exception/LoopDetectedSlidingException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 20

com/jsql/model/exception/StoppedByUserSlidingException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 30

com/jsql/model/injection/method/AbstractMethodInjection.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 34
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
PrematureDeclaration Declaration of 'hasFoundInjection' can be moved closer to its usages 54
UnusedAssignment The initializer for variable 'hasFoundInjection' is never used (overwritten on lines 73, 75 and 77) 54
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
CompareObjectsWithEquals Use equals() to compare object references. 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 62
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 66
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 71
ConfusingTernary Avoid if (x != y) ..; else ..; 7478
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 87
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 100
CompareObjectsWithEquals Use equals() to compare object references. 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 120
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 131
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 143
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 144
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 151
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 168

com/jsql/model/injection/method/MediatorMethod.java

Rule Violation Line
DataClass The class 'MediatorMethod' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 9
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 45
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 49
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 68

com/jsql/model/injection/strategy/AbstractStrategy.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isApplicable' 34
AvoidFieldNameMatchingMethodName Field isApplicable has the same name as a method 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 88
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 88
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 93
MethodArgumentCouldBeFinal Parameter 'isApplicable' is not assigned and could be declared final 117

com/jsql/model/injection/strategy/DnsServer.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 38
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 46
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 49
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 58
UseUnderscoresInNumericLiterals Number 86400 should separate every third digit with an underscore 67
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 68
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 7580

com/jsql/model/injection/strategy/MediatorStrategy.java

Rule Violation Line
DataClass The class 'MediatorStrategy' is suspected to be a Data Class (WOC=26.667%, NOPA=0, NOAM=11, WMC=31) 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 41
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 57
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 76
ConfusingTernary Avoid if (x != y) ..; else ..; 7991
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 96
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 117
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 131
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 137
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 149
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 151
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 159
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 162
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 168
CompareObjectsWithEquals Use equals() to compare object references. 168
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 168
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 203
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 211
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 264

com/jsql/model/injection/strategy/StrategyBlindBin.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134

com/jsql/model/injection/strategy/StrategyBlindBit.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134

com/jsql/model/injection/strategy/StrategyDns.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 46
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 53
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 55
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 57
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 63
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 80
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 92
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 102
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 106
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 129
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 148
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 148
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 148
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 149
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 150
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 161
MethodArgumentCouldBeFinal Parameter 'maxTime' is not assigned and could be declared final 173
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 178
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 182
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 192
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 200

com/jsql/model/injection/strategy/StrategyError.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'indexErrorStrategy' 25
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 27
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 38
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 40
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 46
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 83
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 87
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 102
MethodArgumentCouldBeFinal Parameter 'indexErrorMethod' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'errorCapacityDefault' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'regexSearch' is not assigned and could be declared final 108
UnusedAssignment The value assigned to field 'indexErrorStrategy' is never used (reassigned every iteration) 114
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 133
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 146
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 159
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 164
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 164
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 164
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 166
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 173
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 179
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 182
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 204

com/jsql/model/injection/strategy/StrategyMultibit.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 68
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 89
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 90
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 113
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 120
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 127

com/jsql/model/injection/strategy/StrategyStack.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 25
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 31
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 38
ConfusingTernary Avoid if (x != y) ..; else ..; 4656
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 72
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 72
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 93
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 93
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 125
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 125
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 125
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 127
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 141

com/jsql/model/injection/strategy/StrategyTime.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134

com/jsql/model/injection/strategy/StrategyUnion.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'nbIndexesFound' 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 55
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 78
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 91
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 91
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 91
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 93
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 107
MethodArgumentCouldBeFinal Parameter 'firstSuccessPageSource' is not assigned and could be declared final 122
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 145
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 159
MethodArgumentCouldBeFinal Parameter 'visibleIndex' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'sourceIndexesFound' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'nbIndexesFound' is not assigned and could be declared final 220

com/jsql/model/injection/strategy/blind/AbstractInjectionBit.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 34
CyclomaticComplexity The method 'inject(String, AbstractSuspendable)' has a cyclomatic complexity of 10. 68
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 68
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 68
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 75
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 124
EmptyCatchBlock Avoid empty catch blocks 127129
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 135
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 137
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 149151
AvoidLiteralsInIfCondition Avoid using literals such as 15 in if statements 149
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 173
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 173
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 173
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 174
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 181
EmptyCatchBlock Avoid empty catch blocks 184187
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 197
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 197
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 201

com/jsql/model/injection/strategy/blind/AbstractInjectionMonobit.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 12
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 12
CommentDefaultAccessModifier Missing commented default access modifier on method 'getCallableBitTest(String, int, int)' 16
MissingOverride The method 'initNextChar(String, List<char[]>, AtomicInteger, CompletionService<T>, AtomicInteger, AtomicInteger, T)' is missing an @Override annotation. 18
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 23
MissingOverride The method 'initMaskAsciiChar(List<char[]>, T)' is missing an @Override annotation. 47
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 47
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 47

com/jsql/model/injection/strategy/blind/InjectionBlindBin.java

Rule Violation Line
ImmutableField Field 'sourceReferencePage' may be declared final 32
CyclomaticComplexity The constructor 'InjectionBlindBin(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 48
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 48
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 48
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 51
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 57
CloseResource Ensure that resources like this ExecutorService object are closed after use 61
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 79
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 104
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 104
CloseResource Ensure that resources like this ExecutorService object are closed after use 105
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 105
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 107
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 122
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 138
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 153
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 162
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 173
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 174
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 175
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 176
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 177
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 178
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 179
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 236
MethodArgumentCouldBeFinal Parameter 'asciiCodeMask' is not assigned and could be declared final 244
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 244
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 252
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 252

com/jsql/model/injection/strategy/blind/InjectionBlindBit.java

Rule Violation Line
ImmutableField Field 'sourceReferencePage' may be declared final 27
CyclomaticComplexity The constructor 'InjectionBlindBit(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 43
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 46
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 52
CloseResource Ensure that resources like this ExecutorService object are closed after use 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 56
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 73
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 88
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 98
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 98
CloseResource Ensure that resources like this ExecutorService object are closed after use 99
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 115
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 131
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 136
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 154
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 162

com/jsql/model/injection/strategy/blind/InjectionCharInsertion.java

Rule Violation Line
ImmutableField Field 'blankFalseMark' may be declared final 29
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'falseCharInsertion' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'prefixSuffix' is not assigned and could be declared final 52
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 56
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 57
CloseResource Ensure that resources like this ExecutorService object are closed after use 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 72
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
CloseResource Ensure that resources like this ExecutorService object are closed after use 120
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 120
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 129
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 143
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 155
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 167
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 168
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 175
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 181
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 181
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 185
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 185
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 185

com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Line
ImmutableField Field 'sourceReference' may be declared final 25
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 30
CloseResource Ensure that resources like this ExecutorService object are closed after use 38
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 53
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 58
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 72
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 110
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 112
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 131
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 131
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 141
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 141
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 142
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 144
AvoidLiteralsInIfCondition Avoid using literals such as 3 in if statements 146
MethodArgumentCouldBeFinal Parameter 'idPage' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'i1' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'i2' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'i3' is not assigned and could be declared final 154

com/jsql/model/injection/strategy/blind/InjectionTime.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 40
CloseResource Ensure that resources like this ExecutorService object are closed after use 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 47
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 64
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 84
CloseResource Ensure that resources like this ExecutorService object are closed after use 85
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 85
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 87
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 100
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 101
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 115
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 120
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 138
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 154

com/jsql/model/injection/strategy/blind/InjectionVendor.java

Rule Violation Line
ImmutableField Field 'blankFalseMark' may be declared final 26
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithOperator' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 38
CloseResource Ensure that resources like this ExecutorService object are closed after use 53
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 70
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 86
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 92
CloseResource Ensure that resources like this ExecutorService object are closed after use 95
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 112
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 123
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 127
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 133
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 139
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 146
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 146
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 150

com/jsql/model/injection/strategy/blind/callable/AbstractCallableBit.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 8
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultibit' 30
AvoidFieldNameMatchingMethodName Field isMultibit has the same name as a method 30
RedundantFieldInitializer Avoid using redundant field initializer for 'isBinary' 31
AvoidFieldNameMatchingMethodName Field isBinary has the same name as a method 31
MethodArgumentCouldBeFinal Parameter 'charText' is not assigned and could be declared final 56

com/jsql/model/injection/strategy/blind/callable/CallableBlindBin.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 24
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 36
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 39
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 47
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 55
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 60
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 80
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 86

com/jsql/model/injection/strategy/blind/callable/CallableBlindBit.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 20
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 30
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 34
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 44
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 47
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 69
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 79
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 81
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 82

com/jsql/model/injection/strategy/blind/callable/CallableCharInsertion.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 18
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 29
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 48
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 50
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 50
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 51

com/jsql/model/injection/strategy/blind/callable/CallableMultibit.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 13
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 31
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 33
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 37

com/jsql/model/injection/strategy/blind/callable/CallableTime.java

Rule Violation Line
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 19
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 24
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 49
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 62
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 65
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 82
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 84

com/jsql/model/injection/strategy/blind/callable/CallableVendor.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 13
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 21
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 32

com/jsql/model/injection/strategy/blind/patch/Diff.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'obj' is not assigned and could be declared final 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 68
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 73
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 77
MethodArgumentCouldBeFinal Parameter 'diff' is not assigned and could be declared final 84
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 95
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 103

com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 45
GodClass Possible God Class (WMC=395, ATFD=353, TCC=0.976%) 45
CyclomaticComplexity The class 'DiffMatchPatch' has a total cyclomatic complexity of 395 (highest 32). 45
TooManyMethods This class has too many methods, consider refactoring it. 452337
MethodArgumentCouldBeFinal Parameter 'chars1' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'chars2' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 137
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 137
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 150
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 150
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 168
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 168
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 185
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 226
CyclomaticComplexity The method 'diffCompute(String, String, boolean, long)' has a cyclomatic complexity of 12. 226
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 226
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 228
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 233
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 239
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 254
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 257
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 262
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 276
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 282
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 286
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 301
CognitiveComplexity The method 'diffLineMode(String, String, long)' has a cognitive complexity of 17, current threshold is 15 301
CyclomaticComplexity The method 'diffLineMode(String, String, long)' has a cyclomatic complexity of 10. 301
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 301
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 301
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 301
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 309
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 327
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 355
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 371
NcssCount The method 'diffBisect(String, String, long)' has a NCSS line count of 75. 371
CognitiveComplexity The method 'diffBisect(String, String, long)' has a cognitive complexity of 62, current threshold is 15 371
CyclomaticComplexity The method 'diffBisect(String, String, long)' has a cyclomatic complexity of 32. 371
NPathComplexity The method 'diffBisect(String, String, long)' has an NPath complexity of 29190, current threshold is 200 371
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 371
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 371
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 371
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 432
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 470
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 478
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 494
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 494
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 494
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 494
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 494
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 494
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 501
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 517
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 517
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 519
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 540
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 540
MethodArgumentCouldBeFinal Parameter 'lineHash' is not assigned and could be declared final 541
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 575
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 575
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 578
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 592
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 597
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 609
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 609
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 616
CyclomaticComplexity The method 'diffCommonOverlap(String, String)' has a cyclomatic complexity of 10. 629
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 629
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 629
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 639
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 650
CognitiveComplexity The method 'diffHalfMatch(String, String)' has a cognitive complexity of 15, current threshold is 15 683
CyclomaticComplexity The method 'diffHalfMatch(String, String)' has a cyclomatic complexity of 11. 683
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 683
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 683
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 688
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 697
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 709
MethodArgumentCouldBeFinal Parameter 'longtext' is not assigned and could be declared final 725
MethodArgumentCouldBeFinal Parameter 'shorttext' is not assigned and could be declared final 725
MethodArgumentCouldBeFinal Parameter 'i' is not assigned and could be declared final 725
AssignmentInOperand Avoid assignment to j in operand 735
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 750751
NcssCount The method 'diffCleanupSemantic(LinkedList<Diff>)' has a NCSS line count of 80. 761
CognitiveComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cognitive complexity of 65, current threshold is 15 761
CyclomaticComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cyclomatic complexity of 27. 761
NPathComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has an NPath complexity of 13747, current threshold is 200 761
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 761
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 761
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 768
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 780
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 790
CompareObjectsWithEquals Use equals() to compare object references. 803
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 809
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 811
EmptyControlStatement Empty while statement 826828
CompareObjectsWithEquals Use equals() to compare object references. 826
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 835
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 839
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 856
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 865
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 866
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 876877
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 889890
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 899
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 902
NcssCount The method 'diffCleanupSemanticLossless(List<Diff>)' has a NCSS line count of 66. 912
CognitiveComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cognitive complexity of 33, current threshold is 15 912
CyclomaticComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cyclomatic complexity of 16. 912
NPathComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has an NPath complexity of 840, current threshold is 200 912
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 912
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 932
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 933
ConfusingTernary Avoid if (x != y) ..; else ..; 978987
ConfusingTernary Avoid if (x != y) ..; else ..; 989995
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1000
CognitiveComplexity The method 'diffCleanupSemanticScore(String, String)' has a cognitive complexity of 18, current threshold is 15 1012
CyclomaticComplexity The method 'diffCleanupSemanticScore(String, String)' has a cyclomatic complexity of 14. 1012
NPathComplexity The method 'diffCleanupSemanticScore(String, String)' has an NPath complexity of 1282, current threshold is 200 1012
MethodArgumentCouldBeFinal Parameter 'one' is not assigned and could be declared final 1012
MethodArgumentCouldBeFinal Parameter 'two' is not assigned and could be declared final 1012
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1016
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1039
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1042
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1045
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1048
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1051
CognitiveComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cognitive complexity of 62, current threshold is 15 1060
CyclomaticComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cyclomatic complexity of 27. 1060
NPathComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has an NPath complexity of 18251, current threshold is 200 1060
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1060
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1060
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 1067
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 1082
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1094
AssignmentInOperand Avoid assignment to postDel in operand 1097
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 1100
CompareObjectsWithEquals Use equals() to compare object references. 1125
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1131
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1137
AssignmentInOperand Avoid assignment to postDel in operand 1140
EmptyControlStatement Empty while statement 11561158
CompareObjectsWithEquals Use equals() to compare object references. 1156
AssignmentInOperand Avoid assignment to postDel in operand 1159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1165
NcssCount The method 'diffCleanupMerge(LinkedList<Diff>)' has a NCSS line count of 108. 1178
CognitiveComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cognitive complexity of 75, current threshold is 15 1178
CyclomaticComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cyclomatic complexity of 30. 1178
NPathComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has an NPath complexity of 434400, current threshold is 200 1178
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1178
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1178
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 11901272
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 1190
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1194
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1199
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 1202
AssignmentInOperand Avoid assignment to countDelete in operand 1207
AssignmentInOperand Avoid assignment to countInsert in operand 1211
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 12261227
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1252
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1273
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1289
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 1294
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 1295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1309
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1317
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1323
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1339
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 1339
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1346
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1350
LawOfDemeter Call to `getOperation` on foreign value `lastDiff` (degree 1) 1362
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1364
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1375
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 39 characters appended. 1376
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1380
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1402
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1405
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1417
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1420
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1433
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1438
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1465
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1469
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1471
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1472
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1478
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1478
CognitiveComplexity The method 'diffFromDelta(String, String)' has a cognitive complexity of 22, current threshold is 15 1498
CyclomaticComplexity The method 'diffFromDelta(String, String)' has a cyclomatic complexity of 18. 1498
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 1498
MethodArgumentCouldBeFinal Parameter 'delta' is not assigned and could be declared final 1498
AvoidLiteralsInIfCondition Avoid using literals such as '=' in if statements 1550
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 1580
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1580
MethodArgumentCouldBeFinal Parameter 'valueLoc' is not assigned and could be declared final 1580
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1589
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1596
CognitiveComplexity The method 'matchBitap(String, String, int)' has a cognitive complexity of 36, current threshold is 15 1611
CyclomaticComplexity The method 'matchBitap(String, String, int)' has a cyclomatic complexity of 14. 1611
NPathComplexity The method 'matchBitap(String, String, int)' has an NPath complexity of 453, current threshold is 200 1611
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 1611
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1611
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 1611
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1661
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 1716
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 1716
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 1716
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1716
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1727
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1728
MethodArgumentCouldBeFinal Parameter 'patch' is not assigned and could be declared final 1750
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 1750
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 1797
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 1797
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1802
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 1803
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1816
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1816
CognitiveComplexity The method 'patchMake(String, Deque<Diff>)' has a cognitive complexity of 22, current threshold is 15 1832
CyclomaticComplexity The method 'patchMake(String, Deque<Diff>)' has a cyclomatic complexity of 19. 1832
NPathComplexity The method 'patchMake(String, Deque<Diff>)' has an NPath complexity of 341, current threshold is 200 1832
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 1832
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1832
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1840
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1852
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1858
CompareObjectsWithEquals Use equals() to compare object references. 1874
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1889
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1901
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1904
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1922
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 1922
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1923
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1925
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1927
CognitiveComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cognitive complexity of 55, current threshold is 15 1947
CyclomaticComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cyclomatic complexity of 17. 1947
NPathComplexity The method 'patchApply(LinkedList<Patch>, String)' has an NPath complexity of 207, current threshold is 200 1947
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1947
MethodArgumentCouldBeFinal Parameter 'valuePatches' is not assigned and could be declared final 1947
MethodArgumentCouldBeFinal Parameter 'valueText' is not assigned and could be declared final 1947
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1950
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1954
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2027
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2029
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2033
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2040
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 2061
LawOfDemeter Call to `getOperation` on foreign value `diffs.getFirst()` (degree 1) 2078
LawOfDemeter Call to `getOperation` on foreign value `diffs.getLast()` (degree 1) 2100
NcssCount The method 'patchSplitMax(List<Patch>)' has a NCSS line count of 73. 2123
CognitiveComplexity The method 'patchSplitMax(List<Patch>)' has a cognitive complexity of 55, current threshold is 15 2123
CyclomaticComplexity The method 'patchSplitMax(List<Patch>)' has a cyclomatic complexity of 22. 2123
NPathComplexity The method 'patchSplitMax(List<Patch>)' has an NPath complexity of 2570, current threshold is 200 2123
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 2123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2139
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 2150
LawOfDemeter Call to `getOperation` on foreign value `bigpatch.getDiffs().getFirst()` (degree 1) 2160
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getFirst()` (degree 1) 2170
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getLast()` (degree 1) 2214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2225
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 2234
NcssCount The method 'patchFromText(String)' has a NCSS line count of 64. 2248
CognitiveComplexity The method 'patchFromText(String)' has a cognitive complexity of 27, current threshold is 15 2248
CyclomaticComplexity The method 'patchFromText(String)' has a cyclomatic complexity of 18. 2248
MethodArgumentCouldBeFinal Parameter 'textline' is not assigned and could be declared final 2248
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 2252
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 2268
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 2274
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 2285
AvoidLiteralsInIfCondition Avoid using literals such as '-' in if statements 2315
AvoidLiteralsInIfCondition Avoid using literals such as '+' in if statements 2318
AvoidLiteralsInIfCondition Avoid using literals such as ' ' in if statements 2321
AvoidLiteralsInIfCondition Avoid using literals such as '@' in if statements 2324

com/jsql/model/injection/strategy/blind/patch/Patch.java

Rule Violation Line
DataClass The class 'Patch' is suspected to be a Data Class (WOC=27.273%, NOPA=0, NOAM=8, WMC=20) 10
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 12
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 38
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 46
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 58
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 70
MethodArgumentCouldBeFinal Parameter 'str' is not assigned and could be declared final 89
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 100
MethodArgumentCouldBeFinal Parameter 'start1' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'start2' is not assigned and could be declared final 116
MethodArgumentCouldBeFinal Parameter 'length1' is not assigned and could be declared final 124
LinguisticNaming Linguistics Antipattern - The setter 'setLength2' should not return any type except void linguistically 132
MethodArgumentCouldBeFinal Parameter 'length2' is not assigned and could be declared final 132

com/jsql/model/injection/vendor/MediatorVendor.java

Rule Violation Line
DataClass The class 'MediatorVendor' is suspected to be a Data Class (WOC=7.143%, NOPA=0, NOAM=26, WMC=33) 26
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 70
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 104
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 126
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 126
CompareObjectsWithEquals Use equals() to compare object references. 152
ConfusingTernary Avoid if (x != y) ..; else ..; 157190
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 157
CompareObjectsWithEquals Use equals() to compare object references. 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 158
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 163
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 170
LawOfDemeter Call to `filter` on foreign value `mediatorVendor.getVendors().stream()` (degree 2) 171173
LawOfDemeter Call to `getVendors` on foreign value `mediatorVendor` (degree 2) 171
LawOfDemeter Call to `stream` on foreign value `mediatorVendor.getVendors()` (degree 2) 171172
LawOfDemeter Call to `toArray` on foreign value `mediatorVendor.getVendors().stream().filter(v -> v != mediatorVendor.getAuto())` (degree 2) 171174
CompareObjectsWithEquals Use equals() to compare object references. 173
LawOfDemeter Call to `instance` on foreign value `vendorTest` (degree 2) 178
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 192
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 198
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 209
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 217
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 220
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 225
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 234
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 237
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 288
MethodArgumentCouldBeFinal Parameter 'vendorByUser' is not assigned and could be declared final 296

com/jsql/model/injection/vendor/model/AbstractVendor.java

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

com/jsql/model/injection/vendor/model/Vendor.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'instanceVendor' is not assigned and could be declared final 9
LawOfDemeter Call to `getModelYaml` on foreign value `instanceVendor` (degree 1) 10
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 18

com/jsql/model/injection/vendor/model/VendorYaml.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 28616
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 106
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 110
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 129
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 136
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 144
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 147
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 154
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 164
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 179
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 186
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 189
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 196
MethodArgumentCouldBeFinal Parameter 'namesColumns' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 212
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 217
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 226
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 229
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 238
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 278
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 278
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 321
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 321
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 323
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 324
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 334
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 334
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 334
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 334
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 336
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 337
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 353
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 355360
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 365
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 365
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 365
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 375
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 375
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 375
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 385
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 385
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 385
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 393
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 404
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'indexMethodError' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 435
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 435
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 435
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 440
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 445
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 445
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 445
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 445
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 452
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 462
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 462
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 462
MethodArgumentCouldBeFinal Parameter 'indexes' is not assigned and could be declared final 475
MethodArgumentCouldBeFinal Parameter 'nbFields' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'limitSqlResult' is not assigned and could be declared final 513
MethodArgumentCouldBeFinal Parameter 'sqlRequest' is not assigned and could be declared final 537
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 558
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 604
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 605

com/jsql/model/injection/vendor/model/yaml/Binary.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Binary' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 8
MethodArgumentCouldBeFinal Parameter 'test' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'blind' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'time' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'modeAnd' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'modeOr' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'modeStack' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'multibit' is not assigned and could be declared final 70

com/jsql/model/injection/vendor/model/yaml/Configuration.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Configuration' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 8
MethodArgumentCouldBeFinal Parameter 'slidingWindow' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'limit' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'failsafe' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'calibrator' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'limitBoundary' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'endingComment' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'fingerprint' is not assigned and could be declared final 70

com/jsql/model/injection/vendor/model/yaml/Error.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
MethodArgumentCouldBeFinal Parameter 'method' is not assigned and could be declared final 16

com/jsql/model/injection/vendor/model/yaml/Fields.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Fields' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 8
MethodArgumentCouldBeFinal Parameter 'field' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'concat' is not assigned and could be declared final 25

com/jsql/model/injection/vendor/model/yaml/Fingerprint.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 12
AtLeastOneConstructor Each class should declare at least one constructor 12
DataClass The class 'Fingerprint' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) 12
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'orderByErrorMessage' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'vendorSpecific' is not assigned and could be declared final 46

com/jsql/model/injection/vendor/model/yaml/Method.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Method' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 34

com/jsql/model/injection/vendor/model/yaml/ModelYaml.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'ModelYaml' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'resource' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 34

com/jsql/model/injection/vendor/model/yaml/Resource.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Resource' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 8
MethodArgumentCouldBeFinal Parameter 'info' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'schema' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'zip' is not assigned and could be declared final 36
MethodArgumentCouldBeFinal Parameter 'dios' is not assigned and could be declared final 44
MethodArgumentCouldBeFinal Parameter 'exploit' is not assigned and could be declared final 52

com/jsql/model/injection/vendor/model/yaml/Row.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Row' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 8
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'fields' is not assigned and could be declared final 25

com/jsql/model/injection/vendor/model/yaml/Schema.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Schema' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 8
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'row' is not assigned and could be declared final 43

com/jsql/model/injection/vendor/model/yaml/Strategy.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Strategy' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 8
MethodArgumentCouldBeFinal Parameter 'configuration' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'union' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'binary' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'error' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'dns' is not assigned and could be declared final 61

com/jsql/model/injection/vendor/model/yaml/Test.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 11
AtLeastOneConstructor Each class should declare at least one constructor 11
DataClass The class 'Test' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=20, WMC=24) 11
TestClassWithoutTestCases The class 'Test' might be a test class, but it contains no test cases. 11
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'init' is not assigned and could be declared final 90
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 98
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 122
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 130
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 138
MethodArgumentCouldBeFinal Parameter 'bin' is not assigned and could be declared final 146

com/jsql/model/injection/vendor/model/yaml/Union.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Union' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'indices' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'orderBy' is not assigned and could be declared final 34

com/jsql/model/injection/vendor/model/yaml/Write.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 8
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 25

com/jsql/model/suspendable/AbstractSuspendable.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 19
RedundantFieldInitializer Avoid using redundant field initializer for 'isPaused' 24
AvoidFieldNameMatchingMethodName Field isPaused has the same name as a method 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 28
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 43
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 50
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 90

com/jsql/model/suspendable/SuspendableGetCharInsertion.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 48
CloseResource Ensure that resources like this ExecutorService object are closed after use 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 51
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 76
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 79
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 79
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 80
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 96
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 103
MethodArgumentCouldBeFinal Parameter 'vendorsOrderByMatch' is not assigned and could be declared final 103
CompareObjectsWithEquals Use equals() to compare object references. 106
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 1) 106
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 109
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 120
CompareObjectsWithEquals Use equals() to compare object references. 123
LawOfDemeter Call to `getAuto` on foreign value `mediatorVendor` (degree 1) 123
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 150
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 174181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 177
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 188
MethodArgumentCouldBeFinal Parameter 'charactersInsertion' is not assigned and could be declared final 189
MethodArgumentCouldBeFinal Parameter 'prefixValue' is not assigned and could be declared final 190
MethodArgumentCouldBeFinal Parameter 'prefixQuote' is not assigned and could be declared final 191
MethodArgumentCouldBeFinal Parameter 'prefixParenthesis' is not assigned and could be declared final 192
MethodArgumentCouldBeFinal Parameter 'characterInsertionByUser' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'characterInsertionDetected' is not assigned and could be declared final 217
ConfusingTernary Avoid if (x != y) ..; else ..; 227247
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 232

com/jsql/model/suspendable/SuspendableGetIndexes.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 27
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 10. 32
CloseResource Ensure that resources like this ExecutorService object are closed after use 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 41
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 4954
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 71
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 74
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 92

com/jsql/model/suspendable/SuspendableGetRows.java

Rule Violation Line
GodClass Possible God Class (WMC=57, ATFD=27, TCC=0.833%) 43
TooManyMethods This class has too many methods, consider refactoring it. 43423
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 47
CognitiveComplexity The method 'run(Object[])' has a cognitive complexity of 19, current threshold is 15 52
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 12. 52
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 67
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 151
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 155
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 158
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 166
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 166
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 172176
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 181
MethodArgumentCouldBeFinal Parameter 'countAllRows' is not assigned and could be declared final 181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 182
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 185
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 185
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 221
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 238
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 256
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 256
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 48, but has at least 65 characters appended. 265
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 275
MethodArgumentCouldBeFinal Parameter 'loop' is not assigned and could be declared final 292
MethodArgumentCouldBeFinal Parameter 'previousChunk' is not assigned and could be declared final 293
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 294
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 295
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 296
AvoidLiteralsInIfCondition Avoid using literals such as 20 in if statements 301
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 312
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 328
MethodArgumentCouldBeFinal Parameter 'performanceLength' is not assigned and could be declared final 328
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 343
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 344
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 345
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 358
MethodArgumentCouldBeFinal Parameter 'numberToFind' is not assigned and could be declared final 379
MethodArgumentCouldBeFinal Parameter 'countProgress' is not assigned and could be declared final 379
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 379
MethodArgumentCouldBeFinal Parameter 'rows' is not assigned and could be declared final 388

com/jsql/model/suspendable/SuspendableGetVendor.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 24
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream().filter(vendor -> vendor != this.injectionModel.getMediatorVendor().getAuto())` (degree 2) 3338
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream()` (degree 2) 3335
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 33
LawOfDemeter Call to `getVendorsForFingerprint` on foreign value `this.injectionModel.getMediatorVendor()` (degree 2) 33
LawOfDemeter Call to `stream` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint()` (degree 2) 3334
CompareObjectsWithEquals Use equals() to compare object references. 35
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 35
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 43
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 55
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 62
ExceptionAsFlowControl Exception thrown at line 51 is caught in this block. 6668

com/jsql/model/suspendable/callable/CallablePageSource.java

Rule Violation Line
DataClass The class 'CallablePageSource' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=7) 14
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'nbIndex' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 49
MethodArgumentCouldBeFinal Parameter 'characterInsertion' is not assigned and could be declared final 50
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 52

com/jsql/model/suspendable/callable/ThreadFactoryCallable.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 9
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 14
MethodArgumentCouldBeFinal Parameter 'runnable' is not assigned and could be declared final 14
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 15

com/jsql/util/AnsiColorUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 29

com/jsql/util/AuthenticationUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 18
RedundantFieldInitializer Avoid using redundant field initializer for 'isAuthentication' 25
RedundantFieldInitializer Avoid using redundant field initializer for 'isKerberos' 40
AvoidFieldNameMatchingMethodName Field isKerberos has the same name as a method 40
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 62
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 63
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 64
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 68
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 87
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 87
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 87
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 205
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 210

com/jsql/util/CertificateUtil.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'sslContext' 23

com/jsql/util/ConnectionUtil.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1318
GodClass Possible God Class (WMC=49, ATFD=80, TCC=11.688%) 39
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 67
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 76
MethodArgumentCouldBeFinal Parameter 'httpResponse' is not assigned and could be declared final 84
MethodArgumentCouldBeFinal Parameter 'httpHeaders' is not assigned and could be declared final 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 113
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 122
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 124
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 128
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 147
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 148
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 157
CyclomaticComplexity The method 'testConnection()' has a cyclomatic complexity of 11. 160
LawOfDemeter Call to `getCookieStore` on foreign value `this.getCookieManager()` (degree 1) 163
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 168
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 170
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 174
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 182
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 192
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 196
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 200
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 200
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 204
MethodArgumentCouldBeFinal Parameter 'lineFeed' is not assigned and could be declared final 204
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 204
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 205
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 236
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 249
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 250
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 251
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 263
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 268
MethodArgumentCouldBeFinal Parameter 'urlByUser' is not assigned and could be declared final 280
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 288
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 296
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 304
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 312

com/jsql/util/CookiesUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 24
ConfusingTernary Avoid if (x != y) ..; else ..; 2532
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 26
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 55
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 66

com/jsql/util/CsrfUtil.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenCsrf' 18
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'headers' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 55
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 81
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 82
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 96
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 128
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 129
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 148
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 154
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 158164
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 175
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 182
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 185
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 187
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 192
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 196
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 197
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 199
MethodArgumentCouldBeFinal Parameter 'tokenCsrf' is not assigned and could be declared final 217

com/jsql/util/DigestUtil.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenDigest' 23
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 70
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 86
MethodArgumentCouldBeFinal Parameter 'tokenDigest' is not assigned and could be declared final 97

com/jsql/util/ExceptionUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 30
AtLeastOneConstructor Each class should declare at least one constructor 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 41
MethodArgumentCouldBeFinal Parameter 'thread' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 62
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 98
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 105

com/jsql/util/FormUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 27
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 34
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 37
ConfusingTernary Avoid if (x != y) ..; else ..; 5862
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 58
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 65
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'mapForms' is not assigned and could be declared final 65
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 76
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 96
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 96
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 96
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 96
AvoidLiteralsInIfCondition Avoid using literals such as 200 in if statements 103

com/jsql/util/GitUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 47
MethodArgumentCouldBeFinal Parameter 'displayUpdateMessage' is not assigned and could be declared final 55
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 61
MethodArgumentCouldBeFinal Parameter 'threadName' is not assigned and could be declared final 78
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 78
LawOfDemeter Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) 79
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 87
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 110
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 116
MethodArgumentCouldBeFinal Parameter 'reportBody' is not assigned and could be declared final 134
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 134
MethodArgumentCouldBeFinal Parameter 'reportTitle' is not assigned and could be declared final 134
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 135
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 149
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 161
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 169
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 173
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 173
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 180
PreserveStackTrace Thrown exception does not preserve the stack trace of exception 'e' on all code paths 181
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 209

com/jsql/util/HeaderUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 39
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 49
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 49
MethodArgumentCouldBeFinal Parameter 'httpRequestBuilder' is not assigned and could be declared final 85
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 85
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 87
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 93
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 105
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 107
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 136
AvoidLiteralsInIfCondition Avoid using literals such as 400 in if statements 137
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 138
CognitiveComplexity The method 'checkResponse(String, Map<String, String>)' has a cognitive complexity of 18, current threshold is 15 146
CyclomaticComplexity The method 'checkResponse(String, Map<String, String>)' has a cyclomatic complexity of 11. 146
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 146
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 146
ConfusingTernary Avoid if (x != y) ..; else ..; 181185
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 181
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 195
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 195
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 214
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 214

com/jsql/util/I18nUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 42
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 51
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 69

com/jsql/util/JsonUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'param' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 53
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 63
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 75
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 88
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 100
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 100
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 131

com/jsql/util/LogLevelUtil.java

Rule Violation Line
DataClass The class 'LogLevelUtil' is suspected to be a Data Class (WOC=0.000%, NOPA=10, NOAM=0, WMC=1) 7

com/jsql/util/MultipartUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 22
ConfusingTernary Avoid if (x != y) ..; else ..; 2327
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 30
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 34
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 45
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'matcherFormDataParameters' is not assigned and could be declared final 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 70
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 70

com/jsql/util/ParameterUtil.java

Rule Violation Line
GodClass Possible God Class (WMC=83, ATFD=81, TCC=16.190%) 25
CyclomaticComplexity The class 'ParameterUtil' has a total cyclomatic complexity of 83 (highest 13). 25
TooManyMethods This class has too many methods, consider refactoring it. 25412
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultipartRequest' 47
AvoidFieldNameMatchingMethodName Field isMultipartRequest has the same name as a method 47
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 66
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 75
CyclomaticComplexity The method 'controlInput(String, String, String, AbstractMethodInjection, String, boolean)' has a cyclomatic complexity of 13. 75
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 77
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 78
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 79
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 80
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 81
ConfusingTernary Avoid if (x != y) ..; else ..; 8994
AvoidLiteralsInIfCondition Avoid using literals such as 65535 in if statements 98
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 98
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 115
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 121
ExceptionAsFlowControl Exception thrown at line 103 is caught in this block. 123130
ExceptionAsFlowControl Exception thrown at line 87 is caught in this block. 123130
ExceptionAsFlowControl Exception thrown at line 93 is caught in this block. 123130
ExceptionAsFlowControl Exception thrown at line 99 is caught in this block. 123130
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 145
MethodArgumentCouldBeFinal Parameter 'token' is not assigned and could be declared final 153
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 157
ConfusingTernary Avoid if (x != y) ..; else ..; 180186
CyclomaticComplexity The method 'checkStarMatchMethod()' has a cyclomatic complexity of 13. 215
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 216
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 217
CompareObjectsWithEquals Use equals() to compare object references. 221
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 221
CompareObjectsWithEquals Use equals() to compare object references. 227
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 227
CompareObjectsWithEquals Use equals() to compare object references. 233
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 233
CyclomaticComplexity The method 'checkMethodNotEmpty()' has a cyclomatic complexity of 12. 240
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 241
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 242
CompareObjectsWithEquals Use equals() to compare object references. 245
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 245
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 248
CompareObjectsWithEquals Use equals() to compare object references. 252
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 252
CompareObjectsWithEquals Use equals() to compare object references. 257
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 257
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 264
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 275
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 286
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 287
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 296
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 309
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 331
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 350
CompareObjectsWithEquals Use equals() to compare object references. 350
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 350

com/jsql/util/PreferencesUtil.java

Rule Violation Line
CyclomaticComplexity The class 'PreferencesUtil' has a total cyclomatic complexity of 136 (highest 3). 22
ExcessivePublicCount This class has a bunch of public methods and attributes 22
TooManyMethods This class has too many methods, consider refactoring it. 22897
TooManyFields Too many fields 22897
AvoidFieldNameMatchingMethodName Field isCheckingUpdate has the same name as a method 35
AvoidFieldNameMatchingMethodName Field isShowNews has the same name as a method 36
AvoidFieldNameMatchingMethodName Field isReportingBugs has the same name as a method 39
RedundantFieldInitializer Avoid using redundant field initializer for 'is4K' 41
AvoidFieldNameMatchingMethodName Field is4K has the same name as a method 41
RedundantFieldInitializer Avoid using redundant field initializer for 'isFollowingRedirection' 43
AvoidFieldNameMatchingMethodName Field isFollowingRedirection has the same name as a method 43
RedundantFieldInitializer Avoid using redundant field initializer for 'isHttp2Disabled' 44
AvoidFieldNameMatchingMethodName Field isHttp2Disabled has the same name as a method 44
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotInjectingMetadata' 46
AvoidFieldNameMatchingMethodName Field isNotInjectingMetadata has the same name as a method 46
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotSearchingCharInsertion' 47
AvoidFieldNameMatchingMethodName Field isNotSearchingCharInsertion has the same name as a method 47
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotShowingVulnReport' 48
AvoidFieldNameMatchingMethodName Field isNotShowingVulnReport has the same name as a method 48
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllParam' 50
AvoidFieldNameMatchingMethodName Field isCheckingAllParam has the same name as a method 50
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllURLParam' 51
AvoidFieldNameMatchingMethodName Field isCheckingAllURLParam has the same name as a method 51
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllRequestParam' 52
AvoidFieldNameMatchingMethodName Field isCheckingAllRequestParam has the same name as a method 52
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllHeaderParam' 53
AvoidFieldNameMatchingMethodName Field isCheckingAllHeaderParam has the same name as a method 53
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllBase64Param' 54
AvoidFieldNameMatchingMethodName Field isCheckingAllBase64Param has the same name as a method 54
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllJsonParam' 55
AvoidFieldNameMatchingMethodName Field isCheckingAllJsonParam has the same name as a method 55
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllCookieParam' 56
AvoidFieldNameMatchingMethodName Field isCheckingAllCookieParam has the same name as a method 56
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllSoapParam' 57
AvoidFieldNameMatchingMethodName Field isCheckingAllSoapParam has the same name as a method 57
RedundantFieldInitializer Avoid using redundant field initializer for 'isPerfIndexDisabled' 59
AvoidFieldNameMatchingMethodName Field isPerfIndexDisabled has the same name as a method 59
RedundantFieldInitializer Avoid using redundant field initializer for 'isDefaultStrategy' 60
AvoidFieldNameMatchingMethodName Field isDefaultStrategy has the same name as a method 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isZipStrategy' 61
AvoidFieldNameMatchingMethodName Field isZipStrategy has the same name as a method 61
RedundantFieldInitializer Avoid using redundant field initializer for 'isDiosStrategy' 62
AvoidFieldNameMatchingMethodName Field isDiosStrategy has the same name as a method 62
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlEncodingDisabled' 63
AvoidFieldNameMatchingMethodName Field isUrlEncodingDisabled has the same name as a method 63
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlRandomSuffixDisabled' 64
AvoidFieldNameMatchingMethodName Field isUrlRandomSuffixDisabled has the same name as a method 64
RedundantFieldInitializer Avoid using redundant field initializer for 'isParsingForm' 66
AvoidFieldNameMatchingMethodName Field isParsingForm has the same name as a method 66
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotTestingConnection' 67
AvoidFieldNameMatchingMethodName Field isNotTestingConnection has the same name as a method 67
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotProcessingCookies' 68
AvoidFieldNameMatchingMethodName Field isNotProcessingCookies has the same name as a method 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isProcessingCsrf' 69
AvoidFieldNameMatchingMethodName Field isProcessingCsrf has the same name as a method 69
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingBase64' 71
AvoidFieldNameMatchingMethodName Field isTamperingBase64 has the same name as a method 71
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingFunctionComment' 72
AvoidFieldNameMatchingMethodName Field isTamperingFunctionComment has the same name as a method 72
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingVersionComment' 73
AvoidFieldNameMatchingMethodName Field isTamperingVersionComment has the same name as a method 73
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEqualToLike' 74
AvoidFieldNameMatchingMethodName Field isTamperingEqualToLike has the same name as a method 74
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingRandomCase' 75
AvoidFieldNameMatchingMethodName Field isTamperingRandomCase has the same name as a method 75
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEval' 76
AvoidFieldNameMatchingMethodName Field isTamperingEval has the same name as a method 76
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToMultilineComment' 77
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToMultilineComment has the same name as a method 77
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToDashComment' 78
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToDashComment has the same name as a method 78
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToSharpComment' 79
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToSharpComment has the same name as a method 79
AvoidFieldNameMatchingMethodName Field csrfUserTag has the same name as a method 81
AvoidFieldNameMatchingMethodName Field csrfUserTagOutput has the same name as a method 82
RedundantFieldInitializer Avoid using redundant field initializer for 'isCsrfUserTag' 83
AvoidFieldNameMatchingMethodName Field isCsrfUserTag has the same name as a method 83
AvoidFieldNameMatchingMethodName Field isLimitingThreads has the same name as a method 84
AvoidFieldNameMatchingMethodName Field countLimitingThreads has the same name as a method 85
RedundantFieldInitializer Avoid using redundant field initializer for 'isConnectionTimeout' 86
AvoidFieldNameMatchingMethodName Field isConnectionTimeout has the same name as a method 86
AvoidFieldNameMatchingMethodName Field countConnectionTimeout has the same name as a method 87
RedundantFieldInitializer Avoid using redundant field initializer for 'isUnicodeDecodeDisabled' 88
AvoidFieldNameMatchingMethodName Field isUnicodeDecodeDisabled has the same name as a method 88
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeDisabled' 89
AvoidFieldNameMatchingMethodName Field isUrlDecodeDisabled has the same name as a method 89
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyTimeDisabled' 91
AvoidFieldNameMatchingMethodName Field isStrategyTimeDisabled has the same name as a method 91
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBinDisabled' 92
AvoidFieldNameMatchingMethodName Field isStrategyBlindBinDisabled has the same name as a method 92
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBitDisabled' 93
AvoidFieldNameMatchingMethodName Field isStrategyBlindBitDisabled has the same name as a method 93
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyMultibitDisabled' 94
AvoidFieldNameMatchingMethodName Field isStrategyMultibitDisabled has the same name as a method 94
AvoidFieldNameMatchingMethodName Field isStrategyDnsDisabled has the same name as a method 95
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyStackDisabled' 96
AvoidFieldNameMatchingMethodName Field isStrategyStackDisabled has the same name as a method 96
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyErrorDisabled' 97
AvoidFieldNameMatchingMethodName Field isStrategyErrorDisabled has the same name as a method 97
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyUnionDisabled' 98
AvoidFieldNameMatchingMethodName Field isStrategyUnionDisabled has the same name as a method 98
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingUnionIndex' 100
AvoidFieldNameMatchingMethodName Field isLimitingUnionIndex has the same name as a method 100
AvoidFieldNameMatchingMethodName Field countUnionIndex has the same name as a method 101
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingSleepTimeStrategy' 102
AvoidFieldNameMatchingMethodName Field isLimitingSleepTimeStrategy has the same name as a method 102
AvoidFieldNameMatchingMethodName Field countSleepTimeStrategy has the same name as a method 103
RedundantFieldInitializer Avoid using redundant field initializer for 'isUserAgentRandom' 107
AvoidFieldNameMatchingMethodName Field isUserAgentRandom has the same name as a method 107
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeNetworkTab' 108
AvoidFieldNameMatchingMethodName Field isUrlDecodeNetworkTab has the same name as a method 108
MethodArgumentCouldBeFinal Parameter 'commandsReverseYaml' is not assigned and could be declared final 128
NcssCount The method 'loadSavedPreferences()' has a NCSS line count of 65. 143
NcssCount The method 'persist()' has a NCSS line count of 64. 228
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 308
MethodArgumentCouldBeFinal Parameter 'isCheckingUpdate' is not assigned and could be declared final 584
MethodArgumentCouldBeFinal Parameter 'isShowNews' is not assigned and could be declared final 589
MethodArgumentCouldBeFinal Parameter 'isReportingBugs' is not assigned and could be declared final 593
MethodArgumentCouldBeFinal Parameter 'is4K' is not assigned and could be declared final 598
MethodArgumentCouldBeFinal Parameter 'isFollowingRedirection' is not assigned and could be declared final 603
MethodArgumentCouldBeFinal Parameter 'isHttp2Disabled' is not assigned and could be declared final 608
MethodArgumentCouldBeFinal Parameter 'isUnicodeDecodeDisabled' is not assigned and could be declared final 613
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeDisabled' is not assigned and could be declared final 618
MethodArgumentCouldBeFinal Parameter 'isNotInjectingMetadata' is not assigned and could be declared final 623
MethodArgumentCouldBeFinal Parameter 'isNotSearchingCharInsertion' is not assigned and could be declared final 628
MethodArgumentCouldBeFinal Parameter 'isNotShowingVulnReport' is not assigned and could be declared final 633
MethodArgumentCouldBeFinal Parameter 'isCheckingAllParam' is not assigned and could be declared final 638
MethodArgumentCouldBeFinal Parameter 'isCheckingAllURLParam' is not assigned and could be declared final 643
MethodArgumentCouldBeFinal Parameter 'isCheckingAllRequestParam' is not assigned and could be declared final 648
MethodArgumentCouldBeFinal Parameter 'isCheckingAllHeaderParam' is not assigned and could be declared final 653
MethodArgumentCouldBeFinal Parameter 'isCheckingAllBase64Param' is not assigned and could be declared final 658
MethodArgumentCouldBeFinal Parameter 'isCheckingAllJSONParam' is not assigned and could be declared final 663
MethodArgumentCouldBeFinal Parameter 'isCheckingAllCookieParam' is not assigned and could be declared final 668
MethodArgumentCouldBeFinal Parameter 'isCheckingAllSOAPParam' is not assigned and could be declared final 673
MethodArgumentCouldBeFinal Parameter 'isParsingForm' is not assigned and could be declared final 678
MethodArgumentCouldBeFinal Parameter 'isNotTestingConnection' is not assigned and could be declared final 683
MethodArgumentCouldBeFinal Parameter 'isNotProcessingCookies' is not assigned and could be declared final 688
MethodArgumentCouldBeFinal Parameter 'isProcessingCsrf' is not assigned and could be declared final 693
MethodArgumentCouldBeFinal Parameter 'isTamperingBase64' is not assigned and could be declared final 698
MethodArgumentCouldBeFinal Parameter 'isTamperingFunctionComment' is not assigned and could be declared final 703
MethodArgumentCouldBeFinal Parameter 'isTamperingVersionComment' is not assigned and could be declared final 708
MethodArgumentCouldBeFinal Parameter 'isTamperingEqualToLike' is not assigned and could be declared final 713
MethodArgumentCouldBeFinal Parameter 'isTamperingRandomCase' is not assigned and could be declared final 718
MethodArgumentCouldBeFinal Parameter 'isTamperingEval' is not assigned and could be declared final 723
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToMultilineComment' is not assigned and could be declared final 728
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToDashComment' is not assigned and could be declared final 733
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToSharpComment' is not assigned and could be declared final 738
MethodArgumentCouldBeFinal Parameter 'csrfUserTag' is not assigned and could be declared final 743
MethodArgumentCouldBeFinal Parameter 'csrfUserTagOutput' is not assigned and could be declared final 748
MethodArgumentCouldBeFinal Parameter 'isCsrfUserTag' is not assigned and could be declared final 753
MethodArgumentCouldBeFinal Parameter 'isLimitingThreads' is not assigned and could be declared final 758
MethodArgumentCouldBeFinal Parameter 'isConnectionTimeout' is not assigned and could be declared final 763
MethodArgumentCouldBeFinal Parameter 'isLimitingSleepTimeStrategy' is not assigned and could be declared final 768
MethodArgumentCouldBeFinal Parameter 'countLimitingThreads' is not assigned and could be declared final 773
MethodArgumentCouldBeFinal Parameter 'countConnectionTimeout' is not assigned and could be declared final 778
MethodArgumentCouldBeFinal Parameter 'countSleepTimeStrategy' is not assigned and could be declared final 783
MethodArgumentCouldBeFinal Parameter 'isZipStrategy' is not assigned and could be declared final 788
MethodArgumentCouldBeFinal Parameter 'isDefaultStrategy' is not assigned and could be declared final 793
MethodArgumentCouldBeFinal Parameter 'isDiosStrategy' is not assigned and could be declared final 798
MethodArgumentCouldBeFinal Parameter 'isPerfIndexDisabled' is not assigned and could be declared final 803
MethodArgumentCouldBeFinal Parameter 'isUrlEncodingDisabled' is not assigned and could be declared final 808
MethodArgumentCouldBeFinal Parameter 'isUrlRandomSuffixDisabled' is not assigned and could be declared final 813
MethodArgumentCouldBeFinal Parameter 'isLimitingUnionIndex' is not assigned and could be declared final 818
MethodArgumentCouldBeFinal Parameter 'countUnionIndex' is not assigned and could be declared final 823
MethodArgumentCouldBeFinal Parameter 'dnsDomain' is not assigned and could be declared final 828
MethodArgumentCouldBeFinal Parameter 'dnsPort' is not assigned and could be declared final 833
MethodArgumentCouldBeFinal Parameter 'isStrategyTimeDisabled' is not assigned and could be declared final 838
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBitDisabled' is not assigned and could be declared final 843
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBinDisabled' is not assigned and could be declared final 848
MethodArgumentCouldBeFinal Parameter 'isStrategyMultibitDisabled' is not assigned and could be declared final 853
MethodArgumentCouldBeFinal Parameter 'isStrategyStackDisabled' is not assigned and could be declared final 858
MethodArgumentCouldBeFinal Parameter 'isStrategyDnsDisabled' is not assigned and could be declared final 863
MethodArgumentCouldBeFinal Parameter 'isStrategyErrorDisabled' is not assigned and could be declared final 868
MethodArgumentCouldBeFinal Parameter 'isStrategyUnionDisabled' is not assigned and could be declared final 873
MethodArgumentCouldBeFinal Parameter 'themeFlatLafName' is not assigned and could be declared final 878
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeNetworkTab' is not assigned and could be declared final 883
MethodArgumentCouldBeFinal Parameter 'languageTag' is not assigned and could be declared final 888
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 893

com/jsql/util/PropertiesUtil.java

Rule Violation Line
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 30
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 41
LiteralsFirstInComparisons Position literals first in String comparisons 60
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 81
MethodArgumentCouldBeFinal Parameter 'property' is not assigned and could be declared final 102

com/jsql/util/ProxyUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 17
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttp' 36
AvoidFieldNameMatchingMethodName Field isUsingProxyHttp has the same name as a method 36
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttps' 37
AvoidFieldNameMatchingMethodName Field isUsingProxyHttps has the same name as a method 37
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 50
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 52
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 102
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 105
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 145
CloseResource Ensure that resources like this Socket object are closed after use 148
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 151
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 193
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 209
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 225
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 233

com/jsql/util/SoapUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 31
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 35
ConfusingTernary Avoid if (x != y) ..; else ..; 3640
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 39
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 43
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 47
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 49
MethodArgumentCouldBeFinal Parameter 'xmlStr' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 67
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 73
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 79
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 89
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 90
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 124
EmptyCatchBlock Avoid empty catch blocks 135137

com/jsql/util/StringUtil.java

Rule Violation Line
GodClass Possible God Class (WMC=60, ATFD=15, TCC=0.135%) 39
TooManyMethods This class has too many methods, consider refactoring it. 39374
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CharEncoder(String, String, int)' 60
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'radix' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'buff' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 83
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 92
AvoidLiteralsInIfCondition Avoid using literals such as 128 in if statements 95
MethodArgumentCouldBeFinal Parameter 'hex' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 119
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 131
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 159
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 164
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 172
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 177
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 182
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 186
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 190
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 194
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 199
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 204
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 208
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 209
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 221
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 225
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 229
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 233
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 246
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 266
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 269
MethodArgumentCouldBeFinal Parameter 'compressedTxt' is not assigned and could be declared final 274
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 282
MethodArgumentCouldBeFinal Parameter 'hexChar' is not assigned and could be declared final 288
MethodArgumentCouldBeFinal Parameter 'num' is not assigned and could be declared final 296
MethodArgumentCouldBeFinal Parameter 'byteArray' is not assigned and could be declared final 303
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 311
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 312
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 322
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 326
MethodArgumentCouldBeFinal Parameter 'plaintext' is not assigned and could be declared final 330
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 330
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 338
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 352
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 355
AssignmentInOperand Avoid assignment to line in operand 360
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 361
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 369
UseUnderscoresInNumericLiterals Number 353837730 should separate every third digit with an underscore 370

com/jsql/util/TamperingUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 14
TooManyMethods This class has too many methods, consider refactoring it. 14276
RedundantFieldInitializer Avoid using redundant field initializer for 'isBase64' 21
RedundantFieldInitializer Avoid using redundant field initializer for 'isVersionComment' 22
RedundantFieldInitializer Avoid using redundant field initializer for 'isFunctionComment' 23
RedundantFieldInitializer Avoid using redundant field initializer for 'isEqualToLike' 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isRandomCase' 25
RedundantFieldInitializer Avoid using redundant field initializer for 'isHexToChar' 26
RedundantFieldInitializer Avoid using redundant field initializer for 'isStringToChar' 27
RedundantFieldInitializer Avoid using redundant field initializer for 'isQuoteToUtf8' 28
RedundantFieldInitializer Avoid using redundant field initializer for 'isCharToEncoding' 29
RedundantFieldInitializer Avoid using redundant field initializer for 'isEval' 30
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToMultilineComment' 31
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToDashComment' 32
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToSharpComment' 33
RedundantFieldInitializer Avoid using redundant field initializer for 'customTamper' 35
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 39
MethodArgumentCouldBeFinal Parameter 'jsTampering' is not assigned and could be declared final 39
ExceptionAsFlowControl Exception thrown at line 43 is caught in this block. 5259
MethodArgumentCouldBeFinal Parameter 'sqlQueryDefault' is not assigned and could be declared final 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 106
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'shouldApply' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'tamperingType' is not assigned and could be declared final 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 128
MethodArgumentCouldBeFinal Parameter 'customTamper' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 222
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 232
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 237
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 242
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 247
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 252
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 257
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 262
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 267
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 272

com/jsql/util/ThreadUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 76
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 89
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 90
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 93
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. 96
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 101
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 101
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 108
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. 110
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 114

com/jsql/util/UserAgentUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 9
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 20

com/jsql/util/bruter/ActionCoder.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 64
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 70
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 88
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 94
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 100
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 112
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 118
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 124
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 130
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 142
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 148
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 160
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 166
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 172
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 178
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 184
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 190
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 196
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 202
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 220
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'isEmptyPossible' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 246

com/jsql/util/bruter/Base58.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 30
AssignmentInOperand Avoid assignment to j in operand 48
AssignmentInOperand Avoid assignment to zeroCount in operand 55
AssignmentInOperand Avoid assignment to j in operand 56
CyclomaticComplexity The method 'decode(String)' has a cyclomatic complexity of 13. 62
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 65
AssignmentInOperand Avoid assignment to j in operand 97
MethodArgumentCouldBeFinal Parameter 'number' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'number58' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 128
MethodArgumentCouldBeFinal Parameter 'from' is not assigned and could be declared final 128
MethodArgumentCouldBeFinal Parameter 'to' is not assigned and could be declared final 128

com/jsql/util/bruter/Bruter.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 11
RedundantFieldInitializer Avoid using redundant field initializer for 'found' 18
RedundantFieldInitializer Avoid using redundant field initializer for 'done' 34
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 72
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 83
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 85
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 118
MethodArgumentCouldBeFinal Parameter 'endtime' is not assigned and could be declared final 118
MethodArgumentCouldBeFinal Parameter 'maxLength' is not assigned and could be declared final 122
MethodArgumentCouldBeFinal Parameter 'minLength' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'found' is not assigned and could be declared final 134
MethodArgumentCouldBeFinal Parameter 'done' is not assigned and could be declared final 142

com/jsql/util/bruter/Coder.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 30

com/jsql/util/bruter/Crc16Helper.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 27

com/jsql/util/bruter/Crc64Helper.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 38

com/jsql/util/bruter/DigestMD4.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'md' is not assigned and could be declared final 79
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 94
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'offset' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'len' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 235
AssignmentInOperand Avoid assignment to offset in operand 240
AssignmentInOperand Avoid assignment to offset in operand 241
AssignmentInOperand Avoid assignment to offset in operand 242
AssignmentInOperand Avoid assignment to offset in operand 243
ShortMethodName Avoid using short method names 310
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 310
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 310
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 310
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 310
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 310
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 310
ShortMethodName Avoid using short method names 315
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 315
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 315
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 315
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 315
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 315
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 315
ShortMethodName Avoid using short method names 320
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 320

com/jsql/util/bruter/HashBruter.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 11
DataClass The class 'HashBruter' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=22) 11
CognitiveComplexity The method 'generateAllPossibleCombinations(String, int)' has a cognitive complexity of 15, current threshold is 15 38
CyclomaticComplexity The method 'generateAllPossibleCombinations(String, int)' has a cyclomatic complexity of 13. 38
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 38
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 41
MethodArgumentCouldBeFinal Parameter 'hash' is not assigned and could be declared final 72
MethodArgumentCouldBeFinal Parameter 'digestType' is not assigned and could be declared final 76

com/jsql/util/bruter/HashUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 33
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'nameMethod' is not assigned and could be declared final 73
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 73
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 89
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 102
MethodArgumentCouldBeFinal Parameter 'buf' is not assigned and could be declared final 102
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 106

com/jsql/util/reverse/ModelReverse.java

Rule Violation Line
DataClass The class 'ModelReverse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3
CommentDefaultAccessModifier Missing commented default access modifier on field 'name' 4
CommentDefaultAccessModifier Missing commented default access modifier on field 'command' 5
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 7
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 7
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 24

com/jsql/util/tampering/ModelYamlTampering.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'ModelYamlTampering' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 5
MethodArgumentCouldBeFinal Parameter 'tooltip' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 24
MethodArgumentCouldBeFinal Parameter 'group' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'javascript' is not assigned and could be declared final 40

com/jsql/util/tampering/TamperingType.java

Rule Violation Line
NonSerializableClass The field 'instanceModelYaml' of serializable class 'com.jsql.util.tampering.TamperingType' is of non-serializable type 'com.jsql.util.tampering.ModelYamlTampering'. 24
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 26
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 28

com/jsql/view/interaction/SubscriberInteraction.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'packageInteraction' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'subscription' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'request' is not assigned and could be declared final 40
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. 51
LawOfDemeter Call to `getMessage` on foreign value `request` (degree 1) 53
UnnecessaryVarargsArrayCreation Unnecessary explicit array creation for varargs method call 58
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 78

com/jsql/view/terminal/interaction/AddColumns.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 37

com/jsql/view/terminal/interaction/AddDatabases.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 37

com/jsql/view/terminal/interaction/AddTables.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 37

com/jsql/view/terminal/interaction/CreateValuesTab.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 35

com/jsql/view/terminal/interaction/MarkErrorInvulnerable.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 4344

com/jsql/view/terminal/interaction/MarkErrorVulnerable.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 4344

com/jsql/view/terminal/interaction/MessageBinary.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 26

com/jsql/view/terminal/interaction/MessageHeader.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 34

Priority 4

com/jsql/model/accessible/DataAccess.java

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

com/jsql/model/accessible/vendor/derby/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

com/jsql/model/accessible/vendor/h2/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

com/jsql/model/accessible/vendor/h2/Rce.java

Rule Violation Line
ShortClassName Avoid short class names like Rce 5

com/jsql/model/accessible/vendor/hsqldb/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

com/jsql/model/accessible/vendor/hsqldb/Read.java

Rule Violation Line
ShortClassName Avoid short class names like Read 5

com/jsql/model/accessible/vendor/mysql/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 7

com/jsql/model/accessible/vendor/mysql/Udf.java

Rule Violation Line
ShortClassName Avoid short class names like Udf 7

com/jsql/model/accessible/vendor/oracle/Udf.java

Rule Violation Line
ShortClassName Avoid short class names like Udf 8

com/jsql/model/accessible/vendor/postgres/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

com/jsql/model/accessible/vendor/postgres/Read.java

Rule Violation Line
ShortClassName Avoid short class names like Read 7

com/jsql/model/accessible/vendor/postgres/Sql.java

Rule Violation Line
ShortClassName Avoid short class names like Sql 7

com/jsql/model/accessible/vendor/postgres/Udf.java

Rule Violation Line
ShortClassName Avoid short class names like Udf 7

com/jsql/model/injection/strategy/blind/InjectionMultibit.java

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

com/jsql/model/injection/strategy/blind/patch/Diff.java

Rule Violation Line
ShortClassName Avoid short class names like Diff 8

com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Line
UselessParentheses Useless parentheses around `((lastRd[j + 1] | lastRd[j]) << 1) | 1`. 1678

com/jsql/model/injection/vendor/model/AbstractVendor.java

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

com/jsql/model/injection/vendor/model/yaml/Row.java

Rule Violation Line
ShortClassName Avoid short class names like Row 8

com/jsql/model/injection/vendor/model/yaml/Test.java

Rule Violation Line
ShortClassName Avoid short class names like Test 11

com/jsql/model/suspendable/SuspendableGetCharInsertion.java

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

com/jsql/view/terminal/interaction/AddColumns.java

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

com/jsql/view/terminal/interaction/AddDatabases.java

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

com/jsql/view/terminal/interaction/AddExploitWebTab.java

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

com/jsql/view/terminal/interaction/AddTables.java

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

com/jsql/view/terminal/interaction/CreateValuesTab.java

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

com/jsql/view/terminal/interaction/GetTerminalResult.java

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

com/jsql/view/terminal/interaction/MarkBlindBinInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkBlindBinVulnerable.java

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

com/jsql/view/terminal/interaction/MarkBlindBitInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkBlindBitVulnerable.java

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

com/jsql/view/terminal/interaction/MarkDnsInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkDnsVulnerable.java

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

com/jsql/view/terminal/interaction/MarkErrorInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkErrorVulnerable.java

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

com/jsql/view/terminal/interaction/MarkFileSystemInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkFileSystemVulnerable.java

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

com/jsql/view/terminal/interaction/MarkMultibitVulnerable.java

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

com/jsql/view/terminal/interaction/MarkStackVulnerable.java

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

com/jsql/view/terminal/interaction/MarkTimeInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkTimeVulnerable.java

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

com/jsql/view/terminal/interaction/MarkUnionInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkUnionVulnerable.java

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

com/jsql/view/terminal/interaction/MessageBinary.java

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

com/jsql/view/terminal/interaction/MessageHeader.java

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

Files

com/jsql/model/AbstractModelObservable.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isStoppedByUser' 3 31
AvoidFieldNameMatchingMethodName Field isStoppedByUser has the same name as a method 3 31
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 73
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 73
MethodArgumentCouldBeFinal Parameter 'processStopped' is not assigned and could be declared final 3 92

com/jsql/model/InjectionModel.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 11701
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 60
GodClass Possible God Class (WMC=76, ATFD=170, TCC=24.923%) 3 60
TooManyMethods This class has too many methods, consider refactoring it. 3 60701
RedundantFieldInitializer Avoid using redundant field initializer for 'shouldErasePreviousInjection' 3 85
AvoidFieldNameMatchingMethodName Field shouldErasePreviousInjection has the same name as a method 3 85
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanning' 3 86
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 117
LawOfDemeter Call to `getTime` on foreign value `this.mediatorStrategy` (degree 1) 3 119
LawOfDemeter Call to `getBlindBin` on foreign value `this.mediatorStrategy` (degree 1) 3 120
LawOfDemeter Call to `getBlindBit` on foreign value `this.mediatorStrategy` (degree 1) 3 121
LawOfDemeter Call to `getMultibit` on foreign value `this.mediatorStrategy` (degree 1) 3 122
LawOfDemeter Call to `getDns` on foreign value `this.mediatorStrategy` (degree 1) 3 123
LawOfDemeter Call to `getError` on foreign value `this.mediatorStrategy` (degree 1) 3 124
LawOfDemeter Call to `getStack` on foreign value `this.mediatorStrategy` (degree 1) 3 125
LawOfDemeter Call to `getUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 126
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 134
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 3 135
LawOfDemeter Call to `getThreadUtil` on foreign value `this.mediatorUtils` (degree 1) 3 136
CyclomaticComplexity The method 'beginInjection()' has a cyclomatic complexity of 11. 3 144
LawOfDemeter Call to `getProxyUtil` on foreign value `this.mediatorUtils` (degree 1) 3 147
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 154
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 158
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 159
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 3 162
LawOfDemeter Call to `getMultipartUtil` on foreign value `this.mediatorUtils` (degree 1) 3 163
LawOfDemeter Call to `getSoapUtil` on foreign value `this.mediatorUtils` (degree 1) 3 164
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 3 165
LawOfDemeter Call to `getHeader` on foreign value `this.mediatorMethod` (degree 1) 3 166
LawOfDemeter Call to `getCookiesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 167
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 170
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 176
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 178
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 181
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 192
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 206
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 209
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 212
CyclomaticComplexity The method 'inject(String, boolean, String, AbstractCallableBit<?>, boolean)' has a cyclomatic complexity of 10. 3 223
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 224
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 225
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 228
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 231
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 240
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 243
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 261
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 3 262
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 263
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 273
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 275
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 278
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 278
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 279
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 281
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 283
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 286
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 289
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 293
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 313
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 339
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 347
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 3 348
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 349
MethodArgumentCouldBeFinal Parameter 'urlObject' is not assigned and could be declared final 3 350
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 3 351
LawOfDemeter Call to `getListQueryString` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 356
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 356
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 357
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 360
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 366
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 368
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 370
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 374
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 391
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 392
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 393
LawOfDemeter Call to `getListHeader` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 399
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 406
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 424
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 425
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 426
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 3 427
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 430
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 430
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 431
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 433
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 439
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 446
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 448
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 449
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 453
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 471
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 481
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 489
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 497
CompareObjectsWithEquals Use equals() to compare object references. 3 497
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 499
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 516
CompareObjectsWithEquals Use equals() to compare object references. 3 516
LawOfDemeter Call to `getTamperingUtil` on foreign value `this.mediatorUtils` (degree 1) 3 517
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 3 522
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 522
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 522
ConfusingTernary Avoid if (x != y) ..; else ..; 3 525539
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 534
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 3 541
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 3 541
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 3 544
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 544
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 544
ConfusingTernary Avoid if (x != y) ..; else ..; 3 550566
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 3 553
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 3 553
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 561
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 3 564
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 3 564
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 574
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 574
CompareObjectsWithEquals Use equals() to compare object references. 3 577
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 3 577
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 579
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 580
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 587
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 597
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 597
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 599
CompareObjectsWithEquals Use equals() to compare object references. 3 600
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 3 600
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 602
CompareObjectsWithEquals Use equals() to compare object references. 3 622
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 3 622
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 642
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 642
MethodArgumentCouldBeFinal Parameter 'indexesInUrl' is not assigned and could be declared final 3 654
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 3 662
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 3 694
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 3 698
MethodArgumentCouldBeFinal Parameter 'isInit' is not assigned and could be declared final 3 698

com/jsql/model/MediatorUtils.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'MediatorUtils' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=40, WMC=40) 3 5
TooManyFields Too many fields 3 5188
MethodArgumentCouldBeFinal Parameter 'cookiesUtil' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'multipartUtil' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'propertiesUtil' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'connectionUtil' is not assigned and could be declared final 3 105
MethodArgumentCouldBeFinal Parameter 'authenticationUtil' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'gitUtil' is not assigned and could be declared final 3 113
MethodArgumentCouldBeFinal Parameter 'headerUtil' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'parameterUtil' is not assigned and could be declared final 3 121
MethodArgumentCouldBeFinal Parameter 'exceptionUtil' is not assigned and could be declared final 3 125
MethodArgumentCouldBeFinal Parameter 'soapUtil' is not assigned and could be declared final 3 129
MethodArgumentCouldBeFinal Parameter 'jsonUtil' is not assigned and could be declared final 3 133
MethodArgumentCouldBeFinal Parameter 'preferencesUtil' is not assigned and could be declared final 3 137
MethodArgumentCouldBeFinal Parameter 'proxyUtil' is not assigned and could be declared final 3 141
MethodArgumentCouldBeFinal Parameter 'threadUtil' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'tamperingUtil' is not assigned and could be declared final 3 149
MethodArgumentCouldBeFinal Parameter 'userAgentUtil' is not assigned and could be declared final 3 153
MethodArgumentCouldBeFinal Parameter 'csrfUtil' is not assigned and could be declared final 3 161
MethodArgumentCouldBeFinal Parameter 'digestUtil' is not assigned and could be declared final 3 169
MethodArgumentCouldBeFinal Parameter 'formUtil' is not assigned and could be declared final 3 177
MethodArgumentCouldBeFinal Parameter 'certificateUtil' is not assigned and could be declared final 3 185

com/jsql/model/accessible/CallableFile.java

Rule Violation Priority Line
DataClass The class 'CallableFile' is suspected to be a Data Class (WOC=25.000%, NOPA=1, NOAM=3, WMC=9) 3 24
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 49
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 49
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 66
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 67
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 67
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 68
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 68
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 69
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 69
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 71
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 72
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 75
CompareObjectsWithEquals Use equals() to compare object references. 3 75
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 81

com/jsql/model/accessible/CallableHttpHead.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'urlAdminPage' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 53
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 65
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 75
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 78
CloseResource Ensure that resources like this HttpClient object are closed after use 3 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 91
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 98
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 111

com/jsql/model/accessible/DataAccess.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 91
LinguisticNaming Linguistics Antipattern - The getter 'getDatabaseInfos' should not return void linguistically 3 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 116
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 132
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 163
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 172
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 194
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 215
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 232
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 241
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 271
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 292
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 315
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 320
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 321
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 347
MethodArgumentCouldBeFinal Parameter 'columnsBean' is not assigned and could be declared final 3 368
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 415
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 415
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 3 415
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 415
MethodArgumentCouldBeFinal Parameter 'columns' is not assigned and could be declared final 3 415
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 421
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 430
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 436
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 3 436
MethodArgumentCouldBeFinal Parameter 'columnsName' is not assigned and could be declared final 3 449
MethodArgumentCouldBeFinal Parameter 'values' is not assigned and could be declared final 3 449

com/jsql/model/accessible/ExploitMode.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'keyLabel' is not assigned and could be declared final 3 13
MethodArgumentCouldBeFinal Parameter 'keyTooltip' is not assigned and could be declared final 3 13
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 3 17

com/jsql/model/accessible/ResourceAccess.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 11716
CouplingBetweenObjects A value of 25 may denote a high amount of coupling within the class (threshold: 20) 3 11716
GodClass Possible God Class (WMC=87, ATFD=63, TCC=16.559%) 3 53
CyclomaticComplexity The class 'ResourceAccess' has a total cyclomatic complexity of 87 (highest 11). 3 53
TooManyMethods This class has too many methods, consider refactoring it. 3 53716
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchAdminStopped' 3 60
AvoidFieldNameMatchingMethodName Field isSearchAdminStopped has the same name as a method 3 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanStopped' 3 65
AvoidFieldNameMatchingMethodName Field isScanStopped has the same name as a method 3 65
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchFileStopped' 3 71
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 3 135
MethodArgumentCouldBeFinal Parameter 'pageNames' is not assigned and could be declared final 3 135
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 153
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 161165
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 181
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 188
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 3 188
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 204
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 3 211
MethodArgumentCouldBeFinal Parameter 'submittedTasks' is not assigned and could be declared final 3 211
MethodArgumentCouldBeFinal Parameter 'tasksHandled' is not assigned and could be declared final 3 211
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 3 227
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 234
AvoidLiteralsInIfCondition Avoid using literals such as "/" in if statements 3 238
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 3 261
MethodArgumentCouldBeFinal Parameter 'directoryNames' is not assigned and could be declared final 3 261
MethodArgumentCouldBeFinal Parameter 'urlProtocol' is not assigned and could be declared final 3 261
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 262
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 262
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 269273
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 289
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 295
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 3 299
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 3 303
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 303
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 307
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 333
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 333
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 333
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 336
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 336
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 336
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 336
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 359
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 359
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 363
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'isResultSentToView' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 3 395
MethodArgumentCouldBeFinal Parameter 'listFieldsLength' is not assigned and could be declared final 3 395
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 398
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 400
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 402
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 411
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 413
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 415
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 417
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 3 421
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 437
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 443
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 454
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 454
MethodArgumentCouldBeFinal Parameter 'streamToUpload' is not assigned and could be declared final 3 454
PrematureDeclaration Declaration of 'crLf' can be moved closer to its usages 3 455
PrematureDeclaration Declaration of 'boundary' can be moved closer to its usages 3 456
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 464
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 465
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 466
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 467
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 485
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 489
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 510
AvoidLiteralsInIfCondition Avoid using literals such as "false" in if statements 3 525
CyclomaticComplexity The method 'readFile(List<String>)' has a cyclomatic complexity of 11. 3 549
MethodArgumentCouldBeFinal Parameter 'pathsFiles' is not assigned and could be declared final 3 549
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 551
CompareObjectsWithEquals Use equals() to compare object references. 3 551
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 554
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 560
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 560
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 564
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 586
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callableReadFile` (degree 1) 3 608
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 611
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 630
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 3 630
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 642
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 3 642
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 645652
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callable` (degree 1) 3 666
MethodArgumentCouldBeFinal Parameter 'isScanStopped' is not assigned and could be declared final 3 697

com/jsql/model/accessible/vendor/ExploitDerby.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 40
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 45
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 49
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 57
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 82
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 92
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 100
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 101
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 116
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 119
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 123
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 129

com/jsql/model/accessible/vendor/ExploitH2.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 40
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 48
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 49
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 50
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 51
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 63
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 63
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 66
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 67
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 80
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 80
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 91
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 97
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 103
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 117
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 120
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 122
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 129
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 135
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 141
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 142
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 157
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 160
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 163

com/jsql/model/accessible/vendor/ExploitHsqldb.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 41
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 46
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 50
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 58
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 82
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 92
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 99
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 100
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 108
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 115
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 118
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 122
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 128

com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1522
TooManyMethods This class has too many methods, consider refactoring it. 3 37522
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 52
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 56
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 61
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 74
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 74
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 76
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 101
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 103
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 104
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 112
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 125
CyclomaticComplexity The method 'create(String, String, String, String, BinaryOperator<String>, String, ExploitMode)' has a cyclomatic complexity of 10. 3 125
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 127
MethodArgumentCouldBeFinal Parameter 'keyPropertyExploit' is not assigned and could be declared final 3 128
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 3 130
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 3 131
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 132
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 134
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 135
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 139
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 154
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 171
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 188
AvoidReassigningParameters Avoid reassigning parameters such as 'nameExploit' 2 190
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 193
CyclomaticComplexity The method 'createUdf(String, ExploitMode)' has a cyclomatic complexity of 14. 3 196
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 196
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 199
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 203
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 204
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 216
LinguisticNaming Linguistics Antipattern - The variable 'isSuccess' indicates linguistically it is a boolean, but it is 'String' 3 219
AvoidReassigningParameters Avoid reassigning parameters such as 'pathNetshareFolder' 2 222
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 233
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 252
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 256
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 256
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 3 267
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 3 268
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 3 269
MethodArgumentCouldBeFinal Parameter 'hexChunks' is not assigned and could be declared final 3 270
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 3 271
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 278
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 3 317
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 3 318
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 3 319
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 3 321
MethodArgumentCouldBeFinal Parameter 'bodyHexChunks' is not assigned and could be declared final 3 354
MethodArgumentCouldBeFinal Parameter 'pathRemoteFile' is not assigned and could be declared final 3 354
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 356
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 3 402
MethodArgumentCouldBeFinal Parameter 'nameTableRandom' is not assigned and could be declared final 3 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 404408
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 404
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 3 414
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 420
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 423
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 434
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 449
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 449
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 452
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 466
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 469
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 3 481
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 490
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 3 490
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 494
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 502
MethodArgumentCouldBeFinal Parameter 'bodyExploit' is not assigned and could be declared final 3 502
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 505
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 3 511
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 513

com/jsql/model/accessible/vendor/ExploitOracle.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 29
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 33
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 38
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 62
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 79
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 79
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 82

com/jsql/model/accessible/vendor/ExploitPostgres.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1594
TooManyMethods This class has too many methods, consider refactoring it. 3 35594
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 46
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 3 51
LinguisticNaming Linguistics Antipattern - The setter 'setRceProgramWhenActive' should not return any type except void linguistically 3 82
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 94
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 104
LinguisticNaming Linguistics Antipattern - The setter 'setRceExtensionWhenActive' should not return any type except void linguistically 3 109
CognitiveComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cognitive complexity of 15, current threshold is 15 3 109
CyclomaticComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cyclomatic complexity of 10. 3 109
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 3 109
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 111
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 126
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 145
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 155
LinguisticNaming Linguistics Antipattern - The setter 'setRceLibraryWhenActive' should not return any type except void linguistically 3 166
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 3 166
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 168
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 179
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 182
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 191
AvoidDuplicateLiterals The String literal "%20" appears 10 times in this file; the first occurrence is on line 193 3 193
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 197
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 3 207
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 3 222
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 225
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 233
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 233
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 236
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 250
PrematureDeclaration Declaration of 'pathResult' can be moved closer to its usages 3 252
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 254
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 257
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 260
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 261
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 265
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 270
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 278
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 283
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 285
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 288
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 291
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 293
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 296
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 298
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 302
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 309
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 3 314
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 320
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 326
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 332
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 332
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 346
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 346
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 359
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 373
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 373
AvoidLiteralsInIfCondition Avoid using literals such as "sql" in if statements 3 376
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 383
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 388
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 407
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 407
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 409
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 414
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 420
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 423
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 430
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 444
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 447
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 447
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 449
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 468
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 473
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 479
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 482
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 488
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 491
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 491
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 491
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 493
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 498
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 507
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 514
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 515
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 515
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 523
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 530
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 533
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 538
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 549
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 550
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 554
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 555
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 563
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 567
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 571
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 577

com/jsql/model/accessible/vendor/ExploitSqlite.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 40
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 47
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 60
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 63
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 77
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 77
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 81
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 96
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 111
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 116
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 131
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 132
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 132
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 140
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 147
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 154

com/jsql/model/accessible/vendor/derby/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 3 31

com/jsql/model/accessible/vendor/derby/ModelYamlDerby.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 11

com/jsql/model/accessible/vendor/h2/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'readFromPath' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'readFromTempTable' is not assigned and could be declared final 3 31

com/jsql/model/accessible/vendor/h2/ModelYamlH2.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3
DataClass The class 'ModelYamlH2' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3
MethodArgumentCouldBeFinal Parameter 'rce' is not assigned and could be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 20

com/jsql/model/accessible/vendor/h2/Rce.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Rce 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'Rce' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'callCsvWrite' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'scriptSimple' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'dropAlias' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'createAlias' is not assigned and could be declared final 3 50
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 58

com/jsql/model/accessible/vendor/hsqldb/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 5
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 22

com/jsql/model/accessible/vendor/hsqldb/ModelYamlHsqldb.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 11

com/jsql/model/accessible/vendor/hsqldb/Read.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Read 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'performImport' is not assigned and could be declared final 3 31

com/jsql/model/accessible/vendor/mysql/AddFile.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'AddFile' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'queryBody' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'netshare' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 3 33

com/jsql/model/accessible/vendor/mysql/AddFunction.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'AddFunction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 33

com/jsql/model/accessible/vendor/mysql/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'privilege' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 24

com/jsql/model/accessible/vendor/mysql/ModelYamlMysql.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
AtLeastOneConstructor Each class should declare at least one constructor 3 6
DataClass The class 'ModelYamlMysql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 6
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 23

com/jsql/model/accessible/vendor/mysql/TempTable.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 7
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'insertChunks' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'appendChunks' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'dump' is not assigned and could be declared final 3 69

com/jsql/model/accessible/vendor/mysql/Udf.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Udf 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 7
MethodArgumentCouldBeFinal Parameter 'pathPlugin' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'osMachine' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'addFile' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'addFunction' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 51

com/jsql/model/accessible/vendor/oracle/ModelYamlOracle.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
AtLeastOneConstructor Each class should declare at least one constructor 3 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 14

com/jsql/model/accessible/vendor/oracle/Udf.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Udf 4 8
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 8
MethodArgumentCouldBeFinal Parameter 'dropSource' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'addSource' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'grant' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 70

com/jsql/model/accessible/vendor/postgres/Archive.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Archive' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 7
MethodArgumentCouldBeFinal Parameter 'getPathConf' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'getStatus' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'getConfLength' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'putCmd' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'reloadConf' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'getCmd' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'runWal' is not assigned and could be declared final 3 69

com/jsql/model/accessible/vendor/postgres/Confirm.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Confirm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'funcExists' is not assigned and could be declared final 3 24

com/jsql/model/accessible/vendor/postgres/Extension.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'languages' is not assigned and could be declared final 3 24

com/jsql/model/accessible/vendor/postgres/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 5
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 3 22

com/jsql/model/accessible/vendor/postgres/LargeObject.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'LargeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 7
MethodArgumentCouldBeFinal Parameter 'fromPath' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'toText' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'fromText' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'toFile' is not assigned and could be declared final 3 42

com/jsql/model/accessible/vendor/postgres/Library.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Library' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 7
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'createFunction' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'loFromText' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'loToFile' is not assigned and could be declared final 3 51

com/jsql/model/accessible/vendor/postgres/ModelYamlPostgres.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
AtLeastOneConstructor Each class should declare at least one constructor 3 6
DataClass The class 'ModelYamlPostgres' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 23

com/jsql/model/accessible/vendor/postgres/Program.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Program' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'run' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'getResult' is not assigned and could be declared final 3 24

com/jsql/model/accessible/vendor/postgres/Read.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Read 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'fromDataFolder' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'fromTempTable' is not assigned and could be declared final 3 33

com/jsql/model/accessible/vendor/postgres/Sql.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Sql 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Sql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 7
MethodArgumentCouldBeFinal Parameter 'dropTable' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'resultCmd' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'clean' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 3 69

com/jsql/model/accessible/vendor/postgres/TempTable.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'add' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'fill' is not assigned and could be declared final 3 33

com/jsql/model/accessible/vendor/postgres/Udf.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Udf 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=26, WMC=26) 3 7
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'plpython' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'plperl' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'plsh' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'sql' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'archive' is not assigned and could be declared final 3 83
MethodArgumentCouldBeFinal Parameter 'program' is not assigned and could be declared final 3 91
MethodArgumentCouldBeFinal Parameter 'pltcl' is not assigned and could be declared final 3 99
MethodArgumentCouldBeFinal Parameter 'plr' is not assigned and could be declared final 3 107
MethodArgumentCouldBeFinal Parameter 'pllua' is not assigned and could be declared final 3 115
MethodArgumentCouldBeFinal Parameter 'library' is not assigned and could be declared final 3 123

com/jsql/model/accessible/vendor/postgres/Write.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 5
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 3 22

com/jsql/model/accessible/vendor/sqlite/Extension.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 7
MethodArgumentCouldBeFinal Parameter 'fileioRead' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'fileioWrite' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'fileioLs' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'exec' is not assigned and could be declared final 3 42

com/jsql/model/accessible/vendor/sqlite/ModelYamlSqlite.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'ModelYamlSqlite' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'writeFile' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 3 34

com/jsql/model/bean/database/AbstractElementDatabase.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 21
MethodArgumentCouldBeFinal Parameter 'elementValue' is not assigned and could be declared final 3 53

com/jsql/model/bean/database/Column.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'newColumnName' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'newTableName' is not assigned and could be declared final 3 27

com/jsql/model/bean/database/Database.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'databaseName' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'tableCount' is not assigned and could be declared final 3 32
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 59

com/jsql/model/bean/database/MockElement.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3

com/jsql/model/bean/database/Table.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'tableName' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'parentDatabase' is not assigned and could be declared final 3 37
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 69

com/jsql/model/bean/util/HttpHeader.java

Rule Violation Priority Line
DataClass The class 'HttpHeader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=5, WMC=7) 3 8
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'post' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 44

com/jsql/model/bean/util/Interaction.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 3
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 71

com/jsql/model/bean/util/Request.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 17
DataClass The class 'Request' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 17
MethodReturnsInternalArray Returning 'parameters' may expose an internal array. 3 37
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'parameters' is not assigned and could be declared final 3 44
ArrayIsStoredDirectly The user-supplied array 'parameters' is stored directly. 3 45

com/jsql/model/exception/AbstractSlidingException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 11
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 3 35

com/jsql/model/exception/InjectionFailureException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 24
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 28

com/jsql/model/exception/JSqlException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 13

com/jsql/model/exception/JSqlRuntimeException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 13

com/jsql/model/exception/LoopDetectedSlidingException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 3 20

com/jsql/model/exception/StoppedByUserSlidingException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 3 30

com/jsql/model/injection/method/AbstractMethodInjection.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 34
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
PrematureDeclaration Declaration of 'hasFoundInjection' can be moved closer to its usages 3 54
UnusedAssignment The initializer for variable 'hasFoundInjection' is never used (overwritten on lines 73, 75 and 77) 3 54
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
CompareObjectsWithEquals Use equals() to compare object references. 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 62
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 66
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 71
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7478
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 87
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 100
CompareObjectsWithEquals Use equals() to compare object references. 3 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 120
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 3 131
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 143
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 144
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 3 151
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 168

com/jsql/model/injection/method/MediatorMethod.java

Rule Violation Priority Line
DataClass The class 'MediatorMethod' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3 9
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 45
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 49
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 68

com/jsql/model/injection/strategy/AbstractStrategy.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isApplicable' 3 34
AvoidFieldNameMatchingMethodName Field isApplicable has the same name as a method 3 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 3 88
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 93
MethodArgumentCouldBeFinal Parameter 'isApplicable' is not assigned and could be declared final 3 117

com/jsql/model/injection/strategy/DnsServer.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 3 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 38
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 46
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 49
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 58
UseUnderscoresInNumericLiterals Number 86400 should separate every third digit with an underscore 3 67
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 68
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 7580

com/jsql/model/injection/strategy/MediatorStrategy.java

Rule Violation Priority Line
DataClass The class 'MediatorStrategy' is suspected to be a Data Class (WOC=26.667%, NOPA=0, NOAM=11, WMC=31) 3 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 41
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 57
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 76
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7991
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 96
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 117
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 3 131
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 137
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 149
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 151
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 159
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 162
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 168
CompareObjectsWithEquals Use equals() to compare object references. 3 168
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 168
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 203
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 211
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 3 264

com/jsql/model/injection/strategy/StrategyBlindBin.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 3 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134

com/jsql/model/injection/strategy/StrategyBlindBit.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 3 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134

com/jsql/model/injection/strategy/StrategyDns.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 46
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 53
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 55
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 57
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 63
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 80
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 92
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 102
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 106
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 129
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 148
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 148
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 148
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 149
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 150
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 161
MethodArgumentCouldBeFinal Parameter 'maxTime' is not assigned and could be declared final 3 173
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 178
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 182
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 192
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 200

com/jsql/model/injection/strategy/StrategyError.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'indexErrorStrategy' 3 25
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 27
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 38
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 40
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 46
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 83
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 87
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 102
MethodArgumentCouldBeFinal Parameter 'indexErrorMethod' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'errorCapacityDefault' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'regexSearch' is not assigned and could be declared final 3 108
UnusedAssignment The value assigned to field 'indexErrorStrategy' is never used (reassigned every iteration) 3 114
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 3 133
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 146
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 3 159
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 164
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 164
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 164
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 166
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 173
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 179
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 182
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 3 204

com/jsql/model/injection/strategy/StrategyMultibit.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 68
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 89
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 90
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 113
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 120
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 127

com/jsql/model/injection/strategy/StrategyStack.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 25
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 31
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 38
ConfusingTernary Avoid if (x != y) ..; else ..; 3 4656
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 3 72
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 3 72
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 3 93
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 3 93
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 125
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 125
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 125
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 127
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 141

com/jsql/model/injection/strategy/StrategyTime.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 3 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134

com/jsql/model/injection/strategy/StrategyUnion.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'nbIndexesFound' 3 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 55
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 78
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 91
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 91
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 91
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 93
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 107
MethodArgumentCouldBeFinal Parameter 'firstSuccessPageSource' is not assigned and could be declared final 3 122
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 145
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 159
MethodArgumentCouldBeFinal Parameter 'visibleIndex' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'sourceIndexesFound' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'nbIndexesFound' is not assigned and could be declared final 3 220

com/jsql/model/injection/strategy/blind/AbstractInjectionBit.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 34
CyclomaticComplexity The method 'inject(String, AbstractSuspendable)' has a cyclomatic complexity of 10. 3 68
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 68
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 3 68
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 75
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 124
EmptyCatchBlock Avoid empty catch blocks 3 127129
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 135
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 137
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 149151
AvoidLiteralsInIfCondition Avoid using literals such as 15 in if statements 3 149
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 173
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 173
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 3 173
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 174
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 181
EmptyCatchBlock Avoid empty catch blocks 3 184187
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 197
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 197
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 201

com/jsql/model/injection/strategy/blind/AbstractInjectionMonobit.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 12
CommentDefaultAccessModifier Missing commented default access modifier on method 'getCallableBitTest(String, int, int)' 3 16
MissingOverride The method 'initNextChar(String, List<char[]>, AtomicInteger, CompletionService<T>, AtomicInteger, AtomicInteger, T)' is missing an @Override annotation. 3 18
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 3 23
MissingOverride The method 'initMaskAsciiChar(List<char[]>, T)' is missing an @Override annotation. 3 47
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 47
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 47

com/jsql/model/injection/strategy/blind/InjectionBlindBin.java

Rule Violation Priority Line
ImmutableField Field 'sourceReferencePage' may be declared final 3 32
CyclomaticComplexity The constructor 'InjectionBlindBin(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 3 48
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 48
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 48
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 51
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 1 57
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 57
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 61
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 79
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 104
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 104
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 105
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 105
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 107
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 122
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 138
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 153
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 162
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 173
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 174
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 175
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 176
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 3 177
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 3 178
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 179
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 3 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 236
MethodArgumentCouldBeFinal Parameter 'asciiCodeMask' is not assigned and could be declared final 3 244
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 244
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 252
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 252

com/jsql/model/injection/strategy/blind/InjectionBlindBit.java

Rule Violation Priority Line
ImmutableField Field 'sourceReferencePage' may be declared final 3 27
CyclomaticComplexity The constructor 'InjectionBlindBit(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 3 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 43
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 46
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 1 52
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 52
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 56
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 73
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 88
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 98
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 98
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 99
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 115
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 131
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 136
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 154
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 162

com/jsql/model/injection/strategy/blind/InjectionCharInsertion.java

Rule Violation Priority Line
ImmutableField Field 'blankFalseMark' may be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'falseCharInsertion' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'prefixSuffix' is not assigned and could be declared final 3 52
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 56
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 57
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionCharInsertion.callUrl(String, String) 1 6568
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 72
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 120
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 120
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 129
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 143
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 155
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 167
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 168
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 175
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 181
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 181
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 185
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 185
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 185

com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Priority Line
ImmutableField Field 'sourceReference' may be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 30
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 1 37
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 38
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 53
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 58
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 72
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 110
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 3 112
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 131
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 131
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 141
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 141
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 3 141
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 142
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 144
AvoidLiteralsInIfCondition Avoid using literals such as 3 in if statements 3 146
MethodArgumentCouldBeFinal Parameter 'idPage' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'i1' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'i2' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'i3' is not assigned and could be declared final 3 154

com/jsql/model/injection/strategy/blind/InjectionTime.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 40
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 47
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 64
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 84
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 85
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 85
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 87
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 100
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 101
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 115
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 120
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 138
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 154

com/jsql/model/injection/strategy/blind/InjectionVendor.java

Rule Violation Priority Line
ImmutableField Field 'blankFalseMark' may be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithOperator' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 38
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionVendor.callUrl(String, String) 1 4649
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 53
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 53
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 70
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 86
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 3 92
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 95
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 112
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 123
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 3 127
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 133
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 139
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 146
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 146
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 150

com/jsql/model/injection/strategy/blind/callable/AbstractCallableBit.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 8
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultibit' 3 30
AvoidFieldNameMatchingMethodName Field isMultibit has the same name as a method 3 30
RedundantFieldInitializer Avoid using redundant field initializer for 'isBinary' 3 31
AvoidFieldNameMatchingMethodName Field isBinary has the same name as a method 3 31
MethodArgumentCouldBeFinal Parameter 'charText' is not assigned and could be declared final 3 56

com/jsql/model/injection/strategy/blind/callable/CallableBlindBin.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 24
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 36
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 39
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 47
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 55
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 60
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 80
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 86

com/jsql/model/injection/strategy/blind/callable/CallableBlindBit.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 20
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 30
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 34
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 44
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 47
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 69
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 79
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 81
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 82

com/jsql/model/injection/strategy/blind/callable/CallableCharInsertion.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 18
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 29
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 48
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 50
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 50
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 51

com/jsql/model/injection/strategy/blind/callable/CallableMultibit.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 13
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 31
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 3 33
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 37

com/jsql/model/injection/strategy/blind/callable/CallableTime.java

Rule Violation Priority Line
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 3 19
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 3 24
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 49
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 62
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 65
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 3 82
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 3 84

com/jsql/model/injection/strategy/blind/callable/CallableVendor.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 13
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 21
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 32

com/jsql/model/injection/strategy/blind/patch/Diff.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Diff 4 8
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'obj' is not assigned and could be declared final 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 68
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 73
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 77
MethodArgumentCouldBeFinal Parameter 'diff' is not assigned and could be declared final 3 84
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 3 95
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 103

com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 45
GodClass Possible God Class (WMC=395, ATFD=353, TCC=0.976%) 3 45
CyclomaticComplexity The class 'DiffMatchPatch' has a total cyclomatic complexity of 395 (highest 32). 3 45
TooManyMethods This class has too many methods, consider refactoring it. 3 452337
MethodArgumentCouldBeFinal Parameter 'chars1' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'chars2' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 137
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 137
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 150
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 3 150
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 168
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 168
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 185
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 226
CyclomaticComplexity The method 'diffCompute(String, String, boolean, long)' has a cyclomatic complexity of 12. 3 226
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 226
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 228
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 233
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 239
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 254
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 257
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 262
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 276
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 282
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 286
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 301
CognitiveComplexity The method 'diffLineMode(String, String, long)' has a cognitive complexity of 17, current threshold is 15 3 301
CyclomaticComplexity The method 'diffLineMode(String, String, long)' has a cyclomatic complexity of 10. 3 301
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 3 301
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 3 301
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 301
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 309
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 327
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 355
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 371
NcssCount The method 'diffBisect(String, String, long)' has a NCSS line count of 75. 3 371
CognitiveComplexity The method 'diffBisect(String, String, long)' has a cognitive complexity of 62, current threshold is 15 3 371
CyclomaticComplexity The method 'diffBisect(String, String, long)' has a cyclomatic complexity of 32. 3 371
NPathComplexity The method 'diffBisect(String, String, long)' has an NPath complexity of 29190, current threshold is 200 3 371
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 371
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 371
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 371
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 432
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 470
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 478
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 494
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 494
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 501
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 517
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 517
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 519
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 540
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 3 540
MethodArgumentCouldBeFinal Parameter 'lineHash' is not assigned and could be declared final 3 541
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 575
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 3 575
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 578
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 592
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 597
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 609
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 609
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 616
CyclomaticComplexity The method 'diffCommonOverlap(String, String)' has a cyclomatic complexity of 10. 3 629
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 3 629
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 3 629
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 639
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 650
CognitiveComplexity The method 'diffHalfMatch(String, String)' has a cognitive complexity of 15, current threshold is 15 3 683
CyclomaticComplexity The method 'diffHalfMatch(String, String)' has a cyclomatic complexity of 11. 3 683
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 683
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 683
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 688
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 688
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 697
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 697
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 709
MethodArgumentCouldBeFinal Parameter 'longtext' is not assigned and could be declared final 3 725
MethodArgumentCouldBeFinal Parameter 'shorttext' is not assigned and could be declared final 3 725
MethodArgumentCouldBeFinal Parameter 'i' is not assigned and could be declared final 3 725
AssignmentInOperand Avoid assignment to j in operand 3 735
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 750751
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 753
NcssCount The method 'diffCleanupSemantic(LinkedList<Diff>)' has a NCSS line count of 80. 3 761
CognitiveComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cognitive complexity of 65, current threshold is 15 3 761
CyclomaticComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cyclomatic complexity of 27. 3 761
NPathComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has an NPath complexity of 13747, current threshold is 200 3 761
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 761
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 761
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 3 768
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 780
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 790
CompareObjectsWithEquals Use equals() to compare object references. 3 803
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 809
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 811
EmptyControlStatement Empty while statement 3 826828
CompareObjectsWithEquals Use equals() to compare object references. 3 826
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 835
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 839
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 856
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 3 865
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 866
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 876877
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 889890
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 899
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 902
NcssCount The method 'diffCleanupSemanticLossless(List<Diff>)' has a NCSS line count of 66. 3 912
CognitiveComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cognitive complexity of 33, current threshold is 15 3 912
CyclomaticComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cyclomatic complexity of 16. 3 912
NPathComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has an NPath complexity of 840, current threshold is 200 3 912
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 912
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 3 932
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 3 933
ConfusingTernary Avoid if (x != y) ..; else ..; 3 978987
ConfusingTernary Avoid if (x != y) ..; else ..; 3 989995
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1000
CognitiveComplexity The method 'diffCleanupSemanticScore(String, String)' has a cognitive complexity of 18, current threshold is 15 3 1012
CyclomaticComplexity The method 'diffCleanupSemanticScore(String, String)' has a cyclomatic complexity of 14. 3 1012
NPathComplexity The method 'diffCleanupSemanticScore(String, String)' has an NPath complexity of 1282, current threshold is 200 3 1012
MethodArgumentCouldBeFinal Parameter 'one' is not assigned and could be declared final 3 1012
MethodArgumentCouldBeFinal Parameter 'two' is not assigned and could be declared final 3 1012
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1016
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1039
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1042
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1045
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1048
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1051
CognitiveComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cognitive complexity of 62, current threshold is 15 3 1060
CyclomaticComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cyclomatic complexity of 27. 3 1060
NPathComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has an NPath complexity of 18251, current threshold is 200 3 1060
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1060
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1060
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 3 1067
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 1082
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1094
AssignmentInOperand Avoid assignment to postDel in operand 3 1097
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 1100
CompareObjectsWithEquals Use equals() to compare object references. 3 1125
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1131
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1137
AssignmentInOperand Avoid assignment to postDel in operand 3 1140
EmptyControlStatement Empty while statement 3 11561158
CompareObjectsWithEquals Use equals() to compare object references. 3 1156
AssignmentInOperand Avoid assignment to postDel in operand 3 1159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1165
NcssCount The method 'diffCleanupMerge(LinkedList<Diff>)' has a NCSS line count of 108. 3 1178
CognitiveComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cognitive complexity of 75, current threshold is 15 3 1178
CyclomaticComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cyclomatic complexity of 30. 3 1178
NPathComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has an NPath complexity of 434400, current threshold is 200 3 1178
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1178
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1178
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 3 11901272
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 1190
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1194
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1199
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 1202
AssignmentInOperand Avoid assignment to countDelete in operand 3 1207
AssignmentInOperand Avoid assignment to countInsert in operand 3 1211
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 12261227
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1252
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1273
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1289
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 3 1294
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 3 1295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1309
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1317
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1323
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1339
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 3 1339
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1346
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1350
LawOfDemeter Call to `getOperation` on foreign value `lastDiff` (degree 1) 3 1362
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1364
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1375
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 39 characters appended. 3 1376
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1380
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1402
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1405
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1417
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1420
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1433
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1438
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1465
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1469
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1471
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1472
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1478
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1478
CognitiveComplexity The method 'diffFromDelta(String, String)' has a cognitive complexity of 22, current threshold is 15 3 1498
CyclomaticComplexity The method 'diffFromDelta(String, String)' has a cyclomatic complexity of 18. 3 1498
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 1498
MethodArgumentCouldBeFinal Parameter 'delta' is not assigned and could be declared final 3 1498
AvoidLiteralsInIfCondition Avoid using literals such as '=' in if statements 3 1550
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 1580
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1580
MethodArgumentCouldBeFinal Parameter 'valueLoc' is not assigned and could be declared final 3 1580
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1589
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1596
CognitiveComplexity The method 'matchBitap(String, String, int)' has a cognitive complexity of 36, current threshold is 15 3 1611
CyclomaticComplexity The method 'matchBitap(String, String, int)' has a cyclomatic complexity of 14. 3 1611
NPathComplexity The method 'matchBitap(String, String, int)' has an NPath complexity of 453, current threshold is 200 3 1611
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 1611
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1611
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 3 1611
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1661
UselessParentheses Useless parentheses around `((lastRd[j + 1] | lastRd[j]) << 1) | 1`. 4 1678
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 1716
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 1716
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 3 1716
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1716
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1727
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1728
MethodArgumentCouldBeFinal Parameter 'patch' is not assigned and could be declared final 3 1750
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 1750
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 1797
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 1797
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1802
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 1803
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1816
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1816
CognitiveComplexity The method 'patchMake(String, Deque<Diff>)' has a cognitive complexity of 22, current threshold is 15 3 1832
CyclomaticComplexity The method 'patchMake(String, Deque<Diff>)' has a cyclomatic complexity of 19. 3 1832
NPathComplexity The method 'patchMake(String, Deque<Diff>)' has an NPath complexity of 341, current threshold is 200 3 1832
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 1832
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1832
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1840
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1852
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1858
CompareObjectsWithEquals Use equals() to compare object references. 3 1874
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1889
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1901
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1904
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1922
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 1922
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1923
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1925
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1927
CognitiveComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cognitive complexity of 55, current threshold is 15 3 1947
CyclomaticComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cyclomatic complexity of 17. 3 1947
NPathComplexity The method 'patchApply(LinkedList<Patch>, String)' has an NPath complexity of 207, current threshold is 200 3 1947
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1947
MethodArgumentCouldBeFinal Parameter 'valuePatches' is not assigned and could be declared final 3 1947
MethodArgumentCouldBeFinal Parameter 'valueText' is not assigned and could be declared final 3 1947
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1950
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1954
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2027
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2029
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2033
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2040
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 2061
LawOfDemeter Call to `getOperation` on foreign value `diffs.getFirst()` (degree 1) 3 2078
LawOfDemeter Call to `getOperation` on foreign value `diffs.getLast()` (degree 1) 3 2100
NcssCount The method 'patchSplitMax(List<Patch>)' has a NCSS line count of 73. 3 2123
CognitiveComplexity The method 'patchSplitMax(List<Patch>)' has a cognitive complexity of 55, current threshold is 15 3 2123
CyclomaticComplexity The method 'patchSplitMax(List<Patch>)' has a cyclomatic complexity of 22. 3 2123
NPathComplexity The method 'patchSplitMax(List<Patch>)' has an NPath complexity of 2570, current threshold is 200 3 2123
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 2123
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2139
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 2150
LawOfDemeter Call to `getOperation` on foreign value `bigpatch.getDiffs().getFirst()` (degree 1) 3 2160
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getFirst()` (degree 1) 3 2170
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getLast()` (degree 1) 3 2214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2225
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 2234
NcssCount The method 'patchFromText(String)' has a NCSS line count of 64. 3 2248
CognitiveComplexity The method 'patchFromText(String)' has a cognitive complexity of 27, current threshold is 15 3 2248
CyclomaticComplexity The method 'patchFromText(String)' has a cyclomatic complexity of 18. 3 2248
MethodArgumentCouldBeFinal Parameter 'textline' is not assigned and could be declared final 3 2248
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 2252
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 2268
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 3 2274
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 3 2285
AvoidLiteralsInIfCondition Avoid using literals such as '-' in if statements 3 2315
AvoidLiteralsInIfCondition Avoid using literals such as '+' in if statements 3 2318
AvoidLiteralsInIfCondition Avoid using literals such as ' ' in if statements 3 2321
AvoidLiteralsInIfCondition Avoid using literals such as '@' in if statements 3 2324

com/jsql/model/injection/strategy/blind/patch/Patch.java

Rule Violation Priority Line
DataClass The class 'Patch' is suspected to be a Data Class (WOC=27.273%, NOPA=0, NOAM=8, WMC=20) 3 10
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 12
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 38
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 46
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 58
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 70
MethodArgumentCouldBeFinal Parameter 'str' is not assigned and could be declared final 3 89
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 100
MethodArgumentCouldBeFinal Parameter 'start1' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'start2' is not assigned and could be declared final 3 116
MethodArgumentCouldBeFinal Parameter 'length1' is not assigned and could be declared final 3 124
LinguisticNaming Linguistics Antipattern - The setter 'setLength2' should not return any type except void linguistically 3 132
MethodArgumentCouldBeFinal Parameter 'length2' is not assigned and could be declared final 3 132

com/jsql/model/injection/vendor/MediatorVendor.java

Rule Violation Priority Line
DataClass The class 'MediatorVendor' is suspected to be a Data Class (WOC=7.143%, NOPA=0, NOAM=26, WMC=33) 3 26
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 70
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 3 104
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 3 126
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 126
ConstructorCallsOverridableMethod Overridable method called during object construction: MediatorVendor.setVendor(Vendor) 1 147
CompareObjectsWithEquals Use equals() to compare object references. 3 152
ConfusingTernary Avoid if (x != y) ..; else ..; 3 157190
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 157
CompareObjectsWithEquals Use equals() to compare object references. 3 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 158
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 163
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 170
LawOfDemeter Call to `filter` on foreign value `mediatorVendor.getVendors().stream()` (degree 2) 3 171173
LawOfDemeter Call to `getVendors` on foreign value `mediatorVendor` (degree 2) 3 171
LawOfDemeter Call to `stream` on foreign value `mediatorVendor.getVendors()` (degree 2) 3 171172
LawOfDemeter Call to `toArray` on foreign value `mediatorVendor.getVendors().stream().filter(v -> v != mediatorVendor.getAuto())` (degree 2) 3 171174
CompareObjectsWithEquals Use equals() to compare object references. 3 173
LawOfDemeter Call to `instance` on foreign value `vendorTest` (degree 2) 3 178
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 192
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 198
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 209
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 217
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 220
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 225
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 234
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 237
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 288
MethodArgumentCouldBeFinal Parameter 'vendorByUser' is not assigned and could be declared final 3 296

com/jsql/model/injection/vendor/model/AbstractVendor.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 1150
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 30

com/jsql/model/injection/vendor/model/Vendor.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'instanceVendor' is not assigned and could be declared final 3 9
LawOfDemeter Call to `getModelYaml` on foreign value `instanceVendor` (degree 1) 3 10
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 3 18

com/jsql/model/injection/vendor/model/VendorYaml.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 28616
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 106
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 110
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 129
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 136
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 144
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 147
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 154
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 164
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 179
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 186
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 189
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 196
MethodArgumentCouldBeFinal Parameter 'namesColumns' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 212
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 217
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 226
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 229
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 238
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 3 278
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 278
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 3 321
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 321
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 323
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 324
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 334
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 334
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 334
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 334
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 336
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 337
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 353
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 3 355360
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 365
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 365
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 365
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 375
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 375
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 375
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 385
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 385
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 385
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 393
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 404
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'indexMethodError' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 435
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 435
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 435
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 440
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 445
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 445
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 445
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 445
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 452
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 462
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 462
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 462
MethodArgumentCouldBeFinal Parameter 'indexes' is not assigned and could be declared final 3 475
MethodArgumentCouldBeFinal Parameter 'nbFields' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'limitSqlResult' is not assigned and could be declared final 3 513
MethodArgumentCouldBeFinal Parameter 'sqlRequest' is not assigned and could be declared final 3 537
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 558
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 604
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 605

com/jsql/model/injection/vendor/model/yaml/Binary.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Binary' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 8
MethodArgumentCouldBeFinal Parameter 'test' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'blind' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'time' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'modeAnd' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'modeOr' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'modeStack' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'multibit' is not assigned and could be declared final 3 70

com/jsql/model/injection/vendor/model/yaml/Configuration.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Configuration' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 8
MethodArgumentCouldBeFinal Parameter 'slidingWindow' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'limit' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'failsafe' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'calibrator' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'limitBoundary' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'endingComment' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'fingerprint' is not assigned and could be declared final 3 70

com/jsql/model/injection/vendor/model/yaml/Error.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
MethodArgumentCouldBeFinal Parameter 'method' is not assigned and could be declared final 3 16

com/jsql/model/injection/vendor/model/yaml/Fields.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Fields' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 8
MethodArgumentCouldBeFinal Parameter 'field' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'concat' is not assigned and could be declared final 3 25

com/jsql/model/injection/vendor/model/yaml/Fingerprint.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 12
AtLeastOneConstructor Each class should declare at least one constructor 3 12
DataClass The class 'Fingerprint' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) 3 12
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'orderByErrorMessage' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'vendorSpecific' is not assigned and could be declared final 3 46

com/jsql/model/injection/vendor/model/yaml/Method.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Method' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 3 34

com/jsql/model/injection/vendor/model/yaml/ModelYaml.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'ModelYaml' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'resource' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 3 34

com/jsql/model/injection/vendor/model/yaml/Resource.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Resource' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 8
MethodArgumentCouldBeFinal Parameter 'info' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'schema' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'zip' is not assigned and could be declared final 3 36
MethodArgumentCouldBeFinal Parameter 'dios' is not assigned and could be declared final 3 44
MethodArgumentCouldBeFinal Parameter 'exploit' is not assigned and could be declared final 3 52

com/jsql/model/injection/vendor/model/yaml/Row.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Row 4 8
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Row' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 8
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'fields' is not assigned and could be declared final 3 25

com/jsql/model/injection/vendor/model/yaml/Schema.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Schema' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 8
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'row' is not assigned and could be declared final 3 43

com/jsql/model/injection/vendor/model/yaml/Strategy.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Strategy' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 8
MethodArgumentCouldBeFinal Parameter 'configuration' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'union' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'binary' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'error' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'dns' is not assigned and could be declared final 3 61

com/jsql/model/injection/vendor/model/yaml/Test.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Test 4 11
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 11
AtLeastOneConstructor Each class should declare at least one constructor 3 11
DataClass The class 'Test' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=20, WMC=24) 3 11
TestClassWithoutTestCases The class 'Test' might be a test class, but it contains no test cases. 3 11
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'init' is not assigned and could be declared final 3 90
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 98
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 3 122
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 3 130
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 3 138
MethodArgumentCouldBeFinal Parameter 'bin' is not assigned and could be declared final 3 146

com/jsql/model/injection/vendor/model/yaml/Union.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Union' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'indices' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'orderBy' is not assigned and could be declared final 3 34

com/jsql/model/injection/vendor/model/yaml/Write.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 8
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 25

com/jsql/model/suspendable/AbstractSuspendable.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 3 19
RedundantFieldInitializer Avoid using redundant field initializer for 'isPaused' 3 24
AvoidFieldNameMatchingMethodName Field isPaused has the same name as a method 3 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 28
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 43
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 50
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 90

com/jsql/model/suspendable/SuspendableGetCharInsertion.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 3 48
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 51
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 3 76
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 79
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 79
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 80
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 3 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 96
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 3 103
MethodArgumentCouldBeFinal Parameter 'vendorsOrderByMatch' is not assigned and could be declared final 3 103
CompareObjectsWithEquals Use equals() to compare object references. 3 106
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 1) 3 106
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 109
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 120
CompareObjectsWithEquals Use equals() to compare object references. 3 123
LawOfDemeter Call to `getAuto` on foreign value `mediatorVendor` (degree 1) 3 123
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 150
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 150
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 3 150
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 174181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 177
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 3 188
MethodArgumentCouldBeFinal Parameter 'charactersInsertion' is not assigned and could be declared final 3 189
MethodArgumentCouldBeFinal Parameter 'prefixValue' is not assigned and could be declared final 3 190
MethodArgumentCouldBeFinal Parameter 'prefixQuote' is not assigned and could be declared final 3 191
MethodArgumentCouldBeFinal Parameter 'prefixParenthesis' is not assigned and could be declared final 3 192
MethodArgumentCouldBeFinal Parameter 'characterInsertionByUser' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'characterInsertionDetected' is not assigned and could be declared final 3 217
ConfusingTernary Avoid if (x != y) ..; else ..; 3 227247
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 232

com/jsql/model/suspendable/SuspendableGetIndexes.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 27
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 10. 3 32
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 41
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 4954
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 71
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 74
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 92

com/jsql/model/suspendable/SuspendableGetRows.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=57, ATFD=27, TCC=0.833%) 3 43
TooManyMethods This class has too many methods, consider refactoring it. 3 43423
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 47
CognitiveComplexity The method 'run(Object[])' has a cognitive complexity of 19, current threshold is 15 3 52
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 12. 3 52
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 3 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 67
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 151
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 155
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 158
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 166
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 3 166
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 172176
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 3 181
MethodArgumentCouldBeFinal Parameter 'countAllRows' is not assigned and could be declared final 3 181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 182
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 185
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 185
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 221
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 238
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 3 256
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 256
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 48, but has at least 65 characters appended. 3 265
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 275
MethodArgumentCouldBeFinal Parameter 'loop' is not assigned and could be declared final 3 292
MethodArgumentCouldBeFinal Parameter 'previousChunk' is not assigned and could be declared final 3 293
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 294
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 295
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 296
AvoidLiteralsInIfCondition Avoid using literals such as 20 in if statements 3 301
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 3 312
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 3 328
MethodArgumentCouldBeFinal Parameter 'performanceLength' is not assigned and could be declared final 3 328
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 3 343
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 344
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 345
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 358
MethodArgumentCouldBeFinal Parameter 'numberToFind' is not assigned and could be declared final 3 379
MethodArgumentCouldBeFinal Parameter 'countProgress' is not assigned and could be declared final 3 379
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 3 379
MethodArgumentCouldBeFinal Parameter 'rows' is not assigned and could be declared final 3 388

com/jsql/model/suspendable/SuspendableGetVendor.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 24
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream().filter(vendor -> vendor != this.injectionModel.getMediatorVendor().getAuto())` (degree 2) 3 3338
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream()` (degree 2) 3 3335
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 33
LawOfDemeter Call to `getVendorsForFingerprint` on foreign value `this.injectionModel.getMediatorVendor()` (degree 2) 3 33
LawOfDemeter Call to `stream` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint()` (degree 2) 3 3334
CompareObjectsWithEquals Use equals() to compare object references. 3 35
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 35
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 43
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 55
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 62
ExceptionAsFlowControl Exception thrown at line 51 is caught in this block. 3 6668

com/jsql/model/suspendable/callable/CallablePageSource.java

Rule Violation Priority Line
DataClass The class 'CallablePageSource' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=7) 3 14
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'nbIndex' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 49
MethodArgumentCouldBeFinal Parameter 'characterInsertion' is not assigned and could be declared final 3 50
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 52

com/jsql/model/suspendable/callable/ThreadFactoryCallable.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 3 9
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 14
MethodArgumentCouldBeFinal Parameter 'runnable' is not assigned and could be declared final 3 14
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 15

com/jsql/util/AnsiColorUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 3
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 29

com/jsql/util/AuthenticationUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 18
RedundantFieldInitializer Avoid using redundant field initializer for 'isAuthentication' 3 25
RedundantFieldInitializer Avoid using redundant field initializer for 'isKerberos' 3 40
AvoidFieldNameMatchingMethodName Field isKerberos has the same name as a method 3 40
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 62
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 3 63
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 3 64
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 3 68
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 3 87
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 3 87
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 3 87
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 3 205
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 3 210

com/jsql/util/CertificateUtil.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'sslContext' 3 23

com/jsql/util/ConnectionUtil.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1318
GodClass Possible God Class (WMC=49, ATFD=80, TCC=11.688%) 3 39
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 67
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 3 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 3 76
MethodArgumentCouldBeFinal Parameter 'httpResponse' is not assigned and could be declared final 3 84
MethodArgumentCouldBeFinal Parameter 'httpHeaders' is not assigned and could be declared final 3 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 113
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 122
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 124
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 128
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 147
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 148
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 157
CyclomaticComplexity The method 'testConnection()' has a cyclomatic complexity of 11. 3 160
LawOfDemeter Call to `getCookieStore` on foreign value `this.getCookieManager()` (degree 1) 3 163
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 168
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 170
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 174
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 182
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 192
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 196
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 200
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 200
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 204
MethodArgumentCouldBeFinal Parameter 'lineFeed' is not assigned and could be declared final 3 204
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 204
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 205
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 236
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 249
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 250
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 251
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 263
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 3 268
MethodArgumentCouldBeFinal Parameter 'urlByUser' is not assigned and could be declared final 3 280
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 3 288
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 296
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 3 304
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 312

com/jsql/util/CookiesUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 24
ConfusingTernary Avoid if (x != y) ..; else ..; 3 2532
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 26
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 55
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 66

com/jsql/util/CsrfUtil.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenCsrf' 3 18
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'headers' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 55
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 81
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 82
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 96
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 128
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 129
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 148
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 154
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 158164
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 175
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 3 182
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 185
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 187
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 192
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 196
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 197
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 199
MethodArgumentCouldBeFinal Parameter 'tokenCsrf' is not assigned and could be declared final 3 217

com/jsql/util/DigestUtil.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenDigest' 3 23
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 70
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 86
MethodArgumentCouldBeFinal Parameter 'tokenDigest' is not assigned and could be declared final 3 97

com/jsql/util/ExceptionUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 30
AtLeastOneConstructor Each class should declare at least one constructor 3 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 41
MethodArgumentCouldBeFinal Parameter 'thread' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 3 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 3 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 62
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 3 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 98
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 105

com/jsql/util/FormUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 27
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 34
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 37
ConfusingTernary Avoid if (x != y) ..; else ..; 3 5862
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 58
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 3 65
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'mapForms' is not assigned and could be declared final 3 65
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 76
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 3 96
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 3 96
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 3 96
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 96
AvoidLiteralsInIfCondition Avoid using literals such as 200 in if statements 3 103

com/jsql/util/GitUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 47
MethodArgumentCouldBeFinal Parameter 'displayUpdateMessage' is not assigned and could be declared final 3 55
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 61
MethodArgumentCouldBeFinal Parameter 'threadName' is not assigned and could be declared final 3 78
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 3 78
LawOfDemeter Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) 3 79
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 87
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 110
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 116
MethodArgumentCouldBeFinal Parameter 'reportBody' is not assigned and could be declared final 3 134
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 134
MethodArgumentCouldBeFinal Parameter 'reportTitle' is not assigned and could be declared final 3 134
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 135
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 149
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 161
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 169
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 3 173
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 173
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 180
PreserveStackTrace Thrown exception does not preserve the stack trace of exception 'e' on all code paths 3 181
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 209

com/jsql/util/HeaderUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 39
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 49
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 3 49
MethodArgumentCouldBeFinal Parameter 'httpRequestBuilder' is not assigned and could be declared final 3 85
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 3 85
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 87
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 93
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 105
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 107
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 3 136
AvoidLiteralsInIfCondition Avoid using literals such as 400 in if statements 3 137
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 138
CognitiveComplexity The method 'checkResponse(String, Map<String, String>)' has a cognitive complexity of 18, current threshold is 15 3 146
CyclomaticComplexity The method 'checkResponse(String, Map<String, String>)' has a cyclomatic complexity of 11. 3 146
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 146
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 146
ConfusingTernary Avoid if (x != y) ..; else ..; 3 181185
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 181
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 195
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 195
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 214
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 214

com/jsql/util/I18nUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 18
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 3 42
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 51
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 69

com/jsql/util/JsonUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'param' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 3 53
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 63
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 3 75
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 88
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 100
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 3 100
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 131

com/jsql/util/LogLevelUtil.java

Rule Violation Priority Line
DataClass The class 'LogLevelUtil' is suspected to be a Data Class (WOC=0.000%, NOPA=10, NOAM=0, WMC=1) 3 7
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 7

com/jsql/util/MultipartUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 22
ConfusingTernary Avoid if (x != y) ..; else ..; 3 2327
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 30
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 34
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 45
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'matcherFormDataParameters' is not assigned and could be declared final 3 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 70
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 70

com/jsql/util/ParameterUtil.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=83, ATFD=81, TCC=16.190%) 3 25
CyclomaticComplexity The class 'ParameterUtil' has a total cyclomatic complexity of 83 (highest 13). 3 25
TooManyMethods This class has too many methods, consider refactoring it. 3 25412
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultipartRequest' 3 47
AvoidFieldNameMatchingMethodName Field isMultipartRequest has the same name as a method 3 47
FieldNamingConventions The constant name 'tchar' doesn't match '[A-Z][A-Z_0-9]*' 1 51
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 66
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 75
CyclomaticComplexity The method 'controlInput(String, String, String, AbstractMethodInjection, String, boolean)' has a cyclomatic complexity of 13. 3 75
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 3 77
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 3 78
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 79
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 3 80
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 3 81
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8994
AvoidLiteralsInIfCondition Avoid using literals such as 65535 in if statements 3 98
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 3 98
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 115
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 121
ExceptionAsFlowControl Exception thrown at line 103 is caught in this block. 3 123130
ExceptionAsFlowControl Exception thrown at line 87 is caught in this block. 3 123130
ExceptionAsFlowControl Exception thrown at line 93 is caught in this block. 3 123130
ExceptionAsFlowControl Exception thrown at line 99 is caught in this block. 3 123130
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 145
MethodArgumentCouldBeFinal Parameter 'token' is not assigned and could be declared final 3 153
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 157
ConfusingTernary Avoid if (x != y) ..; else ..; 3 180186
CyclomaticComplexity The method 'checkStarMatchMethod()' has a cyclomatic complexity of 13. 3 215
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 216
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 217
CompareObjectsWithEquals Use equals() to compare object references. 3 221
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 221
CompareObjectsWithEquals Use equals() to compare object references. 3 227
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 227
CompareObjectsWithEquals Use equals() to compare object references. 3 233
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 233
CyclomaticComplexity The method 'checkMethodNotEmpty()' has a cyclomatic complexity of 12. 3 240
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 241
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 242
CompareObjectsWithEquals Use equals() to compare object references. 3 245
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 245
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 248
CompareObjectsWithEquals Use equals() to compare object references. 3 252
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 252
CompareObjectsWithEquals Use equals() to compare object references. 3 257
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 257
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 3 264
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 3 275
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 286
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 287
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 296
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 3 309
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 3 331
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 350
CompareObjectsWithEquals Use equals() to compare object references. 3 350
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 350

com/jsql/util/PreferencesUtil.java

Rule Violation Priority Line
CyclomaticComplexity The class 'PreferencesUtil' has a total cyclomatic complexity of 136 (highest 3). 3 22
ExcessivePublicCount This class has a bunch of public methods and attributes 3 22
TooManyMethods This class has too many methods, consider refactoring it. 3 22897
TooManyFields Too many fields 3 22897
AvoidFieldNameMatchingMethodName Field isCheckingUpdate has the same name as a method 3 35
AvoidFieldNameMatchingMethodName Field isShowNews has the same name as a method 3 36
AvoidFieldNameMatchingMethodName Field isReportingBugs has the same name as a method 3 39
RedundantFieldInitializer Avoid using redundant field initializer for 'is4K' 3 41
AvoidFieldNameMatchingMethodName Field is4K has the same name as a method 3 41
RedundantFieldInitializer Avoid using redundant field initializer for 'isFollowingRedirection' 3 43
AvoidFieldNameMatchingMethodName Field isFollowingRedirection has the same name as a method 3 43
RedundantFieldInitializer Avoid using redundant field initializer for 'isHttp2Disabled' 3 44
AvoidFieldNameMatchingMethodName Field isHttp2Disabled has the same name as a method 3 44
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotInjectingMetadata' 3 46
AvoidFieldNameMatchingMethodName Field isNotInjectingMetadata has the same name as a method 3 46
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotSearchingCharInsertion' 3 47
AvoidFieldNameMatchingMethodName Field isNotSearchingCharInsertion has the same name as a method 3 47
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotShowingVulnReport' 3 48
AvoidFieldNameMatchingMethodName Field isNotShowingVulnReport has the same name as a method 3 48
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllParam' 3 50
AvoidFieldNameMatchingMethodName Field isCheckingAllParam has the same name as a method 3 50
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllURLParam' 3 51
AvoidFieldNameMatchingMethodName Field isCheckingAllURLParam has the same name as a method 3 51
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllRequestParam' 3 52
AvoidFieldNameMatchingMethodName Field isCheckingAllRequestParam has the same name as a method 3 52
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllHeaderParam' 3 53
AvoidFieldNameMatchingMethodName Field isCheckingAllHeaderParam has the same name as a method 3 53
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllBase64Param' 3 54
AvoidFieldNameMatchingMethodName Field isCheckingAllBase64Param has the same name as a method 3 54
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllJsonParam' 3 55
AvoidFieldNameMatchingMethodName Field isCheckingAllJsonParam has the same name as a method 3 55
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllCookieParam' 3 56
AvoidFieldNameMatchingMethodName Field isCheckingAllCookieParam has the same name as a method 3 56
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllSoapParam' 3 57
AvoidFieldNameMatchingMethodName Field isCheckingAllSoapParam has the same name as a method 3 57
RedundantFieldInitializer Avoid using redundant field initializer for 'isPerfIndexDisabled' 3 59
AvoidFieldNameMatchingMethodName Field isPerfIndexDisabled has the same name as a method 3 59
RedundantFieldInitializer Avoid using redundant field initializer for 'isDefaultStrategy' 3 60
AvoidFieldNameMatchingMethodName Field isDefaultStrategy has the same name as a method 3 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isZipStrategy' 3 61
AvoidFieldNameMatchingMethodName Field isZipStrategy has the same name as a method 3 61
RedundantFieldInitializer Avoid using redundant field initializer for 'isDiosStrategy' 3 62
AvoidFieldNameMatchingMethodName Field isDiosStrategy has the same name as a method 3 62
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlEncodingDisabled' 3 63
AvoidFieldNameMatchingMethodName Field isUrlEncodingDisabled has the same name as a method 3 63
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlRandomSuffixDisabled' 3 64
AvoidFieldNameMatchingMethodName Field isUrlRandomSuffixDisabled has the same name as a method 3 64
RedundantFieldInitializer Avoid using redundant field initializer for 'isParsingForm' 3 66
AvoidFieldNameMatchingMethodName Field isParsingForm has the same name as a method 3 66
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotTestingConnection' 3 67
AvoidFieldNameMatchingMethodName Field isNotTestingConnection has the same name as a method 3 67
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotProcessingCookies' 3 68
AvoidFieldNameMatchingMethodName Field isNotProcessingCookies has the same name as a method 3 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isProcessingCsrf' 3 69
AvoidFieldNameMatchingMethodName Field isProcessingCsrf has the same name as a method 3 69
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingBase64' 3 71
AvoidFieldNameMatchingMethodName Field isTamperingBase64 has the same name as a method 3 71
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingFunctionComment' 3 72
AvoidFieldNameMatchingMethodName Field isTamperingFunctionComment has the same name as a method 3 72
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingVersionComment' 3 73
AvoidFieldNameMatchingMethodName Field isTamperingVersionComment has the same name as a method 3 73
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEqualToLike' 3 74
AvoidFieldNameMatchingMethodName Field isTamperingEqualToLike has the same name as a method 3 74
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingRandomCase' 3 75
AvoidFieldNameMatchingMethodName Field isTamperingRandomCase has the same name as a method 3 75
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEval' 3 76
AvoidFieldNameMatchingMethodName Field isTamperingEval has the same name as a method 3 76
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToMultilineComment' 3 77
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToMultilineComment has the same name as a method 3 77
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToDashComment' 3 78
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToDashComment has the same name as a method 3 78
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToSharpComment' 3 79
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToSharpComment has the same name as a method 3 79
AvoidFieldNameMatchingMethodName Field csrfUserTag has the same name as a method 3 81
AvoidFieldNameMatchingMethodName Field csrfUserTagOutput has the same name as a method 3 82
RedundantFieldInitializer Avoid using redundant field initializer for 'isCsrfUserTag' 3 83
AvoidFieldNameMatchingMethodName Field isCsrfUserTag has the same name as a method 3 83
AvoidFieldNameMatchingMethodName Field isLimitingThreads has the same name as a method 3 84
AvoidFieldNameMatchingMethodName Field countLimitingThreads has the same name as a method 3 85
RedundantFieldInitializer Avoid using redundant field initializer for 'isConnectionTimeout' 3 86
AvoidFieldNameMatchingMethodName Field isConnectionTimeout has the same name as a method 3 86
AvoidFieldNameMatchingMethodName Field countConnectionTimeout has the same name as a method 3 87
RedundantFieldInitializer Avoid using redundant field initializer for 'isUnicodeDecodeDisabled' 3 88
AvoidFieldNameMatchingMethodName Field isUnicodeDecodeDisabled has the same name as a method 3 88
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeDisabled' 3 89
AvoidFieldNameMatchingMethodName Field isUrlDecodeDisabled has the same name as a method 3 89
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyTimeDisabled' 3 91
AvoidFieldNameMatchingMethodName Field isStrategyTimeDisabled has the same name as a method 3 91
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBinDisabled' 3 92
AvoidFieldNameMatchingMethodName Field isStrategyBlindBinDisabled has the same name as a method 3 92
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBitDisabled' 3 93
AvoidFieldNameMatchingMethodName Field isStrategyBlindBitDisabled has the same name as a method 3 93
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyMultibitDisabled' 3 94
AvoidFieldNameMatchingMethodName Field isStrategyMultibitDisabled has the same name as a method 3 94
AvoidFieldNameMatchingMethodName Field isStrategyDnsDisabled has the same name as a method 3 95
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyStackDisabled' 3 96
AvoidFieldNameMatchingMethodName Field isStrategyStackDisabled has the same name as a method 3 96
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyErrorDisabled' 3 97
AvoidFieldNameMatchingMethodName Field isStrategyErrorDisabled has the same name as a method 3 97
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyUnionDisabled' 3 98
AvoidFieldNameMatchingMethodName Field isStrategyUnionDisabled has the same name as a method 3 98
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingUnionIndex' 3 100
AvoidFieldNameMatchingMethodName Field isLimitingUnionIndex has the same name as a method 3 100
AvoidFieldNameMatchingMethodName Field countUnionIndex has the same name as a method 3 101
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingSleepTimeStrategy' 3 102
AvoidFieldNameMatchingMethodName Field isLimitingSleepTimeStrategy has the same name as a method 3 102
AvoidFieldNameMatchingMethodName Field countSleepTimeStrategy has the same name as a method 3 103
RedundantFieldInitializer Avoid using redundant field initializer for 'isUserAgentRandom' 3 107
AvoidFieldNameMatchingMethodName Field isUserAgentRandom has the same name as a method 3 107
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeNetworkTab' 3 108
AvoidFieldNameMatchingMethodName Field isUrlDecodeNetworkTab has the same name as a method 3 108
ConstructorCallsOverridableMethod Overridable method called during object construction: PreferencesUtil.parseReverseCommands(String) 1 122
MethodArgumentCouldBeFinal Parameter 'commandsReverseYaml' is not assigned and could be declared final 3 128
NcssCount The method 'loadSavedPreferences()' has a NCSS line count of 65. 3 143
NcssCount The method 'persist()' has a NCSS line count of 64. 3 228
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 308
MethodArgumentCouldBeFinal Parameter 'isCheckingUpdate' is not assigned and could be declared final 3 584
MethodArgumentCouldBeFinal Parameter 'isShowNews' is not assigned and could be declared final 3 589
MethodArgumentCouldBeFinal Parameter 'isReportingBugs' is not assigned and could be declared final 3 593
MethodArgumentCouldBeFinal Parameter 'is4K' is not assigned and could be declared final 3 598
MethodArgumentCouldBeFinal Parameter 'isFollowingRedirection' is not assigned and could be declared final 3 603
MethodArgumentCouldBeFinal Parameter 'isHttp2Disabled' is not assigned and could be declared final 3 608
MethodArgumentCouldBeFinal Parameter 'isUnicodeDecodeDisabled' is not assigned and could be declared final 3 613
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeDisabled' is not assigned and could be declared final 3 618
MethodArgumentCouldBeFinal Parameter 'isNotInjectingMetadata' is not assigned and could be declared final 3 623
MethodArgumentCouldBeFinal Parameter 'isNotSearchingCharInsertion' is not assigned and could be declared final 3 628
MethodArgumentCouldBeFinal Parameter 'isNotShowingVulnReport' is not assigned and could be declared final 3 633
MethodArgumentCouldBeFinal Parameter 'isCheckingAllParam' is not assigned and could be declared final 3 638
MethodArgumentCouldBeFinal Parameter 'isCheckingAllURLParam' is not assigned and could be declared final 3 643
MethodArgumentCouldBeFinal Parameter 'isCheckingAllRequestParam' is not assigned and could be declared final 3 648
MethodArgumentCouldBeFinal Parameter 'isCheckingAllHeaderParam' is not assigned and could be declared final 3 653
MethodArgumentCouldBeFinal Parameter 'isCheckingAllBase64Param' is not assigned and could be declared final 3 658
MethodArgumentCouldBeFinal Parameter 'isCheckingAllJSONParam' is not assigned and could be declared final 3 663
MethodArgumentCouldBeFinal Parameter 'isCheckingAllCookieParam' is not assigned and could be declared final 3 668
MethodArgumentCouldBeFinal Parameter 'isCheckingAllSOAPParam' is not assigned and could be declared final 3 673
MethodArgumentCouldBeFinal Parameter 'isParsingForm' is not assigned and could be declared final 3 678
MethodArgumentCouldBeFinal Parameter 'isNotTestingConnection' is not assigned and could be declared final 3 683
MethodArgumentCouldBeFinal Parameter 'isNotProcessingCookies' is not assigned and could be declared final 3 688
MethodArgumentCouldBeFinal Parameter 'isProcessingCsrf' is not assigned and could be declared final 3 693
MethodArgumentCouldBeFinal Parameter 'isTamperingBase64' is not assigned and could be declared final 3 698
MethodArgumentCouldBeFinal Parameter 'isTamperingFunctionComment' is not assigned and could be declared final 3 703
MethodArgumentCouldBeFinal Parameter 'isTamperingVersionComment' is not assigned and could be declared final 3 708
MethodArgumentCouldBeFinal Parameter 'isTamperingEqualToLike' is not assigned and could be declared final 3 713
MethodArgumentCouldBeFinal Parameter 'isTamperingRandomCase' is not assigned and could be declared final 3 718
MethodArgumentCouldBeFinal Parameter 'isTamperingEval' is not assigned and could be declared final 3 723
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToMultilineComment' is not assigned and could be declared final 3 728
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToDashComment' is not assigned and could be declared final 3 733
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToSharpComment' is not assigned and could be declared final 3 738
MethodArgumentCouldBeFinal Parameter 'csrfUserTag' is not assigned and could be declared final 3 743
MethodArgumentCouldBeFinal Parameter 'csrfUserTagOutput' is not assigned and could be declared final 3 748
MethodArgumentCouldBeFinal Parameter 'isCsrfUserTag' is not assigned and could be declared final 3 753
MethodArgumentCouldBeFinal Parameter 'isLimitingThreads' is not assigned and could be declared final 3 758
MethodArgumentCouldBeFinal Parameter 'isConnectionTimeout' is not assigned and could be declared final 3 763
MethodArgumentCouldBeFinal Parameter 'isLimitingSleepTimeStrategy' is not assigned and could be declared final 3 768
MethodArgumentCouldBeFinal Parameter 'countLimitingThreads' is not assigned and could be declared final 3 773
MethodArgumentCouldBeFinal Parameter 'countConnectionTimeout' is not assigned and could be declared final 3 778
MethodArgumentCouldBeFinal Parameter 'countSleepTimeStrategy' is not assigned and could be declared final 3 783
MethodArgumentCouldBeFinal Parameter 'isZipStrategy' is not assigned and could be declared final 3 788
MethodArgumentCouldBeFinal Parameter 'isDefaultStrategy' is not assigned and could be declared final 3 793
MethodArgumentCouldBeFinal Parameter 'isDiosStrategy' is not assigned and could be declared final 3 798
MethodArgumentCouldBeFinal Parameter 'isPerfIndexDisabled' is not assigned and could be declared final 3 803
MethodArgumentCouldBeFinal Parameter 'isUrlEncodingDisabled' is not assigned and could be declared final 3 808
MethodArgumentCouldBeFinal Parameter 'isUrlRandomSuffixDisabled' is not assigned and could be declared final 3 813
MethodArgumentCouldBeFinal Parameter 'isLimitingUnionIndex' is not assigned and could be declared final 3 818
MethodArgumentCouldBeFinal Parameter 'countUnionIndex' is not assigned and could be declared final 3 823
MethodArgumentCouldBeFinal Parameter 'dnsDomain' is not assigned and could be declared final 3 828
MethodArgumentCouldBeFinal Parameter 'dnsPort' is not assigned and could be declared final 3 833
MethodArgumentCouldBeFinal Parameter 'isStrategyTimeDisabled' is not assigned and could be declared final 3 838
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBitDisabled' is not assigned and could be declared final 3 843
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBinDisabled' is not assigned and could be declared final 3 848
MethodArgumentCouldBeFinal Parameter 'isStrategyMultibitDisabled' is not assigned and could be declared final 3 853
MethodArgumentCouldBeFinal Parameter 'isStrategyStackDisabled' is not assigned and could be declared final 3 858
MethodArgumentCouldBeFinal Parameter 'isStrategyDnsDisabled' is not assigned and could be declared final 3 863
MethodArgumentCouldBeFinal Parameter 'isStrategyErrorDisabled' is not assigned and could be declared final 3 868
MethodArgumentCouldBeFinal Parameter 'isStrategyUnionDisabled' is not assigned and could be declared final 3 873
MethodArgumentCouldBeFinal Parameter 'themeFlatLafName' is not assigned and could be declared final 3 878
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeNetworkTab' is not assigned and could be declared final 3 883
MethodArgumentCouldBeFinal Parameter 'languageTag' is not assigned and could be declared final 3 888
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 893

com/jsql/util/PropertiesUtil.java

Rule Violation Priority Line
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 30
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 41
LiteralsFirstInComparisons Position literals first in String comparisons 3 60
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7377
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 81
MethodArgumentCouldBeFinal Parameter 'property' is not assigned and could be declared final 3 102

com/jsql/util/ProxyUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 17
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttp' 3 36
AvoidFieldNameMatchingMethodName Field isUsingProxyHttp has the same name as a method 3 36
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttps' 3 37
AvoidFieldNameMatchingMethodName Field isUsingProxyHttps has the same name as a method 3 37
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 50
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 3 52
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 102
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 105
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 3 145
CloseResource Ensure that resources like this Socket object are closed after use 3 148
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 151
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 3 193
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 3 209
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 3 225
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 3 233

com/jsql/util/SoapUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 31
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 35
ConfusingTernary Avoid if (x != y) ..; else ..; 3 3640
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 39
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 43
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 47
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 49
MethodArgumentCouldBeFinal Parameter 'xmlStr' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 67
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 73
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 79
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 89
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 90
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 3 124
EmptyCatchBlock Avoid empty catch blocks 3 135137

com/jsql/util/StringUtil.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=60, ATFD=15, TCC=0.135%) 3 39
TooManyMethods This class has too many methods, consider refactoring it. 3 39374
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CharEncoder(String, String, int)' 3 60
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'radix' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'buff' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 83
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 92
AvoidLiteralsInIfCondition Avoid using literals such as 128 in if statements 3 95
MethodArgumentCouldBeFinal Parameter 'hex' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 119
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 131
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 159
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 164
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 172
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 177
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 182
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 186
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 190
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 194
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 199
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 204
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 208
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 209
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 221
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 225
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 229
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 233
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 246
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 3 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 266
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 269
MethodArgumentCouldBeFinal Parameter 'compressedTxt' is not assigned and could be declared final 3 274
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 3 282
MethodArgumentCouldBeFinal Parameter 'hexChar' is not assigned and could be declared final 3 288
MethodArgumentCouldBeFinal Parameter 'num' is not assigned and could be declared final 3 296
MethodArgumentCouldBeFinal Parameter 'byteArray' is not assigned and could be declared final 3 303
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 3 311
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 312
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 322
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 326
MethodArgumentCouldBeFinal Parameter 'plaintext' is not assigned and could be declared final 3 330
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 3 330
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 3 338
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 352
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 355
AssignmentInOperand Avoid assignment to line in operand 3 360
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 361
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 3 369
UseUnderscoresInNumericLiterals Number 353837730 should separate every third digit with an underscore 3 370

com/jsql/util/TamperingUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 14
TooManyMethods This class has too many methods, consider refactoring it. 3 14276
RedundantFieldInitializer Avoid using redundant field initializer for 'isBase64' 3 21
RedundantFieldInitializer Avoid using redundant field initializer for 'isVersionComment' 3 22
RedundantFieldInitializer Avoid using redundant field initializer for 'isFunctionComment' 3 23
RedundantFieldInitializer Avoid using redundant field initializer for 'isEqualToLike' 3 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isRandomCase' 3 25
RedundantFieldInitializer Avoid using redundant field initializer for 'isHexToChar' 3 26
RedundantFieldInitializer Avoid using redundant field initializer for 'isStringToChar' 3 27
RedundantFieldInitializer Avoid using redundant field initializer for 'isQuoteToUtf8' 3 28
RedundantFieldInitializer Avoid using redundant field initializer for 'isCharToEncoding' 3 29
RedundantFieldInitializer Avoid using redundant field initializer for 'isEval' 3 30
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToMultilineComment' 3 31
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToDashComment' 3 32
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToSharpComment' 3 33
RedundantFieldInitializer Avoid using redundant field initializer for 'customTamper' 3 35
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 39
MethodArgumentCouldBeFinal Parameter 'jsTampering' is not assigned and could be declared final 3 39
ExceptionAsFlowControl Exception thrown at line 43 is caught in this block. 3 5259
MethodArgumentCouldBeFinal Parameter 'sqlQueryDefault' is not assigned and could be declared final 3 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 106
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'shouldApply' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'tamperingType' is not assigned and could be declared final 3 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 128
MethodArgumentCouldBeFinal Parameter 'customTamper' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 222
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 232
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 237
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 242
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 247
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 252
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 257
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 262
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 267
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 272

com/jsql/util/ThreadUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 3 76
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 89
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 90
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 93
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 96
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 101
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 3 101
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 108
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 110
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 114

com/jsql/util/UserAgentUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 5
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 3 9
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 3 20

com/jsql/util/bruter/ActionCoder.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 64
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 70
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 94
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 100
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 112
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 124
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 130
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 142
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 148
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 160
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 166
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 172
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 178
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 184
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 190
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 196
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 202
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 220
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'isEmptyPossible' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 246

com/jsql/util/bruter/Base58.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 8
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 30
AssignmentInOperand Avoid assignment to j in operand 3 48
AssignmentInOperand Avoid assignment to zeroCount in operand 3 55
AssignmentInOperand Avoid assignment to j in operand 3 56
CyclomaticComplexity The method 'decode(String)' has a cyclomatic complexity of 13. 3 62
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 65
AssignmentInOperand Avoid assignment to j in operand 3 97
MethodArgumentCouldBeFinal Parameter 'number' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'number58' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 128
MethodArgumentCouldBeFinal Parameter 'from' is not assigned and could be declared final 3 128
MethodArgumentCouldBeFinal Parameter 'to' is not assigned and could be declared final 3 128

com/jsql/util/bruter/Bruter.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 11
RedundantFieldInitializer Avoid using redundant field initializer for 'found' 3 18
RedundantFieldInitializer Avoid using redundant field initializer for 'done' 3 34
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 72
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 83
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 85
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 118
MethodArgumentCouldBeFinal Parameter 'endtime' is not assigned and could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'maxLength' is not assigned and could be declared final 3 122
MethodArgumentCouldBeFinal Parameter 'minLength' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'found' is not assigned and could be declared final 3 134
MethodArgumentCouldBeFinal Parameter 'done' is not assigned and could be declared final 3 142

com/jsql/util/bruter/Coder.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 3 30

com/jsql/util/bruter/Crc16Helper.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 21
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 3 27

com/jsql/util/bruter/Crc64Helper.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 23
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 38

com/jsql/util/bruter/DigestMD4.java

Rule Violation Priority Line
FieldNamingConventions The final field name 'X' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
ConstructorCallsOverridableMethod Overridable method called during object construction: DigestMD4.engineReset() 1 73
MethodArgumentCouldBeFinal Parameter 'md' is not assigned and could be declared final 3 79
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 94
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 94
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'offset' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'len' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 235
AssignmentInOperand Avoid assignment to offset in operand 3 240
AvoidReassigningParameters Avoid reassigning parameters such as 'offset' 2 240
AssignmentInOperand Avoid assignment to offset in operand 3 241
AssignmentInOperand Avoid assignment to offset in operand 3 242
AssignmentInOperand Avoid assignment to offset in operand 3 243
LocalVariableNamingConventions The local variable name 'A' doesn't match '[a-z][a-zA-Z0-9]*' 1 246
LocalVariableNamingConventions The local variable name 'B' doesn't match '[a-z][a-zA-Z0-9]*' 1 247
LocalVariableNamingConventions The local variable name 'C' doesn't match '[a-z][a-zA-Z0-9]*' 1 248
LocalVariableNamingConventions The local variable name 'D' doesn't match '[a-z][a-zA-Z0-9]*' 1 249
ShortMethodName Avoid using short method names 3 310
MethodNamingConventions The instance method name 'FF' doesn't match '[a-z][a-zA-Z0-9]*' 1 310
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 310
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 310
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 310
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 3 310
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 310
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 310
ShortMethodName Avoid using short method names 3 315
MethodNamingConventions The instance method name 'GG' doesn't match '[a-z][a-zA-Z0-9]*' 1 315
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 315
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 315
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 315
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 3 315
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 315
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 315
ShortMethodName Avoid using short method names 3 320
MethodNamingConventions The instance method name 'HH' doesn't match '[a-z][a-zA-Z0-9]*' 1 320
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 320

com/jsql/util/bruter/HashBruter.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 11
DataClass The class 'HashBruter' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=22) 3 11
CognitiveComplexity The method 'generateAllPossibleCombinations(String, int)' has a cognitive complexity of 15, current threshold is 15 3 38
CyclomaticComplexity The method 'generateAllPossibleCombinations(String, int)' has a cyclomatic complexity of 13. 3 38
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 3 38
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 41
MethodArgumentCouldBeFinal Parameter 'hash' is not assigned and could be declared final 3 72
MethodArgumentCouldBeFinal Parameter 'digestType' is not assigned and could be declared final 3 76

com/jsql/util/bruter/HashUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 11
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 33
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'nameMethod' is not assigned and could be declared final 3 73
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 73
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 89
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 102
MethodArgumentCouldBeFinal Parameter 'buf' is not assigned and could be declared final 3 102
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 106

com/jsql/util/reverse/ModelReverse.java

Rule Violation Priority Line
DataClass The class 'ModelReverse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3 3
CommentDefaultAccessModifier Missing commented default access modifier on field 'name' 3 4
CommentDefaultAccessModifier Missing commented default access modifier on field 'command' 3 5
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 7
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 7
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 24

com/jsql/util/tampering/ModelYamlTampering.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'ModelYamlTampering' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 5
MethodArgumentCouldBeFinal Parameter 'tooltip' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 3 24
MethodArgumentCouldBeFinal Parameter 'group' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'javascript' is not assigned and could be declared final 3 40

com/jsql/util/tampering/TamperingType.java

Rule Violation Priority Line
NonSerializableClass The field 'instanceModelYaml' of serializable class 'com.jsql.util.tampering.TamperingType' is of non-serializable type 'com.jsql.util.tampering.ModelYamlTampering'. 3 24
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 3 26
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 28

com/jsql/view/interaction/SubscriberInteraction.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'packageInteraction' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'subscription' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'request' is not assigned and could be declared final 3 40
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 51
LawOfDemeter Call to `getMessage` on foreign value `request` (degree 1) 3 53
UnnecessaryVarargsArrayCreation Unnecessary explicit array creation for varargs method call 3 58
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 78

com/jsql/view/terminal/interaction/AddColumns.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 37

com/jsql/view/terminal/interaction/AddDatabases.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 37

com/jsql/view/terminal/interaction/AddExploitWebTab.java

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

com/jsql/view/terminal/interaction/AddTables.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 37

com/jsql/view/terminal/interaction/CreateValuesTab.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 35
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 35

com/jsql/view/terminal/interaction/GetTerminalResult.java

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

com/jsql/view/terminal/interaction/MarkBlindBinInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkBlindBinVulnerable.java

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

com/jsql/view/terminal/interaction/MarkBlindBitInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkBlindBitVulnerable.java

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

com/jsql/view/terminal/interaction/MarkDnsInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkDnsVulnerable.java

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

com/jsql/view/terminal/interaction/MarkErrorInvulnerable.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 33
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 33
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 4344

com/jsql/view/terminal/interaction/MarkErrorVulnerable.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 33
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 33
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 4344

com/jsql/view/terminal/interaction/MarkFileSystemInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkFileSystemVulnerable.java

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

com/jsql/view/terminal/interaction/MarkMultibitVulnerable.java

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

com/jsql/view/terminal/interaction/MarkStackVulnerable.java

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

com/jsql/view/terminal/interaction/MarkTimeInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkTimeVulnerable.java

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

com/jsql/view/terminal/interaction/MarkUnionInvulnerable.java

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

com/jsql/view/terminal/interaction/MarkUnionVulnerable.java

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

com/jsql/view/terminal/interaction/MessageBinary.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 26
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 26

com/jsql/view/terminal/interaction/MessageHeader.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 34
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 34